Get rid of the configurable prefix in Generate Blank Node Identifier algorithm
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Sun, 17 Feb 2013 16:01:46 +0100
changeset 1291 1f847b3ef74a
parent 1290 60d57b9fae50
child 1292 66ab689a396e
Get rid of the configurable prefix in Generate Blank Node Identifier algorithm

Fix prefix to "_:b" which is easier to remember as "_:t". Improved explanation slightly. Remove note about keeping it in active context, which probably caused more confusion than it helped.

This addresses #218.
spec/latest/json-ld-api/index.html
test-suite/tests/compact-0032-out.jsonld
test-suite/tests/expand-0038-out.jsonld
test-suite/tests/expand-0039-out.jsonld
test-suite/tests/flatten-0016-out.jsonld
test-suite/tests/flatten-0020-out.jsonld
test-suite/tests/flatten-0021-out.jsonld
test-suite/tests/flatten-0022-out.jsonld
test-suite/tests/flatten-0023-out.jsonld
test-suite/tests/flatten-0025-out.jsonld
test-suite/tests/flatten-0033-out.jsonld
test-suite/tests/flatten-0037-out.jsonld
test-suite/tests/flatten-0038-out.jsonld
test-suite/tests/flatten-0039-out.jsonld
test-suite/tests/frame-0005-out.jsonld
test-suite/tests/frame-0009-out.jsonld
test-suite/tests/frame-0010-out.jsonld
test-suite/tests/frame-0012-out.jsonld
test-suite/tests/frame-0013-out.jsonld
test-suite/tests/frame-0014-out.jsonld
test-suite/tests/frame-0015-out.jsonld
test-suite/tests/frame-0020-out.jsonld
test-suite/tests/frame-0021-out.jsonld
test-suite/tests/toRdf-0003-out.nq
test-suite/tests/toRdf-0004-out.nq
test-suite/tests/toRdf-0005-out.nq
test-suite/tests/toRdf-0008-out.nq
test-suite/tests/toRdf-0009-out.nq
test-suite/tests/toRdf-0011-out.nq
test-suite/tests/toRdf-0014-out.nq
test-suite/tests/toRdf-0015-out.nq
test-suite/tests/toRdf-0021-out.nq
test-suite/tests/toRdf-0022-out.nq
test-suite/tests/toRdf-0023-out.nq
test-suite/tests/toRdf-0024-out.nq
test-suite/tests/toRdf-0025-out.nq
test-suite/tests/toRdf-0026-out.nq
--- a/spec/latest/json-ld-api/index.html	Sun Feb 17 15:40:44 2013 +0100
+++ b/spec/latest/json-ld-api/index.html	Sun Feb 17 16:01:46 2013 +0100
@@ -2167,50 +2167,32 @@
 </section>
 
 <section>
-<h2>Generate Blank Node Identifier</h2>
-
-<p>
-This algorithm is used to generate new
-<tref title="blank node identifier">blank node identifiers</tref> or to
-relabel an existing
-<tref>blank node identifier</tref> to avoid collision by the introduction
-of new ones. It needs to keep an <em>identifier map</em>, a <em>counter</em>,
-and a <em>prefix</em> between its executions to be able to generate new
-<tref title="blank node identifier">blank node identifiers</tref>. Note
-that it may be most convenient to keep this state information in the
-<tref>active context</tref>, so long as it is preserved (shared) when the
-<tref>active context</tref> is cloned during
-<a href="#context-processing">Context Processing</a>. The <em>counter</em> is
-initialized to <code>0</code> and <em>prefix</em> is set to <code>_:t</code>
-by default.
-</p>
-
-<p>
-The algorithm takes a single input variable <em>identifier</em> which may
-be <tref>null</tref>.
-</p>
-
-<ol class="algorithm">
-  <li>
-    If the <em>identifier</em> is not <tref>null</tref> and is in the
-    <em>identifier map</em>, return the mapped identifier.
-  </li>
-  <li>
-    Otherwise, generate a new <em>blankNodeIdentifier</em> by concatenating
-    <em>prefix</em> and <em>counter</em>.
-  </li>
-  <li>
-    Increment <em>counter</em> by <code>1</code>.
-  </li>
-  <li>
-    If <em>identifier</em> is not <tref>null</tref>, create a new entry in
-    <em>identifier map</em> set to <em>blankNodeIdentifer</em>.
-  </li>
-  <li>
-    Return <em>blankNodeIdentifier</em>.
-  </li>
-</ol>
-
+  <h2>Generate Blank Node Identifier</h2>
+
+  <p>This algorithm is used to generate new
+    <tref title="blank node identifier">blank node identifiers</tref> or to
+    relabel an existing <tref>blank node identifier</tref> to avoid collision
+    by the introduction of new ones. Between its executions, the algorithm
+    needs to keep an <em>identifier map</em> to relabel existing
+    <tref title="blank node identifier">blank node identifiers</tref> consistently
+    and a <em>counter</em> to generate new
+    <tref title="blank node identifier">blank node identifiers</tref>. The
+    <em>counter</em> is initialized to <code>0</code> by default.</p>
+
+  <p>The algorithm takes a single input variable <em>identifier</em> which may
+    be <tref>null</tref>.</p>
+
+  <ol class="algorithm">
+    <li>If the <em>identifier</em> is not <tref>null</tref> and is in the
+      <em>identifier map</em>, return the mapped identifier.</li>
+    <li>Otherwise, generate a new <em>blankNodeIdentifier</em> by concatenating
+      the string <code>_:b</code> and <em>counter</em>.</li>
+    <li>Increment <em>counter</em> by <code>1</code>.</li>
+    <li>If <em>identifier</em> is not <tref>null</tref>, create a new entry
+      for <em>identifier</em> in <em>identifier map</em> and set its value
+      to <em>blankNodeIdentifer</em>.</li>
+    <li>Return <em>blankNodeIdentifier</em>.</li>
+  </ol>
 </section>
 
 <section>
--- a/test-suite/tests/compact-0032-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/compact-0032-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -20,7 +20,7 @@
       "@id": "http://ex.com/propA.1"
     },
     {
-      "@id": "_:t10",
+      "@id": "_:b10",
       "vocab:term": "http://ex.com/propA.2"
     },
     "propA.3",
@@ -28,11 +28,11 @@
       "@id": "http://ex.com/propA.4"
     },
     {
-      "@id": "_:t11",
+      "@id": "_:b11",
       "vocab:term": "http://ex.com/propA.5",
       "vocab:nested": [
         {
-          "@id": "_:t12",
+          "@id": "_:b12",
           "vocab:term": "http://ex.com/propA.5.1",
           "vocab:nested": [
             10510,
@@ -41,7 +41,7 @@
               "@id": "http://ex.com/propA.5.1.2"
             },
             {
-              "@id": "_:t13",
+              "@id": "_:b13",
               "vocab:term": "http://ex.com/propA.5.1.3"
             }
           ]
@@ -51,7 +51,7 @@
           "vocab:nested": [
             "propA.5.2.1",
             {
-              "@id": "_:t14",
+              "@id": "_:b14",
               "vocab:term": "http://ex.com/propA.5.2.2"
             },
             {
@@ -64,7 +64,7 @@
     },
     10600,
     {
-      "@id": "_:t15",
+      "@id": "_:b15",
       "vocab:term": "collission"
     }
   ],
@@ -78,14 +78,14 @@
       "@type": "http://datatype.example.org/type"
     },
     {
-      "@id": "_:t0",
+      "@id": "_:b0",
       "vocab:term": "collission"
     },
     {
       "@id": "http://ex.com/propB.2",
       "vocab:nested": [
         {
-         "@id": "_:t1",
+         "@id": "_:b1",
           "vocab:term": "http://ex.com/propB.2.1",
           "vocab:nested": [
             20110,
@@ -94,7 +94,7 @@
               "@id": "http://ex.com/propB.2.1.2"
             },
             {
-              "@id": "_:t2",
+              "@id": "_:b2",
               "vocab:term": "http://ex.com/propB.2.1.3"
             }
           ]
@@ -104,7 +104,7 @@
           "vocab:nested": [
             "propB.2.2.1",
             {
-              "@id": "_:t3",
+              "@id": "_:b3",
               "vocab:term": "http://ex.com/propB.2.2.2"
             },
             {
@@ -116,13 +116,13 @@
       ]
     },
     {
-      "@id": "_:t4",
+      "@id": "_:b4",
       "vocab:term": "http://ex.com/propB.3"
     }
   ],
   "propGenC": [
     {
-      "@id": "_:t5",
+      "@id": "_:b5",
       "vocab:term": "collission"
     },
     {
@@ -134,11 +134,11 @@
       "@id": "http://ex.com/propC.4"
     },
     {
-      "@id": "_:t6",
+      "@id": "_:b6",
       "vocab:term": "http://ex.com/propC.5",
       "vocab:nested": [
         {
-         "@id": "_:t7",
+         "@id": "_:b7",
           "vocab:term": "http://ex.com/propC.5.1",
           "vocab:nested": [
             10510,
@@ -147,7 +147,7 @@
               "@id": "http://ex.com/propC.5.1.2"
             },
             {
-              "@id": "_:t8",
+              "@id": "_:b8",
               "vocab:term": "http://ex.com/propC.5.1.3"
             }
           ]
@@ -157,7 +157,7 @@
           "vocab:nested": [
             "propC.5.2.1",
             {
-              "@id": "_:t9",
+              "@id": "_:b9",
               "vocab:term": "http://ex.com/propC.5.2.2"
             },
             {
--- a/test-suite/tests/expand-0038-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/expand-0038-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,25 +1,25 @@
 [
   {
-    "@id": "_:t0",
+    "@id": "_:b0",
     "@type": [
-      "_:t0"
+      "_:b0"
     ],
-    "_:t0": [
+    "_:b0": [
       {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "@type": [
-          "_:t0"
+          "_:b0"
         ],
-        "_:t0": [
+        "_:b0": [
           {
             "@value": "typed value term",
-            "@type": "_:t0"
+            "@type": "_:b0"
           }
         ]
       },
       {
-        "@id": "_:t1",
-        "_:t0": [
+        "@id": "_:b1",
+        "_:b0": [
           {
             "@value": "term"
           }
@@ -29,59 +29,59 @@
         "@value": "plain value"
       },
       {
-        "@id": "_:t0"
+        "@id": "_:b0"
       },
       {
-        "@type": "_:t0",
+        "@type": "_:b0",
         "@value": "term: typed value with type set to bnode"
       },
       {
-        "@type": "_:t0",
+        "@type": "_:b0",
         "@value": "term: typed value with type set to term"
       },
       {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "@type": [
-          "_:t0"
+          "_:b0"
         ],
-        "_:t0": [
+        "_:b0": [
           {
             "@value": "typed value termId",
-            "@type": "_:t0"
+            "@type": "_:b0"
           }
         ]
       },
       {
-        "@id": "_:t2",
-        "_:t0": [
+        "@id": "_:b2",
+        "_:b0": [
           {
             "@value": "termId"
           }
         ]
       },
       {
-        "@id": "_:t3"
+        "@id": "_:b3"
       },
       {
-        "@id": "_:t3"
+        "@id": "_:b3"
       },
       {
         "@id": "http://json-ld.org/test-suite/tests/relativeIri"
       },
       {
-        "@id": "_:t0"
+        "@id": "_:b0"
       },
       {
-        "@type": "_:t0",
+        "@type": "_:b0",
         "@value": "termId: typed value with type set to bnode"
       },
       {
-        "@type": "_:t0",
+        "@type": "_:b0",
         "@value": "termId: typed value with type set to term"
       },
       {
         "@value": "termTyped: value",
-        "@type": "_:t0"
+        "@type": "_:b0"
       }
     ]
   }
--- a/test-suite/tests/expand-0039-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/expand-0039-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -15,7 +15,7 @@
          "@value": "http://ex.com/propA.2",
          "@language": "de"
       }],
-      "@id": "_:t0"
+      "@id": "_:b0"
    }, {
       "@value": "propA.3",
       "@language": "de"
@@ -35,13 +35,13 @@
                "@value": "http://ex.com/propA.5.1.3",
                "@language": "de"
             }],
-            "@id": "_:t3"
+            "@id": "_:b3"
          }],
          "http://example.com/vocab/term": [{
             "@value": "http://ex.com/propA.5.1",
             "@language": "de"
          }],
-         "@id": "_:t2"
+         "@id": "_:b2"
       }, {
          "@id": "http://ex.com/propA.5.2",
          "http://example.com/vocab/nested": [{
@@ -52,7 +52,7 @@
                "@value": "http://ex.com/propA.5.2.2",
                "@language": "de"
             }],
-            "@id": "_:t4"
+            "@id": "_:b4"
          }, {
             "@id": "http://ex.com/propA.5.2.3"
          }, {
@@ -63,7 +63,7 @@
          "@value": "http://ex.com/propA.5",
          "@language": "de"
       }],
-      "@id": "_:t1"
+      "@id": "_:b1"
    }, {
       "@value": 10600
    }, {
@@ -71,7 +71,7 @@
          "@value": "collission",
          "@language": "de"
       }],
-      "@id": "_:t5"
+      "@id": "_:b5"
    }],
    "http://example.com/vocab/propGenB": [{
       "@value": "propGenB.coll.1",
@@ -93,7 +93,7 @@
             "@value": "collission",
             "@language": "de"
          }],
-         "@id": "_:t6"
+         "@id": "_:b6"
       }, {
          "@id": "http://ex.com/propB.2",
          "http://example.com/vocab/nested": [{
@@ -109,13 +109,13 @@
                   "@value": "http://ex.com/propB.2.1.3",
                   "@language": "de"
                }],
-               "@id": "_:t8"
+               "@id": "_:b8"
             }],
             "http://example.com/vocab/term": [{
                "@value": "http://ex.com/propB.2.1",
                "@language": "de"
             }],
-            "@id": "_:t7"
+            "@id": "_:b7"
          }, {
             "@id": "http://ex.com/propB.2.2",
             "http://example.com/vocab/nested": [{
@@ -126,7 +126,7 @@
                   "@value": "http://ex.com/propB.2.2.2",
                   "@language": "de"
                }],
-               "@id": "_:t9"
+               "@id": "_:b9"
             }, {
                "@id": "http://ex.com/propB.2.2.3"
             }, {
@@ -138,14 +138,14 @@
             "@value": "http://ex.com/propB.3",
             "@language": "de"
          }],
-         "@id": "_:t10"
+         "@id": "_:b10"
       }]
    }, {
       "http://example.com/vocab/term": [{
          "@value": "collission",
          "@language": "de"
       }],
-      "@id": "_:t11"
+      "@id": "_:b11"
    }, {
       "@value": "propC.2",
       "@language": "en"
@@ -167,13 +167,13 @@
                "@value": "http://ex.com/propC.5.1.3",
                "@language": "de"
             }],
-            "@id": "_:t14"
+            "@id": "_:b14"
          }],
          "http://example.com/vocab/term": [{
             "@value": "http://ex.com/propC.5.1",
             "@language": "de"
          }],
-         "@id": "_:t13"
+         "@id": "_:b13"
       }, {
          "@id": "http://ex.com/propC.5.2",
          "http://example.com/vocab/nested": [{
@@ -184,7 +184,7 @@
                "@value": "http://ex.com/propC.5.2.2",
                "@language": "de"
             }],
-            "@id": "_:t15"
+            "@id": "_:b15"
          }, {
             "@id": "http://ex.com/propC.5.2.3"
          }, {
@@ -195,7 +195,7 @@
          "@value": "http://ex.com/propC.5",
          "@language": "de"
       }],
-      "@id": "_:t12"
+      "@id": "_:b12"
    }],
    "http://www.example.org/shared/term": [{
       "@id": "http://ex.com/propA.1"
@@ -204,7 +204,7 @@
          "@value": "http://ex.com/propA.2",
          "@language": "de"
       }],
-      "@id": "_:t0"
+      "@id": "_:b0"
    }, {
       "@value": "propA.3",
       "@language": "de"
@@ -224,13 +224,13 @@
                "@value": "http://ex.com/propA.5.1.3",
                "@language": "de"
             }],
-            "@id": "_:t3"
+            "@id": "_:b3"
          }],
          "http://example.com/vocab/term": [{
             "@value": "http://ex.com/propA.5.1",
             "@language": "de"
          }],
-         "@id": "_:t2"
+         "@id": "_:b2"
       }, {
          "@id": "http://ex.com/propA.5.2",
          "http://example.com/vocab/nested": [{
@@ -241,7 +241,7 @@
                "@value": "http://ex.com/propA.5.2.2",
                "@language": "de"
             }],
-            "@id": "_:t4"
+            "@id": "_:b4"
          }, {
             "@id": "http://ex.com/propA.5.2.3"
          }, {
@@ -252,7 +252,7 @@
          "@value": "http://ex.com/propA.5",
          "@language": "de"
       }],
-      "@id": "_:t1"
+      "@id": "_:b1"
    }, {
       "@value": 10600
    }, {
@@ -260,7 +260,7 @@
          "@value": "collission",
          "@language": "de"
       }],
-      "@id": "_:t5"
+      "@id": "_:b5"
    }, {
       "@list": [{
          "@value": 20000,
@@ -273,7 +273,7 @@
             "@value": "collission",
             "@language": "de"
          }],
-         "@id": "_:t6"
+         "@id": "_:b6"
       }, {
          "@id": "http://ex.com/propB.2",
          "http://example.com/vocab/nested": [{
@@ -289,13 +289,13 @@
                   "@value": "http://ex.com/propB.2.1.3",
                   "@language": "de"
                }],
-               "@id": "_:t8"
+               "@id": "_:b8"
             }],
             "http://example.com/vocab/term": [{
                "@value": "http://ex.com/propB.2.1",
                "@language": "de"
             }],
-            "@id": "_:t7"
+            "@id": "_:b7"
          }, {
             "@id": "http://ex.com/propB.2.2",
             "http://example.com/vocab/nested": [{
@@ -306,7 +306,7 @@
                   "@value": "http://ex.com/propB.2.2.2",
                   "@language": "de"
                }],
-               "@id": "_:t9"
+               "@id": "_:b9"
             }, {
                "@id": "http://ex.com/propB.2.2.3"
             }, {
@@ -318,14 +318,14 @@
             "@value": "http://ex.com/propB.3",
             "@language": "de"
          }],
-         "@id": "_:t10"
+         "@id": "_:b10"
       }]
    }, {
       "http://example.com/vocab/term": [{
          "@value": "collission",
          "@language": "de"
       }],
-      "@id": "_:t11"
+      "@id": "_:b11"
    }, {
       "@value": "propC.2",
       "@language": "en"
@@ -347,13 +347,13 @@
                "@value": "http://ex.com/propC.5.1.3",
                "@language": "de"
             }],
-            "@id": "_:t14"
+            "@id": "_:b14"
          }],
          "http://example.com/vocab/term": [{
             "@value": "http://ex.com/propC.5.1",
             "@language": "de"
          }],
-         "@id": "_:t13"
+         "@id": "_:b13"
       }, {
          "@id": "http://ex.com/propC.5.2",
          "http://example.com/vocab/nested": [{
@@ -364,7 +364,7 @@
                "@value": "http://ex.com/propC.5.2.2",
                "@language": "de"
             }],
-            "@id": "_:t15"
+            "@id": "_:b15"
          }, {
             "@id": "http://ex.com/propC.5.2.3"
          }, {
@@ -375,7 +375,7 @@
          "@value": "http://ex.com/propC.5",
          "@language": "de"
       }],
-      "@id": "_:t12"
+      "@id": "_:b12"
    }],
    "http://example.com/somethingElse": [{
       "@list": [{
@@ -389,7 +389,7 @@
             "@value": "collission",
             "@language": "de"
          }],
-         "@id": "_:t6"
+         "@id": "_:b6"
       }, {
          "@id": "http://ex.com/propB.2",
          "http://example.com/vocab/nested": [{
@@ -405,13 +405,13 @@
                   "@value": "http://ex.com/propB.2.1.3",
                   "@language": "de"
                }],
-               "@id": "_:t8"
+               "@id": "_:b8"
             }],
             "http://example.com/vocab/term": [{
                "@value": "http://ex.com/propB.2.1",
                "@language": "de"
             }],
-            "@id": "_:t7"
+            "@id": "_:b7"
          }, {
             "@id": "http://ex.com/propB.2.2",
             "http://example.com/vocab/nested": [{
@@ -422,7 +422,7 @@
                   "@value": "http://ex.com/propB.2.2.2",
                   "@language": "de"
                }],
-               "@id": "_:t9"
+               "@id": "_:b9"
             }, {
                "@id": "http://ex.com/propB.2.2.3"
             }, {
@@ -434,14 +434,14 @@
             "@value": "http://ex.com/propB.3",
             "@language": "de"
          }],
-         "@id": "_:t10"
+         "@id": "_:b10"
       }]
    }, {
       "http://example.com/vocab/term": [{
          "@value": "collission",
          "@language": "de"
       }],
-      "@id": "_:t11"
+      "@id": "_:b11"
    }, {
       "@value": "propC.2",
       "@language": "en"
@@ -463,13 +463,13 @@
                "@value": "http://ex.com/propC.5.1.3",
                "@language": "de"
             }],
-            "@id": "_:t14"
+            "@id": "_:b14"
          }],
          "http://example.com/vocab/term": [{
             "@value": "http://ex.com/propC.5.1",
             "@language": "de"
          }],
-         "@id": "_:t13"
+         "@id": "_:b13"
       }, {
          "@id": "http://ex.com/propC.5.2",
          "http://example.com/vocab/nested": [{
@@ -480,7 +480,7 @@
                "@value": "http://ex.com/propC.5.2.2",
                "@language": "de"
             }],
-            "@id": "_:t15"
+            "@id": "_:b15"
          }, {
             "@id": "http://ex.com/propC.5.2.3"
          }, {
@@ -491,6 +491,6 @@
          "@value": "http://ex.com/propC.5",
          "@language": "de"
       }],
-      "@id": "_:t12"
+      "@id": "_:b12"
    }]
 }]
--- a/test-suite/tests/flatten-0016-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/flatten-0016-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,12 +1,12 @@
 [
     {
-        "@id": "_:t0"
+        "@id": "_:b0"
     },
     {
         "@id": "http://example.org/id1",
         "http://example.com/emptyobj": [
             {
-                "@id": "_:t0"
+                "@id": "_:b0"
             }
         ],
         "http://example.com/mylist1": [
@@ -48,4 +48,4 @@
             }
         ]
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0020-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/flatten-0020-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,6 +1,6 @@
 [
     {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "@graph": [
             {
                 "@id": "http://example.org/test#chapter1",
@@ -55,7 +55,7 @@
         "@id": "http://example.org/test#jane",
         "http://example.org/vocab#authored": [
             {
-                "@id": "_:t0"
+                "@id": "_:b0"
             }
         ],
         "http://xmlns.com/foaf/0.1/name": [
@@ -80,4 +80,4 @@
             }
         ]
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0021-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/flatten-0021-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,6 +1,6 @@
 [
     {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "http://purl.org/dc/elements/1.1/title": [
             {
                 "@value": "My first graph"
@@ -8,7 +8,7 @@
         ],
         "@graph": [
             {
-                "@id": "_:t1"
+                "@id": "_:b1"
             },
             {
                 "@id": "http://example.org/test#book",
@@ -35,7 +35,7 @@
                 "@id": "http://example.org/test#jane",
                 "http://example.org/vocab#authored": [
                     {
-                        "@id": "_:t1"
+                        "@id": "_:b1"
                     }
                 ],
                 "http://xmlns.com/foaf/0.1/name": [
@@ -63,7 +63,7 @@
         ]
     },
     {
-        "@id": "_:t1",
+        "@id": "_:b1",
         "@graph": [
             {
                 "@id": "http://example.org/test#chapter1",
--- a/test-suite/tests/flatten-0022-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/flatten-0022-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,6 +1,6 @@
 [
     {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "http://example.com/term": [
             {
                 "@value": "v",
@@ -8,4 +8,4 @@
             }
         ]
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0023-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/flatten-0023-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,6 +1,6 @@
 [
     {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "http://example.com/datelist": [
             {
                 "@list": [
@@ -68,4 +68,4 @@
     {
         "@id": "http://www.w3.org/2001/XMLSchema#date"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0025-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/flatten-0025-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,6 +1,6 @@
 [
     {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "@type": [
             "http://example.com/foo/",
             "http://example.com/bar",
--- a/test-suite/tests/flatten-0033-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/flatten-0033-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,6 +1,6 @@
 [
     {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "http://example.com/vocab#created_at": [
             {
                 "@value": "2012-10-28",
@@ -24,4 +24,4 @@
     {
         "@id": "http://www.w3.org/2001/XMLSchema#date"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0037-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/flatten-0037-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -26,4 +26,4 @@
     {
         "@id": "http://example.com/term/this-is-a-tag"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0038-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/flatten-0038-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,78 +1,78 @@
 [
     {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "@type": [
-            "_:t0"
+            "_:b0"
         ],
-        "_:t0": [
+        "_:b0": [
             {
-                "@id": "_:t0"
+                "@id": "_:b0"
             },
             {
                 "@value": "typed value term",
-                "@type": "_:t0"
+                "@type": "_:b0"
             },
             {
-                "@id": "_:t1"
+                "@id": "_:b1"
             },
             {
                 "@value": "plain value"
             },
             {
-                "@type": "_:t0",
+                "@type": "_:b0",
                 "@value": "term: typed value with type set to bnode"
             },
             {
-                "@type": "_:t0",
+                "@type": "_:b0",
                 "@value": "term: typed value with type set to term"
             },
             {
                 "@value": "typed value termId",
-                "@type": "_:t0"
+                "@type": "_:b0"
             },
             {
-                "@id": "_:t2"
+                "@id": "_:b2"
             },
             {
-                "@id": "_:t3"
+                "@id": "_:b3"
             },
             {
                 "@id": "http://json-ld.org/test-suite/tests/relativeIri"
             },
             {
-                "@type": "_:t0",
+                "@type": "_:b0",
                 "@value": "termId: typed value with type set to bnode"
             },
             {
-                "@type": "_:t0",
+                "@type": "_:b0",
                 "@value": "termId: typed value with type set to term"
             },
             {
                 "@value": "termTyped: value",
-                "@type": "_:t0"
+                "@type": "_:b0"
             }
         ]
     },
     {
-        "@id": "_:t1",
-        "_:t0": [
+        "@id": "_:b1",
+        "_:b0": [
             {
                 "@value": "term"
             }
         ]
     },
     {
-        "@id": "_:t2",
-        "_:t0": [
+        "@id": "_:b2",
+        "_:b0": [
             {
                 "@value": "termId"
             }
         ]
     },
     {
-        "@id": "_:t3"
+        "@id": "_:b3"
     },
     {
         "@id": "http://json-ld.org/test-suite/tests/relativeIri"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0039-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/flatten-0039-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,12 +1,12 @@
 [
     {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "http://example.com/vocab/term": [
 
         ]
     },
     {
-        "@id": "_:t1",
+        "@id": "_:b1",
         "http://example.com/vocab/nested": [
 
         ],
@@ -15,7 +15,7 @@
         ]
     },
     {
-        "@id": "_:t10",
+        "@id": "_:b10",
         "http://example.com/vocab/term": [
             {
                 "@value": "collission",
@@ -24,7 +24,7 @@
         ]
     },
     {
-        "@id": "_:t11",
+        "@id": "_:b11",
         "http://example.com/vocab/term": [
             {
                 "@value": "http://ex.com/propA.2",
@@ -33,10 +33,10 @@
         ]
     },
     {
-        "@id": "_:t12",
+        "@id": "_:b12",
         "http://example.com/vocab/nested": [
             {
-                "@id": "_:t13"
+                "@id": "_:b13"
             },
             {
                 "@id": "http://ex.com/propA.5.2"
@@ -50,7 +50,7 @@
         ]
     },
     {
-        "@id": "_:t13",
+        "@id": "_:b13",
         "http://example.com/vocab/nested": [
             {
                 "@value": 10510
@@ -63,7 +63,7 @@
                 "@id": "http://ex.com/propA.5.1.2"
             },
             {
-                "@id": "_:t14"
+                "@id": "_:b14"
             }
         ],
         "http://example.com/vocab/term": [
@@ -74,7 +74,7 @@
         ]
     },
     {
-        "@id": "_:t14",
+        "@id": "_:b14",
         "http://example.com/vocab/term": [
             {
                 "@value": "http://ex.com/propA.5.1.3",
@@ -83,7 +83,7 @@
         ]
     },
     {
-        "@id": "_:t15",
+        "@id": "_:b15",
         "http://example.com/vocab/term": [
             {
                 "@value": "http://ex.com/propA.5.2.2",
@@ -92,7 +92,7 @@
         ]
     },
     {
-        "@id": "_:t16",
+        "@id": "_:b16",
         "http://example.com/vocab/term": [
             {
                 "@value": "collission",
@@ -101,7 +101,7 @@
         ]
     },
     {
-        "@id": "_:t17",
+        "@id": "_:b17",
         "http://example.com/vocab/term": [
             {
                 "@value": "collission",
@@ -110,25 +110,25 @@
         ]
     },
     {
-        "@id": "_:t2",
+        "@id": "_:b2",
         "http://example.com/vocab/term": [
 
         ]
     },
     {
-        "@id": "_:t3",
+        "@id": "_:b3",
         "http://example.com/vocab/term": [
 
         ]
     },
     {
-        "@id": "_:t4",
+        "@id": "_:b4",
         "http://example.com/vocab/term": [
 
         ]
     },
     {
-        "@id": "_:t5",
+        "@id": "_:b5",
         "http://example.com/vocab/term": [
             {
                 "@value": "collission",
@@ -137,10 +137,10 @@
         ]
     },
     {
-        "@id": "_:t6",
+        "@id": "_:b6",
         "http://example.com/vocab/nested": [
             {
-                "@id": "_:t7"
+                "@id": "_:b7"
             },
             {
                 "@id": "http://ex.com/propC.5.2"
@@ -154,7 +154,7 @@
         ]
     },
     {
-        "@id": "_:t7",
+        "@id": "_:b7",
         "http://example.com/vocab/nested": [
             {
                 "@value": 10510
@@ -167,7 +167,7 @@
                 "@id": "http://ex.com/propC.5.1.2"
             },
             {
-                "@id": "_:t8"
+                "@id": "_:b8"
             }
         ],
         "http://example.com/vocab/term": [
@@ -178,7 +178,7 @@
         ]
     },
     {
-        "@id": "_:t8",
+        "@id": "_:b8",
         "http://example.com/vocab/term": [
             {
                 "@value": "http://ex.com/propC.5.1.3",
@@ -187,7 +187,7 @@
         ]
     },
     {
-        "@id": "_:t9",
+        "@id": "_:b9",
         "http://example.com/vocab/term": [
             {
                 "@value": "http://ex.com/propC.5.2.2",
@@ -215,7 +215,7 @@
                 "@language": "de"
             },
             {
-                "@id": "_:t15"
+                "@id": "_:b15"
             },
             {
                 "@id": "http://ex.com/propA.5.2.3"
@@ -260,7 +260,7 @@
                 "@language": "de"
             },
             {
-                "@id": "_:t9"
+                "@id": "_:b9"
             },
             {
                 "@id": "http://ex.com/propC.5.2.3"
@@ -287,7 +287,7 @@
                         "@type": "http://datatype.example.org/type"
                     },
                     {
-                        "@id": "_:t0"
+                        "@id": "_:b0"
                     },
                     {
                         "@value": "collission",
@@ -297,7 +297,7 @@
                         "@id": "http://ex.com/propB.2"
                     },
                     {
-                        "@id": "_:t1"
+                        "@id": "_:b1"
                     },
                     {
                         "@value": 20110
@@ -310,7 +310,7 @@
                         "@id": "http://ex.com/propB.2.1.2"
                     },
                     {
-                        "@id": "_:t2"
+                        "@id": "_:b2"
                     },
                     {
                         "@value": "http://ex.com/propB.2.1.3",
@@ -328,7 +328,7 @@
                         "@language": "de"
                     },
                     {
-                        "@id": "_:t3"
+                        "@id": "_:b3"
                     },
                     {
                         "@value": "http://ex.com/propB.2.2.2",
@@ -341,7 +341,7 @@
                         "@value": 20224
                     },
                     {
-                        "@id": "_:t4"
+                        "@id": "_:b4"
                     },
                     {
                         "@value": "http://ex.com/propB.3",
@@ -350,7 +350,7 @@
                 ]
             },
             {
-                "@id": "_:t5"
+                "@id": "_:b5"
             },
             {
                 "@value": "propC.2",
@@ -363,7 +363,7 @@
                 "@id": "http://ex.com/propC.4"
             },
             {
-                "@id": "_:t6"
+                "@id": "_:b6"
             }
         ],
         "http://example.com/vocab/propGenA": [
@@ -372,13 +372,13 @@
                 "@language": "de"
             },
             {
-                "@id": "_:t10"
+                "@id": "_:b10"
             },
             {
                 "@id": "http://ex.com/propA.1"
             },
             {
-                "@id": "_:t11"
+                "@id": "_:b11"
             },
             {
                 "@value": "propA.3",
@@ -388,13 +388,13 @@
                 "@id": "http://ex.com/propA.4"
             },
             {
-                "@id": "_:t12"
+                "@id": "_:b12"
             },
             {
                 "@value": 10600
             },
             {
-                "@id": "_:t16"
+                "@id": "_:b16"
             }
         ],
         "http://example.com/vocab/propGenB": [
@@ -403,7 +403,7 @@
                 "@language": "de"
             },
             {
-                "@id": "_:t17"
+                "@id": "_:b17"
             },
             {
                 "@list": [
@@ -416,7 +416,7 @@
                         "@type": "http://datatype.example.org/type"
                     },
                     {
-                        "@id": "_:t0"
+                        "@id": "_:b0"
                     },
                     {
                         "@value": "collission",
@@ -426,7 +426,7 @@
                         "@id": "http://ex.com/propB.2"
                     },
                     {
-                        "@id": "_:t1"
+                        "@id": "_:b1"
                     },
                     {
                         "@value": 20110
@@ -439,7 +439,7 @@
                         "@id": "http://ex.com/propB.2.1.2"
                     },
                     {
-                        "@id": "_:t2"
+                        "@id": "_:b2"
                     },
                     {
                         "@value": "http://ex.com/propB.2.1.3",
@@ -457,7 +457,7 @@
                         "@language": "de"
                     },
                     {
-                        "@id": "_:t3"
+                        "@id": "_:b3"
                     },
                     {
                         "@value": "http://ex.com/propB.2.2.2",
@@ -470,7 +470,7 @@
                         "@value": 20224
                     },
                     {
-                        "@id": "_:t4"
+                        "@id": "_:b4"
                     },
                     {
                         "@value": "http://ex.com/propB.3",
@@ -479,7 +479,7 @@
                 ]
             },
             {
-                "@id": "_:t5"
+                "@id": "_:b5"
             },
             {
                 "@value": "propC.2",
@@ -492,7 +492,7 @@
                 "@id": "http://ex.com/propC.4"
             },
             {
-                "@id": "_:t6"
+                "@id": "_:b6"
             }
         ],
         "http://www.example.org/shared/term": [
@@ -500,7 +500,7 @@
                 "@id": "http://ex.com/propA.1"
             },
             {
-                "@id": "_:t11"
+                "@id": "_:b11"
             },
             {
                 "@value": "propA.3",
@@ -510,13 +510,13 @@
                 "@id": "http://ex.com/propA.4"
             },
             {
-                "@id": "_:t12"
+                "@id": "_:b12"
             },
             {
                 "@value": 10600
             },
             {
-                "@id": "_:t16"
+                "@id": "_:b16"
             },
             {
                 "@list": [
@@ -529,7 +529,7 @@
                         "@type": "http://datatype.example.org/type"
                     },
                     {
-                        "@id": "_:t0"
+                        "@id": "_:b0"
                     },
                     {
                         "@value": "collission",
@@ -539,7 +539,7 @@
                         "@id": "http://ex.com/propB.2"
                     },
                     {
-                        "@id": "_:t1"
+                        "@id": "_:b1"
                     },
                     {
                         "@value": 20110
@@ -552,7 +552,7 @@
                         "@id": "http://ex.com/propB.2.1.2"
                     },
                     {
-                        "@id": "_:t2"
+                        "@id": "_:b2"
                     },
                     {
                         "@value": "http://ex.com/propB.2.1.3",
@@ -570,7 +570,7 @@
                         "@language": "de"
                     },
                     {
-                        "@id": "_:t3"
+                        "@id": "_:b3"
                     },
                     {
                         "@value": "http://ex.com/propB.2.2.2",
@@ -583,7 +583,7 @@
                         "@value": 20224
                     },
                     {
-                        "@id": "_:t4"
+                        "@id": "_:b4"
                     },
                     {
                         "@value": "http://ex.com/propB.3",
@@ -592,7 +592,7 @@
                 ]
             },
             {
-                "@id": "_:t5"
+                "@id": "_:b5"
             },
             {
                 "@value": "propC.2",
@@ -605,8 +605,8 @@
                 "@id": "http://ex.com/propC.4"
             },
             {
-                "@id": "_:t6"
+                "@id": "_:b6"
             }
         ]
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/frame-0005-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/frame-0005-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -18,4 +18,4 @@
       }
     }
   }]
-}
\ No newline at end of file
+}
--- a/test-suite/tests/frame-0009-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/frame-0009-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -17,4 +17,4 @@
     },
     "ex:p7": []
   }]
-}
\ No newline at end of file
+}
--- a/test-suite/tests/frame-0010-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/frame-0010-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -11,8 +11,8 @@
     "@id": "http://example.com/asset",
     "@type": "ps:Asset",
     "dc:creator": {
-      "@id": "_:t0",
+      "@id": "_:b0",
       "foaf:name": "John Doe"
     }
   }]
-}
\ No newline at end of file
+}
--- a/test-suite/tests/frame-0012-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/frame-0012-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -17,4 +17,4 @@
     },
     "sp:label": "Lisinopril"
   }]
-}
\ No newline at end of file
+}
--- a/test-suite/tests/frame-0013-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/frame-0013-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -17,4 +17,4 @@
   }, {
     "@id": "ex:spotted"
   }]
-}
\ No newline at end of file
+}
--- a/test-suite/tests/frame-0014-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/frame-0014-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -9,7 +9,7 @@
       "@id": "ex:b",
       "@type": "ex:Node",
       "ex:sees": {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "ex:remember_me": "This value should not disappear."
       }
     }
@@ -17,8 +17,8 @@
     "@id": "ex:b",
     "@type": "ex:Node",
     "ex:sees": {
-      "@id": "_:t0",
+      "@id": "_:b0",
       "ex:remember_me": "This value should not disappear."
     }
   }]
-}
\ No newline at end of file
+}
--- a/test-suite/tests/frame-0015-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/frame-0015-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -74,7 +74,7 @@
     "vcard": "http://www.w3.org/2006/vcard/ns#",
     "vcard:adr": {"@type": "@id"},
     "vcard:n": {"@type": "@id"},
-    "vcard:tel": {"@type": "@id"}    
+    "vcard:tel": {"@type": "@id"}
   },
   "@graph": [{
     "@id": "http://localhost:7000/records/999888",
@@ -84,13 +84,13 @@
       "@type": "sp:VitalSigns",
       "sp:belongsTo": "http://localhost:7000/records/999888",
       "sp:bloodPressure": {
-        "@id": "_:t2",
+        "@id": "_:b2",
         "@type": "sp:BloodPressure",
         "sp:systolic": {
-          "@id": "_:t0",
+          "@id": "_:b0",
           "@type": "sp:VitalSign",
           "sp:vitalName": {
-            "@id": "_:t1",
+            "@id": "_:b1",
             "dcterms:title": "Systolic blood pressure",
             "@type": "sp:CodedValue",
             "sp:code": "http://loinc.org/codes/8480-6"
@@ -109,15 +109,15 @@
       "sp:hasStatement": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6"
     },
     "sp:bloodPressure": {
-      "@id": "_:t2",
+      "@id": "_:b2",
       "@type": "sp:BloodPressure",
       "sp:systolic": {
-        "@id": "_:t0",
+        "@id": "_:b0",
         "@type": "sp:VitalSign",
         "sp:unit": "mm[Hg]",
         "sp:value": "111.226458141",
         "sp:vitalName": {
-          "@id": "_:t1",
+          "@id": "_:b1",
           "@type": "sp:CodedValue",
           "dcterms:title": "Systolic blood pressure",
           "sp:code": "http://loinc.org/codes/8480-6"
@@ -125,4 +125,4 @@
       }
     }
   }]
-}
\ No newline at end of file
+}
--- a/test-suite/tests/frame-0020-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/frame-0020-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -1,38 +1,38 @@
 {
   "@graph": [
   {
-    "@id": "_:t0",
+    "@id": "_:b0",
     "http://rdf.data-vocabulary.org/#ingredients": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"],
     "http://rdf.data-vocabulary.org/#instructions": [{
-      "@id": "_:t1",
+      "@id": "_:b1",
       "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.",
       "http://rdf.data-vocabulary.org/#step": {
         "@type": "http://www.w3.org/2001/XMLSchema#integer",
         "@value": 1
       }
     }, {
-      "@id": "_:t2",
+      "@id": "_:b2",
       "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.",
       "http://rdf.data-vocabulary.org/#step": {
         "@type": "http://www.w3.org/2001/XMLSchema#integer",
         "@value": 2
       }
     }, {
-      "@id": "_:t3",
+      "@id": "_:b3",
       "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.",
       "http://rdf.data-vocabulary.org/#step": {
         "@type": "http://www.w3.org/2001/XMLSchema#integer",
         "@value": 3
       }
     }, {
-      "@id": "_:t4",
+      "@id": "_:b4",
       "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.",
       "http://rdf.data-vocabulary.org/#step": {
         "@type": "http://www.w3.org/2001/XMLSchema#integer",
         "@value": 4
       }
     }, {
-      "@id": "_:t5",
+      "@id": "_:b5",
       "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.",
       "http://rdf.data-vocabulary.org/#step": {
         "@type": "http://www.w3.org/2001/XMLSchema#integer",
@@ -42,35 +42,35 @@
     "http://rdf.data-vocabulary.org/#name": "Mojito",
     "http://rdf.data-vocabulary.org/#yield": "1 cocktail"
   }, {
-    "@id": "_:t1",
+    "@id": "_:b1",
     "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.",
     "http://rdf.data-vocabulary.org/#step": {
       "@type": "http://www.w3.org/2001/XMLSchema#integer",
       "@value": 1
     }
   }, {
-    "@id": "_:t2",
+    "@id": "_:b2",
     "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.",
     "http://rdf.data-vocabulary.org/#step": {
       "@type": "http://www.w3.org/2001/XMLSchema#integer",
       "@value": 2
     }
   }, {
-    "@id": "_:t3",
+    "@id": "_:b3",
     "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.",
     "http://rdf.data-vocabulary.org/#step": {
       "@type": "http://www.w3.org/2001/XMLSchema#integer",
       "@value": 3
     }
   }, {
-    "@id": "_:t4",
+    "@id": "_:b4",
     "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.",
     "http://rdf.data-vocabulary.org/#step": {
       "@type": "http://www.w3.org/2001/XMLSchema#integer",
       "@value": 4
     }
   }, {
-    "@id": "_:t5",
+    "@id": "_:b5",
     "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.",
     "http://rdf.data-vocabulary.org/#step": {
       "@type": "http://www.w3.org/2001/XMLSchema#integer",
--- a/test-suite/tests/frame-0021-out.jsonld	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/frame-0021-out.jsonld	Sun Feb 17 16:01:46 2013 +0100
@@ -6,14 +6,14 @@
   },
   "@graph": [
   {
-    "@id": "_:t0",
+    "@id": "_:b0",
     "dc:label": "Book type"
   }, {
     "@id": "http://example.org/library",
     "@type": "ex:Library",
     "ex:contains": {
       "@id": "http://example.org/library/the-republic",
-      "@type": "_:t0",
+      "@type": "_:b0",
       "dc:creator": "Plato",
       "dc:title": "The Republic",
       "ex:contains": {
@@ -26,7 +26,7 @@
     }
   }, {
     "@id": "http://example.org/library/the-republic",
-    "@type": "_:t0",
+    "@type": "_:b0",
     "ex:contains": {
       "@id": "http://example.org/library/the-republic#introduction",
       "@type": "ex:Chapter",
--- a/test-suite/tests/toRdf-0003-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0003-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,1 +1,1 @@
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
+_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
--- a/test-suite/tests/toRdf-0004-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0004-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,1 +1,1 @@
-_:t0 <http://www.w3.org/2000/01/rdf-schema#label> "A plain literal with a lang tag."@en-us .
+_:b0 <http://www.w3.org/2000/01/rdf-schema#label> "A plain literal with a lang tag."@en-us .
--- a/test-suite/tests/toRdf-0005-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0005-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,2 +1,2 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
-_:t0 <http://xmlns.com/foaf/0.1/name> "Herman Iván"@hu .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:b0 .
+_:b0 <http://xmlns.com/foaf/0.1/name> "Herman Iván"@hu .
--- a/test-suite/tests/toRdf-0008-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0008-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,1 +1,1 @@
-_:t0 <http://example.com/default#foo> "bar" .
+_:b0 <http://example.com/default#foo> "bar" .
--- a/test-suite/tests/toRdf-0009-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0009-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,1 +1,1 @@
-_:t0 <http://example.com/default#> "bar" .
+_:b0 <http://example.com/default#> "bar" .
--- a/test-suite/tests/toRdf-0011-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0011-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,2 +1,2 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
-_:t0 <http://xmlns.com/foaf/0.1/name> "Dave Longley" .
+<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:b0 .
+_:b0 <http://xmlns.com/foaf/0.1/name> "Dave Longley" .
--- a/test-suite/tests/toRdf-0014-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0014-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,3 +1,3 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
-_: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> _:b0 .
+_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
+_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
--- a/test-suite/tests/toRdf-0015-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0015-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,5 +1,5 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
-_: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> _:b0 .
+_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
+_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> _:b1 .
+_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Dave Longley" .
+_:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
--- a/test-suite/tests/toRdf-0021-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0021-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,1 +1,1 @@
-_:t0 <http://example/measure#cups> "5.3E0"^^<http://www.w3.org/2001/XMLSchema#double> .
+_:b0 <http://example/measure#cups> "5.3E0"^^<http://www.w3.org/2001/XMLSchema#double> .
--- a/test-suite/tests/toRdf-0022-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0022-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,1 +1,1 @@
-_:t0 <http://example/measure#cups> "5.3E0"^^<http://www.w3.org/2001/XMLSchema#double> .
+_:b0 <http://example/measure#cups> "5.3E0"^^<http://www.w3.org/2001/XMLSchema#double> .
--- a/test-suite/tests/toRdf-0023-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0023-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,1 +1,1 @@
-_:t0 <http://example/chem#protons> "12"^^<http://www.w3.org/2001/XMLSchema#integer> .
+_:b0 <http://example/chem#protons> "12"^^<http://www.w3.org/2001/XMLSchema#integer> .
--- a/test-suite/tests/toRdf-0024-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0024-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,1 +1,1 @@
-_:t0 <http://example/sensor#active> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
+_:b0 <http://example/sensor#active> "true"^^<http://www.w3.org/2001/XMLSchema#boolean> .
--- a/test-suite/tests/toRdf-0025-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0025-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,3 +1,3 @@
-<http://greggkellogg.net/foaf#me> <http://xmlns.com/foaf/0.1/knows> _:t0 .
-_: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> _:b0 .
+_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> "Manu Sporny" .
+_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#rest> <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> .
--- a/test-suite/tests/toRdf-0026-out.nq	Sun Feb 17 15:40:44 2013 +0100
+++ b/test-suite/tests/toRdf-0026-out.nq	Sun Feb 17 16:01:46 2013 +0100
@@ -1,2 +1,2 @@
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
-_:t0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .
+_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Class> .
+_:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2000/01/rdf-schema#Resource> .