PREFIX ex: PREFIX sx: PREFIX xsd: [] a sx:Schema ; sx:shapes ( ) . a sx:ShapeDecl ; sx:shapeExpr [ a sx:Shape ; sx:expression [ a sx:TripleConstraint ; sx:predicate ; sx:valueExpr [ a sx:ShapeOr ; sx:shapeExprs ( [ a sx:ShapeAnd ; sx:shapeExprs ( ) ] ) ] ] ] . a sx:ShapeDecl ; sx:shapeExpr [ a sx:NodeConstraint ; sx:minlength 4 ; sx:nodeKind sx:literal ] . a sx:ShapeDecl ; sx:shapeExpr [ a sx:NodeConstraint ; sx:maxlength 5 ; sx:nodeKind sx:literal ] . a sx:ShapeDecl ; sx:shapeExpr [ a sx:NodeConstraint ; sx:nodeKind sx:literal ; sx:pattern "^(ab)*$" ] .