query-362bfebd1b44df221ca8cae288f8ee21
Visualize places with location West Las VegasGenerate map of places in Westside Las Vegas
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#>
#defaultView:Map
SELECT ?West_Las_Vegas ?West_Las_VegasLabel ?coordinate_location ?layerLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?West_Las_Vegas wdt:P276 wd:Q7985710.
OPTIONAL {?West_Las_Vegas wdt:P31 ?instance }
BIND(?instance AS ?layer).
OPTIONAL { ?West_Las_Vegas wdt:P625 ?coordinate_location. }
}ORDER BY ASC(?layerLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?West_Las_Vegas"):::projected
v5("?coordinate_location"):::projected
v3("?instance")
v4("?layer")
v1("?layerLabel"):::projected
c6(["wd:Q7985710"]):::iri
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v2 --"wdt:P276"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P31".-> v3
end
bind0[/"?instance"/]
v3 --o bind0
bind0 --as--o v4
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P625".-> v5
end