query-39c15697a4fbca820eb6eaa885feec0c
Get all longitudes > 180° fails) with sparql but do run into a timelimit. (P625)coordinate location I want to retrieve all longitudes > 180° (of
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel{
?item p:P625 [
psv:P625 [
wikibase:geoLatitude ?lat ;
wikibase:geoLongitude ?lon ;
] ;
ps:P625 ?coord
]
FILTER ( abs (?lon) > 180 )
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
limit 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?coord")
v4("?item"):::projected
v2("?lat")
v1("?lon")
a2((" "))
a1((" "))
c8(["bd:serviceParam"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["numeric-abs(?lon) > '180^^xsd:integer'"]]
f0 --> v1
a1 --"wikibase:geoLatitude"--> v2
a1 --"wikibase:geoLongitude"--> v1
a2 --"p:statement/value/P625"--> a1
a2 --"p:statement/P625"--> v3
v4 --"p:P625"--> a2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end