From d3b47eb9cea87b6d80249d24c0cabb4e071ad666 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Sun, 9 Oct 2016 20:29:51 +0200 Subject: [PATCH] [TASK] Generic commit. --- .../lu/jpt/csparqlproject/rentacar/RentACarSimulation.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/lu/jpt/csparqlproject/rentacar/RentACarSimulation.java b/src/main/java/lu/jpt/csparqlproject/rentacar/RentACarSimulation.java index 870b4c5..0655251 100644 --- a/src/main/java/lu/jpt/csparqlproject/rentacar/RentACarSimulation.java +++ b/src/main/java/lu/jpt/csparqlproject/rentacar/RentACarSimulation.java @@ -321,6 +321,8 @@ public class RentACarSimulation implements Runnable { + " FILTER(?avgMotorRPM > ?maxMotorRPM) " + "}"; QueryContainer queryContainer = new QueryContainer("getEngineWear", query, true); + RentACarSimulation.setUpReasoningOnQueryContainer(queryContainer); + queryContainer.useObserverWindow(); return queryContainer; } @@ -344,6 +346,7 @@ public class RentACarSimulation implements Runnable { + " ?e car:relatedCar ?car . " + "}"; QueryContainer queryContainer = new QueryContainer("getBrakeWear", query, true); + RentACarSimulation.setUpReasoningOnQueryContainer(queryContainer); return queryContainer; } @@ -370,6 +373,7 @@ public class RentACarSimulation implements Runnable { + " FILTER(?handbrakeEngaged = true) " + "}"; QueryContainer queryContainer = new QueryContainer("getHandbrakeWear", query, true); + RentACarSimulation.setUpReasoningOnQueryContainer(queryContainer); return queryContainer; } @@ -405,6 +409,7 @@ public class RentACarSimulation implements Runnable { + " FILTER(?tpress1 < ?minTirePressure || ?tpress2 < ?minTirePressure || ?tpress3 < ?minTirePressure || ?tpress4 < ?minTirePressure) " + "}"; QueryContainer queryContainer = new QueryContainer("getTireWear", query, true); + RentACarSimulation.setUpReasoningOnQueryContainer(queryContainer); return queryContainer; }