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

sh:class is being used incorrectly? #4

Open
julianrojas87 opened this issue Nov 27, 2023 · 0 comments
Open

sh:class is being used incorrectly? #4

julianrojas87 opened this issue Nov 27, 2023 · 0 comments

Comments

@julianrojas87
Copy link
Contributor

julianrojas87 commented Nov 27, 2023

The sh:class property is currently used to link a processor shape to the shapes of its complex properties. However, according to the SHACL spec:

The condition specified by sh:class is that each value node is a SHACL instance of a given type.

In other words, what we are currently saying by using sh:class is that the value of a given processor property must be an instance of the given shape and not of the class described by the shape.

The property that is used in SHACL to state that a property shape is described by another related shape is sh:node.

@ajuvercr can you please check if this makes sense to you? If so we need to proceed and propagate the fix to all processors that are using sh:class

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