Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
Jena 3.17.0
-
None
-
None
Description
SHACLC parsing
shape ex:shape2 { targetNode = :WhatEver . ex:A|ex:B|ex:C datatype=xsd:integer . }
produces
sh:path [ sh:alternativePath ( [ sh:alternativePath ( ex:A ex:B ) ] ex:C )
which evaluates correctly but it could be sh:alternativePath ( ex:A ex:B ex:C ).
Printing SHACLC (and SPARQL) paths (PathWriter) puts in () over-cautiously to get (ex:A|ex:B)|ex:C.