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

Replacing sh:and/sh:not with just sh:not #562

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

gtfierro
Copy link
Member

@gtfierro gtfierro commented Sep 6, 2023

PySHACL complains because we have multiple sh:not negation clauses inside a single shape (the object of sh:node). This alternate form should be equivalent while avoiding the issues for PySHACL. PySHACL is technically correct in rejecting multiple sh:not clauses in the same shape, but other SHACL processors don't mind this.

PySHACL complains because we have multiple sh:not negation clauses
inside a single shape (the object of sh:node). This alternate form
should be equivalent while avoiding the pyshacl pedantry
@gtfierro gtfierro merged commit c7c6a67 into master Sep 6, 2023
2 checks passed
@gtfierro gtfierro deleted the gtf-fix-disjoint-conditions branch September 6, 2023 20:58
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 this pull request may close these issues.

1 participant