[TASK] Try the timestamp-function once again.

This commit is contained in:
Jan Philipp Timme 2016-06-07 11:03:14 +02:00
parent 4525996e84
commit e6b9f2c7c2
2 changed files with 2 additions and 2 deletions

2
.gitignore vendored
View File

@ -2,7 +2,7 @@
.classpath .classpath
.project .project
.settings .settings
/bin
# Maven products # Maven products
/bin
/target /target

View File

@ -81,7 +81,7 @@ public class Main {
+ "PREFIX f: <http://larkc.eu/csparql/sparql/jena/ext#> " + "PREFIX f: <http://larkc.eu/csparql/sparql/jena/ext#> "
+ "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> " + "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> "
+ "PREFIX cars: <http://myexample.org/cars#> " + "PREFIX cars: <http://myexample.org/cars#> "
+ "SELECT ?car ?temp1 ?temp2 " + "SELECT ?car ?temp1 ?temp2 ( f:timestamp(?car,cars:currentTemperature,?temp1) AS ?ts1) "
+ "FROM STREAM <http://myexample.org/cars> [RANGE 5s STEP 1s] " + "FROM STREAM <http://myexample.org/cars> [RANGE 5s STEP 1s] "
+ "WHERE { " + "WHERE { "
+ " ?car cars:currentTemperature ?temp1 . " + " ?car cars:currentTemperature ?temp1 . "