Skip to content

Add missing fields#352

Merged
amercader merged 40 commits into
ckan:masterfrom
GenomicDataInfrastructure:add-missing-fields
Sep 24, 2025
Merged

Add missing fields#352
amercader merged 40 commits into
ckan:masterfrom
GenomicDataInfrastructure:add-missing-fields

Conversation

@hcvdwerf

Copy link
Copy Markdown
Contributor

Summary
This PR implements additional metadata fields across various RDF entities to enhance alignment with DCAT and provenance/quality standards. The changes improve semantic expressiveness and interoperability across datasets, catalogues, and data services.

✅ Implemented Fields
Agent

Added support for describing agents (e.g., publishers, creators, data providers).
Spatial

Included dct:spatial to indicate the geographic coverage of datasets and services.
Dataset

Enriched with:
prov:wasGeneratedBy: traces back to the activity or process that generated the dataset.
dqv:hasQualityAnnotation: links to a quality annotation to describe quality metrics or standards.
prov:qualifiedAttribution: provides detailed attribution including the responsible agent and role.
Catalog

Support added for:
foaf:homepage: to represent the catalog's homepage URL.
Distribution

Added:
dct:retentionPeriod: defines how long the distribution is retained.
dct:temporalResolution: captures the granularity of the temporal dimension.
DataService

Implemented core structure and verified alignment using the Excel specification ("Check excel").
🔧 Notes
All newly introduced fields were verified against the controlled vocabulary and shape expectations from the GDI metadata model and SHACL definitions.
The update ensures these fields are parsed, serialized, and available in the RDF export and/or API layer as appropriate.
🔗 Related Issues
Closes #337: Implement missing provenance and quality fields.
Closes #325: Add support for spatial, retention, and resolution metadata.

Hans-Christian van der Werf and others added 30 commits June 5, 2025 21:13
…series-serialisation

Support rdf dataseries serialisation
- provenance_activity
- qualified_attribution
- quality_annotation
- provenance_activity
- qualified_attribution
- quality_annotation
- retention period (distribution)
- homepage (catalog)
return []

try:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hcvdwerf Can you remove the changes from #350 from this PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes done

Comment thread .github/workflows/test.yml Outdated
pip install -e ckanext-scheming
git clone https://github.com/ckan/ckanext-fluent
pip install -e ckanext-fluent
pip install git+https://github.com/ckan/ckanext-fluent.git@4e9340a#egg=ckanext-fluent

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed support for CKAN 2.9 in be3c8d6 so this should not be longer necessary

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I revert the test.yml

@amercader

Copy link
Copy Markdown
Member

@hcvdwerf This looks good, see some minor comments. The PR description was not very helpful though, with confusing formatting and bits that are not relevant (or just hallucinated). If you are using an AI assistant please review the description to make sure a human can understand the changes made. Thanks!

@hcvdwerf

Copy link
Copy Markdown
Contributor Author

@amercader I processed you comments. Any idea what is going wrong now with the croissant package?

@amercader amercader merged commit 7806786 into ckan:master Sep 24, 2025
3 checks passed
@hcvdwerf hcvdwerf deleted the add-missing-fields branch September 24, 2025 18:13
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.

Missing DCAT AP 3 and Health DCAT fields DCAT-3 profile uses outdated dct:hasVersion predicate

2 participants