[TASK] Generic commit.

This commit is contained in:
Jan Philipp Timme 2016-10-09 20:29:51 +02:00
parent 2f2fd53006
commit d3b47eb9ce
1 changed files with 5 additions and 0 deletions

View File

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