Page MenuHomePhabricator

Support for Quantity datatype in the data extension service for Commons
Closed, ResolvedPublic

Description

Data of the datatype Quantity isn't yet showing up when performing data extension of Commons files via the Commons Reconciliation Service in OpenRefine.

You can test with this small dataset:

  • Load this set in OpenRefine
  • Reconcile the file names using the Commons Reconciliation Service
  • Try to retrieve the values of the exposure time (P6757) and f-number (P6790) properties - currently this will produce two empty columns. Exposure time has a unit, f-number hasn't

For comparison: the Wikidata reconciliation service returns the string(s) without retrieving or displaying the units.

Event Timeline

Change 757646 had a related patch set uploaded (by Eugene233; author: Eugene233):

[labs/tools/commons-recon-service@main] Support for Quantity datatype in the data extension service for Commons

https://gerrit.wikimedia.org/r/757646

Change 757646 merged by jenkins-bot:

[labs/tools/commons-recon-service@main] Support for Quantity datatype in the data extension service for Commons

https://gerrit.wikimedia.org/r/757646

Tested, and this works!! Thank you \o/

image.png (672×877 px, 191 KB)