CSPARQL-Carsimulation/data/carSimulationOntology.owl

151 lines
4.7 KiB
Plaintext
Raw Normal View History

<?xml version="1.0"?>
<rdf:RDF xmlns="http://myexample.org/"
xml:base="http://myexample.org/"
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:myexample="http://myexample.org/#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<owl:Ontology rdf:about="http://myexample.org/">
<rdfs:comment xml:lang="de">Beispielhafte Ontologie für die Autosimulation</rdfs:comment>
</owl:Ontology>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Object Properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- http://myexample.org/#drives -->
<owl:ObjectProperty rdf:about="http://myexample.org/#drives">
<owl:inverseOf rdf:resource="http://myexample.org/#isDrivenBy"/>
<rdfs:domain rdf:resource="http://myexample.org/#Driver"/>
<rdfs:range rdf:resource="http://myexample.org/#Car"/>
</owl:ObjectProperty>
<!-- http://myexample.org/#isDrivenBy -->
<owl:ObjectProperty rdf:about="http://myexample.org/#isDrivenBy">
<rdfs:domain rdf:resource="http://myexample.org/#Car"/>
<rdfs:range rdf:resource="http://myexample.org/#Driver"/>
</owl:ObjectProperty>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Data properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- http://myexample.org/#maximumMotorRPM -->
<owl:DatatypeProperty rdf:about="http://myexample.org/#maximumMotorRPM">
<rdfs:domain rdf:resource="http://myexample.org/#Car"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#positiveInteger"/>
</owl:DatatypeProperty>
<!-- http://myexample.org/#maximumTirePressure -->
<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"/>
</owl:DatatypeProperty>
<!-- http://myexample.org/#minimumMotorRPM -->
<owl:DatatypeProperty rdf:about="http://myexample.org/#minimumMotorRPM">
<rdfs:domain rdf:resource="http://myexample.org/#Car"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#positiveInteger"/>
</owl:DatatypeProperty>
<!-- http://myexample.org/#minimumTirePressure -->
<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"/>
</owl:DatatypeProperty>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Classes
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- http://myexample.org/#Car -->
<owl:Class rdf:about="http://myexample.org/#Car"/>
<!-- http://myexample.org/#Driver -->
<owl:Class rdf:about="http://myexample.org/#Driver"/>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Individuals
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- http://myexample.org/#Max -->
<owl:NamedIndividual rdf:about="http://myexample.org/#Max">
<rdf:type rdf:resource="http://myexample.org/#Driver"/>
</owl:NamedIndividual>
<!-- http://myexample.org/#Volvo -->
<owl:NamedIndividual rdf:about="http://myexample.org/#Volvo">
<rdf:type rdf:resource="http://myexample.org/#Car"/>
<myexample:isDrivenBy rdf:resource="http://myexample.org/#Max"/>
<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>
<myexample:minimumTirePressure rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2.9</myexample:minimumTirePressure>
</owl:NamedIndividual>
</rdf:RDF>
<!-- Generated by the OWL API (version 4.2.5.20160517-0735) https://github.com/owlcs/owlapi -->