Minor tweaks to "Transformation from JSON-LD to RDF"
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Wed, 27 Mar 2013 11:49:46 +0100
changeset 1481 ee65df518a5c
parent 1480 821d1a9fb2cb
child 1482 a081bb1f9860
Minor tweaks to "Transformation from JSON-LD to RDF"

Fixed example which missed a triple.
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-syntax/index.html	Wed Mar 27 11:47:56 2013 +0100
+++ b/spec/latest/json-ld-syntax/index.html	Wed Mar 27 11:49:46 2013 +0100
@@ -3138,10 +3138,10 @@
 
     <p>The process of turning a JSON-LD document depends on executing the
       algorithms defined in
-      <cite><a href="../json-ld-api/#convert-to-rdf-algorithm">JSON-LD-API Convert to RDF Algorithm</a></cite>
-      [[JSON-LD-API]]. It is beyond the scope of this document to detail these
-      algorithms any further, but a summary of the necessary operations is provided
-      to illustrate the process.</p>
+      <cite><a href="../json-ld-api/#rdf-conversion-algorithms">RDF Conversion Algorithms</a></cite>
+      in the JSON-LD Processing Algorithms and API specification [[JSON-LD-API]].
+      It is beyond the scope of this document to detail these algorithms any further,
+      but a summary of the necessary operations is provided to illustrate the process.</p>
 
     <p>The procedure involves the following steps:</p>
 
@@ -3189,21 +3189,24 @@
     <pre class="example" data-transform="updateExample"
          title="Flattened and expanded form for the previous example">
     <!--
-    [{
-      "@id": "_:b0",
-      "http://xmlns.com/foaf/0.1/name": "Dave Longley"
-    }, {
-      "@id": "http://manu.sporny.org/",
-      "http://xmlns.com/foaf/0.1/name": "Manu Sporny"
-    }, {
-      "@id": "http://me.markus-lanthaler.com/",
-      "http://xmlns.com/foaf/0.1/knows": [{
-        "@id": "http://manu.sporny.org/"
-      }, {
-        "@id": "_:b0"
-      }],
-      "http://xmlns.com/foaf/0.1/name": "Markus Lanthaler"
-    }]
+    [
+      {
+        "@id": "_:b0",
+        "http://xmlns.com/foaf/0.1/name": "Dave Longley"
+      },
+      {
+        "@id": "http://manu.sporny.org/",
+        "http://xmlns.com/foaf/0.1/name": "Manu Sporny"
+      },
+      {
+        "@id": "http://me.markus-lanthaler.com/",
+        "http://xmlns.com/foaf/0.1/name": "Markus Lanthaler",
+        "http://xmlns.com/foaf/0.1/knows": [
+          { "@id": "http://manu.sporny.org/" },
+          { "@id": "_:b0" }
+        ]
+      }
+    ]
     -->
     </pre>
 
@@ -3218,8 +3221,8 @@
 
     <http://manu.sporny.org/> <http://xmlns.com/foaf/0.1/name> "Manu Sporny" .
 
-    <http://me.markus-lanthaler.com/> <http://xmlns.com/foaf/0.1/knows>
-      <http://manu.sporny.org/>, _:b0 .
+    <http://me.markus-lanthaler.com/> <http://xmlns.com/foaf/0.1/name> "Markus Lanthaler" ;
+        <http://xmlns.com/foaf/0.1/knows> <http://manu.sporny.org/>, _:b0 .
     -->
     </pre>
 
@@ -3228,9 +3231,6 @@
       matching the triples from RDF, using a single <tref>node object</tref>
       for all triples having a common subject, and a single <tref>property</tref>
       for those triples also having a common predicate.</p>
-
-    <p>For more complicated use cases, including the use of <code>@list</code>
-      and <a href="#named-graphs">Named Graphs</a>, see [[JSON-LD-API]].</p>
   </section>
 </section>