query-635ad154afae61a58fa242f908e65396

rq turtle/ttl

Propertiestaxon name (P225)image (P18)Commons category (P373)

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?taxonName ?image
WHERE
{
    ?item wdt:P225 ?taxonName .
    ?item wdt:P18 ?image .  
    MINUS { ?item wdt:P373 [] } . # commons category
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?image"):::projected v1("?item"):::projected v2("?taxonName"):::projected a1((" ")) v1 --"wdt:P225"--> v2 v1 --"wdt:P18"--> v3 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P373"--> a1 end