Category:OSWc5ed0ed1e33c4b31887c67af25a610c1
(Install package: OSW Base) |
(Update package: OSW Base) |
||
Line 4: | Line 4: | ||
* General (same as UUID of the category page): c5ed0ed1-e33c-4b31-887c-67af25a610c1 | * General (same as UUID of the category page): c5ed0ed1-e33c-4b31-887c-67af25a610c1 | ||
* FhG: 0459e1a8-adbd-5f2d-a80a-70f4bfbb37a3 | * FhG: 0459e1a8-adbd-5f2d-a80a-70f4bfbb37a3 | ||
{{#ask: [[{{FULLPAGENAME}}]] | |||
|?HasRoomUsage={{#switch: {{USERLANGUAGECODE}} |en=Function |de=Funktion |#default=Function }} | |||
|?IsLocatedIn={{#switch: {{USERLANGUAGECODE}} |en=Located in |de=Lage|#default=Located in }} | |||
|?HasNumberOfOccupants={{#switch: {{USERLANGUAGECODE}} |en=Number of Occupants |de=Belegung (Anzahl) |#default=Number of Occupants }} | |||
|format=datatable | |||
|limit=5000 | |||
|sort=Display title of | |||
|order=asc | |||
}} | |||
jsondata | |||
---|---|---|---|
Line 17: | Line 17: | ||
"type": [ | "type": [ | ||
"Category:Category" | "Category:Category" | ||
], | |||
"instance_rdf_type": [ | |||
"schema:Room" | |||
] | ] | ||
} | } | ||
jsonschema | |||
Line 2: | Line 2: | ||
"@context": [ | "@context": [ | ||
{ | { | ||
"area": "Property:HasArea", | "area": { | ||
"construction_year": "Property:HasConstructionYear", | "@id": "schema:floorSize", | ||
"door_height": "Property:HasDoorHeight", | "@type": "xsd:float" | ||
"door_width": "Property:HasDoorWidth", | }, | ||
" | "area*": { | ||
"height": "Property:HasHeight", | "@id": "Property:HasArea", | ||
"length": "Property:HasLength", | "@type": "xsd:float" | ||
"located_in": "Property:IsLocatedIn", | }, | ||
"number": "Property:HasRoomNumber", | "construction_year": { | ||
"responsible_person": "Property:HasResponsiblePerson", | "@id": "schema:yearBuilt", | ||
"usage_type": "Property:HasRoomUsageType", | "@type": "xsd:integer" | ||
"width": "Property:HasWidth" | }, | ||
"construction_year*": { | |||
"@id": "Property:HasConstructionYear", | |||
"@type": "xsd:integer" | |||
}, | |||
"door_height": { | |||
"@id": "Property:HasDoorHeight", | |||
"@type": "xsd:float" | |||
}, | |||
"door_width": { | |||
"@id": "Property:HasDoorWidth", | |||
"@type": "xsd:float" | |||
}, | |||
"height": { | |||
"@id": "schema:height", | |||
"@type": "xsd:float" | |||
}, | |||
"height*": { | |||
"@id": "Property:HasHeight", | |||
"@type": "xsd:float" | |||
}, | |||
"length": { | |||
"@id": "Property:HasLength", | |||
"@type": "xsd:float" | |||
}, | |||
"located_in": { | |||
"@id": "schema:containedInPlace", | |||
"@type": "@id" | |||
}, | |||
"located_in*": { | |||
"@id": "Property:IsLocatedIn", | |||
"@type": "@id" | |||
}, | |||
"number": { | |||
"@id": "Property:HasRoomNumber", | |||
"@type": "xsd:string" | |||
}, | |||
"responsible_person": { | |||
"@id": "Property:HasResponsiblePerson", | |||
"@type": "@id" | |||
}, | |||
"usage": { | |||
"@id": "Property:HasRoomUsage", | |||
"@type": "@id" | |||
}, | |||
"usage_type": { | |||
"@id": "Property:HasRoomUsageType", | |||
"@type": "@id" | |||
}, | |||
"width": { | |||
"@id": "schema:width", | |||
"@type": "xsd:float" | |||
}, | |||
"width*": { | |||
"@id": "Property:HasWidth", | |||
"@type": "xsd:float" | |||
} | |||
}, | |||
"/wiki/Category:OSW3d238d05316e45a4ac95a11d7b24e36b?action=raw\u0026slot=jsonschema" | |||
], | |||
"allOf": [ | |||
{ | |||
"$ref": "/wiki/Category:OSW3d238d05316e45a4ac95a11d7b24e36b?action=raw\u0026slot=jsonschema" | |||
} | } | ||
], | |||
"title": "Room", | |||
"type": "object", | |||
"required": [ | |||
"type" | |||
], | ], | ||
"properties": { | "properties": { | ||
"type": { | |||
"default": [ | |||
"Category:OSWc5ed0ed1e33c4b31887c67af25a610c1" | |||
] | |||
}, | |||
"located_in": { | "located_in": { | ||
"title": "Floor", | "title": "Floor", | ||
Line 29: | Line 101: | ||
"type": "string", | "type": "string", | ||
"format": "autocomplete", | "format": "autocomplete", | ||
" | "range": "Category:OSW6c4212f1a39342be963d2b9efd19c5c2" | ||
}, | }, | ||
" | "uniqueItems": true | ||
}, | }, | ||
"usage_type": { | "usage_type": { | ||
Line 50: | Line 117: | ||
"type": "string", | "type": "string", | ||
"format": "autocomplete", | "format": "autocomplete", | ||
" | "range": "Category:OSLae92be81cdb34d22844d4791ef790d93" | ||
}, | }, | ||
" | "uniqueItems": true | ||
}, | }, | ||
"length": { | "length": { | ||
Line 68: | Line 131: | ||
"width": { | "width": { | ||
"title": "Width", | "title": "Width", | ||
"title*": { | |||
"de": "Breite", | |||
"en": "Width" | |||
}, | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"height": { | "height": { | ||
"title": "Height", | "title": "Height", | ||
"title*": { | |||
"de": "Höhe", | |||
"en": "Height" | |||
}, | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"area": { | "area": { | ||
"title": "Area", | "title": "Area", | ||
"title*": { | |||
"de": "Fläche", | |||
"en": "Area" | |||
}, | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"door_width": { | "door_width": { | ||
"title": "Door | "title": "Door width", | ||
"title*": { | |||
"de": "Türbreite", | |||
"en": "Door width" | |||
}, | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
"door_height": { | "door_height": { | ||
"title": "Door height", | "title": "Door height", | ||
"title*": { | |||
"de": "Türhöhe", | |||
"en": "Door height" | |||
}, | |||
"type": "number" | "type": "number" | ||
}, | }, | ||
Line 106: | Line 189: | ||
"type": "string", | "type": "string", | ||
"format": "autocomplete", | "format": "autocomplete", | ||
" | "range": "Category:OSWac9f0e49d8024804bd7d77058322a3fe" | ||
}, | }, | ||
" | "uniqueItems": true | ||
}, | }, | ||
"responsible_person": { | "responsible_person": { | ||
Line 126: | Line 205: | ||
"type": "string", | "type": "string", | ||
"format": "autocomplete", | "format": "autocomplete", | ||
" | "range": "Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7" | ||
}, | }, | ||
" | "uniqueItems": true | ||
} | } | ||
} | } | ||
} | } | ||
header_template | |||
Line 27: | Line 27: | ||
<td>{{#ask:[[{{FULLPAGENAME}}]]|?IsLocatedIn=|format=plain|mainlabel=-}}</td> | <td>{{#ask:[[{{FULLPAGENAME}}]]|?IsLocatedIn=|format=plain|mainlabel=-}}</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}} | <td class="subheading" colspan="2">{{#switch:{{USERLANGUAGECODE}} | ||
Line 77: | Line 69: | ||
</tr> | </tr> | ||
</table> | </table> | ||
<!-- Occupancy --> | |||
{{#if: {{#ask: [[Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7]][[HasRoom::{{FULLPAGENAME}}]]}} | | |||
=={{#switch:{{USERLANGUAGECODE}}|en=Occupancy|de=Belegung|#default=Occupancy}}== | |||
{{#set: HasNumberOfOccupants= | |||
{{#ask: [[Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7]][[HasRoom::{{FULLPAGENAME}}]] | |||
|format=count | |||
|limit=1000 | |||
}} | |||
}} | |||
{{#switch:{{USERLANGUAGECODE}} | |||
|en=Number of occupants | |||
|de=Belegung (Anzahl) | |||
|#default=Number of occupants | |||
}}: {{#show: {{FULLPAGENAME}} |?HasNumberOfOccupants}} | |||
{{#ask: [[Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7]][[HasRoom::{{FULLPAGENAME}}]] | |||
|?HasOu={{#switch: {{USERLANGUAGECODE}} |en=OU |de=OE |#default=OU}} | |||
|?HasPhoneNumber={{#switch: {{USERLANGUAGECODE}} |en=Phone |de=Telefon |#default=Phone}} | |||
|format=table | |||
|limit=1000 | |||
|sort=Display title of | |||
|order=asc | |||
}} | |||
| {{#set: HasNumberOfOccupants=0}} | |||
}} |
Latest revision as of 03:21, 15 May 2024
Room [OSWc5ed0ed1e33c4b31887c67af25a610c1] | |
---|---|
ID | OSWc5ed0ed1e33c4b31887c67af25a610c1 |
UUID | c5ed0ed1-e33c-4b31-887c-67af25a610c1 |
Label | Room |
Machine compatible name | Room |
Ontology equivalents | |
Statements (outgoing) | |
Statements (incoming) | |
|
|
Keywords |
Description
No description found
Category | |
---|---|
RDF type(s) of instancesReferences a class/type/category in another ontology to describe the instances of this category. Typically a prefix, representing the resolvable URI of an ontology and an id from the namespace of said ontology, separated by colon, e.g., "schema:Person"<br>Definition: CategoryClass |
|
Supercategories<br>Definition: CategoryClass |
|
Namespaces
jsondata
subclass_of |
| ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
uuid | "c5ed0ed1-e33c-4b31-887c-67af25a610c1" | ||||||||||
label |
| ||||||||||
name | "Room" | ||||||||||
type |
| ||||||||||
instance_rdf_type |
|
jsonschema
@context |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
allOf |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title | "Room" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | "object" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
required |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties |
|
This category currently contains no pages or media.