Owl:Ontology Class

Uit COINS2
Ga naar: navigatie, zoeken

A file containing an ontology typically contains information about the ontology itself. The owl:Ontology class serves this purpose.

In COINS, the owl:Ontology instance holds a reference to the COINS Container ID, creation date, creator and a description.

The COINS Core Model ontology can be extended by importing other ontologies for specific domains or projects by specifying these through “owl:imports” statements.


Example of an Ontology in RDF/XML

 <owl:Ontology rdf:about="">

   <rdfs:label xml:lang="en-GB">An example ontology</rdfs:label>
   <rdfs:comment>An example ontology</rdfs:comment>

   <owl:imports rdf:resource="http://www.example.org/foo"/>

 </owl:Ontology>


Attributes in RDF/XML

 <owl:DatatypeProperty rdf:ID="cointainerID">
   <rdfs:label xml:lang="en-GB">cointainerID</rdfs:label>
   <rdfs:comment xml:lang="en-GB">property for annotating an ontology</rdfs:comment>
   <rdfs:domain rdf:resource="owl:Ontology"/>
   <rdf:type rdf:resource="owl:FunctionalProperty"/>
   <rdfs:range rdf:resource="xsd:string"/>
 </owl:DatatypeProperty>

 <owl:DatatypeProperty rdf:ID="creationDate">
   <rdfs:label xml:lang="en-GB">creation date</rdfs:label>
   <rdfs:comment xml:lang="en-GB">The creation date of the C-BIM object.</rdfs:comment>
   <rdfs:domain>
     <owl:Class>
       <owl:unionOf rdf:parseType="Collection">
         <rdf:Description rdf:ID="VersionObject"/>
         <rdf:Description rdf:about="owl:Ontology"/>
       </owl:unionOf>
     </owl:Class>
   </rdfs:domain>
   <rdf:type rdf:resource="owl:FunctionalProperty"/>
   <rdfs:range rdf:resource="xsd:dateTime"/>
 </owl:DatatypeProperty>

 <owl:DatatypeProperty rdf:ID="description">
   <rdfs:label xml:lang="en-GB">description</rdfs:label>
   <rdfs:comment xml:lang="en-GB">The description of the C-BIM object.</rdfs:comment>
   <rdfs:domain>
     <owl:Class>
       <owl:unionOf rdf:parseType="Collection">
         <rdf:Description rdf:ID="Entity"/>
         <rdf:Description rdf:about="owl:Ontology"/>
       </owl:unionOf>
     </owl:Class>
   </rdfs:domain>
   <rdf:type rdf:resource="owl:FunctionalProperty"/>
   <rdfs:range rdf:resource="xsd:string"/>
 </owl:DatatypeProperty>


External links