PREFIX sx: PREFIX rdf: a sx:ShapeDecl ; sx:shapeExpr [ a sx:Shape ; sx:closed true ; sx:expression [ a sx:TripleConstraint ; sx:predicate ; sx:valueExpr ] ] . a sx:ShapeDecl ; sx:shapeExpr [ a sx:ShapeOr ; sx:shapeExprs ( [ a sx:NodeConstraint ; sx:values ( () ) ] [ a sx:Shape ; sx:closed true ; sx:expression [ a sx:EachOf ; sx:expressions ( [ a sx:TripleConstraint ; sx:predicate rdf:first ; sx:valueExpr [ a sx:NodeConstraint ; sx:nodeKind sx:iri ] ] [ a sx:TripleConstraint ; sx:predicate rdf:rest ; sx:valueExpr ] ) ] ] ) ] . [] a sx:Schema ; sx:shapes ( ) .