Use @graph as the new "multiple graphs syntax"
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Wed, 11 Apr 2012 22:08:24 +0800
changeset 495 dc1d05925b63
parent 494 e8f9dc7506cd
child 496 9fa9ce886154
Use @graph as the new "multiple graphs syntax"

This closes #68.
spec/latest/json-ld-api/index.html
spec/latest/json-ld-syntax/index.html
--- a/spec/latest/json-ld-api/index.html	Wed Apr 11 21:46:48 2012 +0800
+++ b/spec/latest/json-ld-api/index.html	Wed Apr 11 22:08:24 2012 +0800
@@ -1415,7 +1415,7 @@
     "Library":      "http://example.org/vocab#Library",
     "title":        "http://purl.org/dc/terms/title"
   },
-  "@id":
+  "@graph":
   [{
     "@id": "http://example.com/library",
     "@type": "Library",
--- a/spec/latest/json-ld-syntax/index.html	Wed Apr 11 21:46:48 2012 +0800
+++ b/spec/latest/json-ld-syntax/index.html	Wed Apr 11 22:08:24 2012 +0800
@@ -2239,7 +2239,7 @@
     "Library":      "http://example.org/vocab#Library",
     "title":        "http://purl.org/dc/terms/title"
   },
-  "@id":
+  "@graph":
   [{
     "@id": "http://example.com/library",
     "@type": "Library",
@@ -2547,9 +2547,6 @@
 <p>An example JSON-LD implementation using a single <tref>context</tref> is
 described below.</p>
 
-<p class="issue">The syntax to serialize multiple graphs is currently being
-discussed in <a href="https://github.com/json-ld/json-ld.org/issues/68">Issue 68</a>.</p>
-
 <pre class="example" data-transform="updateExample">
 <!--
 {
@@ -2557,7 +2554,7 @@
   {
     "foaf": "http://xmlns.com/foaf/0.1/"
   },
-  "@id":
+  "@graph":
   [
     {
       "@type": "foaf:Person",