[TASK] Try the timestamp-function once again.
This commit is contained in:
parent
4525996e84
commit
e6b9f2c7c2
|
@ -2,7 +2,7 @@
|
|||
.classpath
|
||||
.project
|
||||
.settings
|
||||
/bin
|
||||
|
||||
# Maven products
|
||||
/bin
|
||||
/target
|
||||
|
|
|
@ -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 . "
|
||||
|
|
Loading…
Reference in New Issue