[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
.project
.settings
/bin
# Maven products
/bin
/target

View File

@ -81,7 +81,7 @@ public class Main {
+ "PREFIX f: <http://larkc.eu/csparql/sparql/jena/ext#> "
+ "PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> "
+ "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] "
+ "WHERE { "
+ " ?car cars:currentTemperature ?temp1 . "