Skip to content

Commit b522584

Browse files
author
Marco De Salvo
committed
Adjust test to use owl:rational
1 parent c9a1eb6 commit b522584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RDFSharp.Test/Query/Mirella/Algebra/Queries/RDFSelectQueryTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ public void ShouldApplySelectQueryToGraphAndHaveResultsWithBindAndProjectExpress
444444
.AddProjectionVariable(new RDFVariable("?V"))
445445
.AddProjectionVariable(new RDFVariable("?VLENGTH"))
446446
.AddProjectionVariable(new RDFVariable("?VLENGTHISMORETHAN7"),
447-
new RDFComparisonExpression(RDFQueryEnums.RDFComparisonFlavors.GreaterThan, new RDFVariable("?VLENGTH"), new RDFConstantExpression(new RDFTypedLiteral("7", RDFModelEnums.RDFDatatypes.XSD_DOUBLE))));
447+
new RDFComparisonExpression(RDFQueryEnums.RDFComparisonFlavors.GreaterThan, new RDFVariable("?VLENGTH"), new RDFConstantExpression(new RDFTypedLiteral("14/2", RDFModelEnums.RDFDatatypes.OWL_RATIONAL))));
448448
RDFSelectQueryResult result = query.ApplyToGraph(graph);
449449

450450
Assert.IsNotNull(result);

0 commit comments

Comments
 (0)