Re: SUMO units of measure

I had some fun with http://www.w3.org/2007/ont/unit ...

I put some rules and test inputs in
in http://www.w3.org/2007/ont/unit_ex.n3

and from

track length [ un:mile 0.25].


I get

    ex:track     ex:length  [
             :chain 20.0;
             :foot 1320.0;
             :furlong 2.0;
             :inch 15840.0;
             :m 402.336;
             :mile 0.25;
             :yard 440.0 ] .

and from

(un:foot un:hz) o2:chain fps.
bullet speed [ fps 4000 ].

I get:

    ex:bullet     ex:speed  [
             ex:fps 4000;
             :mps 1219.2 ] .


-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/

Received on Tuesday, 31 July 2007 07:47:49 UTC