--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/1table1row/create.sql Tue Jan 11 20:26:09 2011 +0100
@@ -0,0 +1,4 @@
+CREATE TABLE Student (
+Name varchar(50)
+);
+INSERT INTO Student (Name) VALUES ("Venus");
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/1table1row/directGraph.ttl Tue Jan 11 20:26:09 2011 +0100
@@ -0,0 +1,1 @@
+# empty graph
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/1table1row/mapped.trig Tue Jan 11 20:26:09 2011 +0100
@@ -0,0 +1,4 @@
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix ex: <http://example.com/> .
+
+ex:Venus foaf:name "Venus".
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/1table1row/r2rml.ttl Tue Jan 11 20:26:09 2011 +0100
@@ -0,0 +1,19 @@
+@prefix rr: <http://www.w3.org/ns/r2rml#> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix ex: <http://example.com/> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+
+<#TriplesMap1>
+ a rr:TriplesMap;
+
+ rr:tableOwner "boricles";
+ rr:tableName "Student";
+
+ rr:subjectMap [ rr:template "http://example.com/{Name}" ];
+
+ rr:predicateObjectMap
+ [
+ rr:predicateMap [ rr:predicate foaf:name ];
+ rr:objectMap [ rr:column "Name" ]
+ ]
+ .