query-d84f22139b8de6b51ba93526eeeb7e6e
Visualize mines of Nevada (Color Coded by County Label)Generate map of mines in the state of Nevada, United States of America (Q1227)
Use at
- https://query.wikidata.org/sparql
#(Updated Dec 09, 2020)
#defaultView:Map
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?item ?itemLabel ?coor ?layerLabel
WHERE {
VALUES ?o { wd:Q108403 wd:Q111220 wd:Q835104 wd:Q495398 wd:Q484340 wd:Q484381 wd:Q203022 wd:Q7103481 wd:Q484418 wd:Q484342 wd:Q484335 wd:Q495376 wd:Q495349 wd:Q484431 wd:Q484349 wd:Q484401 wd:Q484398 }
?item wdt:P31 wd:Q820477 ;
?range ?o;
wdt:P625 ?coor.
BIND(?o AS ?layer).
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;
v4("?coor"):::projected
v2("?item"):::projected
v5("?layer")
v1("?o")
v3("?range")
c2(["wd:Q820477"]):::iri
c5(["bd:serviceParam"]):::iri
c7(["en"]):::literal
bind0[/VALUES ?o/]
bind0-->v1
bind00(["wd:Q108403"])
bind00 --> bind0
bind01(["wd:Q111220"])
bind01 --> bind0
bind02(["wd:Q835104"])
bind02 --> bind0
bind03(["wd:Q495398"])
bind03 --> bind0
bind04(["wd:Q484340"])
bind04 --> bind0
bind05(["wd:Q484381"])
bind05 --> bind0
bind06(["wd:Q203022"])
bind06 --> bind0
bind07(["wd:Q7103481"])
bind07 --> bind0
bind08(["wd:Q484418"])
bind08 --> bind0
bind09(["wd:Q484342"])
bind09 --> bind0
bind010(["wd:Q484335"])
bind010 --> bind0
bind011(["wd:Q495376"])
bind011 --> bind0
bind012(["wd:Q495349"])
bind012 --> bind0
bind013(["wd:Q484431"])
bind013 --> bind0
bind014(["wd:Q484349"])
bind014 --> bind0
bind015(["wd:Q484401"])
bind015 --> bind0
bind016(["wd:Q484398"])
bind016 --> bind0
v2 --"wdt:P31"--> c2
v2 -->v3--> v1
v2 --"wdt:P625"--> v4
bind1[/"?o"/]
v1 --o bind1
bind1 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end