[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Using XSLT to transform XML Schema to RDF

Subject: RE: Using XSLT to transform XML Schema to RDF
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 13 May 2009 22:49:32 +0100
RE:  Using XSLT to transform XML Schema to RDF
> I am working on a Semantic Web project and have the need to 
> convert complex XML Schema documents into OWL 
> representations. Ilooked around and found a couple of efforts:
> 
>   http://xml2owl.sourceforge.net/
> 
>   http://rhizomik.net/redefer-services/xsl/xsd2owl.xsl
> 
> 
> Neither of which were able to work on the schema documents 
> that I am trying to process:
> 
>   http://schemas.opengis.net/wcs/1.1/
> 

It doesn't greatly surprise me that such efforts don't work on a real schema
document. In my view, trying to write such a process that starts with schema
documents as input is pretty well doomed to failure, because there are so
many different ways of writing the same schema at the surface XML level. You
should take advantage of an existing schema processor that knows how to
translate schema documents into schema components (the abstract internal
model of a schema). If you want to use tools such as XSLT, then you want an
XML representation of the schema components, and one such is the SCM model
exported by Saxon-SA, which is very close to the abstract model described in
the schema specs. (unfortunately, though, it's poorly documented.)

I'm afraid I have no idea what's then involved in converting this to OWL,
but at least the first stage of dealing with surface syntax is out of the
way by then.

Michael Kay
http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.