-
Notifications
You must be signed in to change notification settings - Fork 148
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 for DCAT-AP 2.0 #168
Comments
This extension has the ability to use so called profiles. So in order to use DCAT-AP 2.0 someone would need to create a profile for it. |
I've tried to summarize the added properties (from DCAT-AP 1.1 to 2.0) below: dcat:Dataset Add dct:creator (Optional property) dcat:Distribution Add dcatap:availability (Recommended property) |
Thanks @aidig, that's really useful in case someone wants to jump in and update the current profile or create a new one. Are the new fields for Distribution (dcatap:availability, dcat:accessService, etc) mandatory? |
Thanks! Have just updated the comment above with a property constraint note (Mandatory/Recommended/Optional) |
View comparison of properties DCAT-AP 1.1 vs. DCAT-AP 2.0 here: |
DCAT v.2.0 is now a W3C Recommendation (4th Feb 2020) and DCAT 1.0 has been superseeded.
|
But please note that 'recommended' only means 'use this property when a dataset has a spatial/temporal extent'. We also did a bit of work to develop recommendations about how to represent time and space in the values of |
Anyone out there planning to "jump in" and create a profile for DCAT-AP 2.0? :-) |
Question: are dataServices also supported? Or will that not be considered? |
My organization aims to implement DCAT within CKAN, and our product owners are requesting to use one of the DCAT 2 properties, dct.creator. I understand the properties must be added to profiles.py, but where, and how? Additionally, there are three properties(accrualPeriodicity, license, accessRights) in the DCAT-AP v1.1 that we are unable to harvest/parse from datasets, but I see them in profile.py... is this a known issue? |
@ar-woodbury I suggest to open a new issue targeting these problem. There you can explain it in more detail, e.g. how the properties looks in the graph which will be imported and what is the result. |
We plan to update the current |
@seitenbau-govdata does this mean that the same default profile will be valid for both DCAT-AP 1.1 and 2.1? |
@amercader Yes. New properties we can just add to parsing and serializing. But it will be a challenge for changed properties, as |
@seitenbau-govdata you mean that DCAT-AP 1.1 expects Perhaps if there are just a few of these backwards incompatible changes we can follow this approach but if there are more perhaps a separate profile (that inherits all logic from the current DCAT 1.1 based one) seems cleaner? I just don't know how many of these changes are. Is there a good changelog document available? @aidig kindly linked to a document that doesn't seem to be available anymore:
|
@amercader I think https://www.w3.org/TR/vocab-dcat-2/#changes-since-20140116 should describe the changes between DCAT-AP 1.x and DCAT-AP 2.x. We plan to add support for some of the changes, not all. We will list the properties in the pull request. Do you think it`s a problem if there are some additional properties which are unknown in one of the DCAT-AP version? We have just started to expand the existing profile. But with the thought that this can be split into a new profile at any time. |
@seitenbau-govdata I really think that keeping the two profiles separate will make maintenance easier in the future and make things easier for site maintainers to transition from one to the other. I think it's a fair ask to update a config setting to change the default profile (we can introduce the 2.1 profile but keep the 1.1 profile as default or a version or too to not break existing setups, and then switch to 2.1 as default). We can announce this change and add it to the changelog. (We can even make the setting configurable via the UI if that helps) This is not exposed in the app endpoints but the parser/serializer support passing the desired profiles, so potentially the same site could expose the same metadata on both profiles to keep compatibility (if there's a use case for that) All in all I think it makes sense to create a separate profile. |
@amercader All right, let's create a new profile for DCAT-AP 2. 😃 We propose In the end the new profile need to support mostly of the new and changed attributes defined in DCAT-AP 2, but also the still valid attributes from DCAT-AP 1. Or could it be a valid option that only the new and changed attributes in DCAT-AP 2 are handled in the new DCAT-AP 2 profile and both profiles have to be called one after the other to get the complete DCAT-AP 2? What do you prefer? |
@seitenbau-govdata Without being familiar with the DCAT-AP 2.x changes, my gut feeling is that for a first implementation extending |
@amercader Yes. I agree. We have just updated the pull request. |
DCAT v.2.0 is now Proposed Recommendation by W3C (https://www.w3.org/TR/vocab-dcat-2/)
Also, DCAT-AP v.2.0 has been completed in the context of the European Commission’s ISA2 programme (https://joinup.ec.europa.eu/solution/dcat-application-profile-data-portals-europe/release/200)
What are the plans of updating this extension to be compatible with DCAT-AP 2.0 / alternatively creating a new extension?
The text was updated successfully, but these errors were encountered: