Change SPARQL expectations to simple NQuads for straight comparison.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sun, 29 Apr 2012 23:23:33 -0700
changeset 593 0220516e283d
parent 592 b922839a70b7
child 594 28c8a3d90e7f
Change SPARQL expectations to simple NQuads for straight comparison.
test-suite/context.jsonld
test-suite/tests/rdf-0001.nq
test-suite/tests/rdf-0001.sparql
test-suite/tests/rdf-0002.nq
test-suite/tests/rdf-0002.sparql
test-suite/tests/rdf-0003.nq
test-suite/tests/rdf-0003.sparql
test-suite/tests/rdf-0004.nq
test-suite/tests/rdf-0004.sparql
test-suite/tests/rdf-0005.nq
test-suite/tests/rdf-0005.sparql
test-suite/tests/rdf-0006.nq
test-suite/tests/rdf-0006.sparql
test-suite/tests/rdf-0007.nq
test-suite/tests/rdf-0007.sparql
test-suite/tests/rdf-0008.nq
test-suite/tests/rdf-0008.sparql
test-suite/tests/rdf-0009.nq
test-suite/tests/rdf-0009.sparql
test-suite/tests/rdf-0010.nq
test-suite/tests/rdf-0010.sparql
test-suite/tests/rdf-0011.nq
test-suite/tests/rdf-0011.sparql
test-suite/tests/rdf-0012.nq
test-suite/tests/rdf-0012.sparql
test-suite/tests/rdf-0013.nq
test-suite/tests/rdf-0013.sparql
test-suite/tests/rdf-0014.nq
test-suite/tests/rdf-0014.sparql
test-suite/tests/rdf-0015.nq
test-suite/tests/rdf-0015.sparql
test-suite/tests/rdf-0016.nq
test-suite/tests/rdf-0016.sparql
test-suite/tests/rdf-0017.nq
test-suite/tests/rdf-0017.sparql
test-suite/tests/rdf-0018.nq
test-suite/tests/rdf-0018.sparql
test-suite/tests/rdf-0019.nq
test-suite/tests/rdf-0019.sparql
test-suite/tests/rdf-0020.nq
test-suite/tests/rdf-0020.sparql
test-suite/tests/rdf-0021.nq
test-suite/tests/rdf-0021.sparql
test-suite/tests/rdf-0022.nq
test-suite/tests/rdf-0022.sparql
test-suite/tests/rdf-0023.nq
test-suite/tests/rdf-0023.sparql
test-suite/tests/rdf-0024.nq
test-suite/tests/rdf-0024.sparql
test-suite/tests/rdf-0025.nq
test-suite/tests/rdf-0025.sparql
test-suite/tests/rdf-0026.nq
test-suite/tests/rdf-0026.sparql
test-suite/tests/rdf-0027.nq
test-suite/tests/rdf-0027.sparql
test-suite/tests/rdf-0028.nq
test-suite/tests/rdf-0028.sparql
test-suite/tests/rdf-0029.nq
test-suite/tests/rdf-0029.sparql
test-suite/tests/rdf-manifest.jsonld
--- a/test-suite/context.jsonld	Sun Apr 29 22:53:06 2012 -0700
+++ b/test-suite/context.jsonld	Sun Apr 29 23:23:33 2012 -0700
@@ -9,10 +9,10 @@
     "expect":   {"@id": "test:informationResourceResults", "@type": "@id"},
     "frame":    {"@id": "test:input", "@type": "@id"},
     "input":    {"@id": "test:informationResourceInput", "@type": "@id"},
-    "optimize": {"@id": "test:input", "@type": "@id"},
     "name":     "dc:title",
+    "optimize": {"@id": "test:input", "@type": "@id"},
     "purpose":  "test:purpose",
-    "sequence": {"@id": "jld:sequence", "@type": "@id", "@container": "@list"},
-    "sparql":   {"@id": "test:expectedResults", "@type": "@id"}
+    "quads":   {"@id": "test:expectedResults", "@type": "@id"},
+    "sequence": {"@id": "jld:sequence", "@type": "@id", "@container": "@list"}
   }
 }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0001.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
--- a/test-suite/tests/rdf-0001.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-	<http://greggkellogg.net/foaf#me> foaf:name "Gregg Kellogg" .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0002.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/name> "Gregg Kellogg" .
--- a/test-suite/tests/rdf-0002.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-	<http://greggkellogg.net/foaf#me> foaf:name "Gregg Kellogg" .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0003.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
--- a/test-suite/tests/rdf-0003.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-  ?s a foaf:Person .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0004.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+_:t0 <http://www.w3.org/2000/01/rdf-schema#label> "A plain literal with a lang tag."@en-us .
--- a/test-suite/tests/rdf-0004.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
-
-ASK WHERE {
-  _:s rdfs:label "A plain literal with a lang tag."@en-us .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0005.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,2 @@
+_:t0 <http://xmlns.com/foaf/0.1/name> "Herman Iv\u00E1n"@hu .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/rdf-0005.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> foaf:knows [ foaf:name "Herman Iv\u00E1n"@hu ].
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0006.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://purl.org/dc/terms/created> "1957-02-27"^^<http://www.w3.org/2001/XMLSchema#date> .
--- a/test-suite/tests/rdf-0006.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX dc: <http://purl.org/dc/terms/>
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> dc:created "1957-02-27"^^xsd:date
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0007.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
--- a/test-suite/tests/rdf-0007.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> rdf:type foaf:Person
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0008.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+_:t0 <http://example.com/default#foo> "bar" .
--- a/test-suite/tests/rdf-0008.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-ASK WHERE {
-  _:a <http://example.com/default#foo> "bar" .
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0009.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+_:t0 <http://example.com/default#foo> "bar" .
--- a/test-suite/tests/rdf-0009.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-ASK WHERE {
-  _:a <http://example.com/default#foo> "bar" .
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0010.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,2 @@
+<http://manu.sporny.org/#me> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/#me> .
--- a/test-suite/tests/rdf-0010.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> foaf:knows <http://manu.sporny.org/#me> .
-  <http://manu.sporny.org/#me> foaf:name "Manu Sporny" .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0011.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,2 @@
+_:t0 <http://xmlns.com/foaf/0.1/name> "Dave Longley" .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/rdf-0011.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> foaf:knows ?o .
-  ?o foaf:name "Dave Longley" .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0012.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,2 @@
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "Manu Sporny" .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> "Dave Longley" .
--- a/test-suite/tests/rdf-0012.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> foaf:knows "Manu Sporny", "Dave Longley" .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0013.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
--- a/test-suite/tests/rdf-0013.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> foaf:knows [] .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0014.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,3 @@
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/rdf-0014.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> foaf:knows ("Manu Sporny") .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0015.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,5 @@
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:t1 .
+_:t1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Dave Longley" .
+_:t1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/rdf-0015.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> foaf:knows ("Manu Sporny" "Dave Longley") .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0016.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+<http://json-ld.org/test-suite/tests/rdf-0016.jsonld> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
--- a/test-suite/tests/rdf-0016.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
-
-ASK WHERE {
-  <http://json-ld.org/test-suite/tests/rdf-0016.jsonld> a rdfs:Resource
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0017.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+<http://json-ld.org/test-suite/tests/a/b> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
--- a/test-suite/tests/rdf-0017.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
-
-ASK WHERE {
-  <http://json-ld.org/test-suite/tests/a/b> a rdfs:Resource
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0018.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+<http://json-ld.org/test-suite/tests/rdf-0018.jsonld#frag> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
--- a/test-suite/tests/rdf-0018.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
-
-ASK WHERE {
-  <http://json-ld.org/test-suite/tests/rdf-0018.jsonld#frag> a rdfs:Resource
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0019.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/#me> .
--- a/test-suite/tests/rdf-0019.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> foaf:knows <http://manu.sporny.org/#me> .
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0020.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+<http://greggkellogg.net/foaf#me> <http://purl.org/dc/terms/created> "1957-02-27"^^<http://www.w3.org/2001/XMLSchema#date> .
--- a/test-suite/tests/rdf-0020.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-PREFIX dcterms: <http://purl.org/dc/terms/>
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> dcterms:created "1957-02-27"^^xsd:date
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0021.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+_:t0 <http://example/measure#cups> "5.3"^^<http://www.w3.org/2001/XMLSchema#double> .
--- a/test-suite/tests/rdf-0021.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
-  _:a <http://example/measure#cups> "5.3"^^xsd:double
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0022.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+_:t0 <http://example/measure#cups> "5.3"^^<http://www.w3.org/2001/XMLSchema#double> .
--- a/test-suite/tests/rdf-0022.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
-  _:a <http://example/measure#cups> "5.3"^^xsd:double
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0023.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+_:t0 <http://example/chem#protons> "12"^^<http://www.w3.org/2001/XMLSchema#integer> .
--- a/test-suite/tests/rdf-0023.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
-  _:a <http://example/chem#protons> "12"^^xsd:integer
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0024.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,1 @@
+_:t0 <http://example/sensor#active> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
--- a/test-suite/tests/rdf-0024.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
-  _:a <http://example/sensor#active> "true"^^xsd:boolean
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0025.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,3 @@
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
--- a/test-suite/tests/rdf-0025.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX foaf: <http://xmlns.com/foaf/0.1/>
-
-ASK WHERE {
-  <http://greggkellogg.net/foaf#me> foaf:knows ("Manu Sporny") .
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0026.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,2 @@
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
--- a/test-suite/tests/rdf-0026.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
-
-ASK WHERE {
-  [a rdfs:Resource, rdfs:Class]
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0027.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,8 @@
+<http://example.org/ParisFact1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .
+<http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.britannica.com/> .
+<http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.wikipedia.org/> .
+<http://example.org/ParisFact1> <http://example.org/hasReference> <http://www.brockhaus.de/> .
+<http://example.org/ParisFact2> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .
+<http://example.org/ParisFact2> <http://example.org/hasReference> <http://www.wikipedia.org/> .
+<http://example.org/location/Paris#this> <http://example.org/locatedIn> <http://example.org/location/France#this> <http://example.org/ParisFact1> .
+<http://example.org/location/Paris#this> <http://example.org/hasPopulation> "7000000"^^<http://www.w3.org/2001/XMLSchema#integer> <http://example.org/ParisFact2> .
--- a/test-suite/tests/rdf-0027.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-PREFIX ex: <http://example.org/> 
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK
-WHERE {
-  ex:ParisFact1 a rdf:Graph;
-    ex:hasReference <http://www.britannica.com/>,
-      <http://www.wikipedia.org/>,
-      <http://www.brockhaus.de/> .
-  ex:ParisFact2 a rdf:Graph;
-    ex:hasReference <http://www.wikipedia.org/> .
-  GRAPH ex:ParisFact1 {
-    <http://example.org/location/Paris#this> ex:locatedIn <http://example.org/location/France#this> .
-  }
-  GRAPH ex:ParisFact2 {
-    <http://example.org/location/Paris#this> ex:locatedIn <http://example.org/location/France#this> .
-  }
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0028.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,6 @@
+<http://example.org/sig1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/1999/02/22-rdf-syntax-ns#Graph> .
+<http://example.org/sig1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/security#SignedGraph> .
+<http://example.org/sig1> <http://purl.org/dc/terms/created> "2011-09-23T20:21:34Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
+<http://example.org/sig1> <http://purl.org/security#signer> <http://payswarm.example.com/i/john/keys/5> .
+<http://example.org/sig1> <http://purl.org/security#signatureValue> "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=" .
+<http://example.org/fact1> <http://purl.org/dc/terms/title> "Hello World!" <http://example.org/sig1> .
--- a/test-suite/tests/rdf-0028.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-PREFIX dc: <http://purl.org/dc/terms/>
-PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
-PREFIX sec: <http://purl.org/security#>
-PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
-
-ASK WHERE {
-  <http://example.org/sig1> a rdf:Graph, sec:SignedGraph;
-    dc:created "2011-09-23T20:21:34Z"^^xsd:dateTime;
-    sec:signatureValue "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=";
-    sec:signer <http://payswarm.example.com/i/john/keys/5> .
-  GRAPH <http://example.org/sig1> {
-    <http://example.org/fact1> dc:title "Hello World!" .
-  }
-}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-suite/tests/rdf-0029.nq	Sun Apr 29 23:23:33 2012 -0700
@@ -0,0 +1,4 @@
+<http://data.wikipedia.org/snaks/Assertions> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#SnakSet> .
+<http://data.wikipedia.org/snaks/BerlinFact> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://data.wikipedia.org/vocab#Snak> <http://data.wikipedia.org/snaks/Assertions> .
+<http://data.wikipedia.org/snaks/BerlinFact> <http://data.wikipedia.org/vocab#assertedBy> "http://www.statistik-berlin-brandenburg.de/" <http://data.wikipedia.org/snaks/Assertions> .
+<http://en.wikipedia.org/wiki/Berlin> <http://data.wikipedia.org/vocab#population> "3499879"^^<http://www.w3.org/2001/XMLSchema#integer> <http://data.wikipedia.org/snaks/BerlinFact> .
--- a/test-suite/tests/rdf-0029.sparql	Sun Apr 29 22:53:06 2012 -0700
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-PREFIX wd: <http://data.wikipedia.org/vocab#>
-PREFIX wp: <http://en.wikipedia.org/wiki/>
-PREFIX ws: <http://data.wikipedia.org/snaks/>
-
-ASK WHERE {
-  ws:Assertions a wd:SnakSet; .
-  GRAPH ws:Assertions {
-    ws:BerlinFact a wd:Snak;
-       wd:assertedBy "http://www.statistik-berlin-brandenburg.de/" .
-  }
-  GRAPH ws:BerlinFact {
-    wp:Berlin wd:population 3499879 .
-  }
-}
--- a/test-suite/tests/rdf-manifest.jsonld	Sun Apr 29 22:53:06 2012 -0700
+++ b/test-suite/tests/rdf-manifest.jsonld	Sun Apr 29 23:23:33 2012 -0700
@@ -10,175 +10,175 @@
       "input": "rdf-0001.jsonld",
       "name": "Plain literal with URIs",
       "purpose": "Tests generation of a triple using full URIs and a plain literal.",
-      "sparql": "rdf-0001.sparql"
+      "quads": "rdf-0001.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0002.jsonld",
       "name": "Plain literal with CURIE from default context",
       "purpose": "Tests generation of a triple using a CURIE defined in the default context.",
-      "sparql": "rdf-0002.sparql"
+      "quads": "rdf-0002.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0003.jsonld",
       "name": "Default subject is BNode",
       "purpose": "Tests that a BNode is created if no explicit subject is set.",
-      "sparql": "rdf-0003.sparql"
+      "quads": "rdf-0003.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0004.jsonld",
       "name": "Literal with language tag",
       "purpose": "Tests that a plain literal is created with a language tag.",
-      "sparql": "rdf-0004.sparql"
+      "quads": "rdf-0004.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0005.jsonld",
       "name": "Extended character set literal",
       "purpose": "Tests that a literal may be created using extended characters.",
-      "sparql": "rdf-0005.sparql"
+      "quads": "rdf-0005.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0006.jsonld",
       "name": "Typed literal",
       "purpose": "Tests creation of a literal with a datatype.",
-      "sparql": "rdf-0006.sparql"
+      "quads": "rdf-0006.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0007.jsonld",
       "name": "Tests 'a' generates rdf:type and object is implicit IRI",
       "purpose": "Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.",
-      "sparql": "rdf-0007.sparql"
+      "quads": "rdf-0007.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0008.jsonld",
       "name": "Test prefix defined in @context",
       "purpose": "Generate an IRI using a prefix defined within an @context.",
-      "sparql": "rdf-0008.sparql"
+      "quads": "rdf-0008.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0009.jsonld",
       "name": "Test using default prefix",
       "purpose": "The empty string may be used to define the default prefix.",
-      "sparql": "rdf-0009.sparql"
+      "quads": "rdf-0009.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0010.jsonld",
       "name": "Test object processing defines object",
       "purpose": "A property referencing an associative array gets object from subject of array.",
-      "sparql": "rdf-0010.sparql"
+      "quads": "rdf-0010.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0011.jsonld",
       "name": "Test object processing defines object with implicit BNode",
       "purpose": "If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.",
-      "sparql": "rdf-0011.sparql"
+      "quads": "rdf-0011.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0012.jsonld",
       "name": "Multiple Objects for a Single Property",
       "purpose": "Tests that Multiple Objects are for a Single Property using array syntax.",
-      "sparql": "rdf-0012.sparql"
+      "quads": "rdf-0012.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0013.jsonld",
       "name": "Creation of an empty list",
       "purpose": "Tests that [[]] generates an empty list.",
-      "sparql": "rdf-0013.sparql"
+      "quads": "rdf-0013.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0014.jsonld",
       "name": "Creation of a list with single element",
       "purpose": "Tests that [[a]] generates list.",
-      "sparql": "rdf-0014.sparql"
+      "quads": "rdf-0014.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0015.jsonld",
       "name": "Creation of a list with multiple elements",
       "purpose": "Tests that list with multiple elements.",
-      "sparql": "rdf-0015.sparql"
+      "quads": "rdf-0015.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0016.jsonld",
       "name": "Empty IRI expands to resource location",
       "purpose": "Expanding an empty IRI uses the test file location.",
-      "sparql": "rdf-0016.sparql"
+      "quads": "rdf-0016.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0017.jsonld",
       "name": "Relative IRI expands relative resource location",
       "purpose": "Expanding a relative IRI uses the test file location.",
-      "sparql": "rdf-0017.sparql"
+      "quads": "rdf-0017.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0018.jsonld",
       "name": "Frag ID expands relative resource location",
       "purpose": "Expanding a fragment uses the test file location.",
-      "sparql": "rdf-0018.sparql"
+      "quads": "rdf-0018.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0019.jsonld",
       "name": "Test type coercion to anyURI",
       "purpose": "Tests coercion of object to anyURI when specified.",
-      "sparql": "rdf-0019.sparql"
+      "quads": "rdf-0019.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0020.jsonld",
       "name": "Test type coercion to typed literal",
       "purpose": "Tests coercion of object to a typed literal when specified.",
-      "sparql": "rdf-0020.sparql"
+      "quads": "rdf-0020.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0021.jsonld",
       "name": "Test coercion of decimal value to double",
       "purpose": "Tests that a decimal value generates a xsd:double typed literal.",
-      "sparql": "rdf-0021.sparql"
+      "quads": "rdf-0021.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0022.jsonld",
       "name": "Test coercion of double value",
       "purpose": "Tests that a decimal value generates a xsd:double typed literal;.",
-      "sparql": "rdf-0022.sparql"
+      "quads": "rdf-0022.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0023.jsonld",
       "name": "Test coercion of integer value",
       "purpose": "Tests that a decimal value generates a xsd:integer typed literal.",
-      "sparql": "rdf-0023.sparql"
+      "quads": "rdf-0023.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0024.jsonld",
       "name": "Test coercion of boolean value",
       "purpose": "Tests that a decimal value generates a xsd:boolean typed literal.",
-      "sparql": "rdf-0024.sparql"
+      "quads": "rdf-0024.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0025.jsonld",
       "name": "Test list coercion with single element",
       "purpose": "Tests that an array with a single element on a property with @list coercion creates an RDF Collection.",
-      "sparql": "rdf-0025.sparql"
+      "quads": "rdf-0025.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0026.jsonld",
       "name": "Test creation of multiple types",
       "purpose": "Tests that @type with an array of types creates multiple types.",
-      "sparql": "rdf-0026.sparql"
+      "quads": "rdf-0026.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0027.jsonld",
       "name": "Simple named graph (Wikidata)",
       "purpose": "Using @graph with other keys places triples in a named graph.",
-      "sparql": "rdf-0027.sparql"
+      "quads": "rdf-0027.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "input": "rdf-0028.jsonld",
       "name": "Simple named graph",
       "purpose": "Signing a graph.",
-      "sparql": "rdf-0028.sparql"
+      "quads": "rdf-0028.nq"
     }, {
       "@type": ["test:TestCase", "jld:RDFTest"],
       "name": "named graph with embedded named graph",
       "purpose": "Tests that named graphs containing named graphs flatten to single level of graph naming.",
       "input": "rdf-0029.jsonld",
-      "sparql": "rdf-0029.sparql"
+      "quads": "rdf-0029.nq"
     }
   ]
 }