EntitySchema:E3: Difference between revisions
From geokb
(Updated Schema text: Validated full schema against test subjects) |
(Updated Schema text: added optional owned by property to schema) |
||
(One intermediate revision by the same user not shown) | |||
Schema / Line 23: | Schema / Line 23: | ||
#see also link to URL | #see also link to URL | ||
p:P103 { ps:P103 IRI * } *; | p:P103 { ps:P103 IRI * } *; | ||
#product (commodity) produced | |||
p:P113 { ps:P113 IRI * } *; | |||
#product (commodity) produced | |||
p:P112 @<OrgClass> ?; | |||
} | } | ||
<MiningFacilityClass> EXTRA p:P2 { | <MiningFacilityClass> EXTRA p:P2 { | ||
p:P2 [ wd:Q44143 ] * ; | p:P2 [ wd:Q44143 ] * ; | ||
} | |||
<OrgClass> EXTRA p:P2 { | |||
p:P2 [ wd:Q4 ] * ; | |||
} | } |
Latest revision as of 16:33, 26 May 2023
language code | label | description | aliases | edit |
---|---|---|---|---|
en | Mining Facility | items that are classified according to one of a number of subclasses of facility | edit |
PREFIX p: <https://geokb.wikibase.cloud/prop/>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix wd: <https://geokb.wikibase.cloud/entity/>
PREFIX psv: <https://geokb.wikibase.cloud/prop/statement/value/>
PREFIX ps: <https://geokb.wikibase.cloud/prop/statement/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
START = @<MiningFacility>
<MiningFacility> EXTRA p:P1 {
# Must be instance of a mining facility and any subclasses
p:P1 @<MiningFacilityClass> * ;
#coordinate location
p:P6 { psv:P6 IRI *; ps:P6 geo:wktLiteral *; } +;
#located in the administrative territorial entity
p:P11 { ps:P11 IRI * } *;
#GNIS Unique Feature ID
p:P21 { ps:P21 xsd:string * } ?;
#see also link to URL
p:P103 { ps:P103 IRI * } *;
#product (commodity) produced
p:P113 { ps:P113 IRI * } *;
#product (commodity) produced
p:P112 @<OrgClass> ?;
}
<MiningFacilityClass> EXTRA p:P2 {
p:P2 [ wd:Q44143 ] * ;
}
<OrgClass> EXTRA p:P2 {
p:P2 [ wd:Q4 ] * ;
}