-
Notifications
You must be signed in to change notification settings - Fork 656
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 mixes up multiple PropertyShapes of the same NodeShape #2851
Comments
@VladimirAlexiev What should the SHACL-C look like? |
@afs I'm looking at https://rawgit2.com/VladimirAlexiev/shacl/shaclc-grammars/shacl-compact-syntax/grammar/shaclc-ANTLR.html#constraint:
So indeed PropertyShapes are expressed as a I think the SHACLC should look like this. It would be nice to use some newlines and identations to emphasize the nesting:
|
Version
5.2.0
What happened?
Look at a complex shape https://github.com/Sveino/Inst4CIM-KG/blob/develop/source/CGMES/v3.0/SHACL/ttl/61970-302_Dynamics-AP-Con-Complex-SHACL_v3-0-0.ttl (CIM/CGMES is electrical data).
Search for "GovGAST3" and you find a node that refers to multiple properties:
When converted to SHACLC, all these props are mixed together:
If the messages were different, it would lead to mixup of which message is for which constraint.
Relevant output and stacktrace
No response
Are you interested in making a pull request?
None
The text was updated successfully, but these errors were encountered: