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 - validation of sh:qualifiedMaxCount may sometimes not when a statement matching the path is added #5139

Open
hmottestad opened this issue Sep 30, 2024 · 0 comments
Assignees
Labels
🐞 bug issue is a bug 📦 SHACL affects the SHACL validator
Milestone

Comments

@hmottestad
Copy link
Contributor

hmottestad commented Sep 30, 2024

Shape

rdf4j:SHACLShapeGraph {
  ex:PersonShape a sh:NodeShape;
    sh:targetClass ex:Person;
    sh:property [
        sh:path ex:name;
		sh:qualifiedValueShape [sh:datatype xsd:string ; ] ;
		sh:qualifiedMaxCount 1 ;
      ] .
}

Initial data

ex:person1 a ex:Person ;
    ex:name "en val"@en, "whatever" .

SPARQL update

INSERT DATA {
    ex:person1 ex:name  "other".
}
@hmottestad hmottestad added 🐞 bug issue is a bug 📦 SHACL affects the SHACL validator labels Sep 30, 2024
@hmottestad hmottestad added this to the 5.0.3 milestone Sep 30, 2024
hmottestad added a commit that referenced this issue Sep 30, 2024
@hmottestad hmottestad self-assigned this Sep 30, 2024
hmottestad added a commit that referenced this issue Oct 2, 2024
hmottestad added a commit that referenced this issue Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug issue is a bug 📦 SHACL affects the SHACL validator
Projects
None yet
Development

No branches or pull requests

1 participant