PREFIX ex: PREFIX sx: PREFIX xsd: [] a sx:Schema ; sx:shapes () . a sx:ShapeDecl ; sx:shapeExpr [ a sx:ShapeAnd ; sx:shapeExprs ( [ a sx:NodeConstraint ; sx:nodeKind sx:iri ; sx:pattern "^https?://" ] [ a sx:Shape ; sx:expression [ a sx:EachOf ; sx:expressions ( [ a sx:TripleConstraint ; sx:predicate ; sx:valueExpr [ a sx:NodeConstraint ; sx:datatype ] ] [ a sx:TripleConstraint ; sx:predicate ; sx:valueExpr [ a sx:ShapeAnd ; sx:shapeExprs ( [ a sx:NodeConstraint ; sx:nodeKind sx:bnode ] [ a sx:Shape ; sx:expression [ a sx:EachOf ; sx:expressions ( [ a sx:TripleConstraint ; sx:predicate ; sx:valueExpr [ a sx:NodeConstraint ; sx:nodeKind sx:literal ] ] [ a sx:TripleConstraint ; sx:predicate ; sx:min 0 ; sx:max 1 ; sx:valueExpr [ a sx:ShapeAnd ; sx:shapeExprs ( [ a sx:NodeConstraint ; sx:nodeKind sx:iri ; sx:pattern "^https?://" ] ) ] ] ) ] ] [ a sx:Shape ; sx:closed true ; sx:expression [ a sx:EachOf ; sx:expressions ( [ a sx:TripleConstraint ; sx:predicate ] [ a sx:TripleConstraint ; sx:predicate ] ) ] ] ) ] ] ) ] ] ) ] .