[TASK] Add a bunch of proper queries.
This commit is contained in:
@@ -145,7 +145,7 @@ public class SimulationContext {
|
||||
this.engine.execUpdateQueryOverDatasource(updateQuery);
|
||||
*/
|
||||
// DEBUGGING ONLY
|
||||
ReasoningTester rt = new ReasoningTester(this.engine);
|
||||
//ReasoningTester rt = new ReasoningTester(this.engine);
|
||||
// Spawn the whole simulation - this takes care of simulation-specific things
|
||||
simulation = new RentACarSimulation();
|
||||
// Register all the event streams
|
||||
@@ -159,9 +159,14 @@ public class SimulationContext {
|
||||
this.registeredStreams.add(driverStream);
|
||||
Collection<QueryContainer> queriesToRegister = new ArrayList<QueryContainer>();
|
||||
// Collect the queries to use!
|
||||
//queriesToRegister.add(RentACarSimulation.getEventsQuery());
|
||||
queriesToRegister.add(RentACarSimulation.getAverageDataByCarAsStream());
|
||||
queriesToRegister.add(RentACarSimulation.selectFromRegisteredStream());
|
||||
queriesToRegister.add(RentACarSimulation.getStandingCarsStream());
|
||||
queriesToRegister.add(RentACarSimulation.getMovingCarsStream());
|
||||
queriesToRegister.add(RentACarSimulation.getStronglyAcceleratingCarsStream());
|
||||
queriesToRegister.add(RentACarSimulation.getStronglyBrakingCarsStream());
|
||||
queriesToRegister.add(RentACarSimulation.getEngineWearStream());
|
||||
queriesToRegister.add(RentACarSimulation.getBrakeWearStream());
|
||||
queriesToRegister.add(RentACarSimulation.getHandbrakeWearStream());
|
||||
queriesToRegister.add(RentACarSimulation.getTireWearStream());
|
||||
// Now register each query appropriately!
|
||||
for(QueryContainer queryContainer : queriesToRegister) {
|
||||
CsparqlQueryResultProxy resultProxy = null;
|
||||
|
||||
Reference in New Issue
Block a user