query-fbb8f84042a6cdcb1b59ffaffe817b87

rq turtle/ttl

World Heritage Sites (Welterbestätten mit Koordinaten)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?Refnr ?item ?itemLabel ?itemDescription ?coords ?image
WHERE {
?item p:P1435 ?statement0.
      ?statement0 (ps:P1435/(wdt:P279*)) wd:Q9259.
  OPTIONAL { ?item wdt:P625 ?coords . }
  OPTIONAL { ?item wdt:P18 ?image . }
  OPTIONAL { ?item wdt:P757 ?Refnr . }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de" . }
}
GROUP BY ?item ?itemLabel ?itemDescription ?coords ?image ?Refnr
ORDER BY ?Refnr

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?Refnr"):::projected v4("?coords"):::projected v5("?image"):::projected v2("?item"):::projected v3("?statement0") a1((" ")) c11(["#91;AUTO_LANGUAGE#93;,de"]):::literal c9(["bd:serviceParam"]):::iri c4(["wd:Q9259"]):::iri v2 --"p:P1435"--> v3 v3 --"p:statement/P1435"--> a1 a1 --"p:direct/P279"--> c4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P625".-> v4 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P18".-> v5 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P757".-> v1 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end