EntitySchema:E2: Difference between revisions
From geokb
(Updated Schema text) |
(Updated Schema text) |
||
Schema / Line 11: | Schema / Line 11: | ||
<Organization> EXTRA wdt:P1 { | <Organization> EXTRA wdt:P1 { | ||
# Must be instance of an organization and any subclasses | # Must be instance of an organization and any subclasses | ||
wdt:P1 @<OrgClass> * ; | wdt:P1 @<OrgClass> * ; |
Revision as of 19:48, 25 May 2023
language code | label | description | aliases | edit |
---|---|---|---|---|
en | Organization | schema for describing an organization | edit |
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix schema: <http://schema.org/>
prefix wikibase: <http://wikiba.se/ontology#>
prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix wd: <https://geokb.wikibase.cloud/entity/>
prefix wdt: <https://geokb.wikibase.cloud/prop/direct/>
START = @<Organization>
<Organization> EXTRA wdt:P1 {
# Must be instance of an organization and any subclasses
wdt:P1 @<OrgClass> * ;
# Part of another organization
wdt:P62 @<OrgClass> * ;
# Has another organization part
wdt:P63 @<OrgClass> * ;
# Operating area
wdt:P111 IRI ? ;
# Reference URL
wdt:P31 . ? ;
}
<OrgClass> EXTRA wdt:P2 {
wdt:P2 [ wd:Q4 ] * ;
}