query-4ae80b6f135193fab4c6db40ec110b11
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
select ?item {
?item wdt:P171 ?parent # item with a parent taxon statement
OPTIONAL { ?item wdt:P31 ?item_P31 } FILTER(!bound(?item_P31)) . # and with no "instance of" statement
} limit 10
Query found at
- https://www.wikidata.org/wiki/Template:No_statement
- https://www.wikidata.org/wiki/Template:No_statement/doc
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?item_P31")
v3("?parent")
f0[["not bound(?item_P31)"]]
f0 --> v1
v2 --"wdt:P171"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P31".-> v1
end