Category:OSWc5ed0ed1e33c4b31887c67af25a610c1: Difference between revisions

Category:OSWc5ed0ed1e33c4b31887c67af25a610c1
(Update package: OSW Base)
 
(Update package: OSW Base)
 
(2 intermediate revisions by the same user not shown)
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 2: Line 2:
     "subclass_of": [
     "subclass_of": [
         "Category:OSW3d238d05316e45a4ac95a11d7b24e36b"
         "Category:OSW3d238d05316e45a4ac95a11d7b24e36b"
    ],
    "type": [
        "Category:Category"
     ],
     ],
     "uuid": "c5ed0ed1-e33c-4b31-887c-67af25a610c1",
     "uuid": "c5ed0ed1-e33c-4b31-887c-67af25a610c1",
Line 15: Line 18:
     ],
     ],
     "name": "Room",
     "name": "Room",
     "type": [
     "instance_rdf_type": [
         "Category:Category"
         "schema:Room"
    ],
    "utf8_icon": [
        "🚪"
     ]
     ]
}
}
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",
            },
             "usage": "Property:HasRoomUsage",
            "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",
                 "query": "[[HasType::Category:OSW6c4212f1a39342be963d2b9efd19c5c2]] |?Display_title_of=label |?HasImage=image",
                 "range": "Category:OSW6c4212f1a39342be963d2b9efd19c5c2"
                "previewWikiTextTemplate": "{{#if result.printouts.image.0.fulltext}}[[{{result.printouts.image.0.fulltext}}|right|x66px]]\u003C/br\u003E{{/if}}Level: [[{{result.fulltext}}]]. Rooms: \\{\\{#ask: [[IsLocatedIn::{{result.fulltext}}]]|format=list\\}\\}",
                "labelTemplate": "{{result.printouts.label.[0]}}"
             },
             },
             "minItems": 1,
             "uniqueItems": true
            "default": [
                ""
            ]
         },
         },
         "usage_type": {
         "usage_type": {
Line 50: Line 117:
                 "type": "string",
                 "type": "string",
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "query": "[[HasType::Category:OSLae92be81cdb34d22844d4791ef790d93]] |?Display_title_of=label",
                 "range": "Category:OSLae92be81cdb34d22844d4791ef790d93"
                "previewWikiTextTemplate": "{{#if result.printouts.HasImage.0.fulltext}}[[{{result.printouts.HasImage.0.fulltext}}|right|x66px]]\u003C/br\u003E{{/if}}This is a building: [[{{result.fulltext}}]]. Levels: \\{\\{#ask: [[IsLocatedIn::{{result.fulltext}}]]|format=list\\}\\}",
                "labelTemplate": "{{result.printouts.label.[0]}}"
             },
             },
             "default": [
             "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 Width",
             "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",
                 "query": "[[HasType::Category:OSWac9f0e49d8024804bd7d77058322a3fe]] |?Display_title_of=label",
                 "range": "Category:OSWac9f0e49d8024804bd7d77058322a3fe"
                "previewWikiTextTemplate": "{{#if result.printouts.HasImage.0.fulltext}}[[{{result.printouts.HasImage.0.fulltext}}|right|x66px]]\u003C/br\u003E{{/if}}This is a building: [[{{result.fulltext}}]]. Levels: \\{\\{#ask: [[IsLocatedIn::{{result.fulltext}}]]|format=list\\}\\}",
                "labelTemplate": "{{result.printouts.label.[0]}}"
             },
             },
             "default": [
             "uniqueItems": true
                ""
            ]
         },
         },
         "responsible_person": {
         "responsible_person": {
Line 126: Line 205:
                 "type": "string",
                 "type": "string",
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "query": "[[HasType::Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7]] |?Display_title_of=label",
                 "range": "Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7"
                "previewWikiTextTemplate": "[[:{{result.fulltext}}]]",
                "labelTemplate": "{{result.printouts.label.[0]}}"
             },
             },
             "default": [
             "uniqueItems": true
                ""
            ]
        },
        "type": {
            "default": [
                "Category:OSWc5ed0ed1e33c4b31887c67af25a610c1"
            ]
         }
         }
     },
     },
     "title": "Room",
     "uuid": "c5ed0ed1-e33c-4b31-887c-67af25a610c1",
     "type": "object",
     "title*": {
    "allOf": [
        "en": "Room",
         {
         "de": "Raum"
            "$ref": "/wiki/Category:OSW3d238d05316e45a4ac95a11d7b24e36b?action=raw\u0026slot=jsonschema"
    },
        }
     "description": "",
    ],
     "description*": {}
     "required": [
        "type"
     ]
}
}
header_template
Line 13: Line 13:
</tr>
</tr>
<tr>
<tr>
<th>{{{_label_function|Function}}}</th>
<th>{{{_label_usage|Usage}}}</th>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?HasRoomFunction=|format=plain|mainlabel=-}}</td>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?HasRoomUsage=|format=plain|mainlabel=-}}</td>
</tr>
</tr>
<tr>
<tr>
Line 27: Line 27:
<td>{{#ask:[[{{FULLPAGENAME}}]]|?IsLocatedIn=|format=plain|mainlabel=-}}</td>
<td>{{#ask:[[{{FULLPAGENAME}}]]|?IsLocatedIn=|format=plain|mainlabel=-}}</td>
</tr>
</tr>
{{#if: {{#ask: [[HasRoomFunction::Item:OSW078a57975dd04d7e89bb4ad50cac7aeb]][[{{FULLPAGENAME}}]]}}|<!-- show people, other options: Büroarbeit, Büro-->
    <tr>
    <th>{{#switch:{{USERLANGUAGECODE}}
        |en=Occupants
        |de=Belegung}}</th>
    <td>{{#ask: [[Category:OSW44deaa5b806d41a2a88594f562b110e9]][[HasRoom::{{FULLPAGENAME}}]]}}</td>
    </tr>
    |<!-- else show nothing -->}}
<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}}]][[HasEmploymentContractStatus::Item:OSW62770459451644f3841c502df8a5cb1d]]}} |
    =={{#switch:{{USERLANGUAGECODE}}|en=Occupancy|de=Belegung|#default=Occupancy}}==
    {{#set: HasNumberOfOccupants=
        {{#ask: [[Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7]][[HasRoom::{{FULLPAGENAME}}]][[HasEmploymentContractStatus::Item:OSW62770459451644f3841c502df8a5cb1d]]
            |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}}]][[HasEmploymentContractStatus::Item:OSW62770459451644f3841c502df8a5cb1d]]
        |?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 17:00, 15 March 2025

Room
ID OSWc5ed0ed1e33c4b31887c67af25a610c1
UUID c5ed0ed1-e33c-4b31-887c-67af25a610c1
Label Room
Machine compatible name Room
Statements (outgoing)
Statements (incoming)

Description

No description found
Category (Class)
instance_rdf_typeReferences 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: Category (Class)
  • schema:Room
Supercategories<br>Definition: Category (Class)
  • Location
  • UTF8-Iconssee https://www.unicode.org/cldr/charts/latest/annotations/romance.html<br>Definition: Category (Class)
  • 🚪
  • Namespaces

    for UUID generation via uuid5

    • General (same as UUID of the category page): c5ed0ed1-e33c-4b31-887c-67af25a610c1
    • FhG: 0459e1a8-adbd-5f2d-a80a-70f4bfbb37a3
     HasRoomUsageIsLocatedInHasNumberOfOccupants
    jsondata
    subclass_of
    "Category:OSW3d238d05316e45a4ac95a11d7b24e36b"
    type
    "Category:Category"
    uuid"c5ed0ed1-e33c-4b31-887c-67af25a610c1"
    label
    text"Room"
    lang"en"
    text"Raum"
    lang"de"
    name"Room"
    instance_rdf_type
    "schema:Room"
    utf8_icon
    "🚪"
    jsonschema
    @context
    area
    @id"schema:floorSize"
    @type"xsd:float"
    area*
    @id"Property:HasArea"
    @type"xsd:float"
    construction_year
    @id"schema:yearBuilt"
    @type"xsd:integer"
    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&slot=jsonschema"
    allOf
    $ref"/wiki/Category:OSW3d238d05316e45a4ac95a11d7b24e36b?action=raw&slot=jsonschema"
    title"Room"
    type"object"
    required
    "type"
    properties
    type
    default
    "Category:OSWc5ed0ed1e33c4b31887c67af25a610c1"
    located_in
    title"Floor"
    title*
    de"Stockwerk"
    en"Floor"
    type"array"
    format"table"
    items
    title""
    type"string"
    format"autocomplete"
    range"Category:OSW6c4212f1a39342be963d2b9efd19c5c2"
    uniqueItemstrue
    usage_type
    title"Room usage type"
    title*
    en"Room usage type"
    de"Raumnutzungsart"
    type"array"
    format"table"
    items
    title""
    type"string"
    format"autocomplete"
    range"Category:OSLae92be81cdb34d22844d4791ef790d93"
    uniqueItemstrue
    length
    title"Length"
    title*
    de"Länge"
    en"Length"
    type"number"
    width
    title"Width"
    title*
    de"Breite"
    en"Width"
    type"number"
    height
    title"Height"
    title*
    de"Höhe"
    en"Height"
    type"number"
    area
    title"Area"
    title*
    de"Fläche"
    en"Area"
    type"number"
    door_width
    title"Door width"
    title*
    de"Türbreite"
    en"Door width"
    type"number"
    door_height
    title"Door height"
    title*
    de"Türhöhe"
    en"Door height"
    type"number"
    number
    title"Number"
    title*
    en"Number"
    de"Nummer"
    type"string"
    usage
    title"Room usage"
    title*
    en"Room usage"
    de"Raumnutzung"
    type"array"
    format"table"
    items
    title""
    type"string"
    format"autocomplete"
    range"Category:OSWac9f0e49d8024804bd7d77058322a3fe"
    uniqueItemstrue
    responsible_person
    title"Responsible person"
    title*
    de"Verantwortliche Person"
    en"Responsible person"
    type"array"
    format"table"
    items
    title""
    type"string"
    format"autocomplete"
    range"Category:OSWd9aa0bca9b0040d8af6f5c091bf9eec7"
    uniqueItemstrue
    uuid"c5ed0ed1-e33c-4b31-887c-67af25a610c1"
    title*
    en"Room"
    de"Raum"
    description""
    description*
    Empty object

    This category currently contains no pages or media.