ro-crate
ro-crate copied to clipboard
Use Case: Convert RO-Crate to/from DCAT-AP
As an EOSC user I am encouraged by funders to use DCAT-AP 3.0 for publishing datasets. I want to convert the RO-Crate metadata for a published crate to a DCAT description.
- https://schema.org/Dataset maps directly to DCAT
Datasetbut in a different namespace. Mapping https://ec-jrc.github.io/dcat-ap-to-schema-org/ shows how to map, but we need programmatic version - A RO-Crate for DCAT must be published in a way that can fit in a DCAT
DataCatalogueand have adistribution. - DCAT expects typically format Turtle (although this is never mandated?) not JSON-LD. In addition the URLs must be absolute, so the RO-Crate must be converted to Detached.
- The inner details of an RO-Crate e.g. author per file should not be included in the dcat, only the
./level root descriptions need to be reflected in DCAT. - Some additional DCAT-AP requirements are not required in Schema.org but can be expressed by given mapping. A corresponding "DCAT-compatible RO-Crate" profile may be needed.
- Note that DCAT-AP is a particular profile of DCAT, there are also more domain-specific profiles like https://healthdcat-ap.github.io/ and https://semiceu.github.io/GeoDCAT-AP/
Relates to #220
Could be a command line tool that converts?