depicts/templates/query/painting_no_depicts.sparql

6 lines
135 B
SPARQL

select distinct ?item where {
?item wdt:P31 wd:Q3305213 .
?item wdt:P18 ?image .
filter not exists { ?item wdt:P180 ?depicts }
}