W3C home > Mailing lists > Public > public-swbp-wg@w3.org > April 2004

Re: [OEP] a Quantity pattern? [was: Re: [UNITS] FAQ : Constraints on data values range]

From: Guus Schreiber <schreiber@cs.vu.nl>
Date: Wed, 14 Apr 2004 22:44:11 +0200
Message-ID: <407DA29B.2050408@cs.vu.nl>
To: SWBPD <public-swbp-wg@w3.org>
Cc: Bernard Vatant <bernard.vatant@mondeca.com>

Guus Schreiber wrote:

[..]

> ObjectProperty(diameterValue
>   domain(Wheel)
>   range(LengthQuantity))
> 
> Class(Quantity)
> DatatypeProperty(value
>   domain(Quantity)
>   range(xsd:decimal))
> DatatypeProperty(unit
>   domain(Quantity)
>   range(Unit))
> Class(LenthQuantity
>   subClassOf(Quantity)
>   Restriction(unit, allValuesFrom(LengthQuantity))

Typo: should have read "allValuesFrom(LengthUnit)
Assume LenghthUnit is defined as a subclass of Unit with instances such 
as m, cm, dm, mile, ichn, etc.

Guus

> 
> Individual(myWheel
>   type(Wheel)
>   diameterValue(type(LengthQuantity) value(15) unit(cm)))
> 

[..]

-- 
Free University Amsterdam, Computer Science
De Boelelaan 1081a, 1081 HV Amsterdam, The Netherlands
Tel: +31 20 444 7739/7718
E-mail: schreiber@cs.vu.nl
Home page: http://www.cs.vu.nl/~guus/
Received on Wednesday, 14 April 2004 16:45:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:30:53 UTC