[TASK] Move everything to proper example.org
This commit is contained in:
parent
ce802396ff
commit
f3ad040d67
|
@ -4,14 +4,14 @@
|
|||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
|
||||
xmlns:simobjects="http://jpt.lu/objects#"
|
||||
xmlns:simontology="http://jpt.lu/carSimulationOntology#">
|
||||
xmlns:simobjects="http://example.org/carSim/objects#"
|
||||
xmlns:simontology="http://example.org/carSim/carSimulationOntology#">
|
||||
|
||||
<!-- Car data -->
|
||||
|
||||
<owl:NamedIndividual rdf:about="http://jpt.lu/objects/Car#0">
|
||||
<owl:NamedIndividual rdf:about="http://example.org/carSim/objects/Car#0">
|
||||
<rdf:type rdf:resource="http://simontology.org/Car"/>
|
||||
<simontology:isDrivenBy rdf:resource="http://jpt.lu/objects/Driver#0"/>
|
||||
<simontology:isDrivenBy rdf:resource="http://example.org/carSim/objects/Driver#0"/>
|
||||
<simontology:maximumMotorRPM rdf:datatype="xsd:integer">3500</simontology:maximumMotorRPM>
|
||||
<simontology:maximumTirePressure rdf:datatype="xsd:double">3.5</simontology:maximumTirePressure>
|
||||
<simontology:minimumMotorRPM rdf:datatype="xsd:integer">800</simontology:minimumMotorRPM>
|
||||
|
@ -22,9 +22,9 @@
|
|||
|
||||
<!-- Driver data -->
|
||||
|
||||
<owl:NamedIndividual rdf:about="http://jpt.lu/objects/Driver#0">
|
||||
<owl:NamedIndividual rdf:about="http://example.org/carSim/objects/Driver#0">
|
||||
<rdf:type rdf:resource="http://simontology.org/Driver"/>
|
||||
<simontology:drives rdf:resource="http://jpt.lu/objects/Car#0"/>
|
||||
<simontology:drives rdf:resource="http://example.org/carSim/objects/Car#0"/>
|
||||
<simontology:hasName rdf:datatype="xsd:string">Max</simontology:hasName>
|
||||
<simontology:hasPhoneNumber rdf:datatype="xsd:string">+49 12345</simontology:hasPhoneNumber>
|
||||
<simontology:hasDriverLicense rdf:datatype="xsd:string">B</simontology:hasDriverLicense>
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<?xml version="1.0"?>
|
||||
<rdf:RDF xmlns="http://jpt.lu/carSimulationOntology#"
|
||||
xml:base="http://jpt.lu/carSimulationOntology"
|
||||
<rdf:RDF xmlns="http://example.org/carSim/carSimulationOntology#"
|
||||
xml:base="http://example.org/carSim/carSimulationOntology"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
||||
xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
|
||||
xmlns:simontology="http://jpt.lu/carSimulationOntology#"
|
||||
xmlns:simontology="http://example.org/carSim/carSimulationOntology#"
|
||||
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||
xmlns:simobjects="http://simobjects.org/">
|
||||
<owl:Ontology rdf:about="http://jpt.lu/carSimulationOntology#">
|
||||
<owl:Ontology rdf:about="http://example.org/carSim/carSimulationOntology#">
|
||||
<rdfs:comment xml:lang="de">Beispielhafte Ontologie für die Autosimulation</rdfs:comment>
|
||||
</owl:Ontology>
|
||||
|
||||
|
@ -25,51 +25,51 @@
|
|||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#drives -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#drives -->
|
||||
|
||||
<owl:ObjectProperty rdf:about="http://jpt.lu/carSimulationOntology#drives">
|
||||
<owl:inverseOf rdf:resource="http://jpt.lu/carSimulationOntology#isDrivenBy"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
||||
<rdfs:range rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#drives">
|
||||
<owl:inverseOf rdf:resource="http://example.org/carSim/carSimulationOntology#isDrivenBy"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#isDrivenBy -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#isDrivenBy -->
|
||||
|
||||
<owl:ObjectProperty rdf:about="http://jpt.lu/carSimulationOntology#isDrivenBy">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:range rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
||||
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#isDrivenBy">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#relatedCar -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#relatedCar -->
|
||||
|
||||
<owl:ObjectProperty rdf:about="http://jpt.lu/carSimulationOntology#relatedCar">
|
||||
<owl:inverseOf rdf:resource="http://jpt.lu/carSimulationOntology#relatedEvent"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarEvent"/>
|
||||
<rdfs:range rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#relatedCar">
|
||||
<owl:inverseOf rdf:resource="http://example.org/carSim/carSimulationOntology#relatedEvent"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarEvent"/>
|
||||
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#relatedEvent -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#relatedEvent -->
|
||||
|
||||
<owl:ObjectProperty rdf:about="http://jpt.lu/carSimulationOntology#relatedEvent">
|
||||
<owl:inverseOf rdf:resource="http://jpt.lu/carSimulationOntology#relatedUser"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
||||
<rdfs:range rdf:resource="http://jpt.lu/carSimulationOntology#Event"/>
|
||||
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#relatedEvent">
|
||||
<owl:inverseOf rdf:resource="http://example.org/carSim/carSimulationOntology#relatedUser"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Event"/>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#relatedUser -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#relatedUser -->
|
||||
|
||||
<owl:ObjectProperty rdf:about="http://jpt.lu/carSimulationOntology#relatedUser">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Event"/>
|
||||
<rdfs:range rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
||||
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#relatedUser">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Event"/>
|
||||
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
|
||||
|
@ -85,125 +85,125 @@
|
|||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#hasName -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#hasName -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#hasName">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#hasName">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#hasPhoneNumber -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#hasPhoneNumber -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#hasPhoneNumber">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#hasPhoneNumber">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#handbrakeEngaged -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#handbrakeEngaged -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#handbrakeEngaged">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#handbrakeEngaged">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#hasDriverLicense -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#hasDriverLicense -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#hasDriverLicense">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#hasDriverLicense">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#locked -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#locked -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#locked">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#locked">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#minimumMotorRPM -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#minimumMotorRPM -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#minimumMotorRPM">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#minimumMotorRPM">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#minimumTirePressure -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#minimumTirePressure -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#minimumTirePressure">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#minimumTirePressure">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#motorOn -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#motorOn -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#motorOn">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#motorOn">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#motorRPM -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#motorRPM -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#motorRPM">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#motorRPM">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#requiresDriverLicense -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#requiresDriverLicense -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#requiresDriverLicense">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#requiresDriverLicense">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#speed -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#speed -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#speed">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#speed">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#tirePressure -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#tirePressure -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#tirePressure">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#tirePressure">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#usagePeriod -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#usagePeriod -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#usagePeriod">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarTakenEvent"/>
|
||||
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#usagePeriod">
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarTakenEvent"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
@ -212,7 +212,7 @@
|
|||
<!-- http://simobjects.org/maximumMotorRPM -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://simobjects.org/maximumMotorRPM">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
@ -221,7 +221,7 @@
|
|||
<!-- http://simobjects.org/maximumTirePressure -->
|
||||
|
||||
<owl:DatatypeProperty rdf:about="http://simobjects.org/maximumTirePressure">
|
||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
|
||||
</owl:DatatypeProperty>
|
||||
|
||||
|
@ -238,69 +238,69 @@
|
|||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#Car -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#Car -->
|
||||
|
||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#Car"/>
|
||||
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#CarAirbagEvent -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#CarAirbagEvent -->
|
||||
|
||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarAirbagEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#CarEvent"/>
|
||||
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarAirbagEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#CarEvent"/>
|
||||
</owl:Class>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#CarEvent -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#CarEvent -->
|
||||
|
||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#Event"/>
|
||||
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#Event"/>
|
||||
</owl:Class>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#CarReturnedEvent -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#CarReturnedEvent -->
|
||||
|
||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarReturnedEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#CarUserEvent"/>
|
||||
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarReturnedEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#CarUserEvent"/>
|
||||
</owl:Class>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#CarStatusEvent -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#CarStatusEvent -->
|
||||
|
||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarStatusEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#CarEvent"/>
|
||||
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarStatusEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#CarEvent"/>
|
||||
</owl:Class>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#CarTakenEvent -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#CarTakenEvent -->
|
||||
|
||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarTakenEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#CarUserEvent"/>
|
||||
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarTakenEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#CarUserEvent"/>
|
||||
</owl:Class>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#CarUserEvent -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#CarUserEvent -->
|
||||
|
||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarUserEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#CarEvent"/>
|
||||
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarUserEvent">
|
||||
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#CarEvent"/>
|
||||
</owl:Class>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#Driver -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#Driver -->
|
||||
|
||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#Driver"/>
|
||||
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||
|
||||
|
||||
|
||||
<!-- http://jpt.lu/carSimulationOntology#Event -->
|
||||
<!-- http://example.org/carSim/carSimulationOntology#Event -->
|
||||
|
||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#Event"/>
|
||||
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#Event"/>
|
||||
</rdf:RDF>
|
||||
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue