query-702787689dba25c38ac0548482ae34fc
Affluent de l'estuaire sans identifiant OSM
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 pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?id ?idLabel ?estuaireLabel
WHERE
{
?id wdt:P4614 wd:Q51885235 .
?id wdt:P31/wdt:P279* wd:Q355304 .
OPTIONAL { ?id p:P4614 [ pq:P518 ?estuaire ] }
filter not exists { ?id wdt:P402 ?osm }
SERVICE wikibase:label {
bd:serviceParam wikibase:language "fr,en"
}
}
ORDER BY (?idLabel)
LIMIT 500
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?estuaire")
v2("?id"):::projected
v1("?idLabel"):::projected
v3("?osm")
a1((" "))
a2((" "))
c6(["wd:Q355304"]):::iri
c10(["bd:serviceParam"]):::iri
c12(["fr,en"]):::literal
c3(["wd:Q51885235"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:direct/P402"--> e0v2
e0v1("?id"):::projected
e0v2("?osm"):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> v3
v2 --"p:direct/P402"--> v3
v2 --"p:direct/P4614"--> c3
v2 --"p:direct/P31"--> a1
a1 --"p:direct/P279"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
a2 -."p:qualifier/P518".-> v4
v2 --"p:P4614"--> a2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end