query-335b84c78ad1a740c86f77a978d0f782

rq turtle/ttl

Toutes les stations du SMC SELECT ?item ?itemLabel ?coord ?intervalle_des_donn_es WHERE { ?item (wdt:P31/wdt:P279*) wd:Q190107. ?item wdt:P127 wd:Q349450. ?item wdt:P6242 ?MSCID SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } OPTIONAL { ?item wdt:P625 ?coord. } OPTIONAL { ?item wdt:P6339 ?intervalle_des_donn_es. } } ORDER BY(?MSCID)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# Toutes les stations du SMC
SELECT ?item ?itemLabel ?coord ?intervalle_des_donn_es WHERE {
  ?item (wdt:P31/wdt:P279*) wd:Q190107.
  ?item wdt:P127 wd:Q349450.
  ?item wdt:P6242 ?MSCID
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
  OPTIONAL { ?item wdt:P625 ?coord. }
  OPTIONAL { ?item wdt:P6339 ?intervalle_des_donn_es. }
}
ORDER BY(?MSCID)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?MSCID") v3("?coord"):::projected v4("?intervalle_des_donn_es"):::projected v2("?item"):::projected a1((" ")) c3(["wd:Q190107"]):::iri c5(["wd:Q349450"]):::iri c8(["bd:serviceParam"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v2 --"wdt:P127"--> c5 v2 --"wdt:P6242"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P625".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P6339".-> v4 end