W3C home > Mailing lists > Public > www-rdf-interest@w3.org > June 2003

Re: Expressing mathematical relationships in an ontology?

From: Jimmy Cerra <jimbobbs@hotmail.com>
Date: Mon, 16 Jun 2003 23:53:24 -0400
To: <www-rdf-interest@w3.org>
Cc: <costello@mitre.org>
Message-ID: <000001c33484$004cdab0$0100a8c0@picard>

Roger,

> It would be nice if this mathematical relationship could 
> be declaratively expressed:
>
>     2.54 centimeters = 1.0 inches

Sorry for being late to the conservation.  Could this work:

<rdfs:Datatype
  rdf:about="#in">
  <ex:conversionEquation
    rdf:parseType="Literal"
    xmlns="http://www.w3.org/1998/Math/MathML">
    <math>
      <apply>
        <eq />
        <csymbol definitionURL="#in">in</csymbol>
        <apply>
          <times/>
          <cn>0.0254</cn>
          <csymbol definitionURL="#meter">m</csymbol>
        </apply>
      </apply>
    </math>
  </ex:conversionEquation>
</rdfs:Datatype>
<rdfs:Datatype
  rdf:about="#meter"
  rdfs:isDefinedBy =
"http://www.openmath.org/cocoon/openmath/sts/units_metric1.html#metre"
/>

--
Jimmy Cerra

] "I have learned these days, never to limit
]  anyone else due to my own limited
]  imagination." - Dr. Mae C. Jemison
Received on Monday, 16 June 2003 23:53:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:59 GMT