query-c5f142be761171285abca05b3e9e857a
rivières du bassin des Outaouais. SELECT DISTINCT ?item ?idLabel ?confLabel ?long WHERE { ?item (wdt:P4614*) wd:Q28163348. ?item (wdt:P31) wd:Q4022. BIND( ?item as ?id ) OPTIONAL { ?id wdt:P403 ?conf } OPTIONAL { ?id wdt:P2043 ?long } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } FILTER NOT EXISTS { [] schema:about ?item ; schema:isPartOf https://fr.wikipedia.org/ . } } LIMIT 100
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 bd: <http://www.bigdata.com/rdf#>
# rivières du bassin des Outaouais.
SELECT DISTINCT ?item ?idLabel ?confLabel ?long
WHERE
{
?item (wdt:P4614*) wd:Q28163348.
?item (wdt:P31) wd:Q4022.
BIND( ?item as ?id )
OPTIONAL { ?id wdt:P403 ?conf }
OPTIONAL { ?id wdt:P2043 ?long }
SERVICE wikibase:label {
bd:serviceParam wikibase:language "fr,en" .
}
FILTER NOT EXISTS {
[] schema:about ?item ;
schema:isPartOf <https://fr.wikipedia.org/> .
}
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?conf")
v2("?id")
v1("?item"):::projected
v4("?long"):::projected
a1((" "))
c3([https://fr.wikipedia.org/]):::iri
c11(["bd:serviceParam"]):::iri
c7(["wd:Q4022"]):::iri
c13(["fr,en"]):::literal
c5(["wd:Q28163348"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0a1 --"schema:about"--> e0v1
e0a1 --"schema:isPartOf"--> e0c3
e0v1("?item"):::projected
e0a1((" ")):::projected
e0c3([https://fr.wikipedia.org/]):::iri
end
f0--EXISTS--> f0e0
f0 --> a1
f0 --> c1
f0 --> v1
f0 --> c2
f0 --> c3
a1 --"schema:about"--> v1
a1 --"schema:isPartOf"--> c3
v1 --"wdt:P4614"--> c5
v1 --"wdt:P31"--> c7
bind1[/"?item"/]
v1 --o bind1
bind1 --as--o v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P403".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P2043".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end