query-3b215a84e92cf6189242b80fee4f29b5
title: List of all stages SELECT * WHERE { ?tour wdt:P31 wd:Q33881; rdfs:label ?tourLabel. FILTER(LANG(?tourLabel) = "[AUTO_LANGUAGE]" ) ?item wdt:P361 ?tour; 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
- https://query.wikidata.org/sparql
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 {
?tour wdt:P31 wd:Q33881;
rdfs:label ?tourLabel.
FILTER(LANG(?tourLabel) = "[AUTO_LANGUAGE]" )
?item wdt:P361 ?tour;
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;
v9("?arrivee"):::projected
v2("?arriveeLabel"):::projected
v1("?date"):::projected
v8("?depart"):::projected
v3("?departLabel"):::projected
v7("?item"):::projected
v4("?itemLabel"):::projected
v6("?tour"):::projected
v5("?tourLabel"):::projected
c3(["wd:Q33881"]):::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
f3[["?tourLabel = '#91;AUTO_LANGUAGE#93;'"]]
f3 --> v5
v6 --"wdt:P31"--> c3
v6 --"rdfs:label"--> v5
v7 --"wdt:P361"--> v6
v7 --"rdfs:label"--> v4
v7 --"wdt:P1427"--> v8
v8 --"rdfs:label"--> v3
v7 --"wdt:P1444"--> v9
v9 --"rdfs:label"--> v2
v7 --"wdt:P585"--> v1