hospital (E187)

From Wikidata
Jump to navigation Jump to search
language codelabeldescriptionaliasesedit
enhospitalentity schema of hospitaledit
asthospitalesquema para hospitalesedit
dahospitalsygehusedit
deKrankenhausEntity-Schema für ein KrankenhausKlinikedit
eshospitalEsquema para hospitalesedit
frhôpitaledit
ja病院病院を記述するためのスキーマedit
ko병원병원을 설명하는 스키마edit
pt-brhospitalEsquema para hospitaisedit
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>

# Example SPARQL query: select ?hospital where { ?hospital wdt:P31 wd:Q16917 } limit 5

start = @<Hospital>

<Hospital>  EXTRA wdt:P31  {
  wdt:P31   [ wd:Q16917 wd:Q7257872 ] ;# instance of a hospital
  wdt:P17   @<Country>          {1} ; #country
  wdt:P131  @<AdminTerritory>   {1} ; #located in the administrative territorial entity
  wdt:P625  @<Coordinates>      +   ; # coordinate location
  wdt:P6801 xsd:decimal         ?   ; # number of hospital beds
  wdt:P856  IRI                 *   ; # official website
  wdt:P1705 .                   *   ; # native label
  wdt:P6375 @<Address>          *   ; # street address
}

<Address> {}

<Country> { 
}

<AdminTerritory> {} 

<Coordinates> geo:wktLiteral