Skip to content

#301: sh:values and sh:defaultValue#310

Merged
HolgerKnublauch merged 18 commits into
gh-pagesfrom
issue-301-values
Mar 13, 2025
Merged

#301: sh:values and sh:defaultValue#310
HolgerKnublauch merged 18 commits into
gh-pagesfrom
issue-301-values

Conversation

@HolgerKnublauch

Copy link
Copy Markdown
Contributor

This implements my comment at #301 (comment) which is basically what we have in SHACL-AF and what has been implemented in TopBraid for many years.

Note the PR includes the changes for SHACL-SPARQL introducing sh:select for technical reasons, because the separate PR for that is currently blocked for process reasons. #297 (comment)

HolgerKnublauch and others added 5 commits March 4, 2025 11:15
…xpression

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
…lectExpression

This patch undoes commit 8632a3e.  This was done manually instead of with `git revert`.

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>

@tpluscode tpluscode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually want to include SPARQL expressions in Core?

Comment thread shacl12-core/index.html Outdated
Comment thread shacl12-core/index.html Outdated
Comment thread shacl12-core/index.html Outdated
Comment thread shacl12-core/index.html
Co-authored-by: Tomasz Pluskiewicz <tpluscode@users.noreply.github.com>
@HolgerKnublauch HolgerKnublauch changed the title Issue 301: sh:values and sh:defaultValue #301: sh:values and sh:defaultValue Mar 6, 2025
@HolgerKnublauch

Copy link
Copy Markdown
Contributor Author

Now that the main branch contains the sh:SelectExpression, I have updated this branch against the main branch, which will make it much easier to review.

@TallTed TallTed left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not requesting changes with the GitHub button, but if any of my requests aren't acceptable as they are, please don't merge until we come to agreement on the revisions to these areas.

Comment thread shacl12-sparql/index.html Outdated
Comment thread shacl12-core/index.html Outdated
Comment thread shacl12-core/index.html Outdated
Comment thread shacl12-core/index.html Outdated
Comment thread shacl12-core/index.html Outdated
Comment thread shacl12-core/index.html
Comment thread shacl12-core/index.html Outdated
Comment thread shacl12-core/index.html Outdated
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Comment thread shacl12-core/index.html Outdated
Comment thread shacl12-core/index.html
Comment thread shacl12-core/index.html
If the <code>sh:path</code> is not a <a>well-formed</a> property path, it must be a <a>node expression</a>
and the constraints will be validated against the <a>output nodes</a> of this node expression.
Note that support for node expressions is not required by SHACL Core,
Note that support for <code>sh:values</code> and <code>sh:defaultValue</code> is not required by SHACL Core,

@afs afs Mar 11, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just say:

Suggested change
Note that support for <code>sh:values</code> and <code>sh:defaultValue</code> is not required by SHACL Core,
Note that `sh:values` and `sh:defaultValue` are not used by SHACL Core,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer the pre-edit wording. Presence in SHACL-Core notes the terms should be recognized as in the SHACL vocabulary, but knowing their functionality is explicitly "not required" is a clearer statement to me.

@afs afs Mar 11, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recognizing SHACL vocabulary would imply some basic "support"?

I wanted to capture that they can be syntactically correct and not processed in the "SHACL Core profile" (to come...).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose I'm fine with it. Though, the next line would need its grammar aligned.

Comment thread shacl12-core/index.html
Comment thread shacl12-core/index.html Outdated
Comment thread shacl12-core/index.html
Comment thread shacl12-core/index.html
Comment thread shacl12-core/index.html Outdated
HolgerKnublauch and others added 8 commits March 11, 2025 19:28
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Comment thread shacl12-core/index.html Outdated
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
@HolgerKnublauch HolgerKnublauch merged commit f9fcfcf into gh-pages Mar 13, 2025
@HolgerKnublauch HolgerKnublauch deleted the issue-301-values branch March 13, 2025 07:39
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.

6 participants