query-277910fb9e48c60ee3aec5e665c6852a

rq turtle/ttl

Visualize Native American reservations in NevadaGenerate map of all Indian reservations (Q5398059) within Nevada county and state boundaries.

Use at

#(Updated Oct 5, 2021)
#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
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 wd:Q1227 }
  ?item wdt:P31 wd:Q5398059 ;
          ?range ?o ;
          wdt:P625 ?coor .
  BIND(?o AS ?layer) .
  FILTER(?layer NOT IN (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 ))
  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; v5("?coor"):::projected v3("?item"):::projected v6("?layer") v2("?o") v4("?range") c19(["wd:Q5398059"]):::iri c24(["en"]):::literal c22(["bd:serviceParam"]):::iri f0[["?layer != 'wd:Q108403'?layer != 'wd:Q111220'?layer != 'wd:Q835104'?layer != 'wd:Q495398'?layer != 'wd:Q484340'?layer != 'wd:Q484381'?layer != 'wd:Q203022'?layer != 'wd:Q7103481'?layer != 'wd:Q484418'?layer != 'wd:Q484342'?layer != 'wd:Q484335'?layer != 'wd:Q495376'?layer != 'wd:Q495349'?layer != 'wd:Q484431'?layer != 'wd:Q484349'?layer != 'wd:Q484401'?layer != 'wd:Q484398'"]] f0 --> v6 bind1[/VALUES ?o/] bind1-->v2 bind10(["wd:Q108403"]) bind10 --> bind1 bind11(["wd:Q111220"]) bind11 --> bind1 bind12(["wd:Q835104"]) bind12 --> bind1 bind13(["wd:Q495398"]) bind13 --> bind1 bind14(["wd:Q484340"]) bind14 --> bind1 bind15(["wd:Q484381"]) bind15 --> bind1 bind16(["wd:Q203022"]) bind16 --> bind1 bind17(["wd:Q7103481"]) bind17 --> bind1 bind18(["wd:Q484418"]) bind18 --> bind1 bind19(["wd:Q484342"]) bind19 --> bind1 bind110(["wd:Q484335"]) bind110 --> bind1 bind111(["wd:Q495376"]) bind111 --> bind1 bind112(["wd:Q495349"]) bind112 --> bind1 bind113(["wd:Q484431"]) bind113 --> bind1 bind114(["wd:Q484349"]) bind114 --> bind1 bind115(["wd:Q484401"]) bind115 --> bind1 bind116(["wd:Q484398"]) bind116 --> bind1 bind117(["wd:Q1227"]) bind117 --> bind1 v3 --"wdt:P31"--> c19 v3 -->v4--> v2 v3 --"wdt:P625"--> v5 bind2[/"?o"/] v2 --o bind2 bind2 --as--o v6 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c22 --"wikibase:language"--> c24 end