afs commented on issue #2129:
URL: https://github.com/apache/jena/issues/2129#issuecomment-1870473242

   https://www.w3.org/TR/shacl/#property-shapes
   
   >A property shape is a [shape](https://www.w3.org/TR/shacl/#dfn-shape) in 
the [shapes graph](https://www.w3.org/TR/shacl/#dfn-shapes-graph) that is the 
[subject](https://www.w3.org/TR/shacl/#dfn-subject) of a 
[triple](https://www.w3.org/TR/shacl/#dfn-rdf-triple) that has sh:path as its 
[predicate](https://www.w3.org/TR/shacl/#dfn-predicate). 
   
   A property shape must have an `sh:path`. 
   
   The stacktrace is at parse time. Line 25 (which should be indented?) has 
sh:property with no sh:path. The `sh:or`, each with a `sh:path` does not fulfil 
the definition. 
   
   Maybe `sh:or` should be on the node shape by removing the sh:property (line 
25) and its closing `]`?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to