small shacl example question

Skip to first unread message

Bohms, H.M. (Michel)

Jul 28, 2021, 3:46:42 AMJul 28

Wrt to following fragment in (or later:

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


        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



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.


Holger Knublauch

Jul 28, 2021, 4:18:23 AMJul 28

Oops, yes. I need to record this for the errata. This is a W3C doc that I cannot simply change. Thankfully it is just an informal example.


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
To view this discussion on the web visit
Reply all
Reply to author
0 new messages