[TASK] Generic commit.
This commit is contained in:
parent
b7d9e55bbf
commit
0ab6364465
|
@ -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: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> "
|
||||
+ "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> "
|
||||
+ "PREFIX f: <http://larkc.eu/csparql/sparql/jena/ext#> "
|
||||
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue