Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DCAT HVD 2.2.0 #284

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft

Conversation

EricSoroos
Copy link

@EricSoroos EricSoroos commented May 29, 2024

Context:

The HVD Spec (https://github.com/SEMICeu/DCAT-AP/tree/master/releases/2.2.0-hvd) has a few specific requirements:

  1. The Applicable Legislation ELI (http://data.europa.eu/eli/reg_impl/2023/138/oj) must be applied to Datasets and Distributions(resources) for HVD items. There may be distributions of a dataset that are not covered by the HVD, and they would not contain this value.
  2. The HVD Category must be part of a specific codelist.
  3. While the HVD profile should be included in the base catalog, there must be a catalog returning only hvd datasets and resources for reporting purposes.

Draft version of HVD 2.2.0 compliance

  1. Adds support for codelists as a concept, and uses them for the HVD Category
  2. Uses appropriate rdf typing to pass the shaql validation.
  3. Provides a read-only profile to provide a HVD only catalog at {base url}/catalog.ttl?profiles=euro_dcat_ap_hvd_220
  4. Extracts resource_to_graph into overridable methods.

Todo:

  • Shaql validation in automatic testing
  • meta link to the HBD only catalog.
  • HVD Category rdf is read on import, should be lazy

@EricSoroos
Copy link
Author

This is a draft for comment --

  • I'm not clear that I'm hooking into the best place to provide the HVD only catalog.
  • The resource refactoring is pretty severe to just be able to drop resources out of the graph, there might be a better way.
  • I'm also not clear that a narrow subclass is a great idea to provide a minimized catalog, because if it's configured as a default profile, it would remove all non-hvd datasets from the catalog.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

1 participant