[TASK] Fix up ontology with new driver license data attribute.
This commit is contained in:
parent
21d836576a
commit
a4444da92e
@ -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 -->
|
<!-- http://myexample.org/#maximumMotorRPM -->
|
||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://myexample.org/#maximumMotorRPM">
|
<owl:DatatypeProperty rdf:about="http://myexample.org/#maximumMotorRPM">
|
||||||
@ -67,7 +85,7 @@
|
|||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://myexample.org/#maximumTirePressure">
|
<owl:DatatypeProperty rdf:about="http://myexample.org/#maximumTirePressure">
|
||||||
<rdfs:domain rdf:resource="http://myexample.org/#Car"/>
|
<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>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
@ -85,7 +103,7 @@
|
|||||||
|
|
||||||
<owl:DatatypeProperty rdf:about="http://myexample.org/#minimumTirePressure">
|
<owl:DatatypeProperty rdf:about="http://myexample.org/#minimumTirePressure">
|
||||||
<rdfs:domain rdf:resource="http://myexample.org/#Car"/>
|
<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>
|
</owl:DatatypeProperty>
|
||||||
|
|
||||||
|
|
||||||
@ -128,6 +146,7 @@
|
|||||||
|
|
||||||
<owl:NamedIndividual rdf:about="http://myexample.org/#Max">
|
<owl:NamedIndividual rdf:about="http://myexample.org/#Max">
|
||||||
<rdf:type rdf:resource="http://myexample.org/#Driver"/>
|
<rdf:type rdf:resource="http://myexample.org/#Driver"/>
|
||||||
|
<hasDriverLicense rdf:datatype="http://www.w3.org/2001/XMLSchema#string">B</hasDriverLicense>
|
||||||
</owl:NamedIndividual>
|
</owl:NamedIndividual>
|
||||||
|
|
||||||
|
|
||||||
@ -137,6 +156,7 @@
|
|||||||
<owl:NamedIndividual rdf:about="http://myexample.org/#Volvo">
|
<owl:NamedIndividual rdf:about="http://myexample.org/#Volvo">
|
||||||
<rdf:type rdf:resource="http://myexample.org/#Car"/>
|
<rdf:type rdf:resource="http://myexample.org/#Car"/>
|
||||||
<myexample:isDrivenBy rdf:resource="http://myexample.org/#Max"/>
|
<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: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: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>
|
<myexample:minimumMotorRPM rdf:datatype="http://www.w3.org/2001/XMLSchema#positiveInteger">800</myexample:minimumMotorRPM>
|
||||||
|
Loading…
Reference in New Issue
Block a user