`oil2xsd' is a set of XSLT http://www.w3.org/TR/xslt stylesheets
converting an ontology written in OIL
http://www.ontoknowledge.org/oil/oilhome.shtml to an XML Schema
http://www.w3.org/TR/xmlschema-0/. The input must be provided as an
RDFS http://www.w3.org/TR/rdf-schema/ file extended by the Standard
The stylesheets are applied to the input RDFS file or the output of
the previous transformation, respectively. They are accompanied by a
small Perl script which applies them one after another. While some
stylesheets provide basic transformations always necessary, other
stylesheets may be applied as wanted or may be replaced by customized
versions to accomplish special tasks.
The result of the conversion is an XML Schema which may be used to
define document structures. Not all features of OIL are mapped into
the resulting XML Schema. However, an interesting subset is supported.
Basically the class inheritance tree in the OIL ontology is
transformed into an equivalent class inheritance tree in the XML
Schema, while the slots are transformed into elements of the resulting
`oil2xsd' is available on Savannah as Free Software
To apply the stylesheets you need an XSLT processor. I used `testXSLT'
contained in the Xalan C++ project
Furthermore, you may find `OilEd' http://oiled.man.ac.uk/ useful to
edit the ontology. The examples are made by V2.2. Your mileage with
more recent versions may vary. We are interested in any experiences in
`oil2xsd' is described in a paper http://acl.ldc.upenn.edu/hlt-naacl2003/sealts/pdf/gurevychSEALTS.pdf.
These details are provided for information only. No information here is legal advice and should not be used as such.