[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:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||||
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
||||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
|
||||||
xmlns:simobjects="http://jpt.lu/objects#"
|
xmlns:simobjects="http://example.org/carSim/objects#"
|
||||||
xmlns:simontology="http://jpt.lu/carSimulationOntology#">
|
xmlns:simontology="http://example.org/carSim/carSimulationOntology#">
|
||||||
|
|
||||||
<!-- Car data -->
|
<!-- 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"/>
|
<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:maximumMotorRPM rdf:datatype="xsd:integer">3500</simontology:maximumMotorRPM>
|
||||||
<simontology:maximumTirePressure rdf:datatype="xsd:double">3.5</simontology:maximumTirePressure>
|
<simontology:maximumTirePressure rdf:datatype="xsd:double">3.5</simontology:maximumTirePressure>
|
||||||
<simontology:minimumMotorRPM rdf:datatype="xsd:integer">800</simontology:minimumMotorRPM>
|
<simontology:minimumMotorRPM rdf:datatype="xsd:integer">800</simontology:minimumMotorRPM>
|
||||||
|
@ -22,9 +22,9 @@
|
||||||
|
|
||||||
<!-- Driver data -->
|
<!-- 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"/>
|
<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:hasName rdf:datatype="xsd:string">Max</simontology:hasName>
|
||||||
<simontology:hasPhoneNumber rdf:datatype="xsd:string">+49 12345</simontology:hasPhoneNumber>
|
<simontology:hasPhoneNumber rdf:datatype="xsd:string">+49 12345</simontology:hasPhoneNumber>
|
||||||
<simontology:hasDriverLicense rdf:datatype="xsd:string">B</simontology:hasDriverLicense>
|
<simontology:hasDriverLicense rdf:datatype="xsd:string">B</simontology:hasDriverLicense>
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<rdf:RDF xmlns="http://jpt.lu/carSimulationOntology#"
|
<rdf:RDF xmlns="http://example.org/carSim/carSimulationOntology#"
|
||||||
xml:base="http://jpt.lu/carSimulationOntology"
|
xml:base="http://example.org/carSim/carSimulationOntology"
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
xmlns:owl="http://www.w3.org/2002/07/owl#"
|
||||||
xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
||||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
|
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:rdfs="http://www.w3.org/2000/01/rdf-schema#"
|
||||||
xmlns:simobjects="http://simobjects.org/">
|
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>
|
<rdfs:comment xml:lang="de">Beispielhafte Ontologie für die Autosimulation</rdfs:comment>
|
||||||
</owl:Ontology>
|
</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:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#drives">
|
||||||
<owl:inverseOf rdf:resource="http://jpt.lu/carSimulationOntology#isDrivenBy"/>
|
<owl:inverseOf rdf:resource="http://example.org/carSim/carSimulationOntology#isDrivenBy"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||||
<rdfs:range rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
</owl:ObjectProperty>
|
</owl:ObjectProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#isDrivenBy -->
|
<!-- http://example.org/carSim/carSimulationOntology#isDrivenBy -->
|
||||||
|
|
||||||
<owl:ObjectProperty rdf:about="http://jpt.lu/carSimulationOntology#isDrivenBy">
|
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#isDrivenBy">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
<rdfs:range rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||||
</owl:ObjectProperty>
|
</owl:ObjectProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#relatedCar -->
|
<!-- http://example.org/carSim/carSimulationOntology#relatedCar -->
|
||||||
|
|
||||||
<owl:ObjectProperty rdf:about="http://jpt.lu/carSimulationOntology#relatedCar">
|
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#relatedCar">
|
||||||
<owl:inverseOf rdf:resource="http://jpt.lu/carSimulationOntology#relatedEvent"/>
|
<owl:inverseOf rdf:resource="http://example.org/carSim/carSimulationOntology#relatedEvent"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarEvent"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarEvent"/>
|
||||||
<rdfs:range rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
</owl:ObjectProperty>
|
</owl:ObjectProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#relatedEvent -->
|
<!-- http://example.org/carSim/carSimulationOntology#relatedEvent -->
|
||||||
|
|
||||||
<owl:ObjectProperty rdf:about="http://jpt.lu/carSimulationOntology#relatedEvent">
|
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#relatedEvent">
|
||||||
<owl:inverseOf rdf:resource="http://jpt.lu/carSimulationOntology#relatedUser"/>
|
<owl:inverseOf rdf:resource="http://example.org/carSim/carSimulationOntology#relatedUser"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||||
<rdfs:range rdf:resource="http://jpt.lu/carSimulationOntology#Event"/>
|
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Event"/>
|
||||||
</owl:ObjectProperty>
|
</owl:ObjectProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#relatedUser -->
|
<!-- http://example.org/carSim/carSimulationOntology#relatedUser -->
|
||||||
|
|
||||||
<owl:ObjectProperty rdf:about="http://jpt.lu/carSimulationOntology#relatedUser">
|
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#relatedUser">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Event"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Event"/>
|
||||||
<rdfs:range rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||||
</owl:ObjectProperty>
|
</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">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#hasName">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#hasPhoneNumber -->
|
<!-- http://example.org/carSim/carSimulationOntology#hasPhoneNumber -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#hasPhoneNumber">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#hasPhoneNumber">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#handbrakeEngaged -->
|
<!-- http://example.org/carSim/carSimulationOntology#handbrakeEngaged -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#handbrakeEngaged">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#handbrakeEngaged">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#hasDriverLicense -->
|
<!-- http://example.org/carSim/carSimulationOntology#hasDriverLicense -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#hasDriverLicense">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#hasDriverLicense">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Driver"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Driver"/>
|
||||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#locked -->
|
<!-- http://example.org/carSim/carSimulationOntology#locked -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#locked">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#locked">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#minimumMotorRPM -->
|
<!-- http://example.org/carSim/carSimulationOntology#minimumMotorRPM -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#minimumMotorRPM">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#minimumMotorRPM">
|
||||||
<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"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#minimumTirePressure -->
|
<!-- http://example.org/carSim/carSimulationOntology#minimumTirePressure -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#minimumTirePressure">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#minimumTirePressure">
|
||||||
<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"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#motorOn -->
|
<!-- http://example.org/carSim/carSimulationOntology#motorOn -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#motorOn">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#motorOn">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#motorRPM -->
|
<!-- http://example.org/carSim/carSimulationOntology#motorRPM -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#motorRPM">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#motorRPM">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#requiresDriverLicense -->
|
<!-- http://example.org/carSim/carSimulationOntology#requiresDriverLicense -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#requiresDriverLicense">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#requiresDriverLicense">
|
||||||
<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#string"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#speed -->
|
<!-- http://example.org/carSim/carSimulationOntology#speed -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#speed">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#speed">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#tirePressure -->
|
<!-- http://example.org/carSim/carSimulationOntology#tirePressure -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#tirePressure">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#tirePressure">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#Car"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarStatusEvent"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarStatusEvent"/>
|
||||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#usagePeriod -->
|
<!-- http://example.org/carSim/carSimulationOntology#usagePeriod -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://jpt.lu/carSimulationOntology#usagePeriod">
|
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#usagePeriod">
|
||||||
<rdfs:domain rdf:resource="http://jpt.lu/carSimulationOntology#CarTakenEvent"/>
|
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarTakenEvent"/>
|
||||||
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
@ -212,7 +212,7 @@
|
||||||
<!-- http://simobjects.org/maximumMotorRPM -->
|
<!-- http://simobjects.org/maximumMotorRPM -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="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"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
|
||||||
</owl:DatatypeProperty>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
@ -221,7 +221,7 @@
|
||||||
<!-- http://simobjects.org/maximumTirePressure -->
|
<!-- http://simobjects.org/maximumTirePressure -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="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"/>
|
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
|
||||||
</owl:DatatypeProperty>
|
</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">
|
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarAirbagEvent">
|
||||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#CarEvent"/>
|
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#CarEvent"/>
|
||||||
</owl:Class>
|
</owl:Class>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#CarEvent -->
|
<!-- http://example.org/carSim/carSimulationOntology#CarEvent -->
|
||||||
|
|
||||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarEvent">
|
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarEvent">
|
||||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#Event"/>
|
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#Event"/>
|
||||||
</owl:Class>
|
</owl:Class>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#CarReturnedEvent -->
|
<!-- http://example.org/carSim/carSimulationOntology#CarReturnedEvent -->
|
||||||
|
|
||||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarReturnedEvent">
|
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarReturnedEvent">
|
||||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#CarUserEvent"/>
|
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#CarUserEvent"/>
|
||||||
</owl:Class>
|
</owl:Class>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#CarStatusEvent -->
|
<!-- http://example.org/carSim/carSimulationOntology#CarStatusEvent -->
|
||||||
|
|
||||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarStatusEvent">
|
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarStatusEvent">
|
||||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#CarEvent"/>
|
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#CarEvent"/>
|
||||||
</owl:Class>
|
</owl:Class>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#CarTakenEvent -->
|
<!-- http://example.org/carSim/carSimulationOntology#CarTakenEvent -->
|
||||||
|
|
||||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarTakenEvent">
|
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarTakenEvent">
|
||||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#CarUserEvent"/>
|
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#CarUserEvent"/>
|
||||||
</owl:Class>
|
</owl:Class>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- http://jpt.lu/carSimulationOntology#CarUserEvent -->
|
<!-- http://example.org/carSim/carSimulationOntology#CarUserEvent -->
|
||||||
|
|
||||||
<owl:Class rdf:about="http://jpt.lu/carSimulationOntology#CarUserEvent">
|
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarUserEvent">
|
||||||
<rdfs:subClassOf rdf:resource="http://jpt.lu/carSimulationOntology#CarEvent"/>
|
<rdfs:subClassOf rdf:resource="http://example.org/carSim/carSimulationOntology#CarEvent"/>
|
||||||
</owl:Class>
|
</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>
|
</rdf:RDF>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -204,6 +204,15 @@ public class Car {
|
||||||
this.quads.add(new RdfQuadruple(eventIri, baseOnt+"relatedCar", this.getIri(), time));
|
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() {
|
private void generateContinousReportQuads() {
|
||||||
long time = System.currentTimeMillis();
|
long time = System.currentTimeMillis();
|
||||||
String baseIri = RentACarSimulation.BASE_OBJECT_IRI;
|
String baseIri = RentACarSimulation.BASE_OBJECT_IRI;
|
||||||
|
|
|
@ -8,9 +8,10 @@ import eu.larkc.csparql.cep.api.RdfStream;
|
||||||
|
|
||||||
public class RentACarSimulation implements Runnable {
|
public class RentACarSimulation implements Runnable {
|
||||||
|
|
||||||
public static final String BASE_ONTOLOGY_IRI = "http://jpt.lu/carSimulationOntology#";
|
public static final String BASE_URI = "http://example.org/carSim";
|
||||||
public static final String BASE_STREAM_IRI = "http://simstream.org";
|
public static final String BASE_ONTOLOGY_IRI = BASE_URI + "/carSimulationOntology#";
|
||||||
public static final String BASE_OBJECT_IRI = "http://jpt.lu/objects";
|
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 CAR_STREAM_IRI = BASE_STREAM_IRI + "/carStream";
|
||||||
public static final String DRIVER_STREAM_IRI = BASE_STREAM_IRI + "/driverStream";
|
public static final String DRIVER_STREAM_IRI = BASE_STREAM_IRI + "/driverStream";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue