From 0ab63644654e1ad31017a9e14a755672b54b7835 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Tue, 11 Oct 2016 11:22:06 +0200 Subject: [PATCH] [TASK] Generic commit. --- .../lu/jpt/csparqlproject/rentacar/RentACarSimulation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/lu/jpt/csparqlproject/rentacar/RentACarSimulation.java b/src/main/java/lu/jpt/csparqlproject/rentacar/RentACarSimulation.java index 07b62e0..865bc7d 100644 --- a/src/main/java/lu/jpt/csparqlproject/rentacar/RentACarSimulation.java +++ b/src/main/java/lu/jpt/csparqlproject/rentacar/RentACarSimulation.java @@ -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: " + "PREFIX rdfs: " + "PREFIX f: " @@ -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;