Wrt to following fragment in https://www.w3.org/TR/shacl/ (or later: 
https://w3c.github.io/data-shapes/shacl/)

  *   At most 5 values of ex:property?
  *   Shouldn't that be ex:digit?
The following example illustrates the use of sh:qualifiedValueShapesDisjoint to 
express that a hand must have at most 5 values of ex:property (expressed using 
sh:maxCount), and exactly one of them must be an instance of ex:Thumb while 
exactly 4 of them must be an instance of ex:Finger but thumbs and fingers must 
be disjoint. In other words, on a hand, none of the fingers can also be counted 
as the thumb.
ex:HandShape
        a sh:NodeShape ;
        sh:targetClass ex:Hand ;
        sh:property [
                 sh:path ex:digit ;
                 sh:maxCount 5 ;
        ] ;
        sh:property [
                 sh:path ex:digit ;
                 sh:qualifiedValueShape [ sh:class ex:Thumb ] ;
                 sh:qualifiedValueShapesDisjoint true ;
                 sh:qualifiedMinCount 1 ;
                 sh:qualifiedMaxCount 1 ;
        ] ;
        sh:property [
                 sh:path ex:digit ;
                 sh:qualifiedValueShape [ sh:class ex:Finger ] ;
                 sh:qualifiedValueShapesDisjoint true ;
                 sh:qualifiedMinCount 4 ;
                 sh:qualifiedMaxCount 4 ;
        ] .




Dr. ir. H.M. (Michel) Bohms
Scientist Specialist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E michel.bo...@tno.nl<mailto:michel.bo...@tno.nl>

Location<http://www.tno.nl/locations/DTS>



[cid:image001.gif@01D78395.762A5310]<http://www.tno.nl/>

This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.




-- 
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/d8368ea529b348f4adb6e20be0127c8b%40tno.nl.
  • [topbraid-users] small sha... 'Bohms, H.M. (Michel)' via TopBraid Suite Users

Reply via email to