PREFIX ex: PREFIX sx: PREFIX xsd: [] a sx:Schema ; sx:shapes () . a sx:ShapeDecl ; sx:shapeExpr [ a sx:Shape ; sx:expression [ a sx:EachOf ; sx:annotation ([ a sx:Annotation ; sx:object "1" ; sx:predicate ] [ a sx:Annotation ; sx:object "2" ; sx:predicate ] [ a sx:Annotation ; sx:object "3" ; sx:predicate ]) ; sx:expressions ( [ a sx:TripleConstraint ; sx:predicate ] [ a sx:TripleConstraint ; sx:predicate ] [ a sx:TripleConstraint ; sx:predicate ] ) ; sx:max 3 ; sx:min 2 ; sx:semActs ([ a sx:SemAct; sx:code " print(\"group semAct 1\") "; sx:name ] [ a sx:SemAct; sx:code " print(\"group semAct 2\") "; sx:name ])] ] .