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

Commit 4230fa8

Browse files
author
changqin26
committed
Fixing the error for Constraint 081.
1 parent 39e62f0 commit 4230fa8

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

validator/src/main/resources/constraint_shapes.ttl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,10 +1036,9 @@ aas:KeyWithAssetAdministrationShellTypeCorrectIdType a sh:NodeShape ;
10361036
SELECT ?element
10371037
WHERE {
10381038
?element a <https://admin-shell.io/aas/3/0/RC01/Key> .
1039-
?element <https://admin-shell.io/aas/3/0/RC01/Key/type> ?keyType .
1040-
FILTER(?keyType = <https://admin-shell.io/aas/3/0/RC01/KeyElements/ASSET_ADMINISTRATION_SHELL>)
1039+
?element <https://admin-shell.io/aas/3/0/RC01/Key/type> <https://admin-shell.io/aas/3/0/RC01/IdentifiableElements/AssetAdministrationShell> .
10411040
?element <https://admin-shell.io/aas/3/0/RC01/Key/idType> ?keyIdType .
1042-
FILTER(?keyIdType = <https://admin-shell.io/aas/3/0/RC01/KeyType/ID_SHORT> || ?keyIdType = <https://admin-shell.io/aas/3/0/RC01/KeyType/FRAGMENT_ID>)
1041+
FILTER(?keyIdType = <https://admin-shell.io/aas/3/0/RC01/LocalKeyType/IdShort> || ?keyIdType = <https://admin-shell.io/aas/3/0/RC01/LocalKeyType/FragmentId>)
10431042
}
10441043
""" ;
10451044
] .

0 commit comments

Comments
 (0)