1table1row updated
authorBoris Villazon-Terrazas <bvillazon@fi.upm.es>
Tue, 01 Feb 2011 02:08:49 +0100
changeset 2 1e940dd73376
parent 1 fa59a1220609
child 3 f52eb3747683
1table1row updated
1table1row/directGraph.ttl
1table1row/mappeda.trig
1table1row/mappedb.trig
1table1row/r2rmla.ttl
1table1row/r2rmlb.ttl
--- a/1table1row/directGraph.ttl	Tue Jan 11 20:26:09 2011 +0100
+++ b/1table1row/directGraph.ttl	Tue Feb 01 02:08:49 2011 +0100
@@ -1,1 +1,3 @@
-# empty graph
+@prefix ex: <http://example.com/> .
+
+ _:b1 ex:name "Venus".
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/1table1row/mappeda.trig	Tue Feb 01 02:08:49 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/mappedb.trig	Tue Feb 01 02:08:49 2011 +0100
@@ -0,0 +1,4 @@
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix ex: <http://example.com/> .
+
+_:Venus foaf:name "Venus".
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/1table1row/r2rmla.ttl	Tue Feb 01 02:08:49 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" ]
+    ]
+    .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/1table1row/r2rmlb.ttl	Tue Feb 01 02:08:49 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:column "Name"; rr:termtype "BlankNode" ]; 
+	
+    rr:predicateObjectMap
+    [ 
+      rr:predicateMap [ rr:predicate foaf:name ]; 
+      rr:objectMap    [ rr:column "Name" ]
+    ]
+    .