query-53686b3415cde63c654c248e6378ecf8

rq turtle/ttl

Stations du SMC de la ligne avancée d'alerte précoce (latitudes [64°57', 70°45'] N)

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#>
# Stations du SMC entre les latitudes [66°34', 70°45'] N 
#defaultView:Map
SELECT ?item ?itemLabel ?coord WHERE {
  ?item (wdt:P31/wdt:P279*) wd:Q190107.
  ?item wdt:P127 wd:Q349450.

  ?item p:P625 ?coordinate .
  ?coordinate psv:P625 ?coordinate_node .
  ?coordinate_node wikibase:geoLatitude ?lat .
  ?coordinate_node wikibase:geoLongitude ?lon .

  FILTER (?lat > 66.56)
  FILTER (?lat < 70.45)

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  OPTIONAL { ?item wdt:P625 ?coord. }

}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v6("?coord"):::projected v3("?coordinate") v4("?coordinate_node") v2("?item"):::projected v1("?lat") v5("?lon") a1((" ")) c5(["wd:Q190107"]):::iri c7(["wd:Q349450"]):::iri c13(["bd:serviceParam"]):::iri c15(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["?lat < '70.45^^xsd:decimal'"]] f0 --> v1 f1[["?lat > '66.56^^xsd:decimal'"]] f1 --> v1 v2 --"p:direct/P31"--> a1 a1 --"p:direct/P279"--> c5 v2 --"p:direct/P127"--> c7 v2 --"p:P625"--> v3 v3 --"p:statement/value/P625"--> v4 v4 --"wikibase:geoLatitude"--> v1 v4 --"wikibase:geoLongitude"--> v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c13 --"wikibase:language"--> c15 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P625".-> v6 end