Mining Facility (E3)

language codelabeldescriptionaliasesedit
enMining Facilityitems that are classified according to one of a number of subclasses of facilityedit
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 ] * ;
}