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

Enhanced DCAT-AP profiles to ensure MQA DCAT-AP compliance #99

Closed
Tracked by #93
mjanez opened this issue Aug 21, 2024 · 1 comment · Fixed by #101
Closed
Tracked by #93

Enhanced DCAT-AP profiles to ensure MQA DCAT-AP compliance #99

mjanez opened this issue Aug 21, 2024 · 1 comment · Fixed by #101
Assignees
Labels
ckanext-dcat documentation Improvements or additions to documentation enhancement New feature or request i18n Translations schema ckanext-scheming schemas improvements or fixes

Comments

@mjanez
Copy link
Owner

mjanez commented Aug 21, 2024

References

DCAT-AP:

EU Vocabularies: https://op.europa.eu/en/web/eu-vocabularies/dcat-ap

Validator:

DCAT-AP Country profile:

SHACLs: https://github.com/ISAITB/validator-resources-dcat-ap/blob/baca3adf63d31ee415fa5e769249053ae211414c/resources/config.properties

DCAT-AP Validator Validation Cases

The different cases to validate in the DCAT-AP Validator are based on the level of completeness of the checks and the incorporation of background knowledge (vocabularies). Each case is designed for a specific data exchange scenario.
The following describes each case and recommends which one you should use for a CKAN catalog:

Case 1: DCAT-AP Base Zero (no background knowledge)

Includes all constraints required for technical coherence, excluding range class membership constraints and controlled vocabulary usage.

SHACL Profiles:

Case 2: DCAT-AP Ranges Zero (no background knowledge)

Includes all range class membership constraints.

SHACL Profiles:

Case 3: DCAT-AP Base (with background knowledge)

Extends Case 1 with background knowledge, including all vocabularies used in DCAT-AP.

SHACL Profiles:

Case 4: DCAT-AP Ranges (with background knowledge)

Extends Case 2 with background knowledge, adding validation of range class membership and vocabulary standards compliance.

SHACL Profiles:

Case 5: DCAT-AP Recommendations (with background knowledge)

Includes all constraints related to recommended properties.

SHACL Profiles:

Case 6: DCAT-AP Controlled Vocabularies

Includes all constraints related to controlled vocabularies.

SHACL Profiles:

Case 7: DCAT-AP Full (with background knowledge)

The union of Cases 3, 4, 5, and 6.

SHACL Profiles:

Recommendation:

For most use cases, Case 3: DCAT-AP Base (with background knowledge) is recommended. It provides comprehensive validation of basic coherence and vocabulary standards compliance.
If your CKAN catalog uses controlled vocabularies, consider using Case 6: DCAT-AP Controlled Vocabularies or Case 7: DCAT-AP Full (with background knowledge) for more exhaustive validation.
Remember, the choice of the appropriate validation case depends on your specific needs and data exchange context.

@mjanez
Copy link
Owner Author

mjanez commented Sep 23, 2024

Fixed by: #101

@mjanez mjanez closed this as completed Sep 23, 2024
@mjanez mjanez unpinned this issue Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ckanext-dcat documentation Improvements or additions to documentation enhancement New feature or request i18n Translations schema ckanext-scheming schemas improvements or fixes
Projects
None yet
1 participant