query-454ae6da14e6b4cb6bf3369051c45f84

rq turtle/ttl

Location of creation on map

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 DISTINCT ?itemLabel ?location_of_creation ?location_of_creationLabel ?geoloc ?image ?item WHERE {
  ?item wdt:P1071 ?location_of_creation.
  ?location_of_creation wdt:P625 ?geoloc.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  ?item wdt:P31 wd:Q10855061.
  OPTIONAL { ?item wdt:P18 ?image. }
  ?item wdt:P189 wd:Q12994.
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?geoloc"):::projected v4("?image"):::projected v1("?item"):::projected v2("?location_of_creation"):::projected c4(["bd:serviceParam"]):::iri c8(["wd:Q10855061"]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal c11(["wd:Q12994"]):::iri v1 --"wdt:P1071"--> v2 v2 --"wdt:P625"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end v1 --"wdt:P31"--> c8 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P18".-> v4 end v1 --"wdt:P189"--> c11