<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="xmlspec.xsl"?>
<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification V2.1//EN" "http://www.w3.org/2002/xmlspec/dtd/2.10/xmlspec.dtd" [
<!ENTITY version "1.0">
<!ENTITY ne "≠">
<!ENTITY ouml "ö">
<!ENTITY times "×">
<!ENTITY order "£">
<!ENTITY le "≤">
<!ENTITY cellback "#d0d9fa">
<!ENTITY eacute "é">
<!ENTITY copy "©">
<!ENTITY sect "§">
<!ENTITY mdash "&#8212;">
<!ENTITY nbsp "&#160;">
]>
<spec w3c-doctype="wd">
  <header>
    <title>Schemas for a Direct Mapping of Relational Data to RDF</title>
    <w3c-designation>Internal Working Draft</w3c-designation>
    <w3c-doctype>Editor's Draft 2 June 2010</w3c-doctype>
    <!-- notice>Notice this!!</notice -->
    <publoc>
      $Id: schema.xml,v 1.1 2010/06/29 16:49:43 eric Exp $
    </publoc>
    <prevlocs>
      <loc href="http://www.w3.org/2001/sw/rdb2rdf/directGraph/schema">http://www.w3.org/2001/sw/rdb2rdf/directGraph/schema</loc>
    </prevlocs>
    <latestloc>
      <loc href="http://www.w3.org/2001/sw/rdb2rdf/directGraph/schema">http://www.w3.org/2001/sw/rdb2rdf/directGraph/schema</loc>
    </latestloc>
    <authlist>
      <author>
	<name>Juan Sequeda</name>
	<affiliation>W3C</affiliation>
	<email href="mailto:juanfederico@gmail.com">juanfederico@gmail.com</email>
	<role>Editor</role>
      </author>
    </authlist>
    <abstract>
      <p>
<a href=".">A Direct Mapping of Relational Data to RDF</a> defines RDF graphs for representing relational databases.
This document provides RDF Schema and OWL definitions for those graphs.
      </p>
    </abstract>
    <status>
      <p>
	<em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at http://www.w3.org/TR/.</em>
      </p>
      <p>This is a <a href="http://www.w3.org/2005/10/Process-20051014/tr.html#RecsWD">Editors' Working Draft</a>.</p>
      <p>The documents produced by this Working Group are:</p>
      <ul>
	<li>RDB2RDF Mapping Language (R2RML) Specification</li>
	<li>RDB2RDF Mapping Language (R2RML) Conformance Tests</li>
      </ul>
      <p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a rel="disclosure" href="http://www.w3.org/2004/01/pp-impl/35463/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.</p>
    </status>
    <languages>
      <language>en</language>
    </languages>
    <revisiondesc>
      <p>
	<emph>Last Modified: $Id: schema.xml,v 1.1 2010/06/29 16:49:43 eric Exp $</emph>
      </p>
    </revisiondesc>
  </header>
  <body>
    <div1 id="intro">
      <head>Introduction</head>
      <p>
<a href=".">A Direct Mapping of Relational Data to RDF</a> defines a simple transformation, providing a basis for defining and comparing more intricate transformations.
This document includes an informal and a formal description of the transformation, as well as a number of refinements intended both to meet use cases and establish a pattern for defing extensions.
      </p>
    </div1>
    <div1 id="langs">
      <head>RDF Structure Definition Languages</head>
      <div2 id="RDFS">
	<head>RDF Schema</head>
	<p>@@intro to rdf schema terms used, e.g. domain, range@@</p>
      </div2>
      <div2 id="OWL">
	<head>Web Ontology Language (OWL)</head>
	<p>@@intro to OWL terms used, e.g. class, ifp@@</p>
      </div2>
    </div1>

    <div1 id="direct">
      <head>Schema for a Direct Mapping Definition</head>
      <p>
@@
      </p>
    </div1>

    <div1 id="withPK">
      <head>Schema for a Mapping With Primary Keys</head>
      <p>
@@
      </p>
    </div1>

    <div1 id="withTypes">
      <head>Schema for a Mapping With Type Annotations</head>
      <p>
@@
      </p>
    </div1>

    <div1 id="withM2M">
      <head>Schema for a Mapping With Many to Many Relations</head>
      <p>
@@
      </p>
    </div1>

    <div1 id="refs">
      <head>References</head>
    </div1>
  </body>
  <back>
    <blist>
      <bibl id="SPARQL" href="http://www.w3.org/TR/rdf-sparql-query/">SPARQL Query Language for RDF, Eric Prud'hommeaux and Andy Seaborne 2008.</bibl>
      <bibl id="SQL" href="http://en.wikipedia.org/wiki/SQL">SQL.<ednote><edtext>need a better reference here</edtext></ednote></bibl>
      <bibl id="RDF" href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/">Resource Description Framework (RDF): Concepts and Abstract Syntax, G. Klyne, J. J. Carroll,  Editors, W3C Recommendation, 10 February 2004</bibl>
      <bibl id="ReuseableIDs" href="http://esw.w3.org/topic/Rdb2RdfXG/ReusableIdentifier">Reusable Identifiers in the RDB2RDF mapping language, Michael Hausenblas and Themis Palpanas, 2009.</bibl>
      <bibl id="URI" href="http://tools.ietf.org/html/rfc3986">RFC3986 - Uniform Resource Identifier (URI): Generic Syntax</bibl>
    </blist>
    <div1 id="sec-cvsLog">
      <head>CVS History</head>
      <div2 id="sec-cvsLog-meat">
	<pre>

	</pre>
      </div2>
    </div1>
  </back>
</spec>
       
