RE: How to restrict the possible values of a class?

>It does not seem right to me that DayRange be a subclass of Range :
>typically, Range is a class and DayRange is the instance,
>but DayRange may ALSO be a class (in which case Range is a metaclass)
>This is absolutely possible in RDF,
>you just have to declare that Range is a subclass of class
>(and that is IS also a class, as you did - both things are different !)

Yup - thats much cleaner.  To answer Tom's request for RDF:

<rdfs:Class rdf:ID='DayRange'>
  <rdf:type rdf:resource='#Range'/>

Does that do it?

Brian McBride

Received on Tuesday, 27 June 2000 09:55:32 UTC