query-9014da8a1e3178ba9c4ccd3f8e9c3984
Plants with malformed subspecies names
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 WHERE {
?item wdt:P225 ?taxonName .
?item wdt:P105 wd:Q68947 . #subspecies
?item (wdt:P171)* wd:Q11973077 . #Viridiplantae - timeout with plants
Filter(!regex(?taxonName, " subsp. "))
}
ORDER BY ASC(?item)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?taxonName"):::projected
c6(["wd:Q11973077"]):::iri
c4(["wd:Q68947"]):::iri
f0[["not regex(?taxonName,' subsp. ')"]]
f0 --> v2
v1 --"wdt:P225"--> v2
v1 --"wdt:P105"--> c4
v1 --"wdt:P171"--> c6