<?xml version='1.0' encoding='iso-8859-1'?><?xml-stylesheet type='text/xsl' href='https://w3future.com/w3f/w3f.xsl' ?>
<html xmlns="http://www.w3.org/2002/06/xhtml2" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xf="http://www.w3.org/2002/xforms/cr" xml:lang="en" xml:base="https://w3future.com/xr/index.txt">
<head>
<title>RDF Extraction from XML (XR)</title>
</head>
<body>
<section id="content">
	<h>RDF Extraction from XML (XR)</h>
	<p>From structure to semantics</p>
	<section id="note">
		<h>Last Update</h>
		<p>10/16/2005; 1:29:08 AM</p>
		<p id="alternates" class="buttons">
			<l href="https://w3future.com/xr/index.xml?notransform" rel="alternate" type="application/xml" title="See this web page with XHTML 2.0 technology."><span>Try</span> XHTML 2.0</l>
			<l href="view-source:https://w3future.com/xr/index.xml?notransform" title="View the XHTML 2.0 source of this page."><span>Src</span> XHTML 2.0</l>
			<l href="https://w3future.com/tools/xr.pl?xr=https://w3future.com/xr/w3f.xml&amp;xml=https://w3future.com/xr/index.xml%3Fnotransform" rel="meta" type="application/rdf+xml" title="RDF metadata"><span>RDF</span> Metadata</l>
		</p>
		<xi:include href="https://w3future.com/w3f/buttons.xml" />
	</section><section>
<h>Purpose</h>
<p>XR (XML -> RDF) is a transformation format that indicates how RDF can be extracted from
a certain XML format. Once a transformation for a certian XML format is defined,
RDF can be automatically extracted from every XML file in that format.</p>
</section>
<section>
<h>Understanding the format</h>
<p>It is clear that few people find RDF easy to understand.
Creating a tranformation to RDF adds another level of complexity.
So XR will probably be usable by a small number of people.
This is not a problem, because only one transformation has to be defined
for each XML format.</p>
<p>Required knowledge for XR is the RDF model and XPath.
Because almost everyone doesn't like the standard RDF/XML syntax, XR
uses it's own simplified RDF/XML syntax. The tutorial will first show
how to create RDF in this format, and then show how to adapt the static
RDF to an XML to RDF transformation by adding XPath expressions.</p>
</section>
<section>
<h>Execute XR transformation</h>
<form method="get" action="https://w3future.com/tools/xr.pl" target="_blank">
<xf:input id="xr"><xf:label>XR document URI:</xf:label></xf:input>
<xf:input id="xml"><xf:label>Source XML: (leave empty to convert the XR document to XSL)</xf:label></xf:input>
<xf:submit><xf:label>Transform</xf:label></xf:submit>
</form>
</section>
<section>
<h>Technology</h>
<p>To perform an XR transformation, it is first converted to an XSLT tranformation.
This is done with <a href="https://w3future.com/tools/xr.xsl">another XSLT transformation</a>.
The execution of the transformation above is done with
<a href="https://w3future.com/tools/xr.txt">this perl script</a>.</p>
</section><xi:include href="https://w3future.com/tools/rdf.php?about=https://w3future.com/xr/index.txt" /></section>
<section id="navigation"><xi:include href="https://w3future.com/w3f/sections.xml" /></section>
<section id="sidebar"><xi:include href="https://w3future.com/weblog/sidebars/xr.opml" /></section>
</body>
</html>