query-0d25e662ef25040e8837e130833c2dab
TODO
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 ?item ?commonscat WHERE {
?item wdt:P21 wd:Q6581072 .
?item wdt:P27 wd:Q408. # Is Australian
?commonscat schema:about ?item;
schema:isPartOf <https://commons.wikimedia.org/>.
FILTER NOT EXISTS {
?item wdt:P18 ?image . }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?commonscat"):::projected
v2("?image")
v1("?item"):::projected
c8([https://commons.wikimedia.org/]):::iri
c5(["wd:Q408"]):::iri
c3(["wd:Q6581072"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P18"--> e0v2
e0v2("?image"):::projected
e0v1("?item"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P18"--> v2
v1 --"wdt:P21"--> c3
v1 --"wdt:P27"--> c5
v3 --"schema:about"--> v1
v3 --"schema:isPartOf"--> c8