aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--src/reader.c26
-rw-r--r--tests/bad/bad-id-clash.ttl4
-rw-r--r--tests/manifest.nt478
-rw-r--r--tests/test-00.nt2
-rw-r--r--tests/test-04.nt4
-rw-r--r--tests/test-05.nt8
-rw-r--r--tests/test-07.nt10
-rw-r--r--tests/test-09.nt6
-rw-r--r--tests/test-13.nt2
-rw-r--r--tests/test-blank-cont.nt8
-rw-r--r--tests/test-blank-in-list.nt8
-rw-r--r--tests/test-id.nt4
-rw-r--r--tests/test-id.ttl2
-rw-r--r--tests/test-list-in-blank.nt12
-rw-r--r--tests/test-list-subject.nt10
-rw-r--r--tests/test-pretty.nt88
17 files changed, 338 insertions, 337 deletions
diff --git a/NEWS b/NEWS
index f8ecf659..64d0437d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,9 +1,10 @@
serd (0.18.3) unstable;
* Fix possible crash in serd_writer_end_anon() when writing invalid lists
+ * Generate blank names like _:b1 _:B2 _:el3, not _:genid1 _:docid2 _:genid3
* Correctly handle posix_memalign failure
- -- David Robillard <d@drobilla.net> Sun, 03 Feb 2013 15:07:53 -0500
+ -- David Robillard <d@drobilla.net> Sun, 24 Feb 2013 02:05:30 -0500
serd (0.18.2) stable;
diff --git a/src/reader.c b/src/reader.c
index c97228d3..a754196e 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -971,12 +971,12 @@ read_nodeID(SerdReader* reader)
}
if (reader->syntax == SERD_TURTLE) {
const char* const buf = (const char*)deref(reader, ref)->buf;
- if (!strncmp(buf, "genid", 5)) {
- memcpy((char*)buf, "docid", 5); // Prevent clash
+ if (buf[0] == 'b' && is_digit(buf[1])) {
+ ((char*)buf)[0] = 'B'; // Prevent clash
reader->seen_genid = true;
- } else if (reader->seen_genid && !strncmp(buf, "docid", 5)) {
+ } else if (reader->seen_genid && buf[0] == 'B') {
r_err(reader, SERD_ERR_ID_CLASH,
- "found both `genid' and `docid' IDs, prefix required\n");
+ "found both `b' and `B' blank IDs, prefix required\n");
return pop_node(reader, ref);
}
}
@@ -984,25 +984,25 @@ read_nodeID(SerdReader* reader)
}
static void
-set_blank_id(SerdReader* reader, Ref ref, size_t buf_size)
+set_blank_id(SerdReader* reader, Ref ref, const char* b, size_t buf_size)
{
SerdNode* node = deref(reader, ref);
const char* prefix = reader->bprefix ? (const char*)reader->bprefix : "";
node->n_bytes = node->n_chars = snprintf(
- (char*)node->buf, buf_size, "%sgenid%u", prefix, reader->next_id++);
+ (char*)node->buf, buf_size, "%s%s%u", prefix, b, reader->next_id++);
}
static size_t
genid_size(SerdReader* reader)
{
- return reader->bprefix_len + 5 + 10 + 1; // + "genid" + UINT32_MAX + \0
+ return reader->bprefix_len + 2 + 10 + 1; // + "el" + UINT32_MAX + \0
}
static Ref
-blank_id(SerdReader* reader)
+blank_id(SerdReader* reader, const char* b)
{
Ref ref = push_node_padded(reader, genid_size(reader), SERD_BLANK, "", 0);
- set_blank_id(reader, ref, genid_size(reader));
+ set_blank_id(reader, ref, b, genid_size(reader));
return ref;
}
@@ -1026,7 +1026,7 @@ read_blank(SerdReader* reader, ReadContext ctx, bool subject, Ref* dest)
*ctx.flags |= (subject) ? SERD_ANON_S_BEGIN : SERD_ANON_O_BEGIN;
}
- *dest = blank_id(reader);
+ *dest = blank_id(reader, "b");
if (ctx.subject) {
TRY_RET(emit_statement(reader, ctx, *dest, 0, 0));
}
@@ -1183,7 +1183,7 @@ read_collection(SerdReader* reader, ReadContext ctx, Ref* dest)
{
eat_byte_safe(reader, '(');
bool end = peek_delim(reader, ')');
- *dest = end ? reader->rdf_nil : blank_id(reader);
+ *dest = end ? reader->rdf_nil : blank_id(reader, "el");
if (ctx.subject) {
// subject predicate _:head
*ctx.flags |= (end ? 0 : SERD_LIST_O_BEGIN);
@@ -1216,9 +1216,9 @@ read_collection(SerdReader* reader, ReadContext ctx, Ref* dest)
/* Give rest a new ID. Done as late as possible to ensure it is
used and > IDs generated by read_object above. */
if (!rest) {
- rest = n2 = blank_id(reader); // First pass, push a new node
+ rest = n2 = blank_id(reader, "el"); // First pass, push nodex
} else {
- set_blank_id(reader, rest, genid_size(reader));
+ set_blank_id(reader, rest, "el", genid_size(reader));
}
}
diff --git a/tests/bad/bad-id-clash.ttl b/tests/bad/bad-id-clash.ttl
index 55ab23e3..c1536840 100644
--- a/tests/bad/bad-id-clash.ttl
+++ b/tests/bad/bad-id-clash.ttl
@@ -1,2 +1,2 @@
-_:genid1 a _:genid2 .
-_:genid2 a _:docid1 . \ No newline at end of file
+_:b1 a _:b2 .
+_:b2 a _:B1 . \ No newline at end of file
diff --git a/tests/manifest.nt b/tests/manifest.nt
index d2fa7b74..123a38b5 100644
--- a/tests/manifest.nt
+++ b/tests/manifest.nt
@@ -1,241 +1,241 @@
<> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#Manifest> .
<> <http://www.w3.org/2000/01/rdf-schema#comment> "Turtle good syntax test cases (must pass)" .
-<> <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#entries> _:genid1 .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid2 .
-_:genid2 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-00" .
-_:genid2 <http://www.w3.org/2000/01/rdf-schema#comment> "Blank subject" .
-_:genid2 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid3 .
-_:genid3 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-00.ttl> .
-_:genid2 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-00.out> .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid4 .
-_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid5 .
-_:genid5 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-01" .
-_:genid5 <http://www.w3.org/2000/01/rdf-schema#comment> "@prefix and qnames" .
-_:genid5 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid6 .
-_:genid6 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-01.ttl> .
-_:genid5 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-01.out> .
-_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid7 .
-_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid8 .
-_:genid8 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-02" .
-_:genid8 <http://www.w3.org/2000/01/rdf-schema#comment> ", operator" .
-_:genid8 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid9 .
-_:genid9 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-02.ttl> .
-_:genid8 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-02.out> .
-_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid10 .
-_:genid10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid11 .
-_:genid11 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-03" .
-_:genid11 <http://www.w3.org/2000/01/rdf-schema#comment> "; operator" .
-_:genid11 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid12 .
-_:genid12 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-03.ttl> .
-_:genid11 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-03.out> .
-_:genid10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid13 .
-_:genid13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid14 .
-_:genid14 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-04" .
-_:genid14 <http://www.w3.org/2000/01/rdf-schema#comment> "empty [] as subject and object" .
-_:genid14 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid15 .
-_:genid15 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-04.ttl> .
-_:genid14 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-04.out> .
-_:genid13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid16 .
-_:genid16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid17 .
-_:genid17 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-05" .
-_:genid17 <http://www.w3.org/2000/01/rdf-schema#comment> "non-empty [] as subject and object" .
-_:genid17 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid18 .
-_:genid18 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-05.ttl> .
-_:genid17 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-05.out> .
-_:genid16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid19 .
-_:genid19 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid20 .
-_:genid20 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-06" .
-_:genid20 <http://www.w3.org/2000/01/rdf-schema#comment> "'a' as predicate" .
-_:genid20 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid21 .
-_:genid21 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-06.ttl> .
-_:genid20 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-06.out> .
-_:genid19 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid22 .
-_:genid22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid23 .
-_:genid23 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-07" .
-_:genid23 <http://www.w3.org/2000/01/rdf-schema#comment> "simple collection" .
-_:genid23 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid24 .
-_:genid24 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-07.ttl> .
-_:genid23 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-07.out> .
-_:genid22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid25 .
-_:genid25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid26 .
-_:genid26 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-08" .
-_:genid26 <http://www.w3.org/2000/01/rdf-schema#comment> "empty collection" .
-_:genid26 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid27 .
-_:genid27 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-08.ttl> .
-_:genid26 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-08.out> .
-_:genid25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid28 .
-_:genid28 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid29 .
-_:genid29 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-09" .
-_:genid29 <http://www.w3.org/2000/01/rdf-schema#comment> "integer datatyped literal" .
-_:genid29 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid30 .
-_:genid30 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-09.ttl> .
-_:genid29 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-09.out> .
-_:genid28 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid31 .
-_:genid31 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid32 .
-_:genid32 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-10" .
-_:genid32 <http://www.w3.org/2000/01/rdf-schema#comment> "decimal integer canonicalization" .
-_:genid32 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid33 .
-_:genid33 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-10.ttl> .
-_:genid32 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-10.out> .
-_:genid31 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid34 .
-_:genid34 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid35 .
-_:genid35 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-11" .
-_:genid35 <http://www.w3.org/2000/01/rdf-schema#comment> "- and _ in names and qnames" .
-_:genid35 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid36 .
-_:genid36 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-11.ttl> .
-_:genid35 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-11.out> .
-_:genid34 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid37 .
-_:genid37 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid38 .
-_:genid38 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-12" .
-_:genid38 <http://www.w3.org/2000/01/rdf-schema#comment> "tests for rdf:_<numbers> and other qnames starting with _" .
-_:genid38 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid39 .
-_:genid39 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-12.ttl> .
-_:genid38 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-12.out> .
-_:genid37 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid40 .
-_:genid40 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid41 .
-_:genid41 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-13" .
-_:genid41 <http://www.w3.org/2000/01/rdf-schema#comment> "bare : allowed" .
-_:genid41 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid42 .
-_:genid42 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-13.ttl> .
-_:genid41 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-13.out> .
-_:genid40 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid43 .
-_:genid43 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid44 .
-_:genid44 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-14" .
-_:genid44 <http://www.w3.org/2000/01/rdf-schema#comment> "10000 triples, more than the default Bison stack size" .
-_:genid44 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid45 .
-_:genid45 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-14.ttl> .
-_:genid44 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-14.out> .
-_:genid43 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid46 .
-_:genid46 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid47 .
-_:genid47 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-15" .
-_:genid47 <http://www.w3.org/2000/01/rdf-schema#comment> "10000 triple objects (10000 triples)" .
-_:genid47 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid48 .
-_:genid48 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-15.ttl> .
-_:genid47 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-15.out> .
-_:genid46 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid49 .
-_:genid49 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid50 .
-_:genid50 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-16" .
-_:genid50 <http://www.w3.org/2000/01/rdf-schema#comment> "10000 items (10000 triples)" .
-_:genid50 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid51 .
-_:genid51 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-16.ttl> .
-_:genid50 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-16.out> .
-_:genid49 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid52 .
-_:genid52 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid53 .
-_:genid53 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-17" .
-_:genid53 <http://www.w3.org/2000/01/rdf-schema#comment> "simple long literal" .
-_:genid53 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid54 .
-_:genid54 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-17.ttl> .
-_:genid53 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-17.out> .
-_:genid52 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid55 .
-_:genid55 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid56 .
-_:genid56 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-18" .
-_:genid56 <http://www.w3.org/2000/01/rdf-schema#comment> "long literals with escapes" .
-_:genid56 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid57 .
-_:genid57 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-18.ttl> .
-_:genid56 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-18.out> .
-_:genid55 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid58 .
-_:genid58 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid59 .
-_:genid59 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-19" .
-_:genid59 <http://www.w3.org/2000/01/rdf-schema#comment> "floating point number" .
-_:genid59 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid60 .
-_:genid60 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-19.ttl> .
-_:genid59 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-19.out> .
-_:genid58 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid61 .
-_:genid61 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid62 .
-_:genid62 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-20" .
-_:genid62 <http://www.w3.org/2000/01/rdf-schema#comment> "empty literals, normal and long variant" .
-_:genid62 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid63 .
-_:genid63 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-20.ttl> .
-_:genid62 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-20.out> .
-_:genid61 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid64 .
-_:genid64 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid65 .
-_:genid65 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-21" .
-_:genid65 <http://www.w3.org/2000/01/rdf-schema#comment> "positive integer, decimal and doubles" .
-_:genid65 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid66 .
-_:genid66 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-21.ttl> .
-_:genid65 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-21.out> .
-_:genid64 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid67 .
-_:genid67 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid68 .
-_:genid68 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-22" .
-_:genid68 <http://www.w3.org/2000/01/rdf-schema#comment> "negative integer, decimal and doubles" .
-_:genid68 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid69 .
-_:genid69 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-22.ttl> .
-_:genid68 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-22.out> .
-_:genid67 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid70 .
-_:genid70 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid71 .
-_:genid71 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-23" .
-_:genid71 <http://www.w3.org/2000/01/rdf-schema#comment> "long literal ending in double quote" .
-_:genid71 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid72 .
-_:genid72 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-23.ttl> .
-_:genid71 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-23.out> .
-_:genid70 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid73 .
-_:genid73 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid74 .
-_:genid74 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-24" .
-_:genid74 <http://www.w3.org/2000/01/rdf-schema#comment> "boolean literals" .
-_:genid74 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid75 .
-_:genid75 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-24.ttl> .
-_:genid74 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-24.out> .
-_:genid73 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid76 .
-_:genid76 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid77 .
-_:genid77 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-25" .
-_:genid77 <http://www.w3.org/2000/01/rdf-schema#comment> "comments" .
-_:genid77 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid78 .
-_:genid78 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-25.ttl> .
-_:genid77 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-25.out> .
-_:genid76 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid79 .
-_:genid79 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid80 .
-_:genid80 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-26" .
-_:genid80 <http://www.w3.org/2000/01/rdf-schema#comment> "no final mewline" .
-_:genid80 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid81 .
-_:genid81 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-26.ttl> .
-_:genid80 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-26.out> .
-_:genid79 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid82 .
-_:genid82 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid83 .
-_:genid83 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-27" .
-_:genid83 <http://www.w3.org/2000/01/rdf-schema#comment> "duplicate prefix" .
-_:genid83 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid84 .
-_:genid84 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-27.ttl> .
-_:genid83 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-27.out> .
-_:genid82 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid85 .
-_:genid85 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid86 .
-_:genid86 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-28" .
-_:genid86 <http://www.w3.org/2000/01/rdf-schema#comment> "decimal data types (serializing test)" .
-_:genid86 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid87 .
-_:genid87 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-28.ttl> .
-_:genid86 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-28.out> .
-_:genid85 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid88 .
-_:genid88 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid89 .
-_:genid89 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-29" .
-_:genid89 <http://www.w3.org/2000/01/rdf-schema#comment> "Escaping U+0001 to U+007F in a URI" .
-_:genid89 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid90 .
-_:genid90 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-29.ttl> .
-_:genid89 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-29.out> .
-_:genid88 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid91 .
-_:genid91 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid92 .
-_:genid92 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-30" .
-_:genid92 <http://www.w3.org/2000/01/rdf-schema#comment> "@base" .
-_:genid92 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid93 .
-_:genid93 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-30.ttl> .
-_:genid92 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-30.out> .
-_:genid91 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid94 .
-_:genid94 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid95 .
-_:genid95 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "rdf-schema" .
-_:genid95 <http://www.w3.org/2000/01/rdf-schema#comment> "RDF Namespace document converted into Turtle" .
-_:genid95 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid96 .
-_:genid96 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <rdf-schema.ttl> .
-_:genid95 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <rdf-schema.out> .
-_:genid94 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid97 .
-_:genid97 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid98 .
-_:genid98 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "rdfs-namespace" .
-_:genid98 <http://www.w3.org/2000/01/rdf-schema#comment> "RDFS Namespace document converted into Turtle" .
-_:genid98 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid99 .
-_:genid99 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <rdfs-namespace.ttl> .
-_:genid98 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <rdfs-namespace.out> .
-_:genid97 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid100 .
-_:genid100 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid101 .
-_:genid101 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "rdfq-results" .
-_:genid101 <http://www.w3.org/2000/01/rdf-schema#comment> "Example query result from http://www.w3.org/2003/03/rdfqr-tests/recording-query-results.html" .
-_:genid101 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:genid102 .
-_:genid102 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <rdfq-results.ttl> .
-_:genid101 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <rdfq-results.out> .
-_:genid100 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<> <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#entries> _:b1 .
+_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b2 .
+_:b2 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-00" .
+_:b2 <http://www.w3.org/2000/01/rdf-schema#comment> "Blank subject" .
+_:b2 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b3 .
+_:b3 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-00.ttl> .
+_:b2 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-00.out> .
+_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b4 .
+_:b4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b5 .
+_:b5 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-01" .
+_:b5 <http://www.w3.org/2000/01/rdf-schema#comment> "@prefix and qnames" .
+_:b5 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b6 .
+_:b6 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-01.ttl> .
+_:b5 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-01.out> .
+_:b4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b7 .
+_:b7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b8 .
+_:b8 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-02" .
+_:b8 <http://www.w3.org/2000/01/rdf-schema#comment> ", operator" .
+_:b8 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b9 .
+_:b9 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-02.ttl> .
+_:b8 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-02.out> .
+_:b7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b10 .
+_:b10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b11 .
+_:b11 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-03" .
+_:b11 <http://www.w3.org/2000/01/rdf-schema#comment> "; operator" .
+_:b11 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b12 .
+_:b12 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-03.ttl> .
+_:b11 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-03.out> .
+_:b10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b13 .
+_:b13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b14 .
+_:b14 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-04" .
+_:b14 <http://www.w3.org/2000/01/rdf-schema#comment> "empty [] as subject and object" .
+_:b14 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b15 .
+_:b15 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-04.ttl> .
+_:b14 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-04.out> .
+_:b13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b16 .
+_:b16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b17 .
+_:b17 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-05" .
+_:b17 <http://www.w3.org/2000/01/rdf-schema#comment> "non-empty [] as subject and object" .
+_:b17 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b18 .
+_:b18 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-05.ttl> .
+_:b17 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-05.out> .
+_:b16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b19 .
+_:b19 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b20 .
+_:b20 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-06" .
+_:b20 <http://www.w3.org/2000/01/rdf-schema#comment> "'a' as predicate" .
+_:b20 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b21 .
+_:b21 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-06.ttl> .
+_:b20 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-06.out> .
+_:b19 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b22 .
+_:b22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b23 .
+_:b23 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-07" .
+_:b23 <http://www.w3.org/2000/01/rdf-schema#comment> "simple collection" .
+_:b23 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b24 .
+_:b24 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-07.ttl> .
+_:b23 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-07.out> .
+_:b22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b25 .
+_:b25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b26 .
+_:b26 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-08" .
+_:b26 <http://www.w3.org/2000/01/rdf-schema#comment> "empty collection" .
+_:b26 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b27 .
+_:b27 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-08.ttl> .
+_:b26 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-08.out> .
+_:b25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b28 .
+_:b28 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b29 .
+_:b29 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-09" .
+_:b29 <http://www.w3.org/2000/01/rdf-schema#comment> "integer datatyped literal" .
+_:b29 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b30 .
+_:b30 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-09.ttl> .
+_:b29 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-09.out> .
+_:b28 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b31 .
+_:b31 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b32 .
+_:b32 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-10" .
+_:b32 <http://www.w3.org/2000/01/rdf-schema#comment> "decimal integer canonicalization" .
+_:b32 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b33 .
+_:b33 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-10.ttl> .
+_:b32 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-10.out> .
+_:b31 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b34 .
+_:b34 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b35 .
+_:b35 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-11" .
+_:b35 <http://www.w3.org/2000/01/rdf-schema#comment> "- and _ in names and qnames" .
+_:b35 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b36 .
+_:b36 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-11.ttl> .
+_:b35 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-11.out> .
+_:b34 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b37 .
+_:b37 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b38 .
+_:b38 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-12" .
+_:b38 <http://www.w3.org/2000/01/rdf-schema#comment> "tests for rdf:_<numbers> and other qnames starting with _" .
+_:b38 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b39 .
+_:b39 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-12.ttl> .
+_:b38 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-12.out> .
+_:b37 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b40 .
+_:b40 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b41 .
+_:b41 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-13" .
+_:b41 <http://www.w3.org/2000/01/rdf-schema#comment> "bare : allowed" .
+_:b41 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b42 .
+_:b42 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-13.ttl> .
+_:b41 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-13.out> .
+_:b40 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b43 .
+_:b43 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b44 .
+_:b44 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-14" .
+_:b44 <http://www.w3.org/2000/01/rdf-schema#comment> "10000 triples, more than the default Bison stack size" .
+_:b44 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b45 .
+_:b45 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-14.ttl> .
+_:b44 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-14.out> .
+_:b43 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b46 .
+_:b46 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b47 .
+_:b47 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-15" .
+_:b47 <http://www.w3.org/2000/01/rdf-schema#comment> "10000 triple objects (10000 triples)" .
+_:b47 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b48 .
+_:b48 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-15.ttl> .
+_:b47 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-15.out> .
+_:b46 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b49 .
+_:b49 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b50 .
+_:b50 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-16" .
+_:b50 <http://www.w3.org/2000/01/rdf-schema#comment> "10000 items (10000 triples)" .
+_:b50 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b51 .
+_:b51 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-16.ttl> .
+_:b50 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-16.out> .
+_:b49 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b52 .
+_:b52 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b53 .
+_:b53 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-17" .
+_:b53 <http://www.w3.org/2000/01/rdf-schema#comment> "simple long literal" .
+_:b53 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b54 .
+_:b54 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-17.ttl> .
+_:b53 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-17.out> .
+_:b52 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b55 .
+_:b55 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b56 .
+_:b56 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-18" .
+_:b56 <http://www.w3.org/2000/01/rdf-schema#comment> "long literals with escapes" .
+_:b56 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b57 .
+_:b57 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-18.ttl> .
+_:b56 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-18.out> .
+_:b55 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b58 .
+_:b58 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b59 .
+_:b59 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-19" .
+_:b59 <http://www.w3.org/2000/01/rdf-schema#comment> "floating point number" .
+_:b59 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b60 .
+_:b60 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-19.ttl> .
+_:b59 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-19.out> .
+_:b58 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b61 .
+_:b61 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b62 .
+_:b62 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-20" .
+_:b62 <http://www.w3.org/2000/01/rdf-schema#comment> "empty literals, normal and long variant" .
+_:b62 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b63 .
+_:b63 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-20.ttl> .
+_:b62 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-20.out> .
+_:b61 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b64 .
+_:b64 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b65 .
+_:b65 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-21" .
+_:b65 <http://www.w3.org/2000/01/rdf-schema#comment> "positive integer, decimal and doubles" .
+_:b65 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b66 .
+_:b66 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-21.ttl> .
+_:b65 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-21.out> .
+_:b64 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b67 .
+_:b67 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b68 .
+_:b68 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-22" .
+_:b68 <http://www.w3.org/2000/01/rdf-schema#comment> "negative integer, decimal and doubles" .
+_:b68 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b69 .
+_:b69 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-22.ttl> .
+_:b68 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-22.out> .
+_:b67 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b70 .
+_:b70 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b71 .
+_:b71 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-23" .
+_:b71 <http://www.w3.org/2000/01/rdf-schema#comment> "long literal ending in double quote" .
+_:b71 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b72 .
+_:b72 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-23.ttl> .
+_:b71 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-23.out> .
+_:b70 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b73 .
+_:b73 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b74 .
+_:b74 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-24" .
+_:b74 <http://www.w3.org/2000/01/rdf-schema#comment> "boolean literals" .
+_:b74 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b75 .
+_:b75 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-24.ttl> .
+_:b74 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-24.out> .
+_:b73 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b76 .
+_:b76 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b77 .
+_:b77 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-25" .
+_:b77 <http://www.w3.org/2000/01/rdf-schema#comment> "comments" .
+_:b77 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b78 .
+_:b78 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-25.ttl> .
+_:b77 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-25.out> .
+_:b76 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b79 .
+_:b79 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b80 .
+_:b80 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-26" .
+_:b80 <http://www.w3.org/2000/01/rdf-schema#comment> "no final mewline" .
+_:b80 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b81 .
+_:b81 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-26.ttl> .
+_:b80 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-26.out> .
+_:b79 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b82 .
+_:b82 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b83 .
+_:b83 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-27" .
+_:b83 <http://www.w3.org/2000/01/rdf-schema#comment> "duplicate prefix" .
+_:b83 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b84 .
+_:b84 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-27.ttl> .
+_:b83 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-27.out> .
+_:b82 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b85 .
+_:b85 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b86 .
+_:b86 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-28" .
+_:b86 <http://www.w3.org/2000/01/rdf-schema#comment> "decimal data types (serializing test)" .
+_:b86 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b87 .
+_:b87 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-28.ttl> .
+_:b86 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-28.out> .
+_:b85 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b88 .
+_:b88 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b89 .
+_:b89 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-29" .
+_:b89 <http://www.w3.org/2000/01/rdf-schema#comment> "Escaping U+0001 to U+007F in a URI" .
+_:b89 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b90 .
+_:b90 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-29.ttl> .
+_:b89 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-29.out> .
+_:b88 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b91 .
+_:b91 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b92 .
+_:b92 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "test-30" .
+_:b92 <http://www.w3.org/2000/01/rdf-schema#comment> "@base" .
+_:b92 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b93 .
+_:b93 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <test-30.ttl> .
+_:b92 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <test-30.out> .
+_:b91 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b94 .
+_:b94 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b95 .
+_:b95 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "rdf-schema" .
+_:b95 <http://www.w3.org/2000/01/rdf-schema#comment> "RDF Namespace document converted into Turtle" .
+_:b95 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b96 .
+_:b96 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <rdf-schema.ttl> .
+_:b95 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <rdf-schema.out> .
+_:b94 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b97 .
+_:b97 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b98 .
+_:b98 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "rdfs-namespace" .
+_:b98 <http://www.w3.org/2000/01/rdf-schema#comment> "RDFS Namespace document converted into Turtle" .
+_:b98 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b99 .
+_:b99 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <rdfs-namespace.ttl> .
+_:b98 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <rdfs-namespace.out> .
+_:b97 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b100 .
+_:b100 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b101 .
+_:b101 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#name> "rdfq-results" .
+_:b101 <http://www.w3.org/2000/01/rdf-schema#comment> "Example query result from http://www.w3.org/2003/03/rdfqr-tests/recording-query-results.html" .
+_:b101 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#action> _:b102 .
+_:b102 <http://www.w3.org/2001/sw/DataAccess/tests/test-query#data> <rdfq-results.ttl> .
+_:b101 <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#result> <rdfq-results.out> .
+_:b100 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
diff --git a/tests/test-00.nt b/tests/test-00.nt
index 7f8b717e..d1d84a2d 100644
--- a/tests/test-00.nt
+++ b/tests/test-00.nt
@@ -1 +1 @@
-_:genid1 <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#x> <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#y> .
+_:b1 <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#x> <http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl#y> .
diff --git a/tests/test-04.nt b/tests/test-04.nt
index 414e4b84..d5d01526 100644
--- a/tests/test-04.nt
+++ b/tests/test-04.nt
@@ -1,2 +1,2 @@
-_:genid1 <http://example.org/base#a> <http://example.org/base#b> .
-<http://example.org/base#c> <http://example.org/base#d> _:genid2 .
+_:b1 <http://example.org/base#a> <http://example.org/base#b> .
+<http://example.org/base#c> <http://example.org/base#d> _:b2 .
diff --git a/tests/test-05.nt b/tests/test-05.nt
index bf904178..d440197f 100644
--- a/tests/test-05.nt
+++ b/tests/test-05.nt
@@ -1,4 +1,4 @@
-_:genid1 <http://example.org/base#a> <http://example.org/base#b> .
-_:genid1 <http://example.org/base#c> <http://example.org/base#d> .
-<http://example.org/base#e> <http://example.org/base#f> _:genid2 .
-_:genid2 <http://example.org/base#g> <http://example.org/base#h> .
+_:b1 <http://example.org/base#a> <http://example.org/base#b> .
+_:b1 <http://example.org/base#c> <http://example.org/base#d> .
+<http://example.org/base#e> <http://example.org/base#f> _:b2 .
+_:b2 <http://example.org/base#g> <http://example.org/base#h> .
diff --git a/tests/test-07.nt b/tests/test-07.nt
index e17cc7be..923f26a4 100644
--- a/tests/test-07.nt
+++ b/tests/test-07.nt
@@ -1,5 +1,5 @@
-<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> _:genid1 .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid2 .
-_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
-_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> _:el1 .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el2 .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
diff --git a/tests/test-09.nt b/tests/test-09.nt
index 5fdb9099..c7164085 100644
--- a/tests/test-09.nt
+++ b/tests/test-09.nt
@@ -1,4 +1,4 @@
_:hasParent <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
-_:genid1 <http://www.w3.org/2002/07/owl#onProperty> _:hasParent .
-_:genid1 <http://www.w3.org/2002/07/owl#maxCardinality> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Restriction> .
+_:b1 <http://www.w3.org/2002/07/owl#onProperty> _:hasParent .
+_:b1 <http://www.w3.org/2002/07/owl#maxCardinality> "2"^^<http://www.w3.org/2001/XMLSchema#integer> .
diff --git a/tests/test-13.nt b/tests/test-13.nt
index 9feb5ad0..195a1af7 100644
--- a/tests/test-13.nt
+++ b/tests/test-13.nt
@@ -1,2 +1,2 @@
-_:genid1 <http://example.org/ron> _:genid2 .
+_:b1 <http://example.org/ron> _:b2 .
<http://example.org/ron> <http://example.org/ron> <http://example.org/ron> .
diff --git a/tests/test-blank-cont.nt b/tests/test-blank-cont.nt
index d64e3e46..a4b44e7d 100644
--- a/tests/test-blank-cont.nt
+++ b/tests/test-blank-cont.nt
@@ -1,4 +1,4 @@
-<http://example.org/base#subj> <http://example.org/base#pred> _:genid1 .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/base#FirstThing> .
-<http://example.org/base#subj> <http://example.org/base#pred> _:genid2 .
-_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/base#SecondThing> .
+<http://example.org/base#subj> <http://example.org/base#pred> _:b1 .
+_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/base#FirstThing> .
+<http://example.org/base#subj> <http://example.org/base#pred> _:b2 .
+_:b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/base#SecondThing> .
diff --git a/tests/test-blank-in-list.nt b/tests/test-blank-in-list.nt
index 2e0c0eb0..253087e7 100644
--- a/tests/test-blank-in-list.nt
+++ b/tests/test-blank-in-list.nt
@@ -1,4 +1,4 @@
-<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> _:genid1 .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid2 .
-_:genid2 <http://example.org/stuff/1.0/c> <http://example.org/stuff/1.0/d> .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> _:el1 .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b2 .
+_:b2 <http://example.org/stuff/1.0/c> <http://example.org/stuff/1.0/d> .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
diff --git a/tests/test-id.nt b/tests/test-id.nt
index 722fc6d1..b4b11069 100644
--- a/tests/test-id.nt
+++ b/tests/test-id.nt
@@ -1,2 +1,2 @@
-<http://example.org/base#c> <http://example.org/base#d> _:genid1 .
-_:docid1 <http://example.org/base#a> <http://example.org/base#b> .
+<http://example.org/base#c> <http://example.org/base#d> _:b1 .
+_:B1 <http://example.org/base#a> <http://example.org/base#b> .
diff --git a/tests/test-id.ttl b/tests/test-id.ttl
index 6bc1c37d..cfd0e9ca 100644
--- a/tests/test-id.ttl
+++ b/tests/test-id.ttl
@@ -1,4 +1,4 @@
@prefix : <http://example.org/base#> .
:c :d [] .
-_:genid1 :a :b .
+_:b1 :a :b .
diff --git a/tests/test-list-in-blank.nt b/tests/test-list-in-blank.nt
index 76023a8b..b7f631da 100644
--- a/tests/test-list-in-blank.nt
+++ b/tests/test-list-in-blank.nt
@@ -1,6 +1,6 @@
-<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> _:genid1 .
-_:genid1 <http://example.org/stuff/1.0/c> _:genid2 .
-_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
-_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid3 .
-_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
-_:genid3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+<http://example.org/stuff/1.0/a> <http://example.org/stuff/1.0/b> _:b1 .
+_:b1 <http://example.org/stuff/1.0/c> _:el2 .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el3 .
+_:el3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
+_:el3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
diff --git a/tests/test-list-subject.nt b/tests/test-list-subject.nt
index 9a853774..ef87b0f2 100644
--- a/tests/test-list-subject.nt
+++ b/tests/test-list-subject.nt
@@ -1,6 +1,6 @@
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/List> .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid2 .
-_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
-_:genid2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-_:genid1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/List> .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el2 .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
+_:el2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:el1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/List> .
diff --git a/tests/test-pretty.nt b/tests/test-pretty.nt
index c61f7c22..f96a10e2 100644
--- a/tests/test-pretty.nt
+++ b/tests/test-pretty.nt
@@ -1,46 +1,46 @@
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.org/isA> <http://example.org/List> .
-_:genid1 <http://example.org/isA> <http://example.org/Blank> .
+_:b1 <http://example.org/isA> <http://example.org/Blank> .
<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://example.org/sameAs> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-_:genid2 <http://example.org/sameAs> _:genid3 .
-_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
-_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid5 .
-_:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
-_:genid5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid6 .
-_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "pear" .
-_:genid6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-_:genid4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/List> .
-_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid8 .
-_:genid8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/a> .
-_:genid8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid9 .
-_:genid9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/b> .
-_:genid9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid10 .
-_:genid10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid11 .
-_:genid11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/c> .
-_:genid11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid12 .
-_:genid12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/d> .
-_:genid12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-_:genid10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-_:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/List> .
-_:genid13 <http://example.org/list> _:genid14 .
-_:genid14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
-_:genid14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid15 .
-_:genid15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
-_:genid15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid16 .
-_:genid16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "pear" .
-_:genid16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
-_:genid17 <http://example.org/a> <http://example.org/b> .
-_:genid17 <http://example.org/a> <http://example.org/c> .
-_:genid17 <http://example.org/a> <http://example.org/d> .
-_:genid18 <http://example.org/a> _:genid19 .
-_:genid19 <http://example.org/b> <http://example.org/c> .
-_:genid19 <http://example.org/d> <http://example.org/e> .
-_:genid18 <http://example.org/a> _:genid20 .
-_:genid20 <http://example.org/f> <http://example.org/g> .
-_:genid21 <http://example.org/list> _:genid22 .
-_:genid22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid23 .
-_:genid23 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Apple> .
-_:genid22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:genid24 .
-_:genid24 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:genid25 .
-_:genid25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Banana> .
-_:genid24 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:b2 <http://example.org/sameAs> _:b3 .
+_:el4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
+_:el4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el5 .
+_:el5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
+_:el5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el6 .
+_:el6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "pear" .
+_:el6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:el4 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/List> .
+_:el7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:el8 .
+_:el8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/a> .
+_:el8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el9 .
+_:el9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/b> .
+_:el9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:el7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el10 .
+_:el10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:el11 .
+_:el11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/c> .
+_:el11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el12 .
+_:el12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> <http://example.org/d> .
+_:el12 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:el10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:el7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/List> .
+_:b13 <http://example.org/list> _:el14 .
+_:el14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "apple" .
+_:el14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el15 .
+_:el15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "banana" .
+_:el15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el16 .
+_:el16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "pear" .
+_:el16 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
+_:b17 <http://example.org/a> <http://example.org/b> .
+_:b17 <http://example.org/a> <http://example.org/c> .
+_:b17 <http://example.org/a> <http://example.org/d> .
+_:b18 <http://example.org/a> _:b19 .
+_:b19 <http://example.org/b> <http://example.org/c> .
+_:b19 <http://example.org/d> <http://example.org/e> .
+_:b18 <http://example.org/a> _:b20 .
+_:b20 <http://example.org/f> <http://example.org/g> .
+_:b21 <http://example.org/list> _:el22 .
+_:el22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b23 .
+_:b23 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Apple> .
+_:el22 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:el24 .
+_:el24 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> _:b25 .
+_:b25 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Banana> .
+_:el24 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .