query-a126691556bc01d553b78838e00812de

rq turtle/ttl

If Possible show Multiple places in Map View 14:32, 29 August 2023 (UTC)) talk (Sriveenkat in Map view. (Q842402)Hindu temple and (Q32815)mosque , (Q16970)church building Hi, I want view like : My solution:Sriveenkat@

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#>
SELECT ?item ?itemLabel ?layer ?layerLabel ?coord WHERE {
  VALUES ?layer {wd:Q16970 wd:Q32815 wd:Q842402}
  ?item wdt:P17 wd:Q219. # Bulgaria. Change country as needed.
  ?item wdt:P31 ?layer.
  ?item wdt:P625 ?coord.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" .
}
}
#defaultView:Map

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?coord"):::projected v2("?item"):::projected v1("?layer"):::projected c6(["bd:serviceParam"]):::iri c2(["wd:Q219"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/VALUES ?layer/] bind0-->v1 bind00(["wd:Q16970"]) bind00 --> bind0 bind01(["wd:Q32815"]) bind01 --> bind0 bind02(["wd:Q842402"]) bind02 --> bind0 v2 --"wdt:P17"--> c2 v2 --"wdt:P31"--> v1 v2 --"wdt:P625"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end