Include new direct graph
authorBoris Villazon-Terrazas <bvillazon@fi.upm.es>
Mon, 27 Feb 2012 01:15:44 +0100
changeset 49 987f64298b48
parent 48 b69acd2b99dc
child 50 dbe75535575f
Include new direct graph
D009-2tables1primarykey1foreignkey/r2rmla.ttl
D009-2tables1primarykey1foreignkey/r2rmlb.ttl
D014-3tables1primarykey1foreignkey/r2rmlb.ttl
D014-3tables1primarykey1foreignkey/r2rmlc.ttl
D014-3tables1primarykey1foreignkey/r2rmld.ttl
D016-1table1primarykey10columns3rowsSQLdatatypes/directGraph.nt
D016-1table1primarykey10columns3rowsSQLdatatypes/manifest.ttl
ts1.zip
--- a/D009-2tables1primarykey1foreignkey/r2rmla.ttl	Sat Feb 25 21:18:38 2012 +0100
+++ b/D009-2tables1primarykey1foreignkey/r2rmla.ttl	Mon Feb 27 01:15:44 2012 +0100
@@ -29,7 +29,7 @@
     rr:predicateObjectMap
     [ 
       rr:predicateMap [ rr:constant <http://example.com/ontology/practises> ]; 
-      rr:refObjectMap    [ 
+      rr:objectMap    [ 
            rr:parentTriplesMap <TriplesMap2>;
            rr:joinCondition [
 				rr:child "Sport" ;
--- a/D009-2tables1primarykey1foreignkey/r2rmlb.ttl	Sat Feb 25 21:18:38 2012 +0100
+++ b/D009-2tables1primarykey1foreignkey/r2rmlb.ttl	Mon Feb 27 01:15:44 2012 +0100
@@ -31,7 +31,7 @@
     rr:predicateObjectMap
     [ 
       rr:predicateMap [ rr:constant <http://example.com/ontology/practises> ]; 
-      rr:refObjectMap    [ 
+      rr:objectMap    [ 
            rr:parentTriplesMap <TriplesMap2>;
            rr:joinCondition [
 				rr:child "Sport" ;
--- a/D014-3tables1primarykey1foreignkey/r2rmlb.ttl	Sat Feb 25 21:18:38 2012 +0100
+++ b/D014-3tables1primarykey1foreignkey/r2rmlb.ttl	Mon Feb 27 01:15:44 2012 +0100
@@ -124,7 +124,7 @@
 
     rr:predicateObjectMap [
       rr:predicateMap [ rr:constant emp:c_ref_deptno ];
-      rr:refObjectMap    [
+      rr:objectMap    [
         rr:parentTriplesMap <TriplesMap1>;
         rr:joinCondition [
           rr:child "deptno";
--- a/D014-3tables1primarykey1foreignkey/r2rmlc.ttl	Sat Feb 25 21:18:38 2012 +0100
+++ b/D014-3tables1primarykey1foreignkey/r2rmlc.ttl	Mon Feb 27 01:15:44 2012 +0100
@@ -116,7 +116,7 @@
 
     rr:predicateObjectMap [
       rr:predicateMap [ rr:constant emp:c_ref_deptno ];
-      rr:refObjectMap    [
+      rr:objectMap    [
         rr:parentTriplesMap <TriplesMap1>;
         rr:joinCondition [
           rr:child "deptno";
--- a/D014-3tables1primarykey1foreignkey/r2rmld.ttl	Sat Feb 25 21:18:38 2012 +0100
+++ b/D014-3tables1primarykey1foreignkey/r2rmld.ttl	Mon Feb 27 01:15:44 2012 +0100
@@ -125,7 +125,7 @@
 
     rr:predicateObjectMap [
       rr:predicateMap [ rr:constant emp:c_ref_deptno ];
-      rr:refObjectMap    [
+      rr:objectMap    [
         rr:parentTriplesMap <TriplesMap1>;
         rr:joinCondition [
           rr:child "deptno";
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/D016-1table1primarykey10columns3rowsSQLdatatypes/directGraph.nt	Mon Feb 27 01:15:44 2012 +0100
@@ -0,0 +1,33 @@
+<Patient/ID-10> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Patient> .
+<Patient/ID-10> <Patient#ID> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<Patient/ID-10> <Patient#FirstName> "Monica" .
+<Patient/ID-10> <Patient#LastName> "Geller" .
+<Patient/ID-10> <Patient#Sex> "female" .
+<Patient/ID-10> <Patient#Weight> "80.25"^^<http://www.w3.org/2001/XMLSchema#double> .
+<Patient/ID-10> <Patient#Height> "1.65"^^<http://www.w3.org/2001/XMLSchema#double> .
+<Patient/ID-10> <Patient#BirthDate> "1981-10-10"^^<http://www.w3.org/2001/XMLSchema#date> .
+<Patient/ID-10> <Patient#EntranceDate> "2009-10-10 12:12:22"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<Patient/ID-10> <Patient#PaidInAdvance> "false"^^<http://www.w3.org/2001/XMLSchema#boolean> .
+<Patient/ID-10> <Patient#Photo> "eILK"^^<http://www.w3.org/2001/XMLSchema#base64Binary> .
+<Patient/ID-11> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Patient> .
+<Patient/ID-11> <Patient#ID> "11"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<Patient/ID-11> <Patient#FirstName> "Rachel" .
+<Patient/ID-11> <Patient#LastName> "Green" .
+<Patient/ID-11> <Patient#Sex> "female" .
+<Patient/ID-11> <Patient#Weight> "70.22"^^<http://www.w3.org/2001/XMLSchema#double> .
+<Patient/ID-11> <Patient#Height> "1.7"^^<http://www.w3.org/2001/XMLSchema#double> .
+<Patient/ID-11> <Patient#BirthDate> "1982-11-12"^^<http://www.w3.org/2001/XMLSchema#date> .
+<Patient/ID-11> <Patient#EntranceDate> "2008-11-12 09:45:44"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<Patient/ID-11> <Patient#PaidInAdvance> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
+<Patient/ID-11> <Patient#Photo> "utH1"^^<http://www.w3.org/2001/XMLSchema#base64Binary> .
+<Patient/ID-12> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Patient> .
+<Patient/ID-12> <Patient#ID> "12"^^<http://www.w3.org/2001/XMLSchema#integer> .
+<Patient/ID-12> <Patient#FirstName> "Chandler" .
+<Patient/ID-12> <Patient#LastName> "Bing" .
+<Patient/ID-12> <Patient#Sex> "male" .
+<Patient/ID-12> <Patient#Weight> "90.31"^^<http://www.w3.org/2001/XMLSchema#double> .
+<Patient/ID-12> <Patient#Height> "1.76"^^<http://www.w3.org/2001/XMLSchema#double> .
+<Patient/ID-12> <Patient#BirthDate> "1978-04-06"^^<http://www.w3.org/2001/XMLSchema#date> .
+<Patient/ID-12> <Patient#EntranceDate> "2007-03-12 02:13:14"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<Patient/ID-12> <Patient#PaidInAdvance> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
+<Patient/ID-12> <Patient#Photo> "0bfl+w=="^^<http://www.w3.org/2001/XMLSchema#base64Binary> .
\ No newline at end of file
--- a/D016-1table1primarykey10columns3rowsSQLdatatypes/manifest.ttl	Sat Feb 25 21:18:38 2012 +0100
+++ b/D016-1table1primarykey10columns3rowsSQLdatatypes/manifest.ttl	Mon Feb 27 01:15:44 2012 +0100
@@ -7,9 +7,21 @@
 	dcterms:title "One table, one primary key, ten columns, three rows with sql datatypes" ;
 	dcterms:identifier "D016-1table1primarykey10columns3rowsSQLdatatypes" ;
 	rdb2rdftest:sqlScriptFile "create.sql";
-	rdb2rdftest:relatedTestCase <tc0016a>, <tc0016b>, <tc0016c>, <tc0016d>, <tc0016e> ;
+	rdb2rdftest:relatedTestCase <dg0016>, <tc0016a>, <tc0016b>, <tc0016c>, <tc0016d>, <tc0016e> ;
 .
 
+<dg0016> a rdb2rdftest:DirectMapping ;	
+	dcterms:title "Generation of direct graph from a database with sql datatypes"; 
+	dcterms:identifier "DirectGraphTC0016" ;
+	test:purpose "Tests the generation of direct graph from a database with sql datatypes" ;
+	test:specificationReference "#lead-ex" ;
+	test:reviewStatus test:unreviewed ;
+	rdb2rdftest:database <d016> ;
+	rdb2rdftest:hasExpectedOutput true ;	
+	rdb2rdftest:output "directGraph.nt" ;
+.
+
+
 <tc0016a> a rdb2rdftest:R2RML ;	
 	dcterms:title "Table with datatypes" ; 
 	dcterms:identifier "R2RMLTC0016a" ;
Binary file ts1.zip has changed