Hi all,

I defined a property on a 'ex:code" and I want to add a constraint to check 
if the value of this property is equal to the value of the same property of 
the superclass.

Suppose I have : B subClassOf A.
                              C subClassOf A.

B ex:code "1.2"
A ex:code "1"

"1.2" = "1*" => it's ok.

Now if C ex:code = "2.2"
"2.2" <> "1*" => error.

How I can add this in my shacl validation rule on the property "ex:code".
For now, I can't defined a sh:pattern on a value of a property in shacl ? 
is there any way to do this ?

Thanks for your help

Best,

-- 
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 on the web visit 
https://groups.google.com/d/msgid/topbraid-users/9b86ae44-1b69-43ca-bbd2-c74f35369661n%40googlegroups.com.

Reply via email to