<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE rdf:RDF [
<!ENTITY rdf  "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY xsd  "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY owl  "http://www.w3.org/2002/07/owl#" >
<!ENTITY dc    "http://purl.org/dc/elements/1.1/">
<!ENTITY gm "http://www.charlestoncore.org/ontology/2005/08/geometry#">
]>
<rdf:RDF
 xmlns          = "&gm;"
 xmlns:gm    = "&gm;"
 xmlns:rdf      ="&rdf;"
 xmlns:rdfs     ="&rdfs;"
 xmlns:xsd      ="&xsd;"
 xmlns:owl      ="&owl;"
 xmlns:dc       ="&dc;"
 xml:base       ="http://www.charlestoncore.org/ontology/2005/08/geometry"
 >

  <owl:Ontology rdf:about="">
    <rdfs:isDefinedBy rdf:resource="http://www.charlestoncore.org/ont/2005/08/geometry.html"/>
    <dc:author>Xiaoshu Wang</dc:author>
    <dc:title>A Trivial Ontology for Geometry</dc:title>
    <rdfs:comment>This file defines a trivial geometry ontology.  This ontology is not intended to be designed to keep. It will likely be replaced by a future ontology defined by some mathematician rather than by an biologist like me.  However, this ontology is designed to be used for some practical application, like to label the location and shape of a spot.</rdfs:comment>
    <owl:versionInfo>2005-08</owl:versionInfo>
  </owl:Ontology>

  <owl:Class rdf:ID="Point">
    <rdfs:label>Point</rdfs:label>
    <rdfs:comment>The 'Point' is a location on an arbitrary plane with an implicit coordinate system.</rdfs:comment>
    <rdfs:subClassOf rdf:parseType="Collection">
      <owl:Restriction>
        <owl:onProperty rdf:resource="#x"/>
        <owl:cardinality>1</owl:cardinality>
      </owl:Restriction>
      <owl:Restriction>
        <owl:onProperty rdf:resource="#y"/>
        <owl:cardinality>1</owl:cardinality>
      </owl:Restriction>      
    </rdfs:subClassOf>
  </owl:Class>

  <owl:Class rdf:ID="Ellipse">
    <rdfs:label>Ellipse</rdfs:label>
    <rdfs:comment>An 'Ellipse' represents an ellipsoid which axies are parallel to the implicit coordinate system.</rdfs:comment>
    <rdfs:subClassOf rdf:parseType="Collection">
      <owl:Restriction>
        <owl:onProperty rdf:resource="#rx"/>
        <owl:cardinality>1</owl:cardinality>
      </owl:Restriction>
      <owl:Restriction>
        <owl:onProperty rdf:resource="#ry"/>
        <owl:cardinality>1</owl:cardinality>
      </owl:Restriction>
    </rdfs:subClassOf>
  </owl:Class>

  <owl:DatatypeProperty rdf:ID="x">
    <rdfs:label>x coordinate</rdfs:label>
    <rdfs:comment>The 'x' labels the x-coordinate of a Point in the presumed coordinate system.</rdfs:comment>
    <rdfs:domain rdf:resource="#Point"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
  </owl:DatatypeProperty>

  <owl:DatatypeProperty rdf:ID="y">
    <rdfs:label>y coordinate</rdfs:label>
    <rdfs:comment>The 'y' labels the y-coordinate of a Point in the presumed coordinate system.</rdfs:comment>
    <rdfs:domain rdf:resource="#Point"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
  </owl:DatatypeProperty>

  <owl:DatatypeProperty rdf:ID="rx">
    <rdfs:label>x radius</rdfs:label>
    <rdfs:comment>The 'rx' labels the 1/2 length of an ellipse's axis parallel to the x-axies of the presumbed coordinate system.</rdfs:comment>
    <rdfs:domain rdf:resource="#Ellipse"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
  </owl:DatatypeProperty>

  <owl:DatatypeProperty rdf:ID="ry">
    <rdfs:label>y radius</rdfs:label>
    <rdfs:comment>The 'ry' labels labels the 1/2 length of an ellipse's axis parallel to the y-axies of the presumbed coordinate system.</rdfs:comment>
    <rdfs:domain rdf:resource="#Ellipse"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
  </owl:DatatypeProperty>

</rdf:RDF>