Update compact-0016 so that the value of @graph is always an array
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Sat, 08 Dec 2012 15:49:59 +0100
changeset 1002 a5368d60ebfd
parent 1001 4dbe6fbe0689
child 1003 8c8d6ccd67cb
Update compact-0016 so that the value of @graph is always an array

This addresses #202.
test-suite/tests/compact-0016-out.jsonld
--- a/test-suite/tests/compact-0016-out.jsonld	Sat Dec 08 14:29:33 2012 +0100
+++ b/test-suite/tests/compact-0016-out.jsonld	Sat Dec 08 15:49:59 2012 +0100
@@ -6,17 +6,19 @@
   },
   "@id": "ws:Assertions",
   "@type": "wd:SnakSet",
-  "@graph": {
-    "@id": "ws:BerlinFact",
-    "@type": "wd:Snak",
-    "@graph": [
-      {
-        "@id": "wp:Berlin",
-        "wd:population": 3499879
-      },
-      "ws:ParisFact"
-    ],
-    "wd:assertedBy": "Statistik Berlin/Brandenburg"
-  },
+  "@graph": [
+    {
+      "@id": "ws:BerlinFact",
+      "@type": "wd:Snak",
+      "@graph": [
+        {
+          "@id": "wp:Berlin",
+          "wd:population": 3499879
+        },
+        "ws:ParisFact"
+      ],
+      "wd:assertedBy": "Statistik Berlin/Brandenburg"
+    }
+  ],
   "wd:assertedBy": "Gregg Kellogg"
 }