Before heading down the xslt road, you may want to checkout TBC's built
in tool to turn xml into owl.  I don't know much about it, but I'm sure
others here do.
 
If you want to try xslt though, the first step is to create an owl model
(maybe modelling a small part of the info in your xml) that is
structured much like your xml.  e.g. create an RNC class with literals
that correspond to the attribute list in your xml, and objectProperties
corresponding to "inter class" relationships in your XML.  Then create
some dummy instance data in an instance model that imports your just
created OWL model, and export the instance model as RDF/XML to see what
you need your xslt script to produce from your XML.
 
If you've never done xslt, you're going to have to learn at least the
basics of it first though.

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 04, 2008 12:38 PM
To: [email protected]
Subject: [tbc-users] Re: automatic XML to OWL transformation



Hi Jeff,

Many thanks for your suggestion but I don't know how the XSLT is setup /
coded to transform a simple XML file to an OWL file.


Here is a sample file attached. Maybe you can have a better idea what
I'm trying to do.

Cheers,

Dave

On Nov 4, 5:23 pm, "Schmitz, Jeffrey A" <[EMAIL PROTECTED]>
wrote:
> Hi Dave,
>    RDF/XML is the name of an XML format in which OWL can be fully
expressed.  (Other, non-XML based formats in which OWL model can be
expressed are Turtle and N3).
> 
>    You could certainly run an XSLT script as a scheduled script.
> 
>    However, importing an OWL model into an RDBMS that would be easily
usable by other, non-OWL applications I think would be the hard part,
but perhaps there are some solutions for this out there too?
> 
> Jeff
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 04, 2008 11:06 AM
> To: TopBraid Composer Users
> Subject: [tbc-users] Re: automatic XML to OWL transformation
> 
> Hi Jeff,
> 
> I'm trying to go from XML to OWL, not RDF.
> 
> I'm looking for a slolution I can run as a script (e.g a scheduled
script that does the job via Linux crontab).
> 
> Possibly to merge XMLs, transform them to OWL then import to an RDBMS.
> 
> Cheers,
> 
> Dave.
> 
> On Nov 4, 4:17 pm, "Schmitz, Jeffrey A" <[EMAIL PROTECTED]>
> wrote:
> > I've not looked too hard for pre-built solutions, but we just use
xslt
> > to tranform xml to rdf/xml and it's usually pretty simple and we get
a
> > lot more control of exactly how the transform occurs than you would
> > probably get in a "pre-built" solution.
> 
> > As for "importing into a relational database", if you're talking
about
> > importing the rdf/xml, jena or TBC will do that for you
automatically.
> > However, the schema they use is not really usuable for external
> > non-RDF applications.
> 
> > Jeff
> 
> > ________________________________
> 
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, November 04, 2008 10:09 AM
> > To: [email protected]
> > Subject: [tbc-users] automatic XML to OWL transformation
> 
> > Hi All,
> 
> > I'm working on a project; trying to transform cXML/XML files to OWL
> > then import them to a relational database for easy sharing by SQL
run
> > from different applications?
> 
> > Does anyone know the best method I can use to automatically
transform
> > a cXML file to OWL file? Is there any tool in LINUX or Windows that
> > exists for doing that?
> 
> > Cheers,
> 
> > Dave



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to