Fixing DM issues reported by Richard
authorBoris Villazon-Terrazas <bvillazon@fi.upm.es>
Sat, 09 Jun 2012 13:03:07 +0200
changeset 93 adefa50f48f0
parent 92 6ff518a4b954
child 94 ee45793062dd
Fixing DM issues reported by Richard
D009-2tables1primarykey1foreignkey/directGraph.ttl
D011-M2MRelations/directGraph.ttl
D014-3tables1primarykey1foreignkey/directGraph.ttl
D017-I18NnoSpecialChars/directGraph.ttl
D021-2tables2primarykeys1foreignkeyReferencesAllNulls/directGraph.ttl
D022-2tables1primarykey1foreignkeyReferencesNoPrimaryKey/directGraph.ttl
D023-2tables2primarykeys2foreignkeysReferencesToNon-primarykeys/directGraph.ttl
D024-2tables2primarykeys1foreignkeyToARowWithSomeNulls/directGraph.ttl
D025-3tables3primarykeys3foreignkeys/directGraph.ttl
rdb2rdf-ts.zip
--- a/D009-2tables1primarykey1foreignkey/directGraph.ttl	Tue May 29 18:06:51 2012 +0200
+++ b/D009-2tables1primarykey1foreignkey/directGraph.ttl	Sat Jun 09 13:03:07 2012 +0200
@@ -4,7 +4,7 @@
 <Student/ID=10> <Student#ID> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
 <Student/ID=10> <Student#Name> "Venus Williams" .
 <Student/ID=10> <Student#Sport> "100"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<Student/ID=10> <Student#ref=Sport> <Sport/ID-100> .
+<Student/ID=10> <Student#ref-Sport> <Sport/ID=100> .
 <Student/ID=20> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Student> .
 <Student/ID=20> <Student#ID> "20"^^<http://www.w3.org/2001/XMLSchema#integer> .
 <Student/ID=20> <Student#Name> "Demi Moore" .
--- a/D011-M2MRelations/directGraph.ttl	Tue May 29 18:06:51 2012 +0200
+++ b/D011-M2MRelations/directGraph.ttl	Sat Jun 09 13:03:07 2012 +0200
@@ -14,24 +14,24 @@
 <Student/ID=12> <Student#LastName> "Villa" .
 <Student_Sport/ID_Student=10;ID_Sport=110> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Student_Sport> .
 <Student_Sport/ID_Student=10;ID_Sport=110> <Student_Sport#ID_Student> "10"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<Student_Sport/ID_Student=10;ID_Sport=110> <Student_Sport#ref=ID_Student> <Student/ID=10> .
+<Student_Sport/ID_Student=10;ID_Sport=110> <Student_Sport#ref-ID_Student> <Student/ID=10> .
 <Student_Sport/ID_Student=10;ID_Sport=110> <Student_Sport#ID_Sport> "110"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<Student_Sport/ID_Student=10;ID_Sport=110> <Student_Sport#ref=ID_Sport> <Sport/ID=110> .
+<Student_Sport/ID_Student=10;ID_Sport=110> <Student_Sport#ref-ID_Sport> <Sport/ID=110> .
 <Student_Sport/ID_Student=11;ID_Sport=111> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Student_Sport> .
 <Student_Sport/ID_Student=11;ID_Sport=111> <Student_Sport#ID_Student> "11"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<Student_Sport/ID_Student=11;ID_Sport=111> <Student_Sport#ref=ID_Student> <Student/ID=11> .
+<Student_Sport/ID_Student=11;ID_Sport=111> <Student_Sport#ref-ID_Student> <Student/ID=11> .
 <Student_Sport/ID_Student=11;ID_Sport=111> <Student_Sport#ID_Sport> "111"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<Student_Sport/ID_Student=11;ID_Sport=111> <Student_Sport#ref=ID_Sport> <Sport/ID=111> .
+<Student_Sport/ID_Student=11;ID_Sport=111> <Student_Sport#ref-ID_Sport> <Sport/ID=111> .
 <Student_Sport/ID_Student=11;ID_Sport=112> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Student_Sport> .
 <Student_Sport/ID_Student=11;ID_Sport=112> <Student_Sport#ID_Student> "11"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<Student_Sport/ID_Student=11;ID_Sport=112> <Student_Sport#ref=ID_Student> <Student/ID=11> .
+<Student_Sport/ID_Student=11;ID_Sport=112> <Student_Sport#ref-ID_Student> <Student/ID=11> .
 <Student_Sport/ID_Student=11;ID_Sport=112> <Student_Sport#ID_Sport> "112"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<Student_Sport/ID_Student=11;ID_Sport=112> <Student_Sport#ref=ID_Sport> <Sport/ID=112> .
+<Student_Sport/ID_Student=11;ID_Sport=112> <Student_Sport#ref-ID_Sport> <Sport/ID=112> .
 <Student_Sport/ID_Student=12;ID_Sport=111> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Student_Sport> .
 <Student_Sport/ID_Student=12;ID_Sport=111> <Student_Sport#ID_Student> "12"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<Student_Sport/ID_Student=12;ID_Sport=111> <Student_Sport#ref=ID_Student> <Student/ID=12> .
+<Student_Sport/ID_Student=12;ID_Sport=111> <Student_Sport#ref-ID_Student> <Student/ID=12> .
 <Student_Sport/ID_Student=12;ID_Sport=111> <Student_Sport#ID_Sport> "111"^^<http://www.w3.org/2001/XMLSchema#integer> .
-<Student_Sport/ID_Student=12;ID_Sport=111> <Student_Sport#ref=ID_Sport> <Sport/ID=111> .
+<Student_Sport/ID_Student=12;ID_Sport=111> <Student_Sport#ref-ID_Sport> <Sport/ID=111> .
 <Sport/ID=110> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>  <Sport> .
 <Sport/ID=110> <Sport#ID> "110"^^<http://www.w3.org/2001/XMLSchema#integer> .
 <Sport/ID=110> <Sport#Description> "Tennis" .
--- a/D014-3tables1primarykey1foreignkey/directGraph.ttl	Tue May 29 18:06:51 2012 +0200
+++ b/D014-3tables1primarykey1foreignkey/directGraph.ttl	Sat Jun 09 13:03:07 2012 +0200
@@ -3,7 +3,7 @@
 <EMP/empno=7369> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <EMP> .
 <EMP/empno=7369> <EMP#empno> "7369"^^<http://www.w3.org/2001/XMLSchema#integer>  .
 <EMP/empno=7369> <EMP#deptno> "10"^^<http://www.w3.org/2001/XMLSchema#integer>  .
-<EMP/empno=7369> <EMP#ref=deptno> _:c  .
+<EMP/empno=7369> <EMP#ref-deptno> _:c  .
 <EMP/empno=7369> <EMP#ename> "SMITH" .
 <EMP/empno=7369> <EMP#job> "CLERK" .
 <EMP/empno=7369> <EMP#etype> "PART_TIME" .
--- a/D017-I18NnoSpecialChars/directGraph.ttl	Tue May 29 18:06:51 2012 +0200
+++ b/D017-I18NnoSpecialChars/directGraph.ttl	Sat Jun 09 13:03:07 2012 +0200
@@ -1,11 +1,11 @@
 @base <http://example.com/base/> .
 
-<植物/名-しそ.使用部-葉> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <植物> .
-<植物/名-しそ.使用部-葉> <植物#使用部> "葉" .       
-<植物/名-しそ.使用部-葉> <植物#名>  "しそ" .
-<植物/名-しそ.使用部-葉> <植物#条件> "新鮮な" .
+<植物/名=しそ;使用部=葉> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <植物> .
+<植物/名=しそ;使用部=葉> <植物#使用部> "葉" .       
+<植物/名=しそ;使用部=葉> <植物#名>  "しそ" .
+<植物/名=しそ;使用部=葉> <植物#条件> "新鮮な" .
 _:a <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <成分> .
 _:a <成分#使用部> "葉" .
 _:a <成分#植物名> "しそ" .
-_:a <成分#ref-植物名.使用部> <植物/名-しそ.使用部-葉> .
-_:a <成分#皿> "しそのとまと" .
\ No newline at end of file
+_:a <成分#ref-植物名;使用部> <植物/名=しそ;使用部=葉> .
+_:a <成分#皿> "しそのとまと" .
--- a/D021-2tables2primarykeys1foreignkeyReferencesAllNulls/directGraph.ttl	Tue May 29 18:06:51 2012 +0200
+++ b/D021-2tables2primarykeys1foreignkeyReferencesAllNulls/directGraph.ttl	Sat Jun 09 13:03:07 2012 +0200
@@ -23,14 +23,14 @@
 <Source/ID=1100> <Source#ID> 1100 .
 <Source/ID=1100> <Source#attrA> "K2A21" .
 <Source/ID=1100> <Source#attrB> "K2A11" .
-<Source/ID=1100> <Source#ref=attrA;attrB> <Target/PK=1010> .
+<Source/ID=1100> <Source#ref-attrA;attrB> <Target/PK=1010> .
 
 <Source/ID=1101> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Source> .
 <Source/ID=1101> <Source#ID> 1101 .
 <Source/ID=1101> <Source#attrA> "K2A22" .
-<Source/ID=1101> <Source#ref=attrA;attrB> <Target/PK=1011> .
+<Source/ID=1101> <Source#ref-attrA;attrB> <Target/PK=1011> .
 
 <Source/ID=1102> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Source> .
 <Source/ID=1102> <Source#ID> 1102 .
-<Source/ID=1102> <Source#ref=attrA;attrB> <Target/PK=1012> .
+<Source/ID=1102> <Source#ref-attrA;attrB> <Target/PK=1012> .
 
--- a/D022-2tables1primarykey1foreignkeyReferencesNoPrimaryKey/directGraph.ttl	Tue May 29 18:06:51 2012 +0200
+++ b/D022-2tables1primarykey1foreignkeyReferencesNoPrimaryKey/directGraph.ttl	Sat Jun 09 13:03:07 2012 +0200
@@ -8,9 +8,9 @@
 _:a <Target#key2attr1> "K2A1" .
 _:a <Target#key2attr2> "K2A2" .
 
-<Source/ID-1100> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Source> .
-<Source/ID-1100> <Source#ID> 1100 .
-<Source/ID-1100> <Source#attrA> "K2A2" .
-<Source/ID-1100> <Source#attrB> "K2A1" .
-<Source/ID-1100> <Source#ref-attrA.attrB> _:a .
+<Source/ID=1100> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Source> .
+<Source/ID=1100> <Source#ID> 1100 .
+<Source/ID=1100> <Source#attrA> "K2A2" .
+<Source/ID=1100> <Source#attrB> "K2A1" .
+<Source/ID=1100> <Source#ref-attrA;attrB> _:a .
 
--- a/D023-2tables2primarykeys2foreignkeysReferencesToNon-primarykeys/directGraph.ttl	Tue May 29 18:06:51 2012 +0200
+++ b/D023-2tables2primarykeys2foreignkeysReferencesToNon-primarykeys/directGraph.ttl	Sat Jun 09 13:03:07 2012 +0200
@@ -12,5 +12,5 @@
 <Source/ID=1100> <Source#ID> 1100 .
 <Source/ID=1100> <Source#attrA> "K2A2" .
 <Source/ID=1100> <Source#attrB> "K2A1" .
-<Source/ID=1100> <Source#ref=attrA;attrB> <Target/PK=1010> .
+<Source/ID=1100> <Source#ref-attrA;attrB> <Target/PK=1010> .
 
--- a/D024-2tables2primarykeys1foreignkeyToARowWithSomeNulls/directGraph.ttl	Tue May 29 18:06:51 2012 +0200
+++ b/D024-2tables2primarykeys1foreignkeyToARowWithSomeNulls/directGraph.ttl	Sat Jun 09 13:03:07 2012 +0200
@@ -6,7 +6,7 @@
 <Target/PK=1010> <Target#key1attr1> "K1A11" .
 <Target/PK=1010> <Target#key1attr2> "K1A21" .
 <Target/PK=1010> <Target#key2attr1> "K2A11" .
-<Target/P=1010> <Target#key2attr2> "K2A21" .
+<Target/PK=1010> <Target#key2attr2> "K2A21" .
 
 <Target/PK=1011> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Target> .
 <Target/PK=1011> <Target#PK> 1011 .
@@ -18,10 +18,10 @@
 <Source/ID=1100> <Source#ID> 1100 .
 <Source/ID=1100> <Source#attrA> "K2A21" .
 <Source/ID=1100> <Source#attrB> "K2A11" .
-<Source/ID=1100> <Source#ref=attrA;attrB> <Target/PK=1010> .
+<Source/ID=1100> <Source#ref-attrA;attrB> <Target/PK=1010> .
 
 <Source/ID=1101> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Source> .
 <Source/ID=1101> <Source#ID> 1101 .
 <Source/ID=1101> <Source#attrA> "K2A22" .
-<Source/ID=1101> <Source#ref=attrA;attrB> <Target/PK=1011> .
+<Source/ID=1101> <Source#ref-attrA;attrB> <Target/PK=1011> .
 
--- a/D025-3tables3primarykeys3foreignkeys/directGraph.ttl	Tue May 29 18:06:51 2012 +0200
+++ b/D025-3tables3primarykeys3foreignkeys/directGraph.ttl	Sat Jun 09 13:03:07 2012 +0200
@@ -5,10 +5,10 @@
 <People/ID=7> <People#ID> 7 .
 <People/ID=7> <People#fname> "Bob" .
 <People/ID=7> <People#addr> 18 .
-<People/ID=7> <People#ref=addr> <Addresses/ID=18> .
+<People/ID=7> <People#ref-addr> <Addresses/ID=18> .
 <People/ID=7> <People#deptName> "accounting" .
 <People/ID=7> <People#deptCity> "Cambridge" .
-<People/ID=7> <People#ref=deptName;deptCity> <Department/ID=23> .
+<People/ID=7> <People#ref-deptName;deptCity> <Department/ID=23> .
 <People/ID=8> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <People> .
 <People/ID=8> <People#ID> 8 .
 <People/ID=8> <People#fname> "Sue" .
@@ -23,29 +23,29 @@
 <Department/ID=23> <Department#name> "accounting" .
 <Department/ID=23> <Department#city> "Cambridge" .
 <Department/ID=23> <Department#manager> 8; .
-<Department/ID=23> <Department#ref=manager> <People/ID=8> .
+<Department/ID=23> <Department#ref-manager> <People/ID=8> .
 
 _:c <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Projects> .
 _:c <Projects#lead> 8 .
-_:c <Projects#ref=lead> <People/ID=8> .
+_:c <Projects#ref-lead> <People/ID=8> .
 _:c <Projects#name> "pencil survey" .
 _:c <Projects#deptName> "accounting" .
 _:c <Projects#deptCity> "Cambridge" .
-_:c <Projects#ref=deptName;deptCity> <Department/ID=23> .
+_:c <Projects#ref-deptName;deptCity> <Department/ID=23> .
 
 _:d <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <Projects> .
 _:d <Projects#lead> 8 .
-_:d <Projects#ref=lead> <People/ID=8> .
+_:d <Projects#ref-lead> <People/ID=8> .
 _:d <Projects#name> "eraser survey" .
 _:d <Projects#deptName> "accounting" .
 _:d <Projects#deptCity> "Cambridge" .
-_:d <Projects#ref=deptName;deptCity> <Department/ID=23> .
+_:d <Projects#ref-deptName;deptCity> <Department/ID=23> .
 
 <TaskAssignments/worker=7;project=pencil%20survey> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <TaskAssignments> .
 <TaskAssignments/worker=7;project=pencil%20survey> <TaskAssignments#worker> 7 .
-<TaskAssignments/worker=7;project=pencil%20survey> <TaskAssignments#ref=worker> <People/ID=7> .
+<TaskAssignments/worker=7;project=pencil%20survey> <TaskAssignments#ref-worker> <People/ID=7> .
 <TaskAssignments/worker=7;project=pencil%20survey> <TaskAssignments#project> "pencil survey" .
 <TaskAssignments/worker=7;project=pencil%20survey> <TaskAssignments#deptName> "accounting" .
 <TaskAssignments/worker=7;project=pencil%20survey> <TaskAssignments#deptCity> "Cambridge" .
-<TaskAssignments/worker=7;project=pencil%20survey> <TaskAssignments#ref=deptName;deptCity> <Department/ID=23> .
-<TaskAssignments/worker=7;project=pencil%20survey> <TaskAssignments#ref=project;deptName.deptCity> _:c .
\ No newline at end of file
+<TaskAssignments/worker=7;project=pencil%20survey> <TaskAssignments#ref-deptName;deptCity> <Department/ID=23> .
+<TaskAssignments/worker=7;project=pencil%20survey> <TaskAssignments#ref-project;deptName.deptCity> _:c .
\ No newline at end of file
Binary file rdb2rdf-ts.zip has changed