query-af2eaae8b3c034ed95b804f6d8417d2d
Search for genus & species items missing descriptionsHow can I get significantly more than a paltry 2000-3000 results from
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?rank WHERE {
?rank wdt:P105 wd:Q34740. # Q37517=class; Q36602=order; Q35409=family; Q34740=genus; Q7432=species
FILTER(NOT EXISTS {
?rank schema:description ?itemdesc.
FILTER(LANG(?itemdesc) = "en") # with missing English description
})
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?itemdesc")
v2("?rank"):::projected
c4(["wd:Q34740"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["?itemdesc = 'en'"]]
e0f0 --> e0v1
e0v2 --"schema:description"--> e0v1
e0v1("?itemdesc"):::projected
e0v2("?rank"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f1[["?itemdesc = 'en'"]]
f1 --> v1
v2 --"schema:description"--> v1
v2 --"wdt:P105"--> c4