Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Feature/add creator support #302

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

Conversation

hcvdwerf
Copy link
Contributor

@hcvdwerf hcvdwerf commented Sep 9, 2024

Add Creator Support to DCAT Extension

This PR introduces functionality for managing and displaying creator information in datasets, aligning with the DCAT vocabulary. Key additions include:

  • Creator Fields: Similar to the publisher, we now support creator metadata fields:

    • creator_name: The name of the dataset creator.
    • creator_email: The creator's email address.
    • creator_url: The homepage or URL related to the creator.
    • creator_identifier: A unique identifier for the creator, such as an ORCID or other URI.
  • RDF Serialization/Deserialization:

    • Updated the RDF serializer to include creator fields in the dataset's RDF output.
    • Ensured proper handling of the new fields during both data import and export.
  • Unit Tests:

    • Extended existing tests to verify the correct inclusion of the creator in the RDF graph.
    • Added new tests to cover all edge cases for creator metadata, including missing or partial data.

This enhancement aligns with the ongoing efforts to ensure full support for the DCAT-AP 2/3 profiles in CKAN's DCAT extension and improves metadata expressiveness by adding proper attribution for dataset creators.

Hans-Chrstian added 5 commits September 9, 2024 15:38
- Introduced creator fields (URI, name, email, URL, type, identifier) alongside publisher fields.
- Updated the RDF graph serialization to include creator details.
- Extended existing tests to validate the creator functionality.
- Applied similar fallback logic for creator as used for publisher.
@hcvdwerf hcvdwerf marked this pull request as ready for review September 12, 2024 19:39
- Added fields to store creator details (name, email, URL, and identifier) in the DCAT profile.
- Implemented functionality to serialize and deserialize creator information similar to the publisher.
- Updated RDF generation logic to include creator fields in the output graph.
- Enhanced unit tests to verify proper handling and serialization of creator metadata.
@hcvdwerf
Copy link
Contributor Author

@amercader Do you have time to review this one? Thanks in advance!

@amercader
Copy link
Member

Thanks for this @hcvdwerf , I have many open fronts but will get to this eventually!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants