query-eeb7b532d68a72244ae60318ba3bbfeb

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?place ?placeLabel ?lat ?lon WHERE {
  ?place wdt:P30 wd:Q51;
         p:P625/psv:P625 ?node.
  ?node wikibase:geoLatitude ?lat .
  ?node wikibase:geoLongitude ?lon .
  FILTER(?lat < -60 && ?lon > 136 && ?lon < 142)
  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; v1("?lat"):::projected v2("?lon"):::projected v4("?node") v3("?place"):::projected a1((" ")) c5(["wd:Q51"]):::iri c13(["en"]):::literal c11(["bd:serviceParam"]):::iri f0[["?lat < '-60^^xsd:integer'?lon > '136^^xsd:integer'?lon < '142^^xsd:integer'"]] f0 --> v1 f0 --> v2 v3 --"p:direct/P30"--> c5 v3 --"p:P625"--> a1 a1 --"p:statement/value/P625"--> v4 v4 --"wikibase:geoLatitude"--> v1 v4 --"wikibase:geoLongitude"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end