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

Adds support for dcat:accessService in dcat:Distribution #235

Conversation

seitenbau-govdata
Copy link
Member

@seitenbau-govdata seitenbau-govdata commented Dec 9, 2022

The pull request adds support for DCAT.accessService in DCAT.Distribution.

The solution provides a simple way to store the information about the dataservices as JSON.

Following properties are supported:

Field Cardinality
DCT.title [1]
DCT.description [0..1]
DCT.license [0..1]
DCT.accessRights [0..1]
DCATAP.availability [0..1]
DCAT.endpointDescription [0..1]
DCAT.endpointURL [1..*]
DCAT.servesDataset [*]

@seitenbau-govdata seitenbau-govdata force-pushed the add-support-for-dcat-access-service-in-dcat-distribution branch from 7c4220a to d4ed33e Compare December 9, 2022 12:23
@seitenbau-govdata seitenbau-govdata force-pushed the add-support-for-dcat-access-service-in-dcat-distribution branch from d4ed33e to fd5351c Compare December 9, 2022 12:27
@amercader
Copy link
Member

This looks good @seitenbau-govdata , my only comment is about entity mapping between CKAN and DCAT. As we are mapping DCAT Distributions to CKAN resources it makes sense to store Access Services as subfields of resources, but I could also see the argument for creating those as actual resources. I guess that I'm not familiar with the actual use case for Access Services. Is that meant for e.g. APIs that give access to the data of a particular distribution?
In any case it makes sense to keep the current hierarchy of CKAN datasets > CKAN resources / dcat:Dataset > dcat:Distribution, so storing access services as you did makes sense.

Another question, is dcat:servesDataset always meant to point to the URI of the current CKAN dataset? should we enforce that? or is better to keep it flexible?

@seitenbau-govdata
Copy link
Member Author

@amercader

Is that meant for e.g. APIs that give access to the data of a particular distribution?

Yes. I think that's the main use case.

Another question, is dcat:servesDataset always meant to point to the URI of the current CKAN dataset? should we enforce that? or is better to keep it flexible?

As it can be a list, it is not restricted to pointing only to the current CKAN dataset. The CKAN dataset can also be used only to publish an API which serves multiple datasets.

@amercader amercader merged commit 35a10d5 into ckan:master Apr 26, 2023
@seitenbau-govdata seitenbau-govdata deleted the add-support-for-dcat-access-service-in-dcat-distribution branch April 27, 2023 13:11
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