Anonymous

EntitySchema:E2: Difference between revisions

From geokb
Updated Schema text
(Updated Schema text)
(Updated Schema text)
Schema / Line 11: Schema / Line 11:


<Organization> EXTRA wdt:P1 {
<Organization> EXTRA wdt:P1 {
#  # is a wikibase Item
rdf:type [wikibase:Item] ;
# Labels, description and aliases
    (rdfs:label rdf:langString ;
      skos:prefLabel rdf:langString ;
      schema:name rdf:langString ;
      schema:description rdf:langString? ;
      skos:altLabel rdf:langString* ;
    )+ ;
# Must be instance of an organization and any subclasses
# Must be instance of an organization and any subclasses
wdt:P1 @<OrgClass> * ;
wdt:P1 @<OrgClass> * ;