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

   The text isn't wrong but it does not override or modify the previous text. 
"Exactly one" would be better. Elsewhere is says 
   
   >Each value of sh:property in a shape must be a 
[well-formed](https://www.w3.org/TR/shacl/#dfn-well-formed) [property 
shape](https://www.w3.org/TR/shacl/#dfn-property-shape).
   
   `<ObservationConstraintProperty>` is both a node shape and a property shape.
   
   > Note that the definitions of 
[well-formed](https://www.w3.org/TR/shacl/#dfn-well-formed) [property 
shapes](https://www.w3.org/TR/shacl/#dfn-property-shape) and [node 
shapes](https://www.w3.org/TR/shacl/#dfn-node-shape) make these two sets of 
nodes disjoint.
   
    If the code walks from the target start point it is encountered as a node 
shape. I can't see text that then makes the `sh:or` apply because it is not 
attached to the node shape (obviously, the code is interpreting sh:property 
with no `sh:path` as having no path step).
   
   Jena parsers all the shapes, not just reachable ones from targets or ones 
encountered because of the data.
   


-- 
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