Many thanks, Holger. I appreciate the info.

Michael

On Friday, June 27, 2025 at 12:47:44 AM UTC-4 Holger Knublauch wrote:

> Hi Michael,
>
> I don’t think other validators are supporting this feature yet, as it is 
> not officially part of SHACL 1.0 yet.
>
> However, this will change with SHACL 1.2, where reification-based severity 
> and messages will be supported, see
>
> [image: 396.png]
>
> #173: Support `sh:message`, `sh:severity`, and `sh:deactivated` per 
> constraint triple by HolgerKnublauch · Pull Request #396 · w3c/data-shapes 
> <https://github.com/w3c/data-shapes/pull/396>
> github.com <https://github.com/w3c/data-shapes/pull/396>
> <https://github.com/w3c/data-shapes/pull/396>
>
> Also note that we are waiting for the finalization of RDF 1.2 so that the 
> use of rdf:Statement can be replaced with proper reified triples.
>
> HTH
> Holger
>
>
> On Jun 26, 2025, at 21:49, Michael Phillips <phil...@oclc.org> wrote:
>
> I have used the reified statements in EDG to define custom values for 
> sh:message and sh:severity. However, when I export the shapes and use them 
> in a an external validator such as pyshacl or 
> https://shacl-play.sparna.fr/play/validate the custom messages are not 
> retrieved with the validation results. 
> In sorted ttl the reified statements are rdf:statement blocks like so:
> [
>   a rdf:Statement ;
>   rdf:object 1 ;
>   rdf:predicate sh:minCount ;
>   rdf:subject bf:Work-title ;
>   sh:message "This property is required."@en ;
>   sh:severity sh:Warning ;
> ].
>
> Currently the external validators appear to only use the property shape 
> and overlook the rdf:statement with sh:message and sh:severity. Is there 
> some configuration I am missing? Any tips on how to get the reified 
> statements to work outside of EDG?
>
> -- 
> The topics of this mailing list include TopBraid EDG and related 
> technologies such as SHACL.
> To post to this group, send email to topbrai...@googlegroups.com
> --- 
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to topbraid-user...@googlegroups.com.
> To view this discussion visit 
> https://groups.google.com/d/msgid/topbraid-users/3bbd7c56-31ef-49e9-a86d-5745365e5ab4n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/3bbd7c56-31ef-49e9-a86d-5745365e5ab4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
To post to this group, send email to topbraid-users@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/topbraid-users/f51c68da-3c45-48e4-9d75-a0b01be5e903n%40googlegroups.com.

Reply via email to