Skip to content

Commit

Permalink
Fix dataGraph URLs not being normalized
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianFV authored Aug 19, 2020
1 parent 4174d03 commit 6c11764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/testcase/sparql/TestCaseQueryEvaluation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,12 @@ export class TestCaseQueryEvaluationHandler implements ITestCaseHandler<TestCase
if (graphData.property.graph) {
queryDataLinks.push({
dataUri: graphData.property.graph.value,
dataGraph: namedNode(graphData.property.label.value),
dataGraph: namedNode(Util.normalizeBaseUrl(graphData.property.label.value)),
});
} else {
queryDataLinks.push({
dataUri: graphData.value,
dataGraph: namedNode(graphData.value),
dataGraph: namedNode(Util.normalizeBaseUrl(graphData.value)),
});
}
}
Expand Down

0 comments on commit 6c11764

Please sign in to comment.