Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from davechallis/master
Added support for FLOOR(), CEIL() and ROUND() SPARQL 1.1 keywords
- Loading branch information
Showing
13 changed files
with
420 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,45 @@ | ||
201 imported successfully | ||
This is a 4store SPARQL server [VERSION] | ||
Query: SELECT ?s (ABS(?d) AS ?abs_d) WHERE { ?s <test:num> ?d . } ORDER BY ?s | ||
?s ?abs_d | ||
<http://example.com/a> "0"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/b> "0"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/c> "0"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/d> "1234"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/e> "1234"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/f> "1234"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/g> "1234567890123456789"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/h> "1234567890123456789"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/i> "1234567890123456789"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/j> "1234567890.232393"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/k> "1234567890.232393"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/l> "1234567890.232393"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/m> "inf"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/n> "inf"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/o> "inf"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/p> "1.23457e+19"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/q> "1.23457e+19"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/r> "1.23457e+19"^^<http://www.w3.org/2001/XMLSchema#float> | ||
Query: SELECT ?s ?d (ABS(?d) AS ?abs_d) WHERE { ?s <test:num> ?d . } ORDER BY ?s | ||
?s ?d ?abs_d | ||
<http://example.com/a> "0"^^<http://www.w3.org/2001/XMLSchema#integer> "0"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/b> "-0"^^<http://www.w3.org/2001/XMLSchema#integer> "0"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/c> "+0"^^<http://www.w3.org/2001/XMLSchema#integer> "0"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/d> "1234"^^<http://www.w3.org/2001/XMLSchema#integer> "1234"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/e> "-1234"^^<http://www.w3.org/2001/XMLSchema#integer> "1234"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/f> "+1234"^^<http://www.w3.org/2001/XMLSchema#integer> "1234"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/g> "1234567890123456789"^^<http://www.w3.org/2001/XMLSchema#integer> "1234567890123456789"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/h> "-1234567890123456789"^^<http://www.w3.org/2001/XMLSchema#integer> "1234567890123456789"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/i> "+1234567890123456789"^^<http://www.w3.org/2001/XMLSchema#integer> "1234567890123456789"^^<http://www.w3.org/2001/XMLSchema#integer> | ||
<http://example.com/j> "1234567890.23239300"^^<http://www.w3.org/2001/XMLSchema#decimal> "1234567890.232393"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/k> "-1234567890.23239300"^^<http://www.w3.org/2001/XMLSchema#decimal> "1234567890.232393"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/l> "+1234567890.23239300"^^<http://www.w3.org/2001/XMLSchema#decimal> "1234567890.232393"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/m> "23.0e999999999999999999999999"^^<http://www.w3.org/2001/XMLSchema#float> "inf"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/n> "+23.0e999999999999999999999999"^^<http://www.w3.org/2001/XMLSchema#float> "inf"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/o> "-23.0e999999999999999999999999"^^<http://www.w3.org/2001/XMLSchema#float> "inf"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/p> "12345678901234567890.23239300"^^<http://www.w3.org/2001/XMLSchema#float> "1.23457e+19"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/q> "-12345678901234567890.23239300"^^<http://www.w3.org/2001/XMLSchema#float> "1.23457e+19"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/r> "+12345678901234567890.23239300"^^<http://www.w3.org/2001/XMLSchema#float> "1.23457e+19"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/s> "2.4999"^^<http://www.w3.org/2001/XMLSchema#decimal> "2.4999"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/t> "2.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "2.5"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/u> "-2.5"^^<http://www.w3.org/2001/XMLSchema#decimal> "2.5"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/v> "-2.500001"^^<http://www.w3.org/2001/XMLSchema#decimal> "2.500001"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/w> "2.500001"^^<http://www.w3.org/2001/XMLSchema#decimal> "2.500001"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/x> "-2.499999"^^<http://www.w3.org/2001/XMLSchema#decimal> "2.499999"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/y> "0000.0004999000"^^<http://www.w3.org/2001/XMLSchema#decimal> "0.0004999"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/z> "2.000050000"^^<http://www.w3.org/2001/XMLSchema#decimal> "2.00005"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/za> "-2.00050000"^^<http://www.w3.org/2001/XMLSchema#decimal> "2.0005"^^<http://www.w3.org/2001/XMLSchema#decimal> | ||
<http://example.com/zb> "2.4999"^^<http://www.w3.org/2001/XMLSchema#float> "2.4999"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/zc> "2.5"^^<http://www.w3.org/2001/XMLSchema#float> "2.5"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/zd> "-2.5"^^<http://www.w3.org/2001/XMLSchema#float> "2.5"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/ze> "-2.500001"^^<http://www.w3.org/2001/XMLSchema#float> "2.5"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/zf> "2.500001"^^<http://www.w3.org/2001/XMLSchema#float> "2.5"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/zg> "-2.499999"^^<http://www.w3.org/2001/XMLSchema#float> "2.5"^^<http://www.w3.org/2001/XMLSchema#float> | ||
<http://example.com/zh> "2.4999"^^<http://www.w3.org/2001/XMLSchema#double> "2.4999"^^<http://www.w3.org/2001/XMLSchema#double> | ||
<http://example.com/zi> "2.5"^^<http://www.w3.org/2001/XMLSchema#double> "2.5"^^<http://www.w3.org/2001/XMLSchema#double> | ||
<http://example.com/zj> "-2.5"^^<http://www.w3.org/2001/XMLSchema#double> "2.5"^^<http://www.w3.org/2001/XMLSchema#double> | ||
<http://example.com/zk> "-2.500001"^^<http://www.w3.org/2001/XMLSchema#double> "2.5"^^<http://www.w3.org/2001/XMLSchema#double> | ||
<http://example.com/zl> "2.500001"^^<http://www.w3.org/2001/XMLSchema#double> "2.5"^^<http://www.w3.org/2001/XMLSchema#double> | ||
<http://example.com/zm> "-2.499999"^^<http://www.w3.org/2001/XMLSchema#double> "2.5"^^<http://www.w3.org/2001/XMLSchema#double> | ||
200 deleted successfully | ||
This is a 4store SPARQL server [VERSION] |
Oops, something went wrong.