Skip to content

#177: Update SHACL-SHACL to review sh:singleLine usage #463

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

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

Conversation

ajnelson-nist
Copy link
Contributor

This PR is a follow-on to #268, and just updates SHACL-SHACL to test syntax for #177 .

Some syntax style borrowed from Issue 449.

References:
* #449

Signed-off-by: Alex Nelson <[email protected]>
@ajnelson-nist ajnelson-nist added Core For SHACL 1.2 Core spec SHACL-SHACL labels Aug 4, 2025
@@ -111,6 +111,7 @@ shsh:ShapeShape
sh:targetSubjectsOf sh:uniqueLang ;
sh:targetSubjectsOf sh:uniqueMembers ;
sh:targetSubjectsOf sh:xone ;
sh:targetSubjectsOf sh:singleLine ;
Copy link
Member

Choose a reason for hiding this comment

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

Should alignment of this line not match those above? I still hate tabs for this purpose, but it doesn't make sense to indent one line with two-spaces when the rest of its stanza has one-tab indents.

Suggested change
sh:targetSubjectsOf sh:singleLine ;
sh:targetSubjectsOf sh:singleLine ;

@@ -111,6 +111,7 @@ shsh:ShapeShape
sh:targetSubjectsOf sh:uniqueLang ;
sh:targetSubjectsOf sh:uniqueMembers ;
sh:targetSubjectsOf sh:xone ;
sh:targetSubjectsOf sh:singleLine ;

sh:targetObjectsOf sh:memberShape ; # memberShape-node
Copy link
Member

Choose a reason for hiding this comment

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

I note that sh:targetSubjectsOf precedes sh:targetObjectsOf, so again, these documents can only be sorted one predicate at a time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core For SHACL 1.2 Core spec SHACL-SHACL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants