Minor verification
authorBoris Villazon-Terrazas <bvillazon@fi.upm.es>
Tue, 13 Mar 2012 02:41:17 +0100
changeset 71 9cf64d1fbc6c
parent 70 7866839f6bb2
child 72 800dd85be28e
Minor verification
.hgignore
D002-1table2columns1row/mappedc.nq
D002-1table2columns1row/mappede.nq
D002-1table2columns1row/mappedf.nq
D002-1table2columns1row/mappedg.nq
D002-1table2columns1row/mappedh.nq
D003-1table3columns1row/mappeda.nq
D003-1table3columns1row/mappedd.nq
D003-1table3columns1row/r2rmld.ttl
D004-1table2columns1row/mappedb.nq
D012-2tables2duplicates0nulls/mappedc.nq
D012-2tables2duplicates0nulls/mappedd.nq
D014-3tables1primarykey1foreignkey/mappede.nq
D014-3tables1primarykey1foreignkey/mappedf.nq
D014-3tables1primarykey1foreignkey/r2rmle.ttl
D014-3tables1primarykey1foreignkey/r2rmlf.ttl
D015-1table3columns1composityeprimarykey3rows2languages/mappedb.nq
D019-1table1primarykey3columns3rows/mappedb.nq
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Tue Mar 13 02:41:17 2012 +0100
@@ -0,0 +1,1 @@
+.DS_Store
--- a/D002-1table2columns1row/mappedf.nq	Tue Mar 13 02:30:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<http://example.com/10Venus> <http://xmlns.com/foaf/0.1/name> "Venus" .
-<http://example.com/10Venus> <http://example.com/id> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://example.com/10Venus> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
--- a/D003-1table3columns1row/mappeda.nq	Tue Mar 13 02:30:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<http://example.com/Student10VenusWilliams> <http://xmlns.com/foaf/0.1/lastName> "Williams" .
-<http://example.com/Student10VenusWilliams> <http://xmlns.com/foaf/0.1/firstName> "Venus" .
-<http://example.com/Student10VenusWilliams> <http://example.com/id> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<http://example.com/Student10VenusWilliams> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
--- a/D003-1table3columns1row/mappedd.nq	Tue Mar 13 02:30:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-<http://example.com/Student10VenusWilliams> <http://example.com/firstName> <http://example.com/data/Venus> .
-<http://example.com/Student10VenusWilliams> <http://example.com/lastName> <http://example.com/data/Williams> .
-<http://example.com/Student10VenusWilliams> <http://example.com/id> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
-
--- a/D003-1table3columns1row/r2rmld.ttl	Tue Mar 13 02:30:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-@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#> .
-@base <http://mappingpedia.org/rdb2rdf/r2rml/tc/> .
-
-<TriplesMap1>
-     a rr:TriplesMap;
-
-     rr:logicalTable [ 
-                      rr:sqlQuery """
-                     SELECT ('Student' || "ID" || "FirstName" || "LastName") as StudentID,
-                            "ID",
-                            "FirstName",
-                            "LastName"
-                     FROM "Student"
-                     """
-                     ];
-
-    rr:subjectMap [ rr:template "http://example.com/{StudentID}"; rr:termType rr:IRI;  ];
-	
-    rr:predicateObjectMap
-    [ 
-      rr:predicate		ex:id ; 
-      rr:objectMap		[ rr:column "\"ID\""; rr:datatype xsd:integer ]
-    ];
-
-    rr:predicateObjectMap
-    [ 
-      rr:predicate		ex:firstName ; 
-      rr:objectMap		[ rr:template "http://example.com/data/{\"FirstName\"}";
-						rr:termType rr:IRI ]
-    ];
-
-    rr:predicateObjectMap
-    [ 
-      rr:predicate		ex:lastName ; 
-      rr:objectMap		[ rr:template "http://example.com/data/{\"LastName\"}";
-						rr:termType rr:IRI ]
-    ]
-    .
--- a/D004-1table2columns1row/mappedb.nq	Tue Mar 13 02:30:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-_:SportTennis <http://xmlns.com/foaf/0.1/name> "Tennis" .
-_:SportTennis <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Sport> .
-_:StudentVenus <http://xmlns.com/foaf/0.1/name> "Venus" .
-_:StudentVenus <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/Student> .
--- a/D014-3tables1primarykey1foreignkey/mappede.nq	Tue Mar 13 02:30:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-<http://example.com/emp/7369> <http://example.com/emp/likes/Playing> "Soccer" <http://example.com/ns#LikesGraph> .
-<http://example.com/emp/7369> <http://example.com/emp/likes/Watching> "Basketball" <http://example.com/ns#LikesGraph> .
\ No newline at end of file
--- a/D014-3tables1primarykey1foreignkey/mappedf.nq	Tue Mar 13 02:30:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-<http://data.example.com/employee/7369> <http://example.com/ns#role> <http://data.example.com/roles/general-office> .
\ No newline at end of file
--- a/D014-3tables1primarykey1foreignkey/r2rmle.ttl	Tue Mar 13 02:30:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-@prefix rr: <http://www.w3.org/ns/r2rml#> .
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix ex: <http://example.com/ns#> .
-@prefix emp: <http://example.com/emp#> .
-@prefix dept: <http://example.com/dept#> .
-@prefix likes: <http://example.com/likes#> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-@base <http://mappingpedia.org/rdb2rdf/r2rml/tc/> .
-
-<TriplesMap3>
-    a rr:TriplesMap;
-    rr:logicalTable [ rr:sqlQuery """
-      SELECT ('http://example.com/emp/' || "id") AS empId
-           , ('http://example.com/emp/likes/' || "likeType") AS empLikes
-           , "likedObj"
-        FROM "LIKES"
-      """ ];
-
-    rr:subjectMap [
-      rr:column "empId";
-      rr:graph	ex:LikesGraph ;
-    ];
-
-    rr:predicateObjectMap 
-    [ 
-      rr:predicateMap [ rr:column "empLikes" ];
-      rr:objectMap    [ rr:column "likedObj" ]
-    ]
-    .
\ No newline at end of file
--- a/D014-3tables1primarykey1foreignkey/r2rmlf.ttl	Tue Mar 13 02:30:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-@prefix rr: <http://www.w3.org/ns/r2rml#> .
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix ex: <http://example.com/ns#> .
-@prefix emp: <http://example.com/emp#> .
-@prefix dept: <http://example.com/dept#> .
-@prefix likes: <http://example.com/likes#> .
-@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
-@base <http://mappingpedia.org/rdb2rdf/r2rml/tc/> .
-
-<TriplesMap4>
-	a rr:TriplesMap;
-    rr:logicalTable [ rr:sqlQuery """
-
-        SELECT *, (CASE "job"
-            WHEN 'CLERK' THEN 'general-office'
-            WHEN 'NIGHTGUARD' THEN 'security'
-            WHEN 'ENGINEER' THEN 'engineering'
-        END) ROLE FROM "EMP"
-
-        """ ];
-    rr:subjectMap [
-        rr:template "http://data.example.com/employee/{\"empno\"}";
-    ];
-    rr:predicateObjectMap [
-        rr:predicate ex:role;
-        rr:objectMap [ rr:template "http://data.example.com/roles/{ROLE}" ];
-    ].
-    
\ No newline at end of file