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

Fix issues in SHACL #526

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Commits on Sep 4, 2024

  1. Configuration menu
    Copy the full SHA
    d2619e1 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Use sh:node instead of rdfs:subClassOf

    A SHACL node shape cannot be a subclass of another shape. Intention of rdfs:subClassOf is to enforce that the child should be valid against the shape of parents too. For this purpose we should use sh:node https://www.w3.org/TR/shacl/#NodeConstraintComponent
    mhrimaz committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    2f1fe55 View commit details
    Browse the repository at this point in the history
  2. Create multiple sh:property for multiple regex pattern

    In SHACL it is not allowed to have multiple sh:pattern in a single PropertyShape. For this reason, for each regular expression pattern, we need to create a separate PropertyShape.
    mhrimaz committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    dcc16c2 View commit details
    Browse the repository at this point in the history
  3. Fix SHACL for subclasses of AbstractLangString

    Solve issue as discussed in aas-core-works#519
    mhrimaz committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    845a1cc View commit details
    Browse the repository at this point in the history
  4. Replace rdf:type in SHACL SPARQL with URI

    rdf:type without declaring prefix would cause issue in some validators. Using URI wihout prefix would solve this.
    mhrimaz committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    6d7d615 View commit details
    Browse the repository at this point in the history