pkiraly / metadata-qa-api

Metadata Quality Assessment Framework API
http://pkiraly.github.io/
GNU General Public License v3.0
14 stars 5 forks source link

implement different language tag parsing for JSON #193

Open pkiraly opened 3 weeks ago

pkiraly commented 3 weeks ago

There are at least two types of language tagging Europeana uses:

implicit

"dcCreator": {
  "nl": [
    "Stichting Xeno-canto voor Natuurgeluiden"
  ]
}

explicit

"dcCreator": [
  {
    "@lang": "nl",
    "#value": "Stichting Xeno-canto voor Natuurgeluiden"
  }
]

We should provide a value how to interpret the data: – asLanguageTagged: implicitasLanguageTagged: explicit