diff --git a/pyshacl/constraints/core/logical_constraints.py b/pyshacl/constraints/core/logical_constraints.py index bf1300e..429345a 100644 --- a/pyshacl/constraints/core/logical_constraints.py +++ b/pyshacl/constraints/core/logical_constraints.py @@ -14,9 +14,9 @@ from pyshacl.rdfutil import stringify_node -SH_not = SH.not -SH_and = SH.and -SH_or = SH.or +SH_not = SH["not"] +SH_and = SH["and"] +SH_or = SH["or"] SH_xone = SH.xone SH_NotConstraintComponent = SH.NotConstraintComponent diff --git a/pyshacl/constraints/core/other_constraints.py b/pyshacl/constraints/core/other_constraints.py index 2f08b0d..9d62e82 100644 --- a/pyshacl/constraints/core/other_constraints.py +++ b/pyshacl/constraints/core/other_constraints.py @@ -18,7 +18,7 @@ SH_InConstraintComponent = SH.InConstraintComponent SH_ClosedConstraintComponent = SH.ClosedConstraintComponent SH_HasValueConstraintComponent = SH.HasValueConstraintComponent -SH_in = SH.in +SH_in = SH["in"] SH_closed = SH.closed SH_ignoredProperties = SH.ignoredProperties SH_hasValue = SH.hasValue diff --git a/pyshacl/constraints/core/value_constraints.py b/pyshacl/constraints/core/value_constraints.py index 7c06c68..a5cf7bf 100644 --- a/pyshacl/constraints/core/value_constraints.py +++ b/pyshacl/constraints/core/value_constraints.py @@ -38,7 +38,7 @@ XSD_time = XSD.time XSD_dateTime = XSD.dateTime -SH_class = SH.class +SH_class = SH["class"] SH_ClassConstraintComponent = SH.ClassConstraintComponent SH_DatatypeConstraintComponent = SH.DatatypeConstraintComponent SH_NodeKindConstraintComponent = SH.NodeKindConstraintComponent