Structured data information on Commons should have RDF representation, just like the information on Wikidata has. We need to create code that would allow RDF representation of that data.
The URL should be like this:
https://commons.wikimedia.org/wiki/Special:EntityData/M77666670.ttl (just like JSON one works now).
One of the ideas of how RDF could look like is here: https://www.mediawiki.org/wiki/User:Tpt/WikibaseMediaInfo_RDF_Dump_Format
- What should be the main prefix? wd: is wikidata, so we can't use that. sdc: maybe?
- How to ensure that URLs used by Wikidata commonsMedia type match what we're using here? Right now commonsMedia uses Special:FilePath URL, which is different from sitelink. Should we add another triple? Which URL should we use for schema:contentUrl - current full URL or maybe FilePath redirect?