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

How to deal with deprecated mappings #25

Closed
andrea-perego opened this issue Jan 23, 2021 · 2 comments · Fixed by #26
Closed

How to deal with deprecated mappings #25

andrea-perego opened this issue Jan 23, 2021 · 2 comments · Fixed by #26

Comments

@andrea-perego
Copy link
Collaborator

GeoDCAT-AP 2.0.0 has deprecated a number of mappings, following the alignment with DCAT/DCAT-AP 2, and the terms defined in the GeoDCAT-AP namespace (the full list is in §A.2 of the GeoDCAT-AP 2.0.0 specification).

To support backward compatibility, the GeoDCAT-AP XSLT still uses these mappings, along with the new ones. This, however, adds noise in the output records, and it may not be fit for all use cases.

An option is to include in the XSLT a global parameter which can used to specify whether deprecated mappings must or must not be included in the output.

@andrea-perego
Copy link
Collaborator Author

The proposed revision has been implemented in PR #26

A global parameter $include-deprecated has been added, which takes as value either yes or no.

As it is a global parameter, its value (yes / no) can be set by the application running the XSLT.

@andrea-perego andrea-perego linked a pull request Jan 24, 2021 that will close this issue
@andrea-perego
Copy link
Collaborator Author

As no objections were raised, I will merge PR #26 and close this issue.

andrea-perego added a commit that referenced this issue Feb 18, 2021
- Remove explicit class specifications (`skos:Concept`) from code list values, as it is not necessary for validation via SHACL - see #22 (comment).
- Map textual descriptions of distribution encodings to URIs - see #24. 
- Add global configuration parameter (`$include-deprecated`) to specify whether the output must or must not include deprecated mappings - see #25.
- Change reference vocabulary for units of measure from OM (Ontology of Units of Measure) to QUDT (Quantity, Units, Dimensions, and Types Ontology).
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