query-c684266dac7ce6de0ef538cd9cd874ca

rq turtle/ttl

which give helps finding the items with no statement of some property }}No statement{{There are more advanced partial queries, for example }} # and with no "instance of" statement } limit 10 }}P31|?item|no statement{{ ?parent # item with a parent taxon statement }}parent taxon|Pid{{ select ?item ?itemLabel { ?item wdt:=query|sparql{{

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
select ?item ?itemLabel {
  ?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

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