query-419c359f18b0f60d40852d22aea2f9b3
BirdLife taxon ID (P5257)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?taxonName ?birdLifeId ?iucnId WHERE {
?item wdt:P5257 ?birdLifeId .
?item wdt:P225 ?taxonName .
OPTIONAL {?item wdt:P627 ?iucnId }
FILTER (?birdLifeId != ?iucnId)
#FILTER (!BOUND(?iucnId))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?birdLifeId"):::projected
v3("?item"):::projected
v2("?iucnId"):::projected
v4("?taxonName"):::projected
f0[["?birdLifeId != ?iucnId"]]
f0 --> v1
f0 --> v2
v3 --"wdt:P5257"--> v1
v3 --"wdt:P225"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P627".-> v2
end