query-b18b1bffdf58812ebf321dbd7bf99998
TODO
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 psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?northernmostLat ?northernmostLong WHERE {
wd:Q546 p:P1333/psv:P1333/wikibase:geoLatitude ?threshold .
?item wdt:P31 wd:Q747074;
p:P1332/psv:P1332 [
wikibase:geoLatitude ?northernmostLat;
wikibase:geoLongitude ?northernmostLong
] .
FILTER( ?northernmostLat > ?threshold ) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,it" } .
} ORDER BY ?northernmost
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?item"):::projected
v1("?northernmost")
v2("?northernmostLat"):::projected
v5("?northernmostLong"):::projected
v3("?threshold")
a1((" "))
a2((" "))
a4((" "))
a3((" "))
c13(["en,it"]):::literal
c11(["bd:serviceParam"]):::iri
c1(["wd:Q546"]):::iri
c6(["wd:Q747074"]):::iri
f0[["?northernmostLat > ?threshold"]]
f0 --> v2
f0 --> v3
c1 --"p:P1333"--> a1
a1 --"p:statement/value/P1333"--> a2
a2 --"wikibase:geoLatitude"--> v3
v4 --"p:direct/P31"--> c6
a3 --"wikibase:geoLatitude"--> v2
a3 --"wikibase:geoLongitude"--> v5
v4 --"p:P1332"--> a4
a4 --"p:statement/value/P1332"--> a3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end