Page MenuHomePhabricator

Support MediaInfo as a data type for Structured Data on Commons statements
Open, Needs TriagePublicFeature

Description

Feature summary:

As a contributor to Structured Data on Commons, I would like to be able to link files on Commons via Structured Data connecting M-IDs to other M-IDs.

For that, I would like to be able to create properties with "MediaInfo" as a data type on Wikidata.

Use case(s)

As a Wikimedian-in-Residence for the Biodiversity Heritage Library, I want to build a model for BHL images on Commons. Some images are derived from book scans, for example:

https://commons.wikimedia.org/wiki/File:Beitrag_zur_Flora_Brasiliens_(Pl._10)_(8226088683).jpg

is derived from the scan:

https://commons.wikimedia.org/wiki/File:Beitrag_zur_Flora_Brasiliens_-von_Maximilian,_Prinz_en_von_Wied%3FNeuwied,_mit_Beschreibungen_von_Nees_von_Esenbeck,_u._von_Martius._(IA_mobot31753000588464).pdf

I want to be able to link both files, ideally using MediaInfo as a value so as to facilitate queries in the future.

There are other Wikidata properties for SDC that link MediaInfo to files, such as "extracted from (https://www.wikidata.org/wiki/Property:P7009) " (see also https://phabricator.wikimedia.org/T304391) that would similarly benefit from a technical development here.

Benefits:

It would enable new uses for Structured Data on Commons, such as

  • linking images to book scans (at least very relevant for 240k+ images from the Biodiversity Heritage Library)
  • navigating property paths on the query service for MediaInfo links e.g. ?extracted_files https://www.wikidata.org/entity/P7009+ sdc:123 to be able to retrieve images extracted from images extracted from images and so on.
  • connect a music sheet to an audio file
  • connect files with derived modifications (e.g. recoloring and other reuses broader than just "extracting")