query-01b0e661ef387ed73509432788c201c5
Refuges d'oiseaux migrateurs
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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?coord ?image ?commonscat
WHERE {
?item wdt:P31 wd:Q3423162;
wdt:P625 ?coord;
OPTIONAL { ?item wdt:P18 ?image . }
OPTIONAL { ?item wdt:P373 ?commonscat . }
FILTER NOT EXISTS { ?item wdt:P576 ?end }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?commonscat"):::projected
v3("?coord"):::projected
v2("?end")
v4("?image"):::projected
v1("?item"):::projected
c8(["bd:serviceParam"]):::iri
c3(["wd:Q3423162"]):::iri
c10(["en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P576"--> e0v2
e0v2("?end"):::projected
e0v1("?item"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P576"--> v2
v1 --"wdt:P31"--> c3
v1 --"wdt:P625"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P373".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end