Re: DAML: property cardinality

From: Joachim.Peer@unisg.ch
Subject: Re: DAML: property cardinality
Date: Tue, 27 Nov 2001 21:28:14 +0100

> 
> hi,
> thanks for your reply!
> 
> 
> 
> >Well you didn't need to specify the ``uniqueness'' twice.  Once age is a
> >unique property, any object can have at most one age.
> 
> but if i want to _enforce_ that an instantiation of Person has _exactly_
> one property "age" (and not only _at most_ one) i need to write down the
> subClassOf-Restricton- stuff, dont't i?
> 
> thanks,
> joachim

Yes, sorry I missed that.

You could, however, just specify an exact cardinality in Person, and forget
about the uniqueness of age.  Of course, this would not have the
connotation that non-Persons have at most one age.

peter

Received on Tuesday, 27 November 2001 15:35:14 UTC