query-ab55c5215c6b98ed6cab2bf9004de3b3
List of Gurdwaras without coordinates
Use at
- https://query.wikidata.org/sparql
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 ?gurdwara ?gurdwaraLabel ?coordinate_location WHERE {
?gurdwara wdt:P31 wd:Q337986.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,pa". }
OPTIONAL { ?gurdwara wdt:P625 ?coordinate_location. }
}
ORDER BY ?coordinate_location
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?coordinate_location"):::projected
v2("?gurdwara"):::projected
c4(["bd:serviceParam"]):::iri
c6(["en,pa"]):::literal
c2(["wd:Q337986"]):::iri
v2 --"wdt:P31"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P625".-> v1
end