Include images that already have depicts
This commit is contained in:
parent
75257632ba
commit
a2aa063dd5
|
@ -2,7 +2,6 @@ select ?object ?objectLabel ?objectDescription (count(*) as ?count) {
|
||||||
?item wdt:P31 wd:Q3305213 .
|
?item wdt:P31 wd:Q3305213 .
|
||||||
?item wdt:P18 ?image .
|
?item wdt:P18 ?image .
|
||||||
?item wdt:{{ pid }} ?object .
|
?item wdt:{{ pid }} ?object .
|
||||||
filter not exists { ?item wdt:P180 ?depicts }
|
|
||||||
optional {
|
optional {
|
||||||
?object rdfs:label ?objectLabel.
|
?object rdfs:label ?objectLabel.
|
||||||
FILTER(LANG(?objectLabel) = "en").
|
FILTER(LANG(?objectLabel) = "en").
|
||||||
|
|
Loading…
Reference in a new issue