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