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

XSLT transformation from OWL XML to OWL RDF

From: Jerome Euzenat <Jerome.Euzenat@inrialpes.fr>
Date: Fri, 24 Jan 2003 18:42:06 +0100
Message-Id: <a05200f00ba4fb493d9bd@[194.199.20.189]>
To: www-webont-wg@w3.org
Hello,

	please find attached the current XSLT transformation from XML 
presentation syntax to RDF/XML syntax. It works fine and should be 
complete
with regard to the full XML Schemas. In the following mail, I raise one problem
encountered with development and solutions I adopted. Only the one marked (*)
is still not solved and could defeat the effort of having an XSLT stylesheet.

	The known limitations of this transformation are:
  - ugly default namespace (see following mail);
  - no way to translate enumeration of datatyped values (ex:
     <owl:oneOf rdf:parseType="Collection">
        "1"^^xsd:integer
        "2"^^xsd:integer
        "3"^^xsd:integer
        "4"^^xsd:integer
       </owl:oneOf>) (see following mail)
    this has been implemented as
<owl:oneOf>
  <rdf:List>
     <rdf:first datatype="xsd:integer">1</rdf:first>
     <rdf:rest>
        <rdf:List>
           <rdf:first datatype="xsd:integer">2</rdf:first>
           <rdf:rest>
             <rdf:List>
               <rdf:first datatype="xsd:integer">3</rdf:first>
               <rdf:rest>
                 <rdf:List>
                   <rdf:first datatype="xsd:integer">4</rdf:first>
                 </rdf:List>
               </rdf:rest>
              </rdf:List>
            </rdf:rest>
          </rdf:List>
        </rdf:rest>
      </rdf:List>
   </owl:oneOf>
;

	There are some esthetic issues such as the (sometime useless) 
generation of IDs for the disjointClasses and differentIndividual. 
There is also a small set of things to discuss with Masahiro that we 
certainly will have solved by the end of next week.

	I do not post samples, because mine are not anymore aligned 
with the current schemas (a few names have changed and I have just 
coped with that). All the examples of the "Guide" have been 
translated by Masahiro and pass to my satisfaction. Feel free to use 
this stylesheet agains your own examples and report to me whatever 
you do not like (or you like).

Thanks to Masahiro, Michael Smith, Jeremy and Michael Kay for helping.

-- 
  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, 24 January 2003 12:55:29 GMT

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