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

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

Open
wants to merge 17 commits into
base: gh-pages
Choose a base branch
from

Conversation

HolgerKnublauch
Copy link
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)

Copy link

@tpluscode tpluscode left a comment

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?

Co-authored-by: Tomasz Pluskiewicz <[email protected]>
@HolgerKnublauch HolgerKnublauch changed the title Issue 301: sh:values and sh:defaultValue #301: sh:values and sh:defaultValue Mar 6, 2025
@HolgerKnublauch
Copy link
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.

Copy link
Member

@TallTed TallTed left a comment

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.

Co-authored-by: Ted Thibodeau Jr <[email protected]>
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,
Copy link
Contributor

@afs afs Mar 11, 2025

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
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.

Copy link
Contributor

@afs afs Mar 11, 2025

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
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.

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