query-5585853bb0da3c0d5d25eb888b0ec038

rq turtle/ttl

Hospitals that offer their services in English SELECT ?hospital ?hospitalLabel WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de". } ?hospital wdt:P31 wd:Q16917; wdt:P131 wd:Q64; wdt:P2936 wd:Q1860. #filter for English language }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Hospitals that offer their services in English
SELECT ?hospital ?hospitalLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de". }
  ?hospital wdt:P31 wd:Q16917;
    wdt:P131 wd:Q64;
    wdt:P2936 wd:Q1860. #filter for English language
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?hospital"):::projected c4(["#91;AUTO_LANGUAGE#93;,de"]):::literal c2(["bd:serviceParam"]):::iri c6(["wd:Q16917"]):::iri c8(["wd:Q64"]):::iri c10(["wd:Q1860"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P31"--> c6 v1 --"wdt:P131"--> c8 v1 --"wdt:P2936"--> c10