<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="http://www.daml.org/2000/10/daml-ont#">

<Ontology about="">
  <imports resource="http://www.daml.org/2000/10/daml-ont"/>
  <versionInfo>$Id: daml-num.daml,v 1.1 2000/10/07 03:21:17 connolly Exp $</versionInfo>
</Ontology>

<Class ID="Numeral">
  <label>Numeral</label>
  <comment>a sequence of digits (perhaps a sign? decimal place?).
	Radix 10, I guess. Note that "10" is a numeral,
	but the corresponding number is something else:
	"10" is a label for that number; i.e. daml:label(n, "10").
	@@hmm... is label unambiguous over Numbers?
	or do we allow, e.g. "010" and "10" to denote the same number?
  </comment>
  <subClassOf resource="http://www.daml.org/2000/10/daml-ont#Literal"/>
</Class>

<Class ID="Integer">
  <label>Integer</label>
  <rdfs:seeAlso>
    <rdf:Description about="http://www.w3.org/TR/xmlschema-2/#integer">
      <label>section 3.3.8 integer in the XML Schema Datatypes spec</label>
    </rdf:Description>
  </rdfs:seeAlso>
</Class>

<Property ID="min">
  <domain resource="http://www.daml.org/2000/10/daml-ont#Class"/>
  <range resource="#Integer"/>
  <comment>for min(S, x) read: x is the minimum of s; i.e.
	x is in S and every y in S is not less than x
  </comment>
</Property>

<Property ID="max">
  <domain resource="http://www.daml.org/2000/10/daml-ont#Class"/>
  <range resource="#Integer"/>
  <comment>for man(S, x) read: x is the maximum of s; i.e.
	x is in S and every y in S is not greater than x
  </comment>
</Property>

<Property ID="equal">
  <label>equal</label>
  <domain resource="#Integer"/>
  <range resource="#Integer"/>
  <subPropertyOf resource="http://www.daml.org/2000/10/daml-ont#equivalentTo"/>
</Property>

<Property ID="lessThan">
  <domain resource="#Integer"/>
  <range resource="#Integer"/>
</Property>

<Property ID="greaterThan">
  <domain resource="#Integer"/>
  <range resource="#Integer"/>
</Property>

<Class ID="Range">
  <label>Range</label>

  <comment>
    a set (class) of integers ranging from some min to some max.
    @@Hmm... how to say that each instance of Range is a subclass of Integer?
  </comment>
</Class>

</rdf:RDF>
