| An example based on | | 'Enhancing Data Interoperability with Ontologies, Canonical Forms, and Include Files' | | by Roger L. Costello costello@mitre.org August 10, 2003 | | ( http://www.xfront.com/interoperability/CanonicalForms.html ) some-agent measures some-quantity in some-units not : the canonical measure of that-quantity is those-units one unit of that-quantity measured in those-units converts to a canonical some-number some-standard-units ----------------------------------------------------------------------------------------------------------------------- that-agent sending one unit of that-quantity in those-units should first convert it to that-number those-standard-units this-agent measures this-quantity in these-units ================================================ Agent A length kilometers Agent A time seconds Agent A speed kps Agent B length miles Agent B time hours Agent B speed mph one unit of some-quantity measured in some-units converts to a canonical some-number some-standard-units --------------------------------------------------------------------------------------------------------- the canonical measure of that-quantity is those-standard-units one unit of this-quantity measured in these-units converts to a canonical this-number these-standard-units ========================================================================================================== length miles 1.609344 kilometers length meters 0.001 kilometers time minutes 60 seconds time hours 3600 seconds one unit of length measured in miles converts to a canonical some-number1 kilometers one unit of time measured in hours converts to a canonical some-number2 seconds that-number1 / that-number2 = some-quotient that-quotient rounded to 5 place(s) after the decimal point is some-number ------------------------------------------------------------------------------------- one unit of speed measured in mph converts to a canonical that-number kps