You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: validator/src/main/resources/constraint_shapes.ttl
+44-77Lines changed: 44 additions & 77 deletions
Original file line number
Diff line number
Diff line change
@@ -898,89 +898,56 @@ aas:ConceptDescriptionWithCategoryDocumentAndIEC61360CorrectDataType a sh:NodeSh
898
898
# AASd-074
899
899
aas:ConceptDescriptionDefinitionInEnglishIfNotValueCategory a sh:NodeShape ;
900
900
sh:targetClass aas:ConceptDescription ;
901
-
sh:message "For all ConceptDescriptions except for ConceptDescriptions of category VALUE using data specification template IEC61360 (http://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/2/0) - DataSpecificationIEC61360/definition is mandatory and shall be defined at least in English." ^^xsd:string ;
sh:message "For all ConceptDescriptions except for ConceptDescriptions of category VALUE using data specification template IEC61360 (http://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/2/0) - DataSpecificationIEC61360/definition is mandatory and shall be defined at least in English." ;
905
+
sh:prefixes rdf: ;
906
+
sh:select """
907
+
SELECT ?dataSpecification
908
+
WHERE {
909
+
?conceptDescription a <https://admin-shell.io/aas/3/0/RC01/ConceptDescription> .
910
+
MINUS {
911
+
?conceptDescription a <https://admin-shell.io/aas/3/0/RC01/ConceptDescription> .
aas:ConceptDescriptionPreferredNameInEnglish a sh:NodeShape ;
951
928
sh:targetClass aas:ConceptDescription ;
929
+
930
+
sh:sparql [
931
+
a sh:SPARQLConstraint ;
952
932
sh:message "For all ConceptDescriptions using data specification template IEC61360 (http://admin-shell.io/DataSpecificationTemplates/DataSpecificationIEC61360/2/0) at least a preferred name in English shall be defined." ^^xsd:string ;
0 commit comments