Fix the issues found by Julien
authorBoris Villazon-Terrazas <bvillazon@fi.upm.es>
Wed, 11 Apr 2012 15:38:08 +0200
changeset 84 1105058eb3c9
parent 83 2b3ad9b7b007
child 85 8b381d48f912
Fix the issues found by Julien
D002-1table2columns1row/directGraph.ttl
D005-1table3columns3rows2duplicates/directGraph.ttl
D009-2tables1primarykey1foreignkey/mappedd.nq
D014-3tables1primarykey1foreignkey/mappedc.nq
D014-3tables1primarykey1foreignkey/r2rmlb.ttl
D016-1table1primarykey10columns3rowsSQLdatatypes/mappedb.nq
D016-1table1primarykey10columns3rowsSQLdatatypes/mappede.nq
ts1.zip
--- a/D002-1table2columns1row/directGraph.ttl	Mon Apr 02 15:20:35 2012 +0200
+++ b/D002-1table2columns1row/directGraph.ttl	Wed Apr 11 15:38:08 2012 +0200
@@ -1,3 +1,3 @@
 _:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Student> .
 _:a <Student#ID> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
-_:a <Student#Name> "Venus" .
+_:a <Student#Name> "Venus" .
\ No newline at end of file
--- a/D005-1table3columns3rows2duplicates/directGraph.ttl	Mon Apr 02 15:20:35 2012 +0200
+++ b/D005-1table3columns3rows2duplicates/directGraph.ttl	Wed Apr 11 15:38:08 2012 +0200
@@ -11,5 +11,4 @@
 _:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <IOUs> .
 _:c <IOUs#fname> "Bob" .
 _:c <IOUs#lname> "Smith" .
-_:c <IOUs#amount> "3.0E1"^^<http://www.w3.org/2001/XMLSchema#double> .
-
+_:c <IOUs#amount> "3.0E1"^^<http://www.w3.org/2001/XMLSchema#double> .
\ No newline at end of file
--- a/D009-2tables1primarykey1foreignkey/mappedd.nq	Mon Apr 02 15:20:35 2012 +0200
+++ b/D009-2tables1primarykey1foreignkey/mappedd.nq	Wed Apr 11 15:38:08 2012 +0200
@@ -1,6 +1,6 @@
 <http://example.com/resource/student_Venus%20Williams> <http://xmlns.com/foaf/0.1/name> "Venus Williams" . 
-<http://example.com/resource/student_Venus%20Williams> <http://example.com/numSport> "1" . 
+<http://example.com/resource/student_Venus%20Williams> <http://example.com/numSport> "1"^^<http://www.w3.org/2001/XMLSchema#integer> . 
 <http://example.com/resource/student_Demi%20Moore> <http://xmlns.com/foaf/0.1/name> "Demi Moore" . 
-<http://example.com/resource/student_Demi%20Moore> <http://example.com/numSport> "0" . 
+<http://example.com/resource/student_Demi%20Moore> <http://example.com/numSport> "0"^^<http://www.w3.org/2001/XMLSchema#integer> . 
 
 
--- a/D014-3tables1primarykey1foreignkey/mappedc.nq	Mon Apr 02 15:20:35 2012 +0200
+++ b/D014-3tables1primarykey1foreignkey/mappedc.nq	Wed Apr 11 15:38:08 2012 +0200
@@ -4,11 +4,11 @@
 <http://example.com/emp/7369> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.com/emp/etype/PART_TIME> .
 <http://example.com/emp/7369> <http://example.com/emp#empno> "7369"^^<http://www.w3.org/2001/XMLSchema#integer> .
 <http://example.com/emp/7369> <http://example.com/emp#job> "CLERK"  .
-<http://example.com/emp/7369> <http://example.com/emp#deptNum> "10"^^<http://www.w3.org/2001/XMLSchema#positiveInteger> .
+<http://example.com/emp/7369> <http://example.com/emp#deptNum> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
 <http://example.com/emp/7369> <http://example.com/emp#etype> "PART_TIME" .
 <http://example.com/emp/7369> <http://example.com/emp#c_ref_deptno> _:Department10 .
 <http://example.com/emp/7369> <http://example.com/emp#name> "SMITH"  .
-_:Department10 <http://example.com/dept#deptno> "10"^^<http://www.w3.org/2001/XMLSchema#integer>  .
+_:Department10 <http://example.com/dept#deptno> "10"^^<http://www.w3.org/2001/XMLSchema#positiveInteger>  .
 _:Department10 <http://example.com/dept#name> "APPSERVER" .
 _:Department10 <http://example.com/dept#location> "NEW YORK" .
 _:Department10 <http://example.com/dept#COMPANY> "EXAMPLE Corporation" .
--- a/D014-3tables1primarykey1foreignkey/r2rmlb.ttl	Mon Apr 02 15:20:35 2012 +0200
+++ b/D014-3tables1primarykey1foreignkey/r2rmlb.ttl	Wed Apr 11 15:38:08 2012 +0200
@@ -19,7 +19,7 @@
        """ ];
 
     rr:subjectMap [ rr:column "deptId"; rr:termType rr:BlankNode;
-                    rr:inverseExpression "{\"deptno\"} = substr({"deptId"},length('Department')+1)" ];
+                    rr:inverseExpression "{\"deptno\"} = substr({deptId},length('Department')+1)" ];
 
     rr:predicateObjectMap
     [ 
--- a/D016-1table1primarykey10columns3rowsSQLdatatypes/mappedb.nq	Mon Apr 02 15:20:35 2012 +0200
+++ b/D016-1table1primarykey10columns3rowsSQLdatatypes/mappedb.nq	Wed Apr 11 15:38:08 2012 +0200
@@ -1,5 +1,5 @@
 <http://example.com/Patient10> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
-<http://example.com/Patient10> <http://example.com/weight> "80.25E0"^^<http://www.w3.org/2001/XMLSchema#double> .
+<http://example.com/Patient10> <http://example.com/weight> "8.025E1"^^<http://www.w3.org/2001/XMLSchema#double> .
 <http://example.com/Patient10> <http://example.com/height> "1.65E0"^^<http://www.w3.org/2001/XMLSchema#double> .
 <http://example.com/Patient11> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
 <http://example.com/Patient11> <http://example.com/weight> "70.22E0"^^<http://www.w3.org/2001/XMLSchema#double> .
--- a/D016-1table1primarykey10columns3rowsSQLdatatypes/mappede.nq	Mon Apr 02 15:20:35 2012 +0200
+++ b/D016-1table1primarykey10columns3rowsSQLdatatypes/mappede.nq	Wed Apr 11 15:38:08 2012 +0200
@@ -3,5 +3,4 @@
 <http://example.com/Patient11> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
 <http://example.com/Patient11> <http://example.com/photo> <data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P5//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==> .
 <http://example.com/Patient12> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
-<http://example.com/Patient12> <http://example.com/photo> <data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P5//6/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==> .
-
+<http://example.com/Patient12> <http://example.com/photo> <data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P5//6/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==> .
\ No newline at end of file
Binary file ts1.zip has changed