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 sh:class constraints for SHACL validation. #445

Open
kburger opened this issue Aug 8, 2023 · 0 comments
Open

Support sh:class constraints for SHACL validation. #445

kburger opened this issue Aug 8, 2023 · 0 comments

Comments

@kburger
Copy link
Contributor

kburger commented Aug 8, 2023

Is your feature request related to a problem? Please describe.
When importing DCAT-AP 3.0.0 shapes and attempting to create a new metadata instance, sh:class constraints are always failing. The sh:class range for some properties is dcat:Resource, but entering valid dcat:Resource instance URLs will not pass validation.

Describe the solution you'd like
The validation should probably be performed with the proposed new instance projected on the entire FAIR Data Point graph. This way sh:class constraints are resolved against the existing instances in the graph.

Describe alternatives you've considered
An alternative is to manually relax or disable constraints in the imported shapes.

Additional context
See https://github.com/SEMICeu/DCAT-AP/blob/master/releases/3.0.0/shacl/dcat-ap-SHACL.ttl for the DCAT-AP shapes.

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

No branches or pull requests

1 participant