This web service aligns ('reconciles') file names/paths of Wikimedia Commons files with their corresponding MediaInfo entity URIs (M-ids). Via data extraction, the Wikitext, multilingual file captions and other structured data of these files can then be retrieved for further processing in OpenRefine.
This interface works with OpenRefine from 2.6 rc2 onwards. It is not compatible with Google Refine.
Use the following URL in OpenRefine: https://test-commonsreconcile.toolforge.org/en/api
Replacing en
with another language code will display items and properties in that language, if they are available.
Demo video in English, 3'25"
You can find general documentation about reconciling in OpenRefine's manual.
Reconcile
→ Start reconciling
.Add standard service...
and paste in the URL: https://test-commonsreconcile.toolforge.org/en/api (you can replace en
with another language code of your choice).Start reconciling
.With the Wikimedia Commons Reconciliation Service, you can create additional columns in your OpenRefine project which contain the Wikitext and various structured data of your Wikimedia Commons files.
Edit column
→ Add columns from reconciled values...
Wikitext
to retrieve the files' WikitextC
followed by the two-letter language code of this language. For instance: Cen
will produce file captions in English; Cja
will produce file captions in Japanese.