Rocks (E4)
From geokb
language code | label | description | aliases | edit |
---|---|---|---|---|
en | Rocks | schema for entities representing rock types in the knowledgebase | edit |
PREFIX p: <https://geokb.wikibase.cloud/prop/>
PREFIX wd: <https://geokb.wikibase.cloud/entity/>
PREFIX wdt: <https://geokb.wikibase.cloud/prop/direct/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://geokb.wikibase.cloud/prop/reference/>
START = @<rock>
<rock> EXTRA wdt:P2 {
# Must be in the classification scheme for rocks
wdt:P2 [ wd:Q41261 ] * ;
# Require Mindat reference source on subclass statement
p:P2 {
prov:wasDerivedFrom @<knowledgeRef> + ;
};
# Must also be an instance of a rock
wdt:P1 [ wd:Q41261 ] + ;
}
<knowledgeRef> EXTRA pr:P70 {
pr:P70 IRI * ;
}