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; }