A Language for ontologies



<daml:Class rdf:ID="WeatherEvent">
 
<rdfs:comment>Superclass for all weather events</rdfs:comment>
 
<rdfs:label>Weather 
event</rdfs:label>
</daml:Class>

<daml:Class 
rdf:ID="WeatherReport">
 <rdfs:comment>Superclass for all handled 
weather reports</rdfs:comment>
 <rdfs:label>weather 
report</rdfs:label>
   <rdfs:subClassOf 
rdf:resource="#DatedWeatherEvent"/>
   <rdfs:subClassOf>
 
<daml:Restriction daml:minCardinality="1">
 
<daml:onProperty rdf:resource="#hasWeatherEvent"/>
 
</daml:Restriction>
  </rdfs:subClassOf>
 
<rdfs:subClassOf>
     <daml:Restriction daml:cardinality="1">
 
<daml:onProperty rdf:resource="#hasStationID"/>
 
</daml:Restriction>
  </rdfs:subClassOf>
 
<rdfs:subClassOf>
     <daml:Restriction daml:cardinality="1">
 
<daml:onProperty rdf:resource="#hasReportTime"/>
 
</daml:Restriction>
  </rdfs:subClassOf>
 
<rdfs:subClassOf>
    <daml:Restriction daml:cardinality="1">
 
<daml:onProperty rdf:resource="#hasReportDate"/>
 
</daml:Restriction>
  </rdfs:subClassOf>
 
</daml:Class>