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

Support Dataset Series serialization #332

Open
amercader opened this issue Jan 29, 2025 · 0 comments · May be fixed by #334
Open

Support Dataset Series serialization #332

amercader opened this issue Jan 29, 2025 · 0 comments · May be fixed by #334

Comments

@amercader
Copy link
Member

See #298 for context

CKAN dataset series support is provided by the new ckanext-dataset-series extension.
At the ckanext-dcat level, we want to expose these entities as dcat:DatasetSeries rather than dcat:Dataset (for DCAT v3 profiles or higher). When receiving a data_dict, the serialize functions can check the type of the dataset to check if it's a Dataset Series and the in_series field to check if it's a dataset that belongs to a series, as well as the series_navigation information if present.

Series should include the dcat:first and dcat:last properties, and datasets dcat:previous and dcat:next (all of them if present).

Dataset Series were introduced in DCAT v3 so these changes should be implemented in EuropeanDCATAP3Profile._graph_from_dataset_v3() (DCAT AP v3 properties also applied to higher versions).

@amercader amercader linked a pull request Jan 29, 2025 that will close this issue
5 tasks
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 a pull request may close this issue.

1 participant