query-c1ee8df953b65d1482dd5f723c923d7c
Affluents du Missouri .
SELECT DISTINCT ?id ?title ?idLabel ?len ?oriLabel ?geo ?loc1 ?geo2 ?loc2 WHERE {
{?id wdt:P403 wd:Q5419}
?id wdt:P625 ?geo .
OPTIONAL {?id wdt:P3871 ?ori}
{?id p:P625 [ ps:P625 ?geo; pq:P518 ?appl ] }
OPTIONAL {?id p:P625 [ ps:P625 ?geo; pq:P131 ?loc1 ] }
FILTER (?appl != wd:Q7376362).
{?id p:P625 [ ps:P625 ?geo2; pq:P518 ?cren ] }
OPTIONAL {?id p:P625 [ ps:P625 ?geo2; pq:P131 ?loc2 ] }
FILTER (?cren = wd:Q7376362).
OPTIONAL {?id wdt:P2043 ?len }
OPTIONAL {?id wdt:P4614 ?bass }
SERVICE wikibase:label {bd:serviceParam wikibase:language "fr,en" . }
OPTIONAL {
?link schema:about ?id .
?link schema:isPartOf https://en.wikipedia.org/ .
?link schema:name ?title.
}
}
ORDER BY ?idLabel
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# Affluents du Missouri .
SELECT DISTINCT ?id ?title ?idLabel ?len ?oriLabel ?geo ?loc1 ?geo2 ?loc2 WHERE {
{?id wdt:P403 wd:Q5419}
?id wdt:P625 ?geo .
OPTIONAL {?id wdt:P3871 ?ori}
{?id p:P625 [ ps:P625 ?geo; pq:P518 ?appl ] }
OPTIONAL {?id p:P625 [ ps:P625 ?geo; pq:P131 ?loc1 ] }
FILTER (?appl != wd:Q7376362).
{?id p:P625 [ ps:P625 ?geo2; pq:P518 ?cren ] }
OPTIONAL {?id p:P625 [ ps:P625 ?geo2; pq:P131 ?loc2 ] }
FILTER (?cren = wd:Q7376362).
OPTIONAL {?id wdt:P2043 ?len }
OPTIONAL {?id wdt:P4614 ?bass }
SERVICE wikibase:label {bd:serviceParam wikibase:language "fr,en" . }
OPTIONAL {
?link schema:about ?id .
?link schema:isPartOf <https://en.wikipedia.org/> .
?link schema:name ?title.
}
}
ORDER BY ?idLabel