Include images that already have depicts

This commit is contained in:
Edward Betts 2019-11-25 13:50:57 +00:00
parent 75257632ba
commit a2aa063dd5

View file

@ -2,7 +2,6 @@ select ?object ?objectLabel ?objectDescription (count(*) as ?count) {
?item wdt:P31 wd:Q3305213 .
?item wdt:P18 ?image .
?item wdt:{{ pid }} ?object .
filter not exists { ?item wdt:P180 ?depicts }
optional {
?object rdfs:label ?objectLabel.
FILTER(LANG(?objectLabel) = "en").