<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE rdf:RDF [
	<!ENTITY xsd 'http://www.w3.org/2000/10/XMLSchema#'>
	<!ENTITY sensor-ont 'http://www.daml.org/2001/12/charter/sensor-ont#'>
	<!ENTITY location-ont 'http://www.daml.org/2001/12/charter/location-ont#'>
]>

<rdf:RDF
  xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
>

<daml:Ontology rdf:about="">
  <daml:versionInfo>$Id: event-ont.daml,v 1.2 2001/12/01 06:46:10 mdean Exp $</daml:versionInfo>
  <rdfs:comment>Sample ontology used to describe sensor events</rdfs:comment>
</daml:Ontology>

<rdfs:Class rdf:ID="Event">
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#timestamp"/>
      <daml:toClass rdf:resource="&xsd;timeInstant"/>
      <daml:cardinality>1</daml:cardinality>
    </daml:Restriction>
  </rdfs:subClassOf>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#sensor"/>
      <daml:toClass rdf:resource="&sensor-ont;Sensor"/>
    </daml:Restriction>
  </rdfs:subClassOf>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#location"/>
      <daml:toClass rdf:resource="&location-ont;Location"/>
      <rdfs:comment>not required for fixed sensors</rdfs:comment>
      <daml:maxCardinality>1</daml:maxCardinality>
    </daml:Restriction>
  </rdfs:subClassOf>
</rdfs:Class>

<daml:ObjectProperty rdf:ID="location"/>
<daml:ObjectProperty rdf:ID="sensor"/>
<daml:DatatypeProperty rdf:ID="timestamp"/>

</rdf:RDF>
