W3C home > Mailing lists > Public > www-webont-wg@w3.org > January 2003

Re: OWL datatyping and example

From: Jerome Euzenat <Jerome.Euzenat@inrialpes.fr>
Date: Thu, 9 Jan 2003 23:06:08 +0100
Message-Id: <a05200f11ba43a19d5758@[62.147.1.149]>
To: Mike Dean <mdean@bbn.com>, www-webont-wg@w3.org

Hello,

>One of my colleagues, Michael Cook, has been marking up the Periodic
>Table in DAML+OIL.  Converting one of his instances to OWL with
>datatypes yields:
>
><table:Element rdf:ID="He">
>   <table:name rdf:datatype="&xsd;string">helium</table:name>
>   <table:symbol rdf:datatype="&xsd;string">He</table:symbol>
>   <table:atomicNumber rdf:datatype="&xsd;integer">2</table:atomicNumber>
>   <table:atomicWeight rdf:datatype="&xsd;float">4.002602</table:atomicWeight>
>   <table:group rdf:resource="#group_18"/>
>   <table:period rdf:resource="#period_1"/>
>   <table:block rdf:resource="#p-block"/>
>   <table:casRegistryID 
>rdf:datatype=&xsd;string">7440-59-7</table:casRegistryID>
>   <table:standardState rdf:resource="#gas"/>
>   <table:color rdf:datatype="&xsd;string">colorless</table:color>
>   <table:classification rdf:resource="#Non-metallic"/>
>   <table:description rdf:datatype="&xsd;string"></table:description>
>   <table:isolation rdf:datatype="&xsd;string"></table:isolation>
></table:Element>

OK.
1) is the mention of the rdf:datatype compulsory?
2) is string the default value if not mentionned?
3) how to express a list of value (this comes from the test case for 
the XML Presentation syntax):

<owl:oneOf rdf:parseType="Collection">
1 2 3 4
</owl:oneOf>

<owl:oneOf rdf:parseType="Collection">
red green blue
</owl:oneOf>

An answer to (3) would be useful for the XSLT transformation.

-- 
  Jérôme Euzenat                  __
                                  /      /\
  INRIA Rhône-Alpes,            _/  _   _   _ _    _
                               /_) | ` / ) | \ \  /_)
  655, avenue de l'Europe,    (___/___(_/_/  / /_(_________________
  Montbonnot St Martin,       /        http://www.inrialpes.fr/exmo
  38334 Saint-Ismier cedex,  /          Jerome.Euzenat@inrialpes.fr
  France____________________/                Jerome.Euzenat@free.fr
Received on Friday, 10 January 2003 03:53:39 GMT

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