- From: Alex Nelson via GitHub <sysbot+gh@w3.org>
- Date: Wed, 05 Feb 2025 19:17:06 +0000
- To: public-shacl@w3.org
ajnelson-nist has just submitted a new pull request for https://github.com/w3c/data-shapes: == Issue 230: Update description of `sh:pattern` behavior with IRI nodes == This patch series will address update test results, and possibly other documentation, around `sh:pattern` and how it behaves against IRI nodes. E.g., there will be clarification on what should happen with use cases like this: ```turtle @prefix ex: <http://example.org/> . ex:Shape-1 a sh:NodeShape ; sh:pattern "^https" ; sh:targetNode ex:Node-1 ; . ``` I.e., should the `sh:sourceConstraintComponent` be `sh:PatternConstraintComponent` for violating the pattern (not starting with `https`)? `sh:NodeKindConstraint` for being an IRI node, even though `sh:nodeKind` is not used in this shape? The intent of this PR is to at least close #230 , and possibly generate editor's draft revisions to cover use case 1 in #228 . I suspect the working group needs to confirm whether this will be a backwards-compatible change. I could also see SHACL-SHACL being updated to further constrain where `sh:pattern` can be used. Aside: This is also my first PR against this repo, so rules-of-the-road pointers would be appreciated, such as appropriate target branch. ACKs are due to @afs, @tfrancart, and @tpluscode from conversation on #228 ; what's the appropriate `git log` tag to use? `Cc:`? I'll force-push the first patch for the benefit of `git log` and `git blame` after guidance on ACKs. See https://github.com/w3c/data-shapes/pull/231 -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 5 February 2025 19:17:07 UTC