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

SHACL - Validating maxCount/minCount across union of graphs with duplicates #5136

Open
hmottestad opened this issue Sep 24, 2024 · 0 comments
Assignees
Labels
📦 SHACL affects the SHACL validator specification issues related to compliance to standards and external specs
Milestone

Comments

@hmottestad
Copy link
Contributor

Validating maxCount/minCount for a single graph always guarantees that there are no duplicates since a quad is unique.

When validating the union of multiple graphs it becomes possible to have the same value in more than one graph. This seems like undefined behaviour in the SHACL spec.

We decide that maxCount and minCount will work on the set of values. If one or more graph contain the same value then this value will only be counted once.

@hmottestad hmottestad added specification issues related to compliance to standards and external specs 📦 SHACL affects the SHACL validator labels Sep 24, 2024
@hmottestad hmottestad added this to the 5.1.0 milestone Sep 24, 2024
@hmottestad hmottestad self-assigned this Sep 24, 2024
hmottestad added a commit that referenced this issue Sep 24, 2024
…t values when applied to the union of multiple graphs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 SHACL affects the SHACL validator specification issues related to compliance to standards and external specs
Projects
None yet
Development

No branches or pull requests

1 participant