Skip to content

Commit 3756596

Browse files
Fixed sourceConstraintComponent and applied more modern ex: namespace (#425)
1 parent 73e80c4 commit 3756596

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

shacl12-test-suite/tests/core/node/nodeByExpression-001.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@prefix dash: <http://datashapes.org/dash#> .
2-
@prefix ex: <http://datashapes.org/sh/tests/core/node/nodeByExpression-001.test#> .
2+
@prefix ex: <http://example.com/ns#> .
33
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
44
@prefix owl: <http://www.w3.org/2002/07/owl#> .
55
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@@ -50,7 +50,7 @@ ex:ValidInstance
5050
sh:focusNode ex:InvalidInstance ;
5151
sh:resultSeverity sh:Violation ;
5252
sh:sourceConstraint ex:TestNodeShape ;
53-
sh:sourceConstraintComponent sh:NodeConstraintComponent ;
53+
sh:sourceConstraintComponent sh:NodeByExpressionConstraintComponent ;
5454
sh:sourceShape ex:TestClass ;
5555
sh:value ex:InvalidInstance ;
5656
] ;

shacl12-test-suite/tests/core/property/nodeByExpression-001.ttl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@prefix dash: <http://datashapes.org/dash#> .
2-
@prefix ex: <http://datashapes.org/sh/tests/core/property/nodeByExpression-001.test#> .
2+
@prefix ex: <http://example.com/ns#> .
33
@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
44
@prefix owl: <http://www.w3.org/2002/07/owl#> .
55
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@@ -108,7 +108,7 @@ ex:Person
108108
sh:resultPath ex:assignedTo ;
109109
sh:resultSeverity sh:Violation ;
110110
sh:sourceConstraint ex:AssignedToShape ;
111-
sh:sourceConstraintComponent sh:NodeConstraintComponent ;
111+
sh:sourceConstraintComponent sh:NodeByExpressionConstraintComponent ;
112112
sh:sourceShape ex:Issue-assignedTo ;
113113
sh:value ex:Anon ;
114114
] ;

0 commit comments

Comments
 (0)