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

Proposal to use sh:targetClass in the SHACL shapes #46

Open
EmidioStani opened this issue Oct 12, 2018 · 3 comments

Comments

@EmidioStani
Copy link
Member

commented Oct 12, 2018

In a project for the French ministry of Health I am reusing DCAT-AP SHACL shapes.

The current SHACL shapes (at least those mandatory) have shapes which affect exactly the classes indicated. By using sh:targetClass, the shapes can affect subclasses (declared with rdfs:subClassOf in the model) and therefore improving the reusability of the shacl shapes.

The alternative would be define the subclasses directly in the shapes but this is not good for modularity.

@EmidioStani EmidioStani changed the title Proposal to use sh:targetClass in the shacl shapes Proposal to use sh:targetClass in the SHACL shapes Oct 24, 2018
@addragan

This comment has been minimized.

Copy link
Contributor

commented Nov 8, 2018

Proposal to evaluate this issue together with #48 in the next major release cycle.

@addragan

This comment has been minimized.

Copy link
Contributor

commented Jul 23, 2019

Proposed resolution: Use sh:targetClass in the mandatory SHACL shapes.

@EmidioStani

This comment has been minimized.

Copy link
Member Author

commented Jul 25, 2019

Why only in mandatory shapes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.