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

SHACLC: add name, description, group, order, defaultValue #2853

Open
VladimirAlexiev opened this issue Nov 19, 2024 · 4 comments
Open

SHACLC: add name, description, group, order, defaultValue #2853

VladimirAlexiev opened this issue Nov 19, 2024 · 4 comments
Labels
enhancement Incrementally add new feature SHACL

Comments

@VladimirAlexiev
Copy link

Version

5.2.0

Feature

Get https://github.com/Sveino/Inst4CIM-KG/tree/develop/source/CGMES/v3.0/SHACL/ttl (these are complex electrical CIM/CGMES shapes).
Try it in the example in Sveino/Inst4CIM-KG#137

shacl.bat p -out=c 61968-13_GeographicalLocation-AP-Con-Complex-SHACL_v3-0-0.ttl

You see that the https://www.w3.org/TR/shacl/#nonValidation props name, description, group, order, defaultValue are missing (only message is present).

Are you interested in contributing a solution yourself?

None

@afs
Copy link
Member

afs commented Nov 19, 2024

Sveino/Inst4CIM-KG#137

SHACLC allows Turtle content

Not true.

@afs afs added the SHACL label Nov 19, 2024
@afs
Copy link
Member

afs commented Nov 19, 2024

See https://w3c.github.io/shacl/shacl-compact-syntax/#grammar-section

SHACL-C does not include Non-Validating Property Shape Characteristics.

Lets's see what the SHACL 1.2 Working Group produces. It may be the the current SHACL-C is not suited to ful SHACL (inc the decomposed AF).

@VladimirAlexiev
Copy link
Author

Agree (see comments in #2852).

But adding these props is easy ("name, description" are "siblings" of "message"), so if jena does it, there's a higher chance others will follow.

@afs
Copy link
Member

afs commented Nov 20, 2024

Discussion on the direction of jena-shacl on #2852.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Incrementally add new feature SHACL
Projects
None yet
Development

No branches or pull requests

2 participants