query-63326c4a1b80ba23cadf94116472c4c5

rq turtle/ttl

Map of observatories

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#>
#defaultView:Map
SELECT ?building ?buildingLabel ?coord ?image WHERE {
  ?building wdt:P31 wd:Q62832.
  ?building wdt:P625 ?coord.
  OPTIONAL { ?building wdt:P18 ?image. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?building"):::projected v2("?coord"):::projected v3("?image"):::projected c6(["bd:serviceParam"]):::iri c8(["en"]):::literal c2(["wd:Q62832"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P625"--> v2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P18".-> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end