query-27eac53a60665c5a8377adddea53cce9
Plants with malformed variety 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:Q767728 . #variety
?item (wdt:P171)* wd:Q11973077 . #Viridiplantae - timeout with plants
Filter(!regex(?taxonName, " var. "))
}
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:Q767728"]):::iri
f0[["not regex(?taxonName,' var. ')"]]
f0 --> v2
v1 --"wdt:P225"--> v2
v1 --"wdt:P105"--> c4
v1 --"wdt:P171"--> c6