diff --git a/.gitignore b/.gitignore index 225021c..48936af 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,7 @@ .classpath .project .settings +/bin # Maven products -/bin /target diff --git a/src/main/java/lu/jpt/csparqltest/Main.java b/src/main/java/lu/jpt/csparqltest/Main.java index 365ebfe..9506850 100644 --- a/src/main/java/lu/jpt/csparqltest/Main.java +++ b/src/main/java/lu/jpt/csparqltest/Main.java @@ -81,7 +81,7 @@ public class Main { + "PREFIX f: " + "PREFIX xsd: " + "PREFIX cars: " - + "SELECT ?car ?temp1 ?temp2 " + + "SELECT ?car ?temp1 ?temp2 ( f:timestamp(?car,cars:currentTemperature,?temp1) AS ?ts1) " + "FROM STREAM [RANGE 5s STEP 1s] " + "WHERE { " + " ?car cars:currentTemperature ?temp1 . "