antoinecourtin / VanGoghDataproject

jsonld files (and associated documentation) from the TMS data of Van Gogh's works kept at the Musée d'Orsay in order to participate in the project http://vangoghworldwide.org/
1 stars 1 forks source link
glam jsonld

VanGoghDataproject

Test data sets to participate in the Vang Gogh Wolrdwide project (https://vangoghworldwide.org/).

Documentation

Contents of the repository

Process

  graph LR;
     A[(TMS Object)]-- Export XML --- B[OpenRefine]
     B --> C{{ReconcialiationServiceAAT}}
     B --> E{{Clean data}}
     B -- Export Templating --- D[generate jsonfile]

Details and examples of cases

First step

Example of technical information ofr Van gogh painting in the TMS XML export

<materiel-technique num-ordre="1">peinture</materiel-technique>

second step

In OpenRefine, we align painting with the Getty's AAT to get both the English label and the concept id

technique_xml_exportTMS technique_aat_label technique_aat_id
peinture painting 300054216

Third step

Export templating

"technique": [
      {
        "id": "http://vocab.getty.edu/aat/{{jython:return cells["technique_aat_id"].value}}",
        "type": "Type",
        "_label": "{{jython:return cells["technique_aat_label"].value}}"
      }

Result

"produced_by": {
    "type": "Production",
    "technique": [
      {
        "id": "http://vocab.getty.edu/aat/300054216",
        "type": "Type",
        "_label": "painting"
      }
    ],