Wikimedia Commons has a new feature where a picture can have metadata saying it depicts a given Wikidata item.
For instance, https://commons.wikimedia.org/wiki/File:Grandpark_Plaza.jpg depicts https://www.wikidata.org/wiki/Q11303 (skyscraper).
My question: How to find the Wikidata items that:
- Are used as a "depicts" value by a lot of Wikimedia Commons files
- Do NOT have a P18 (image) property
It is tricky because it involves two Wikibase servers: Wikidata, and the Structured Data on Commons (SDoC)'s Wikibase server. I am open to any solution, SPARQL or not, hosted or not, open source or not.