Category:OSWc5ed0ed1e33c4b31887c67af25a610c1: Difference between revisions

Category page
Category:OSWc5ed0ed1e33c4b31887c67af25a610c1
(Update 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",
            },
             "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",
    "type": "object",
    "allOf": [
        {
            "$ref": "/wiki/Category:OSW3d238d05316e45a4ac95a11d7b24e36b?action=raw\u0026slot=jsonschema"
        }
    ],
    "required": [
        "type"
    ]
}
}
header_template
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}}]]}} |
    =={{#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 17:03, 28 April 2024

Room [OSWc5ed0ed1e33c4b31887c67af25a610c1]
ID OSWc5ed0ed1e33c4b31887c67af25a610c1
UUID c5ed0ed1-e33c-4b31-887c-67af25a610c1
Label Room
Machine compatible name Room
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: Category (Class)
  • schema:Room
Supercategories<br>Definition: Category (Class)
  • Location
  • Namespaces


    📎 Select files (or drop them here)... 📷 Camera
      jsondata
      subclass_of
      "Category:OSW3d238d05316e45a4ac95a11d7b24e36b"
      uuid"c5ed0ed1-e33c-4b31-887c-67af25a610c1"
      label
      text"Room"
      lang"en"
      text"Raum"
      lang"de"
      name"Room"
      type
      "Category:Category"
      instance_rdf_type
      "schema:Room"
      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

      This category currently contains no pages or media.

      Cookies help us deliver our services. By using our services, you agree to our use of cookies.