query-46a9734e2bffcb6be761f825f07a00c7

rq turtle/ttl

title: List of all stages SELECT * WHERE { ?item wdt:P361 wd:Q61778309; rdfs:label ?itemLabel. FILTER((LANG(?itemLabel)) = "[AUTO_LANGUAGE]") ?item wdt:P1427 ?depart. ?depart rdfs:label ?departLabel. FILTER((LANG(?departLabel)) = "[AUTO_LANGUAGE]") ?item wdt:P1444 ?arrivee. ?arrivee rdfs:label ?arriveeLabel. FILTER((LANG(?arriveeLabel)) = "[AUTO_LANGUAGE]" ) ?item wdt:P585 ?date. } ORDER BY ?date

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#title: List of all stages
SELECT * WHERE {
  ?item wdt:P361 wd:Q61778309;
    rdfs:label ?itemLabel.
  FILTER((LANG(?itemLabel)) = "[AUTO_LANGUAGE]")
  ?item wdt:P1427 ?depart.
  ?depart rdfs:label ?departLabel.
  FILTER((LANG(?departLabel)) = "[AUTO_LANGUAGE]")
  ?item wdt:P1444 ?arrivee. 
  ?arrivee rdfs:label ?arriveeLabel. 
  FILTER((LANG(?arriveeLabel)) = "[AUTO_LANGUAGE]" )
  ?item wdt:P585 ?date. 
}
ORDER BY ?date

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v7("?arrivee"):::projected v2("?arriveeLabel"):::projected v1("?date"):::projected v6("?depart"):::projected v3("?departLabel"):::projected v5("?item"):::projected v4("?itemLabel"):::projected c3(["wd:Q61778309"]):::iri f0[["?arriveeLabel = '#91;AUTO_LANGUAGE#93;'"]] f0 --> v2 f1[["?departLabel = '#91;AUTO_LANGUAGE#93;'"]] f1 --> v3 f2[["?itemLabel = '#91;AUTO_LANGUAGE#93;'"]] f2 --> v4 v5 --"wdt:P361"--> c3 v5 --"rdfs:label"--> v4 v5 --"wdt:P1427"--> v6 v6 --"rdfs:label"--> v3 v5 --"wdt:P1444"--> v7 v7 --"rdfs:label"--> v2 v5 --"wdt:P585"--> v1