<?xml version="1.0"?>
<rdf:RDF 
    xmlns:rss="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:owl="http://www.w3.org/2002/07/owl#"
    xmlns:georss="http://www.georss.org/georss/" 
    xmlns:gml="http://www.opengis.net/gml/"
>

  <owl:Ontology rdf:about="http://www.opengis.net/gml/">
    <owl:versionInfo>neogeo v 0</owl:versionInfo>
    <rdfs:label>NEOGEO</rdfs:label>
    <rdfs:comment>
      NEOGEO.
    </rdfs:comment>
    <rdfs:comment>
      This draft follows the content and nomenclature of the geoRSS spec - eg
      using the name "featuretypetag" rather than "featuretype" as  in 
      http://www.w3.org/2005/Incubator/geo/Wiki/Geo_Update. The only GML primitives except those
      given in the geoRSS spec are gml:_Geometry and gml:Feature
    </rdfs:comment>
    <rdfs:comment>
      ISSUE 1:
      The GeoRSS/GML geometry-valued properties, such as georss:where and georss:featuretypetag, as
      well as the GeoRSS/Simple properties, are specified here to have domain gml:Feature.
      Is this correct? From the georss content model page: 
      "In the model, 'where' is an association of a geometry to some content. 
      GeoRSS places no constraint on the type of content, nor on its format.".
      Background: a GML:Feature is defined as "an abstraction of a real world phenomenon",
      which unrestritive, but may not accurately apply in all GeoRSS use cases.
     </rdfs:comment>
    <rdfs:comment>
      ISSUE 2:
      In this draft, the georss simple properties (georss:point, georss:line, etc), are 
      specified as functional, as is georss:featurename, but not georss:where.
      Is this as it should be?
    </rdfs:comment>
  </owl:Ontology>

  <owl:Class rdf:about="http://www.opengis.net/gml/_Geometry"/>
  <owl:Class rdf:about="http://www.opengis.net/gml/Point">
    <rdfs:subClassOf rdf:resource="http://www.opengis.net/gml/_Geometry"/>
  </owl:Class>
  <owl:Class rdf:about="http://www.opengis.net/gml/Polygon">
    <rdfs:subClassOf rdf:resource="http://www.opengis.net/gml/_Geometry"/>
  </owl:Class>
  <owl:Class rdf:about="http://www.opengis.net/gml/Envelope">
    <rdfs:subClassOf rdf:resource="http://www.opengis.net/gml/_Geometry"/>
  </owl:Class>
  <owl:Class rdf:about="http://www.opengis.net/gml/LineString">
    <rdfs:subClassOf rdf:resource="http://www.opengis.net/gml/_Geometry"/>
  </owl:Class>
  <owl:Class rdf:about="http://www.opengis.net/gml/LinearRing">
    <rdfs:subClassOf rdf:resource="http://www.opengis.net/gml/_Geometry"/>
  </owl:Class>


<owl:ObjectProperty rdf:about="http://www.georss.org/georss/where">
    <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
    <rdfs:range rdf:resource="http://www.opengis.net/gml/_Geometry"/>
</owl:ObjectProperty>  


<owl:FunctionalProperty rdf:about="http://www.opengis.net/gml/pos">
     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:FunctionalProperty>  



<owl:FunctionalProperty rdf:about="http://www.opengis.net/gml/posList">
     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:FunctionalProperty>  


<owl:Class about="http://www.opengis.net/gml/Point">
  <rdfs:comment>The gml:pos property is defined for all elements of Point</rdfs:comment>
  <rdfs:subClassOf>
    <owl:Restriction>
       <owl:onProperty rdf:resource="http://www.opengis.net/gml/pos"/>
       <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int">1</owl:cardinality>
     </owl:Restriction>
  </rdfs:subClassOf>
</owl:Class>



<owl:Class about="http://www.opengis.net/gml/LineString">
  <rdfs:comment>The gml:posList property is defined for all elements of LineString</rdfs:comment>
  <rdfs:subClassOf>
    <owl:Restriction>
       <owl:onProperty rdf:resource="http://www.opengis.net/gml/posList"/>
       <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int">1</owl:cardinality>
     </owl:Restriction>
  </rdfs:subClassOf>
</owl:Class>



<owl:Class about="http://www.opengis.net/gml/LinearRing">
  <rdfs:comment>The gml:posList property is defined for all elements of LinearRing</rdfs:comment>
  <rdfs:subClassOf>
    <owl:Restriction>
       <owl:onProperty rdf:resource="http://www.opengis.net/gml/posList"/>
       <owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#int">1</owl:cardinality>
     </owl:Restriction>
  </rdfs:subClassOf>
</owl:Class>


<owl:FunctionalProperty rdf:about="http://www.opengis.net/gml/exterior">
     <rdfs:domain rdf:resource="http://www.opengis.net/gml/Polygon"/>
     <rdfs:range rdf:resource="http://www.opengis.net/gml/LinearRing"/>
</owl:FunctionalProperty>  




<owl:FunctionalProperty rdf:about="http://www.opengis.net/gml/lowerCorner">
     <rdfs:domain rdf:resource="http://www.opengis.net/gml/Envelope"/>
     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:FunctionalProperty>  




<owl:FunctionalProperty rdf:about="http://www.opengis.net/gml/upperCorner">
     <rdfs:domain rdf:resource="http://www.opengis.net/gml/Envelope"/>
     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:FunctionalProperty>  




<owl:FunctionalProperty rdf:about="http://www.georss.org/georss/featurename">
     <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
     <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:FunctionalProperty>  



<rdf:Property rdf:about="http://www.georss.org/georss/featuretypetag">
    <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</rdf:Property>  



<rdf:Property rdf:about="http://www.georss.org/georss/relationshiptag">
    <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</rdf:Property>  


<owl:FunctionalProperty rdf:about="http://www.georss.org/georss/point">
    <rdfs:comment>From the GeoRSS Simple vocabulary</rdfs:comment>
    <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:FunctionalProperty>  


<owl:FunctionalProperty rdf:about="http://www.georss.org/georss/line">
    <rdfs:comment>From the GeoRSS Simple vocabulary</rdfs:comment>
    <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:FunctionalProperty>  



<owl:FunctionalProperty rdf:about="http://www.georss.org/georss/polygon">
    <rdfs:comment>From the GeoRSS Simple vocabulary</rdfs:comment>
    <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:FunctionalProperty>  


<owl:FunctionalProperty rdf:about="http://www.georss.org/georss/box">
    <rdfs:comment>From the GeoRSS Simple vocabulary</rdfs:comment>
    <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
</owl:FunctionalProperty>  




<owl:FunctionalProperty rdf:about="http://www.georss.org/georss/elev">
    <rdfs:comment>From the GeoRSS Simple vocabulary</rdfs:comment>
    <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
</owl:FunctionalProperty>  



<owl:FunctionalProperty rdf:about="http://www.georss.org/georss/floor">
    <rdfs:comment>From the GeoRSS Simple vocabulary</rdfs:comment>
    <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
</owl:FunctionalProperty>  





<owl:FunctionalProperty rdf:about="http://www.georss.org/georss/radius">
    <rdfs:comment>From the GeoRSS Simple vocabulary</rdfs:comment>
    <rdfs:domain rdf:resource="http://www.opengis.net/gml/Feature"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
</owl:FunctionalProperty>  

</rdf:RDF>
