Re: [xml-dev] Re: An approach to describing the relationships betweenunits-of-measure

From
Bob Foster <>
To
"Roger L. Costello" <>,
Date
2003-07-24T18:27:50Z
ID
<072401c35211$4c198b50$1401a8c0@snobird>
Thread
Re: [xml-dev] Re: An approach to describing the relationships betweenunits-of-measure
> Here is a description of kilometer:
>
>     baseUOM(kilometer) --> meter
>     subPropertyOf(kilometer) --> uom
>     domain(kilometer) --> Distance
>     range(kilometer) --> xsd:decimal
>     canonical(range(kilometer)) --> Formula
>     precision(Formula) --> xsd:nonNegativeInteger

kilometer is a function that accepts a Distance and produces a pure number?
How odd.

It seems that kilometer, if it is to be viewed as a function, must operate
only on the unit of measure property without affecting the type of the
value. If the domain is Distance, the range must be Distance; the difference
is that the argument distance is expressed in some (unspecified above) unit
of measure and the result distance is expressed in kilometers.

Bob Foster