17 lines
485 B
SPARQL
17 lines
485 B
SPARQL
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").
|
|
}
|
|
optional {
|
|
?object schema:description ?objectDescription .
|
|
filter(lang(?objectDescription) = "en")
|
|
}
|
|
|
|
} group by ?object ?objectLabel ?objectDescription
|
|
order by desc(?count)
|