W3C home > Mailing lists > Public > www-talk@w3.org > January to February 2003

Re: Urgent : HOW to Extract rdf data from xml file

From: S. Mike Dierken <mdierken@hotmail.com>
Date: Wed, 22 Jan 2003 21:48:22 -0800
To: <www-talk@w3.org>
Message-ID: <OE67J2I13pL32ctFfj800002758@hotmail.com>

> ----- Original Message -----
> From: amit_opus
> Hi Friends ,
>    Can anyone tell me how to create an rdf  file from xml file.
> My input file should be xml and it should provide me its RDF as output.
> I have tried the .XSL to parse the XML file But it did not work out.

I'm not an RDF knowledgeable person, but I'll try to help as much as I can.

RDF is meant to represent information (typically metadata about Web
resources) and has a certain syntax/appearance when saved as XML.
XML can be used to either highlight ('markup') sections of information
within text, or represent information in a structured format.

There is no general way to take some unknown XML and output it as RDF. You
need to understand the meaning and structure of the XML - the information it
is trying to represent - and then express that same information back into
the RDF way of describing information.

If you want to convert some XML (that you have a good understanding of) into
RDF with XML syntax you can use XSLT to do that conversion. The XSLT file
(which you write for each type of XML input and each type of output) would
have all the rules for extracting the information you want from the input
XML and specifies what the output will look like.

Here are some links that might be of use (I apologize if this is information
you already know):
What is RDF? by Tim Bray (who knows his stuff)

RDF Tutorial by Pierre-Antoine Champin
Received on Thursday, 23 January 2003 00:47:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:04 UTC