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:semActs ([ a sx:SemAct; sx:code " print(\"shape action\") "; sx:name ]) ] .