SPARQL/Wikimedia Commons Query Service

Wikimedia Commons images use structured data too, see Structured Data on Commons (SDoC). With Wikimedia Commons Query Service (WCQS) the data can be queried. This is available per 1/2/2022 at https://commons-query.wikimedia.org/ It was previously available in beta phase at https://wcqs-beta.wmflabs.org/.

Find below an example of Depictions of Douglas Adams shown as image grid.

Mind: use  where sdc =Structured Data on Commons, the default is   for Wikidata.

See more examples on WCQS itself.

The query below shows all properties of an image:

This reveals some hidden statements like: date Modified / width / height / contentSize (bytes). The query below gives an example how to use it.

This example with combination of SERVICE - mwapi shows Depicts statements with Dutch labels, of files in one Commons category