Skip to content

Commit f381f41

Browse files
committed
fix: typo in comments
1 parent 909920a commit f381f41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/evaluator/DynamicConstraint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ export function materializePolicy(dynamicPolicy: Quad[], stateOfTheWorld: Quad[]
4141
// SHACL Property path
4242
const lens = getPath(operandReferenceNode, dynamicPolicy);
4343

44-
// extract SHACL Property Path using clownface
44+
// extract SHACL Property Path using RDF-Lens
4545
const getValue = usePath(externalResource, stateOfTheWorld, lens);
4646
const instantiatedValue = getValue[0]; // according to the algorithm (see paper), there should be only one term
4747

4848
if (!(instantiatedValue instanceof NamedNode || instantiatedValue instanceof Literal)) {
49-
// Now term is a valid Quad_Object
49+
// Now instantiatedValue is a valid value
5050
throw Error("Instantiated value is not a proper value.");
5151
}
5252
for (const constraintNode of constraintNodes) {

0 commit comments

Comments
 (0)