

--
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 on the web visit https://groups.google.com/d/msgid/topbraid-users/CAGUep86OU7YRFXV_1DReU8eGOo%2B%2BeYXA7sWGoL_EaQfdE1514Q%40mail.gmail.com.
Yes, sh:condition is documented here:
https://w3c.github.io/shacl/shacl-af/#condition
This can validate the focus node and is the preferred declarative
approach. A non-standard alternative would be the function
tosh:hasShape(?node, ?shape) that returns true if ?node conforms
to ?shape. That function would be used in the WHERE clause and has
a bit more flexibility because you can validate any node.
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/52537FAF-15B2-45AF-96B8-062FD00D1EFF%40topquadrant.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/4c3285a5-b9de-b2f2-4ce0-c1c86956a10f%40topquadrant.com.
Thanks to both of you. In reading that section, I presume "must conform to" means that even if the severity is a warning or an information, the shape must validate before the rule executes?
Right, the engine does not really distinguish those (which I
found in general a weird decision of the WG back in the days).
Holger
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/CAGUep84T3OmV%3DdXpy8PROtt--6%3DHRRcc2wnQjsnFEuFRwSPLAQ%40mail.gmail.com.