PREFIX ex: PREFIX sx: PREFIX xsd: [] a sx:Schema ; sx:shapes () . a sx:ShapeDecl ; sx:shapeExpr [ a sx:Shape ; sx:expression [ a sx:OneOf ; sx:expressions ( [ a sx:TripleConstraint ; sx:predicate ] [ a sx:EachOf ; sx:expressions ( [ a sx:TripleConstraint ; sx:predicate ; sx:valueExpr [ a sx:NodeConstraint ; sx:values ( ) ] ] [ a sx:TripleConstraint ; sx:max 1 ; sx:min 0 ; sx:predicate ] ) ] ) ] ; sx:extra ] .