[TASK] Introduce CarModel which can have CarInstances.

This commit is contained in:
JPT committed 2016-08-17 15:52:26 +02:00
1 parent 9c8d49c6e8
commit 0338739c4d
5 files changed
+166 -60

No files matched your search

+44 -19
View File
@@ -35,6 +35,16 @@
<!-- http://example.org/carSim/carSimulationOntology#hasCarInstances -->
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#hasCarInstances">
<owl:inverseOf rdf:resource="http://example.org/carSim/carSimulationOntology#isOfCarModel"/>
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#CarModel"/>
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
</owl:ObjectProperty>
<!-- http://example.org/carSim/carSimulationOntology#isDrivenBy -->
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#isDrivenBy">
@@ -44,6 +54,15 @@
<!-- http://example.org/carSim/carSimulationOntology#isOfCarModel -->
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#isOfCarModel">
<rdfs:domain rdf:resource="http://example.org/carSim/carSimulationOntology#Car"/>
<rdfs:range rdf:resource="http://example.org/carSim/carSimulationOntology#CarModel"/>
</owl:ObjectProperty>
<!-- http://example.org/carSim/carSimulationOntology#relatedCar -->
<owl:ObjectProperty rdf:about="http://example.org/carSim/carSimulationOntology#relatedCar">
@@ -85,25 +104,6 @@
<!-- http://example.org/carSim/carSimulationOntology#hasName -->
<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://example.org/carSim/carSimulationOntology#hasPhoneNumber -->
<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://example.org/carSim/carSimulationOntology#handbrakeEngaged -->
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#handbrakeEngaged">
@@ -123,6 +123,25 @@
<!-- http://example.org/carSim/carSimulationOntology#hasName -->
<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://example.org/carSim/carSimulationOntology#hasPhoneNumber -->
<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://example.org/carSim/carSimulationOntology#locked -->
<owl:DatatypeProperty rdf:about="http://example.org/carSim/carSimulationOntology#locked">
@@ -260,6 +279,12 @@
<!-- http://example.org/carSim/carSimulationOntology#CarModel -->
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarModel"/>
<!-- http://example.org/carSim/carSimulationOntology#CarReturnedEvent -->
<owl:Class rdf:about="http://example.org/carSim/carSimulationOntology#CarReturnedEvent">