[TASK] Generic commit.

This commit is contained in:
Jan Philipp Timme 2016-10-11 11:22:06 +02:00
parent b7d9e55bbf
commit 0ab6364465
1 changed files with 2 additions and 2 deletions

View File

@ -507,7 +507,7 @@ public class RentACarSimulation implements Runnable {
* Also returns the responsible driver if available
*/
public QueryContainer getWearEvents() {
String query = "REGISTER QUERY getWearEvents AS "
String query = "REGISTER STREAM getWearEvents AS "
+ "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> "
+ "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> "
+ "PREFIX f: <http://larkc.eu/csparql/sparql/jena/ext#> "
@ -529,7 +529,7 @@ public class RentACarSimulation implements Runnable {
+ " ?driver car:hasPhoneNumber ?driverPhone . "
+ " } "
+ "}";
QueryContainer queryContainer = new QueryContainer("getWearEvents", query, false);
QueryContainer queryContainer = new QueryContainer("getWearEvents", query, true);
queryContainer.useObserverWindow();
RentACarSimulation.setUpReasoningOnQueryContainer(queryContainer);
return queryContainer;