[TASK] Fix up ontology with new driver license data attribute.

This commit is contained in:
Jan Philipp Timme 2016-08-11 19:42:54 +02:00
parent 21d836576a
commit a4444da92e
1 changed files with 22 additions and 2 deletions

View File

@ -54,6 +54,24 @@
<!-- http://myexample.org/hasDriverLicense -->
<owl:DatatypeProperty rdf:about="http://myexample.org/hasDriverLicense">
<rdfs:domain rdf:resource="http://myexample.org/#Driver"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:DatatypeProperty>
<!-- http://myexample.org/requiresDriverLicense -->
<owl:DatatypeProperty rdf:about="http://myexample.org/requiresDriverLicense">
<rdfs:domain rdf:resource="http://myexample.org/#Car"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:DatatypeProperty>
<!-- http://myexample.org/#maximumMotorRPM -->
<owl:DatatypeProperty rdf:about="http://myexample.org/#maximumMotorRPM">
@ -67,7 +85,7 @@
<owl:DatatypeProperty rdf:about="http://myexample.org/#maximumTirePressure">
<rdfs:domain rdf:resource="http://myexample.org/#Car"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
</owl:DatatypeProperty>
@ -85,7 +103,7 @@
<owl:DatatypeProperty rdf:about="http://myexample.org/#minimumTirePressure">
<rdfs:domain rdf:resource="http://myexample.org/#Car"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
</owl:DatatypeProperty>
@ -128,6 +146,7 @@
<owl:NamedIndividual rdf:about="http://myexample.org/#Max">
<rdf:type rdf:resource="http://myexample.org/#Driver"/>
<hasDriverLicense rdf:datatype="http://www.w3.org/2001/XMLSchema#string">B</hasDriverLicense>
</owl:NamedIndividual>
@ -137,6 +156,7 @@
<owl:NamedIndividual rdf:about="http://myexample.org/#Volvo">
<rdf:type rdf:resource="http://myexample.org/#Car"/>
<myexample:isDrivenBy rdf:resource="http://myexample.org/#Max"/>
<requiresDriverLicense rdf:datatype="http://www.w3.org/2001/XMLSchema#string">B</requiresDriverLicense>
<myexample:maximumMotorRPM rdf:datatype="http://www.w3.org/2001/XMLSchema#positiveInteger">4500</myexample:maximumMotorRPM>
<myexample:maximumTirePressure rdf:datatype="http://www.w3.org/2001/XMLSchema#double">3.5</myexample:maximumTirePressure>
<myexample:minimumMotorRPM rdf:datatype="http://www.w3.org/2001/XMLSchema#positiveInteger">800</myexample:minimumMotorRPM>