query-fd34720f7aac0ed9b57edaf74af59c27

rq turtle/ttl

Fußballstadion Deutschland SELECT ?stadion ?stadionLabel ?locationLabel WHERE { ?stadion wdt:P31/wdt:P279* wd:Q483110 . ?stadion wdt:P17 wd:Q183 . OPTIONAL { ?stadion wdt:P131 ?location } SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . } } ORDER BY ?locationLabel

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#>
# Fußballstadion Deutschland
SELECT ?stadion ?stadionLabel ?locationLabel WHERE {
  ?stadion wdt:P31/wdt:P279* wd:Q483110 .
  ?stadion wdt:P17 wd:Q183 .
  OPTIONAL { ?stadion wdt:P131 ?location }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
}
ORDER BY ?locationLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?location") v1("?locationLabel"):::projected v2("?stadion"):::projected a1((" ")) c8(["bd:serviceParam"]):::iri c3(["wd:Q483110"]):::iri c5(["wd:Q183"]):::iri c10(["de,en"]):::literal v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v2 --"wdt:P17"--> c5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P131".-> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end