query-9dc2e6d71272c7ae8c843e1b2c4a785a
Missing mandatory properties
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item ?taxonName ?taxonRank ?parentTaxon WHERE {
?item wdt:P31 wd:Q16521 . #taxon
OPTIONAL {?item wdt:P225 ?taxonName} .
OPTIONAL {?item wdt:P105 ?taxonRank} .
OPTIONAL {?item wdt:P171 ?parentTaxon} .
FILTER (!bound(?taxonName) || !bound(?taxonRank) || !bound(?parentTaxon))
}
#ORDER BY ?taxonName
LIMIT 2000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?item"):::projected
v3("?parentTaxon"):::projected
v1("?taxonName"):::projected
v2("?taxonRank"):::projected
c2(["wd:Q16521"]):::iri
f0[["(not bound(?taxonName) || (not bound(?taxonRank) || not bound(?parentTaxon)))"]]
f0 --> v1
f0 --> v2
f0 --> v3
v4 --"wdt:P31"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v4 -."wdt:P225".-> v1
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v4 -."wdt:P105".-> v2
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v4 -."wdt:P171".-> v3
end