Semantic Web Technologies: XML, RDF, OWL

OWL Classes

<?xml version='1.0' encoding='ISO-8859-1'?>
<rdf:RDF
  xmlns:owl  ="http://www.w3.org/2002/07/owl#"
  xmlns:rdf  ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rdfs ="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:xsd  ="http://www.w3.org/2001/XMLSchema#"
  xmlns      =""
 >

<owl:Ontology rdf:about="">
 <owl:versionInfo>$Id$</owl:versionInfo>
 <rdfs:comment>
 </rdfs:comment>
</owl:Ontology>

<owl:Class rdf:ID="Animal">
  <rdfs:label>Animal</rdfs:label>
  <rdfs:comment>
    Not vegetable or mineral.
  </rdfs:comment>
  <owl:Class rdf:ID="Male">
    <rdfs:label>Male</rdfs:label>
    <rdfs:subClassOf rdf:resource="#Animal"/>
  </owl:Class>
  <owl:Class rdf:ID="Female">
    <rdfs:label>Female</rdfs:label>
    <rdfs:subClassOf rdf:resource="Animal"/>
    <owl:disjointWith rdf:resource="Male"/>
  </owl:Class>
</owl:Class>
</rdf:RDF>

José M. Vidal .

30 of 41