Added some whitespace to compact-0016 to increase readability and replaced literals looking like IRIs with some other text
authorMarkus Lanthaler <mark_lanthaler@gmx.net>
Thu, 03 May 2012 22:39:11 +0800
changeset 616 bc7ec7b11f03
parent 615 431b7936e575
child 617 2c41954d107c
Added some whitespace to compact-0016 to increase readability and replaced literals looking like IRIs with some other text
test-suite/tests/compact-0016-in.jsonld
test-suite/tests/compact-0016-out.jsonld
--- a/test-suite/tests/compact-0016-in.jsonld	Thu May 03 20:51:13 2012 +0800
+++ b/test-suite/tests/compact-0016-in.jsonld	Thu May 03 22:39:11 2012 +0800
@@ -1,19 +1,25 @@
 [
   {
     "@id": "http://data.wikipedia.org/snaks/Assertions",
-    "@type": ["http://data.wikipedia.org/vocab#SnakSet"],
-    "http://data.wikipedia.org/vocab#assertedBy": [{"@value": "http://gregkellogg.net/foaf#me"}
+    "@type": "http://data.wikipedia.org/vocab#SnakSet",
+    "http://data.wikipedia.org/vocab#assertedBy": [
+      { "@value": "Gregg Kellogg" }
     ],
-    "@graph": [{
-      "@id": "http://data.wikipedia.org/snaks/BerlinFact",
-      "@type": ["http://data.wikipedia.org/vocab#Snak"],
-      "http://data.wikipedia.org/vocab#assertedBy": [{"@value": "http://www.statistik-berlin-brandenburg.de/"}],
-      "@graph": [{
-        "@id": "http://en.wikipedia.org/wiki/Berlin",
-        "http://data.wikipedia.org/vocab#population": [3499879]
-      }, {
-        "@id": "http://data.wikipedia.org/snaks/ParisFact"
-      }]
-    }]
+    "@graph": [
+      {
+        "@id": "http://data.wikipedia.org/snaks/BerlinFact",
+        "@type": [ "http://data.wikipedia.org/vocab#Snak" ],
+        "http://data.wikipedia.org/vocab#assertedBy": [ { "@value": "Statistik Berlin/Brandenburg" } ],
+        "@graph": [
+          {
+            "@id": "http://en.wikipedia.org/wiki/Berlin",
+            "http://data.wikipedia.org/vocab#population": [ 3499879 ]
+          },
+          {
+            "@id": "http://data.wikipedia.org/snaks/ParisFact"
+          }
+        ]
+      }
+    ]
   }
 ]
--- a/test-suite/tests/compact-0016-out.jsonld	Thu May 03 20:51:13 2012 +0800
+++ b/test-suite/tests/compact-0016-out.jsonld	Thu May 03 22:39:11 2012 +0800
@@ -16,7 +16,7 @@
       },
       "ws:ParisFact"
     ],
-    "wd:assertedBy": "http://www.statistik-berlin-brandenburg.de/"
+    "wd:assertedBy": "Statistik Berlin/Brandenburg"
   },
-  "wd:assertedBy": "http://gregkellogg.net/foaf#me"
-}
\ No newline at end of file
+  "wd:assertedBy": "Gregg Kellogg"
+}