[TASK] Move everything to proper example.org
This commit is contained in:
1 parent
ce802396ff
commit
f3ad040d67
4 files changed
+119
-109
No files matched your search
@@ -204,6 +204,15 @@ public class Car {
|
||||
this.quads.add(new RdfQuadruple(eventIri, baseOnt+"relatedCar", this.getIri(), time));
|
||||
}
|
||||
|
||||
private void fireCheckEngineEvent() {
|
||||
long time = System.currentTimeMillis();
|
||||
String baseIri = RentACarSimulation.BASE_OBJECT_IRI;
|
||||
String baseOnt = RentACarSimulation.BASE_ONTOLOGY_IRI;
|
||||
String eventIri = baseIri + "/event#" + time;
|
||||
this.quads.add(new RdfQuadruple(eventIri, "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", baseOnt+"CarCheckEngineEvent", time));
|
||||
this.quads.add(new RdfQuadruple(eventIri, baseOnt+"relatedCar", this.getIri(), time));
|
||||
}
|
||||
|
||||
private void generateContinousReportQuads() {
|
||||
long time = System.currentTimeMillis();
|
||||
String baseIri = RentACarSimulation.BASE_OBJECT_IRI;
|
||||
|
||||
@@ -8,9 +8,10 @@ import eu.larkc.csparql.cep.api.RdfStream;
|
||||
|
||||
public class RentACarSimulation implements Runnable {
|
||||
|
||||
public static final String BASE_ONTOLOGY_IRI = "http://jpt.lu/carSimulationOntology#";
|
||||
public static final String BASE_STREAM_IRI = "http://simstream.org";
|
||||
public static final String BASE_OBJECT_IRI = "http://jpt.lu/objects";
|
||||
public static final String BASE_URI = "http://example.org/carSim";
|
||||
public static final String BASE_ONTOLOGY_IRI = BASE_URI + "/carSimulationOntology#";
|
||||
public static final String BASE_STREAM_IRI = BASE_URI + "/stream";
|
||||
public static final String BASE_OBJECT_IRI = BASE_URI + "/objects";
|
||||
public static final String CAR_STREAM_IRI = BASE_STREAM_IRI + "/carStream";
|
||||
public static final String DRIVER_STREAM_IRI = BASE_STREAM_IRI + "/driverStream";
|
||||
|
||||
|
||||
Reference in new issue
Block a user