Skip to content

Implement Support for Relation-Based Properties for DCAT profiles #331

@jadzlnds

Description

@jadzlnds

In the file dcat_us_full.yaml and dcat_ap_full.yaml there are TODO comments at line 356 and line 299 :

# TODO: relation-based properties are not yet included (e.g. is_version_of, source, sample, etc)

These properties are essential for establishing relationships between datasets, such as:

  • Specifying that a dataset is a version of another dataset (dct:isVersionOf).
  • Indicating that a dataset has a newer version (dct:hasVersion).
  • Linking parts of datasets (dct:hasPart, dct:isPartOf).
  • Referencing source datasets (dct:source).
  • And more (e.g., dct:relation, dct:replaces).

Proposed Solution

Add support for the following relation-based properties to the schema, dataset harvesting, and DCAT export functionality:

Relation-Based Properties to Include

  1. dct:hasVersion
  2. dct:isVersionOf
  3. dct:source
  4. dct:relation
  5. dct:hasPart
  6. dct:isPartOf
  7. dct:conformsTo
  8. dct:hasFormat
  9. dct:isFormatOf
  10. dct:isReferencedBy
  11. dct:references
  12. dct:isReplacedBy
  13. dct:replaces
  14. dct:isRequiredBy
  15. dct:requires

Functionality Overview

  • Schema Update: Extend the dcat_us_full.yaml and dcat_ap_full.yaml schema to support these properties. Each property should allow a list of URIs to accommodate multiple relationships of the same type.
  • RDF Harvesting: Update the RDF parsing logic to extract these properties from incoming RDF metadata.
  • Storage: Save these relationships as CKAN dataset extras(additional attributes) to ensure they are accessible for use within CKAN.
  • DCAT Export: Include these relationships in the DCAT RDF export, allowing users to share relationship metadata via RDF.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions