EntitySchema:E2: Difference between revisions
From geokb
(Updated Schema text) |
(Updated Schema text: Wrote based on SPARQL example) |
||
Schema / Line 1: | Schema / Line 1: | ||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | |||
PREFIX wd: <https://geokb.wikibase.cloud/entity/> | |||
PREFIX wdt: <https://geokb.wikibase.cloud/prop/direct/> | |||
START = @<Organization> | START = @<Organization> | ||
<Organization> EXTRA wdt: | <Organization> EXTRA wdt:P62 { | ||
# Must have an Instance Of | |||
wdt:P1 . ; | |||
# "part of" (transitive) "USGS" | |||
wdt:P62 [ wd:Q44210 ] ; | |||
# Alias(es) | |||
skos:altLabel . *; | |||
# Reference URL | |||
wdt:P31 . ? ; | |||
} | } |
Revision as of 23:56, 1 June 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 wd: <https://geokb.wikibase.cloud/entity/>
PREFIX wdt: <https://geokb.wikibase.cloud/prop/direct/>
START = @<Organization>
<Organization> EXTRA wdt:P62 {
# Must have an Instance Of
wdt:P1 . ;
# "part of" (transitive) "USGS"
wdt:P62 [ wd:Q44210 ] ;
# Alias(es)
skos:altLabel . *;
# Reference URL
wdt:P31 . ? ;
}