MikiDi commented on issue #3817:
URL: https://github.com/apache/jena/issues/3817#issuecomment-4134298161

   Thanks for your reply. I see. Do I interpret correctly that the opening in 
the spec for multiple `sh:message`s is only there to allow for messages in 
different language tags? (Strictly speaking, this is for a "Shape" though. Does 
that also go for a `sh:SPARQLConstraint`?)
   
   The case for which this came up was one where multiple occurrences of 
`sh:message` (with the same language tag) were introduced by accident. It lead 
me to wonder however if "a `sh:SPARQLConstraint` is to have maximum one 
`sh:message`" can be generalized and expressed as a shacl rule so such a 
mistake could be captured by validation in the future. 
[This](https://github.com/w3c/data-shapes/blob/32a9198bc72060cb5f37ac8caed270d3b42ba134/shacl12-vocabularies/shacl-shacl.ttl#L153-L156)
  is all shacl-shacl has on `sh:message` for now though.


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