Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit 85c9507

Browse files
committed
Correcting Test 69
1 parent ab2781f commit 85c9507

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

validator/src/main/resources/constraint_shapes.ttl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ aas:AASd-068Shape a sh:NodeShape ;
813813
sh:targetClass aas:Range;
814814
sh:sparql [
815815
a sh:SPARQLConstraint ;
816-
sh:message "If the semanticId of a Range submodel element references a ConceptDescription then DataSpecificationIEC61360/dataType shall be a numerical one, i.e. REAL_* or RATIONAL_*." ;
816+
sh:message "If the semanticId of a Range submodel element references a ConceptDescription then DataSpecificationIEC61360/dataType shall be a numerical one, i.e. Real* or Rational*." ;
817817
sh:prefixes [
818818
sh:declare [
819819
sh:prefix "iec61360" ;
@@ -838,11 +838,11 @@ aas:AASd-068Shape a sh:NodeShape ;
838838
FILTER ( ?keyValue = ?identifierValue )
839839
840840
FILTER (?dataType NOT IN (
841-
<https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataTypeIEC61360/REAL_CURRENCY>, # TODO: should be RealCount
842-
<https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataTypeIEC61360/REAL_COUNT>, # TODO: should be RealCount
843-
<https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataTypeIEC61360/REAL_MEASURE>, # TODO: should be RealMeasure
844-
<https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataTypeIEC61360/RATIONAL>, # TODO: should be Rational
845-
<https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataTypeIEC61360/RATIONAL_MEASURE> # TODO: should be RationalMeasure
841+
<https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/RealCurrency>,
842+
<https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/RealCount>,
843+
<https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/RealMeasure>,
844+
<https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/Rational>,
845+
<https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/RationalMeasure>
846846
))
847847
848848
}
@@ -870,7 +870,7 @@ aas:ConceptDescriptionReferencedFromRangeCorrectLevelType a sh:NodeShape ;
870870
?conceptDescription <https://admin-shell.io/aas/3/0/RC01/HasDataSpecification/embeddedDataSpecification> ?embeddedDataSpecification .
871871
?embeddedDataSpecification <https://admin-shell.io/aas/3/0/RC01/EmbeddedDataSpecification/dataSpecificationContent> ?dataSpecificationContent .
872872
?dataSpecificationContent <https://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/3/0/RC01/DataSpecificationIEC61360/levelType> ?levelType .
873-
FILTER(?levelType NOT IN (<https://admin-shell.io/aas/3/0/RC01/LevelType/MAX>, <https://admin-shell.io/aas/3/0/RC01/LevelType/MIN>))
873+
FILTER(?levelType NOT IN (<https://admin-shell.io/aas/3/0/RC01/LevelType/Max>, <https://admin-shell.io/aas/3/0/RC01/LevelType/Min>))
874874
}
875875
""" ;
876876
] .

0 commit comments

Comments
 (0)