W3C home > Mailing lists > Public > www-rdf-interest@w3.org > September 2000

Re: Enumerations

From: Tom Van Eetvelde <tom.van_eetvelde@alcatel.be>
Date: Tue, 26 Sep 2000 15:56:31 +0200
Message-ID: <39D0AB0F.7791808C@alcatel.be>
To: Graham Klyne <GK@dial.pipex.com>, Ray Fergerson <fergerson@SMI.Stanford.EDU>, rdf interest <www-rdf-interest@w3.org>, Mor Peleg <peleg@SMI.Stanford.EDU>
For completeness...

<!--------------------------->
<!-- RDF M&S extension -->
<!--------------------------->

<rdfs:ConstraintProperty rdf:ID="literalRange">
  <rdfs:Label> literalRange </rdfs:Label>
  <rdfs:comment>
    This property is introduced to allow the implementation of enumerations, which can
    hardly be seen as classes (the setelements do not have to obey a certain
    classproperty). When property A has literalRange = bag B, then when A gets a value,
    typechecking software should check if this value belongs to the bag B. If so, then
    types match, otherwise return an RDF validation error.
  </rdfs:comment>
  <rdfs:domain rdf:resource="rdfs:#Property"/>
  <rdfs:range rdf:resource="rdfs:#Bag"/>
</rdfs:ConstraintProperty>


Received on Tuesday, 26 September 2000 09:58:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:44 GMT