query-7a327d72f1a28fd4303b0fe47a7c0c95

rq turtle/ttl

Locations in FijiThis query shows a way of mapping locations which span the 180th meridian, without the points being split between the left and right edges of the map. Locations in FijiThis query shows a way of mapping locations which span the 180th meridian, without the points being split between the left and right edges of the map. Localisations dans les îles FidjiThis query shows a way of mapping locations which span the 180th meridian, without the points being split between the left and right edges of the map. Locations in FijiThis query shows a way of mapping locations which span the 180th meridian, without the points being split between the left and right edges of the map. Locations in FijiThis query shows a way of mapping locations which span the 180th meridian, without the points being split between the left and right edges of the map. Locaties in FijiThis query shows a way of mapping locations which span the 180th meridian, without the points being split between the left and right edges of the map. Platser i FijiThis query shows a way of mapping locations which span the 180th meridian, without the points being split between the left and right edges of the map. Locations in FijiThis query shows a way of mapping locations which span the 180th meridian, without the points being split between the left and right edges of the map. Locations in FijiThis query shows a way of mapping locations which span the 180th meridian, without the points being split between the left and right edges of the map. Locations in FijiThis query shows a way of mapping locations which span the 180th meridian, without the points being split between the left and right edges of the map.

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 geo: <http://www.opengis.net/ont/geosparql#>
#defaultView:Map
select ?item ?coords_ where {
  ?item wdt:P17 wd:Q712 .
  ?item p:P625/psv:P625 ?coords .
  ?coords wikibase:geoLatitude ?lat ;
          wikibase:geoLongitude ?lon .
  bind(strdt(concat("Point(", if((?lon < 0), str(?lon + 360), str(?lon)), " ", str(?lat), ")"), geo:wktLiteral) as ?coords_) .
} limit 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?coords") v5("?coords_"):::projected v1("?item"):::projected v3("?lat") v4("?lon") a1((" ")) c2(["wd:Q712"]):::iri v1 --"p:direct/P17"--> c2 v1 --"p:P625"--> a1 a1 --"p:statement/value/P625"--> v2 v2 --"wikibase:geoLatitude"--> v3 v2 --"wikibase:geoLongitude"--> v4 bind0[/"STRDT(concat('Point(',if(?lon < '0^^xsd:integer',str(?lon + '360^^xsd:integer'),str(?lon)),' ',str(?lat),')'),'geo:wktLiteral')"/] v4 --o bind0 v3 --o bind0 bind0 --as--o v5