adiwg / mdTranslator

Metadata translation tool built using Ruby
https://www.adiwg.org/mdTranslator/
The Unlicense
14 stars 12 forks source link

Update DCAT-US namespaces #283

Open hmaier-fws opened 11 months ago

hmaier-fws commented 11 months ago

The current dcat-us writer assigns the "dcat" namespace to all exported elements. "DCAT" is used by the DCAT-US schema and others to represent elements described by the W3C Data Catalog Vocabulary.

The DCAT-US schema (https://project-open-data.cio.gov/v1.1/schema/catalog.jsonld) uses several namespaces. The namespace used for DCAT-US specific elements is "POD" (project open data). Perhaps we should use the namespace for the authoritative source of the field. For example, the language field (language: "dc:language") is actually sourced from Dublin Core terms namespace (http://purl.org/dc/terms/).

This may simplify future implementation of a generic JSON-LD export.

Example