[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Describing the relationships between units-of-measure?


relation between mile and kilometer
<Quote1>
Let's suppose that units-of-measure are represented as properties, e.g,

   <River id="Yangtze">
        <length>
            <kilometer>6300</kilometer>
        </length>
   </River>

</Quote1>

My personal preference and style of representing this would be to
represent the unit of measure as an attribute of "length", because it
really does modify/describe/act as a property of the length:

   <River id="Yangtze">
        <length UOM="Km">6300</length>
   </River>

<Quote2>
Do you have any suggestions on how to syntactically represent this
relationship statement? 
</Quote2>

How about OWL?

Kind Regards,
Joe Chiusano
Booz | Allen | Hamilton

"Roger L. Costello" wrote:
> 
> Hi Folks,
> 
> Let's suppose that units-of-measure are represented as properties, e.g,
> 
>    <River id="Yangtze">
>         <length>
>             <kilometer>6300</kilometer>
>         </length>
>    </River>
> 
> Here is an example where the length of the Yangtze River is described
> using a mile property:
> 
>    <River id="Yangtze">
>         <length>
>             <mile>3914</mile>
>         </length>
>    </River>
> 
> It would be very useful to be able to state the relationship between the
> kilometer and mile properties.  For example, suppose that I wish to
> define the kilometer property:
> 
>     <Property id="kilometer">
>         ...
>     </Property>
> 
> When I define this property it would be very useful to express that this
> property is related to the mile property, e.g.,
> 
>     <Property id="kilometer">
>         "This property is related to the mile property.  Namely,
>          if the value of a mile property is multiplied by 1.62
>          and it yields a value that is equal to the value of this
>          property, then the two properties are said to represent
>          the same distance."
>     </Property>
> 
> Do you have any suggestions on how to syntactically represent this
> relationship statement?
> 
> Here is a more complex example, showing a map location using two
> different coordinate systems:
> 
> <Map id="M1">
>     <location>
>         <cartesian-coordinate>
>             <x>
>                 <kilometer>100</kilometer>
>             </x>
>             <y>
>                 <kilometer>100</kilometer>
>             </y>
>         </cartesian-coordinate>
>     </location>
> </Map>
> 
> <Map id="M21">
>     <location>
>         <polar-coordinate>
>             <r>
>                 <kilometer>141.421</kilometer>
>             </r>
>             <theta>
>                 <radian>0.7341</radian>
>             </theta>
>         </polar-coordinate>
>     </location>
> </Map>
> 
> It would be very useful to be able to state the relationship between
> these coordinate systems, e.g.,
> 
>     <Property id="cartesian-coordinate">
>         "This property is related to the polar-coordinate
>          property.  Namely, if these equations are satisfied:
>              x = r sin theta
>              y = r cos theta
>          then the two properties are said to represent the same
>          location."
>     </Property>
> 
> (For the moment let's ignore the conditions that Alaric noted yesterday)
> 
> Do you have any suggestions on how to syntactically represent this
> relationship?
> 
> /Roger
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
begin:vcard 
n:Chiusano;Joseph
tel;work:(703) 902-6923
x-mozilla-html:FALSE
url:www.bah.com
org:Booz | Allen | Hamilton;IT Digital Strategies Team
adr:;;8283 Greensboro Drive;McLean;VA;22012;
version:2.1
email;internet:chiusano_joseph@b...
title:Senior Consultant
fn:Joseph M. Chiusano
end:vcard

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.