<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#"
  xmlns     ="http://www.daml.org/2001/06/expenses/amex-ont#"
>

<daml:Ontology rdf:about="">
  <daml:versionInfo>$Id: trip-ont.daml,v 1.2 2001/06/21 18:19:45 mdean Exp $</daml:versionInfo>
  <rdfs:comment>BBN Trip Expense Report</rdfs:comment>
</daml:Ontology>

<rdfs:Class rdf:ID="Trip">
  <rdfs:comment>
    a specific expense item
  </rdfs:comment>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#start"/>
      <daml:toClass rdf:resource="http://www.w3.org/2000/10/XMLSchema#date"/>
      <daml:cardinality>1</daml:cardinality>
    </daml:Restriction>
  </rdfs:subClassOf>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#end"/>
      <daml:toClass rdf:resource="http://www.w3.org/2000/10/XMLSchema#date"/>
      <daml:cardinality>1</daml:cardinality>
    </daml:Restriction>
  </rdfs:subClassOf>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#airfare"/>
      <daml:toClass rdf:resource="http://www.w3.org/2000/10/XMLSchema#decimal"/>
    </daml:Restriction>
  </rdfs:subClassOf>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#hotel"/>
      <daml:toClass rdf:resource="http://www.w3.org/2000/10/XMLSchema#decimal"/>
    </daml:Restriction>
  </rdfs:subClassOf>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#car"/>
      <daml:toClass rdf:resource="http://www.w3.org/2000/10/XMLSchema#decimal"/>
    </daml:Restriction>
  </rdfs:subClassOf>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#parking"/>
      <daml:toClass rdf:resource="http://www.w3.org/2000/10/XMLSchema#decimal"/>
    </daml:Restriction>
  </rdfs:subClassOf>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#total"/>
      <daml:toClass rdf:resource="http://www.w3.org/2000/10/XMLSchema#decimal"/>
      <daml:cardinality>1</daml:cardinality>
    </daml:Restriction>
  </rdfs:subClassOf>
</rdfs:Class>

<rdfs:Class rdf:ID="Expense">
  <rdfs:comment>
    a specific expense item
  </rdfs:comment>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#date"/>
      <daml:toClass rdf:resource="http://www.w3.org/2000/10/XMLSchema#date"/>
      <daml:cardinality>1</daml:cardinality>
    </daml:Restriction>
  </rdfs:subClassOf>
  <rdfs:subClassOf>
    <daml:Restriction>
      <daml:onProperty rdf:resource="#amount"/>
      <daml:toClass rdf:resource="http://www.w3.org/2000/10/XMLSchema#decimal"/>
      <daml:cardinality>1</daml:cardinality>
    </daml:Restriction>
  </rdfs:subClassOf>
</rdfs:Class>

<daml:ObjectProperty rdf:ID="airfare"/>
<daml:DatatypeProperty rdf:ID="amount">
  <rdfs:comment>in US dollaris</rdfs:comment>
</daml:DatatypeProperty>
<daml:ObjectProperty rdf:ID="car"/>
<daml:DatatypeProperty rdf:ID="date">
  <rdfs:comment>in US dollaris</rdfs:comment>
</daml:DatatypeProperty>
<daml:DatatypeProperty rdf:ID="end"/>
<daml:ObjectProperty rdf:ID="hotel"/>
<daml:ObjectProperty rdf:ID="parking"/>
<daml:DatatypeProperty rdf:ID="start"/>
<daml:DatatypeProperty rdf:ID="total">
  <rdfs:comment>in US dollars</rdfs:comment>
</daml:DatatypeProperty>

</rdf:RDF>
