--- a/src/test/scala/RDB2RDFTest.scala Fri Jan 08 00:45:30 2010 -0500
+++ b/src/test/scala/RDB2RDFTest.scala Fri Jan 08 00:53:55 2010 -0500
@@ -399,9 +399,11 @@
| empName | grandManagName |
+---------+----------------+
| Jones | Johnson |
-+---------+----------------+"""
++---------+----------------+
+"""
}
+ /* Employess above and below Smith */
test("transform disj1") {
val sparqlParser = Sparql()
val sparqlSelect = sparqlParser.parseAll(sparqlParser.select, """
@@ -456,6 +458,17 @@
val generated = RDB2RDF(db, sparqlSelect, StemURI("http://hr.example/DB/"), false, false)
assert(generated === parsed)
val output = """
++---------+
+| name |
++---------+
+| Johnson |
+| Smith |
+| Smith |
+| Smith |
+| Jones |
+| Smith |
+| Ishita |
++---------+
"""
}