Merge pull request #284 from json-ld/test-suite-fix-for-issue-279
authorGregg Kellogg <gregg@kellogg-assoc.com>
Sat, 20 Jul 2013 15:23:33 -0700
changeset 1797 bd6069a0f277
parent 1796 578e37b94fe3 (current diff)
parent 1783 21c6269374e8 (diff)
child 1798 1331904c7fa6
Merge pull request #284 from json-ld/test-suite-fix-for-issue-279

Adapt flatten and fromRdf tests to the resolution of issue #279
--- a/test-suite/tests/flatten-0002-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0002-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -34,11 +34,5 @@
                 "@value": 51
             }
         ]
-    },
-    {
-        "@id": "http://example.com/t1"
-    },
-    {
-        "@id": "http://example.com/t2"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0005-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0005-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -1,8 +1,5 @@
 [
     {
-        "@id": "http://example.com/alice"
-    },
-    {
         "@id": "http://example.com/alice#me",
         "http://xmlns.com/foaf/0.1/homepage": [
             {
@@ -16,9 +13,6 @@
         ]
     },
     {
-        "@id": "http://example.com/bob"
-    },
-    {
         "@id": "http://example.com/bob#me",
         "http://xmlns.com/foaf/0.1/homepage": [
             {
@@ -42,4 +36,4 @@
             }
         ]
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0006-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0006-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -24,11 +24,5 @@
                 "@value": "foo"
             }
         ]
-    },
-    {
-        "@id": "http://example.org/test#example3"
-    },
-    {
-        "@id": "http://example.org/test#example4"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0007-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0007-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -20,8 +20,5 @@
                 "@id": "http://example.org/test#example1"
             }
         ]
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#dateTime"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0011-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0011-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -11,8 +11,5 @@
                 "@value": "Title"
             }
         ]
-    },
-    {
-        "@id": "http://example.org/test#chapter"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0013-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0013-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -34,11 +34,5 @@
                 "@value": 51
             }
         ]
-    },
-    {
-        "@id": "http://example.com/t1"
-    },
-    {
-        "@id": "http://example.com/t2"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0014-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0014-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -34,9 +34,6 @@
         ]
     },
     {
-        "@id": "http://example.org/test#example3"
-    },
-    {
         "@id": "http://example.org/test#example4",
         "http://example.org/test#property5": [
             {
@@ -44,8 +41,5 @@
                 "@value": "2012-03-31"
             }
         ]
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#date"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0016-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0016-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -1,8 +1,5 @@
 [
     {
-        "@id": "_:b0"
-    },
-    {
         "@id": "http://example.org/id1",
         "http://example.com/emptyobj": [
             {
--- a/test-suite/tests/flatten-0020-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0020-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -49,9 +49,6 @@
         ]
     },
     {
-        "@id": "http://example.org/test#chapter"
-    },
-    {
         "@id": "http://example.org/test#jane",
         "http://example.org/vocab#authored": [
             {
--- a/test-suite/tests/flatten-0023-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0023-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -61,11 +61,5 @@
                 "@id": "http://example.org/id"
             }
         ]
-    },
-    {
-        "@id": "http://example.org/id"
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#date"
     }
 ]
--- a/test-suite/tests/flatten-0024-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0024-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -21,8 +21,5 @@
                 "@value": "Alice"
             }
         ]
-    },
-    {
-        "@id": "http://xkcd.com/177/"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0025-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0025-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -6,14 +6,5 @@
             "http://example.com/bar",
             "http://example.com/underscore/"
         ]
-    },
-    {
-        "@id": "http://example.com/bar"
-    },
-    {
-        "@id": "http://example.com/foo/"
-    },
-    {
-        "@id": "http://example.com/underscore/"
     }
 ]
--- a/test-suite/tests/flatten-0026-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0026-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -6,9 +6,6 @@
         ]
     },
     {
-        "@id": "http://example.com/b"
-    },
-    {
         "@id": "http://example.com/c",
         "@type": [
             "http://example.com/d",
@@ -16,18 +13,9 @@
         ]
     },
     {
-        "@id": "http://example.com/d"
-    },
-    {
-        "@id": "http://example.com/e"
-    },
-    {
         "@id": "http://example.com/f",
         "@type": [
             "http://example.com/g"
         ]
-    },
-    {
-        "@id": "http://example.com/g"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0028-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0028-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -1,11 +1,5 @@
 [
     {
-        "@id": "http://example.org/vocab#dateTime"
-    },
-    {
-        "@id": "http://example.org/vocab#test"
-    },
-    {
         "@id": "http://json-ld.org/test-suite/tests/example1",
         "@type": [
             "http://example.org/vocab#test"
@@ -31,4 +25,4 @@
             }
         ]
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0029-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0029-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -1,35 +1,5 @@
 [
     {
-        "@id": "http://example.org/scheme-relative"
-    },
-    {
-        "@id": "http://json-ld.org/absolute"
-    },
-    {
-        "@id": "http://json-ld.org/parent-parent-eq-root"
-    },
-    {
-        "@id": "http://json-ld.org/still-root"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/parent"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld#fragment-works"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld?query=works"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/link"
-    },
-    {
         "@id": "http://json-ld.org/test-suite/tests/relativeIris",
         "@type": [
             "http://json-ld.org/test-suite/tests/link",
@@ -83,8 +53,5 @@
                 ]
             }
         ]
-    },
-    {
-        "@id": "http://json-ld.org/too-many-dots"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0031-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0031-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -19,14 +19,5 @@
                 "@type": "http://www.w3.org/2001/XMLSchema#integer"
             }
         ]
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#boolean"
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#double"
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#integer"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0033-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0033-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -17,11 +17,5 @@
                 "@value": "Markus Lanthaler"
             }
         ]
-    },
-    {
-        "@id": "http://www.markus-lanthaler.com/"
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#date"
     }
 ]
--- a/test-suite/tests/flatten-0036-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0036-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -124,11 +124,5 @@
     {
         "@id": "http://example.org/nodeWithoutIndexC",
         "@index": "C"
-    },
-    {
-        "@id": "http://example.org/nodeWithoutIndexProp"
-    },
-    {
-        "@id": "http://example.org/type"
     }
 ]
--- a/test-suite/tests/flatten-0038-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0038-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -40,11 +40,5 @@
                 "@value": "termId"
             }
         ]
-    },
-    {
-        "@id": "_:b3"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/relativeIri"
     }
 ]
--- a/test-suite/tests/flatten-0040-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0040-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -17,8 +17,5 @@
                 "@value": "The Queen"
             }
         ]
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject"
     }
 ]
--- a/test-suite/tests/flatten-0043-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/flatten-0043-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -1,5 +1,4 @@
 [
-  {"@id": "http://json-ld.org/test-suite/tests/error-expand-0001-in.jsonld"},
   {
     "@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld",
     "http://example/sequence": [
@@ -15,4 +14,4 @@
       {"@value": "Keywords cannot be aliased to other keywords"}
     ]
   }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/fromRdf-0001-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/fromRdf-0001-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -1,8 +1,5 @@
 [
   {
-    "@id": "http://example.com/Obj1"
-  },
-  {
     "@id": "http://example.com/Subj1",
     "@type": ["http://example.com/Type"],
     "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}],
@@ -11,8 +8,5 @@
       {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"},
       {"@value": "English", "@language": "en"}
     ]
-  },
-  {
-    "@id": "http://example.com/Type"
   }
 ]
--- a/test-suite/tests/fromRdf-0003-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/fromRdf-0003-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -4,9 +4,6 @@
     "@type": ["http://example.com/SubType"]
   },
   {
-    "@id": "http://example.com/SubType"
-  },
-  {
     "@id": "http://example.com/Subj1",
     "@type": ["http://example.com/Type"],
     "http://example.com/ref": [
@@ -18,8 +15,5 @@
     "@id": "http://example.com/Subj2",
     "@type": ["http://example.com/Type"],
     "http://example.com/ref": [{"@id": "http://example.com/Subj1"}]
-  },
-  {
-    "@id": "http://example.com/Type"
   }
 ]
--- a/test-suite/tests/fromRdf-0004-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/fromRdf-0004-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -14,11 +14,5 @@
     "http://example.com/iriList": [{
       "@list": [{"@id": "http://example.com/iri"}]
     }]
-  },
-  {
-    "@id": "http://example.com/Type"
-  },
-  {
-    "@id": "http://example.com/iri"
   }
 ]
--- a/test-suite/tests/fromRdf-0005-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/fromRdf-0005-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -1,8 +1,5 @@
 [
   {
-    "@id": "http://example.com/Graph"
-  },
-  {
     "@id": "http://example.com/U",
     "@graph": [
       {
@@ -15,12 +12,6 @@
             {"@value": "b"}
           ]
         }]
-      },
-      {
-        "@id": "http://example.com/Type"
-      },
-      {
-        "@id": "http://example.com/U"
       }
     ],
     "@type": ["http://example.com/Graph"],
--- a/test-suite/tests/fromRdf-0006-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/fromRdf-0006-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -12,12 +12,6 @@
             {"@value": "b"}
           ]
         }]
-      },
-      {
-        "@id": "http://example.com/Type"
-      },
-      {
-        "@id": "http://example.com/U"
       }
     ]
   },
@@ -34,12 +28,6 @@
             {"@value": "d"}
           ]
         }]
-      },
-      {
-        "@id": "http://example.com/Type2"
-      },
-      {
-        "@id": "http://example.com/V"
       }
     ]
   }
--- a/test-suite/tests/fromRdf-0007-out.jsonld	Sat Jul 20 15:22:38 2013 -0700
+++ b/test-suite/tests/fromRdf-0007-out.jsonld	Sat Jul 20 15:23:33 2013 -0700
@@ -9,9 +9,6 @@
         "@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/"}]
-      },
-      {
-        "@id": "http://data.wikipedia.org/vocab#Snak"
       }
     ]
   },
@@ -25,8 +22,5 @@
         }]
       }
     ]
-  },
-  {
-    "@id": "http://data.wikipedia.org/vocab#SnakSet"
   }
 ]