Comparing version 0.0.21 to 0.0.22
1402
output.txt
@@ -1,11 +0,11 @@ | ||
15 Feb 10:37:41 - Reading test files from: "/work/src/json-ld.org/test-suite/tests" | ||
15 Feb 10:37:41 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/expand-manifest.jsonld" | ||
15 Feb 10:37:41 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/fromRdf-manifest.jsonld" | ||
15 Feb 10:37:41 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/compact-manifest.jsonld" | ||
15 Feb 10:37:41 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/normalize-manifest.jsonld" | ||
15 Feb 10:37:41 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/flatten-manifest.jsonld" | ||
15 Feb 10:37:41 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/error-expand-manifest.jsonld" | ||
15 Feb 10:37:41 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/toRdf-manifest.jsonld" | ||
15 Feb 10:37:41 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/frame-manifest.jsonld" | ||
15 Feb 10:37:41 - 8 manifest file(s) read | ||
28 Feb 15:46:13 - Reading test files from: "/work/src/json-ld.org/test-suite/tests" | ||
28 Feb 15:46:13 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/expand-manifest.jsonld" | ||
28 Feb 15:46:13 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/fromRdf-manifest.jsonld" | ||
28 Feb 15:46:13 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/compact-manifest.jsonld" | ||
28 Feb 15:46:13 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/normalize-manifest.jsonld" | ||
28 Feb 15:46:13 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/flatten-manifest.jsonld" | ||
28 Feb 15:46:13 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/error-expand-manifest.jsonld" | ||
28 Feb 15:46:13 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/toRdf-manifest.jsonld" | ||
28 Feb 15:46:13 - Reading manifest file: "/work/src/json-ld.org/test-suite/tests/frame-manifest.jsonld" | ||
28 Feb 15:46:13 - 8 manifest file(s) read | ||
JSON-LD/expand 0001/drop free-floating nodes... PASS | ||
@@ -57,3 +57,3 @@ JSON-LD/expand 0002/basic... PASS | ||
JSON-LD/expand 0046/Free-floating nodes are removed... PASS | ||
JSON-LD/expand 0047/Free-floating values in sets are removed, free-floating lists are kept... PASS | ||
JSON-LD/expand 0047/Free-floating values in sets are removed, free-floating lists are removed completely... PASS | ||
JSON-LD/expand 0048/Terms are ignored in @id... PASS | ||
@@ -121,3 +121,7 @@ JSON-LD/expand 0049/Do not add @id to @value objects when expanding property generators... PASS | ||
JSON-LD/compact 0044/Keep empty arrays in property generators... PASS | ||
JSON-LD/compact 0045/Values of @id are transformed to relative IRIs, terms are ignored... PASS | ||
JSON-LD/compact 0045/Values of @id are transformed to relative IRIs, terms are ignored... base remainder: ["compact-0045-in.jsonld"] | ||
iri remainder: ["term"] | ||
base remainder: ["tests","compact-0045-in.jsonld"] | ||
iri remainder: ["parent-node"] | ||
PASS | ||
JSON-LD/compact 0046/Property generator empty array round-tripping... PASS | ||
@@ -134,3 +138,5 @@ JSON-LD/compact 0047/Property generators match IRIs but not data... PASS | ||
JSON-LD/compact 0056/Prefer @type: @vocab over @type: @id for terms... PASS | ||
JSON-LD/compact 0057/Complex round tripping @type: @vocab and @type: @id... PASS | ||
JSON-LD/compact 0057/Complex round tripping @type: @vocab and @type: @id... base remainder: ["compact-0057-in.jsonld"] | ||
iri remainder: ["relative-iri"] | ||
PASS | ||
JSON-LD/compact 0058/Prefer @type: @id over @type: @vocab for non-terms... PASS | ||
@@ -140,12 +146,68 @@ JSON-LD/compact 0059/If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms... PASS | ||
JSON-LD/compact 0061/Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab)... PASS | ||
JSON-LD/compact 0062/Relative IRIs don't round-trip with @type: @vocab... FAIL | ||
JSON-LD/compact 0062/Relative IRIs don't round-trip with @type: @vocab... PASS | ||
JSON-LD/compact 0063/Compact IRI round-tripping with @type: @vocab... PASS | ||
JSON-LD/compact 0064/Compact language-tagged and indexed strings to index-map... PASS | ||
JSON-LD/compact 0065/Language-tagged and indexed strings don't compact to language-map... PASS | ||
JSON-LD/compact 0066/Relative IRIs... base remainder: ["compact-0066-in.jsonld"] | ||
iri remainder: ["relativeIris"] | ||
base remainder: ["compact-0066-in.jsonld"] | ||
iri remainder: ["link"] | ||
base remainder: [] | ||
iri remainder: [] | ||
base remainder: [] | ||
iri remainder: [] | ||
base remainder: ["compact-0066-in.jsonld"] | ||
iri remainder: [""] | ||
base remainder: ["tests","compact-0066-in.jsonld"] | ||
iri remainder: [""] | ||
base remainder: ["tests","compact-0066-in.jsonld"] | ||
iri remainder: ["parent"] | ||
base remainder: ["tests","compact-0066-in.jsonld"] | ||
iri remainder: ["parent"] | ||
base remainder: ["test-suite","tests","compact-0066-in.jsonld"] | ||
iri remainder: ["parent-parent-eq-root"] | ||
base remainder: ["test-suite","tests","compact-0066-in.jsonld"] | ||
iri remainder: ["still-root"] | ||
base remainder: ["test-suite","tests","compact-0066-in.jsonld"] | ||
iri remainder: ["too-many-dots"] | ||
base remainder: ["test-suite","tests","compact-0066-in.jsonld"] | ||
iri remainder: ["absolute"] | ||
FAIL | ||
Expect: | ||
{ | ||
"@context": { | ||
"term": { | ||
"@id": "http://example.org/term", | ||
"@type": "@vocab" | ||
"links": { | ||
"@id": "http://www.example.com/link", | ||
"@type": "@id", | ||
"@container": "@list" | ||
} | ||
}, | ||
"term": "http://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI" | ||
"@id": "relativeIris", | ||
"@type": [ | ||
"http://json-ld.org/test-suite/tests/link", | ||
"http://json-ld.org/test-suite/tests/compact-0066-in.jsonld#fragment-works", | ||
"http://json-ld.org/test-suite/tests/compact-0066-in.jsonld?query=works", | ||
"http://json-ld.org/test-suite/tests/", | ||
"http://json-ld.org/test-suite/", | ||
"http://json-ld.org/test-suite/parent", | ||
"http://json-ld.org/parent-parent-eq-root", | ||
"http://json-ld.org/still-root", | ||
"http://json-ld.org/too-many-dots", | ||
"http://json-ld.org/absolute", | ||
"http://example.org/scheme-relative" | ||
], | ||
"links": [ | ||
"link", | ||
"#fragment-works", | ||
"?query=works", | ||
"./", | ||
"../", | ||
"../parent", | ||
"../parent#fragment", | ||
"../../parent-parent-eq-root", | ||
"../../still-root", | ||
"../.././.././../../too-many-dots", | ||
"../../absolute", | ||
"http://example.org/scheme-relative" | ||
] | ||
} | ||
@@ -155,10 +217,37 @@ Result: | ||
"@context": { | ||
"term": { | ||
"@id": "http://example.org/term", | ||
"@type": "@vocab" | ||
"links": { | ||
"@id": "http://www.example.com/link", | ||
"@type": "@id", | ||
"@container": "@list" | ||
} | ||
}, | ||
"term": "not-a-term-thus-a-relative-IRI" | ||
"@id": "relativeIris", | ||
"@type": [ | ||
"http://json-ld.org/test-suite/tests/link", | ||
"http://json-ld.org/test-suite/tests/compact-0066-in.jsonld#fragment-works", | ||
"http://json-ld.org/test-suite/tests/compact-0066-in.jsonld?query=works", | ||
"http://json-ld.org/test-suite/tests/", | ||
"http://json-ld.org/test-suite/", | ||
"http://json-ld.org/test-suite/parent", | ||
"http://json-ld.org/parent-parent-eq-root", | ||
"http://json-ld.org/still-root", | ||
"http://json-ld.org/too-many-dots", | ||
"http://json-ld.org/absolute", | ||
"http://example.org/scheme-relative" | ||
], | ||
"links": [ | ||
"link", | ||
"#fragment-works", | ||
"?query=works", | ||
"./", | ||
"../", | ||
"../parent", | ||
"../parent#fragment", | ||
"../../parent-parent-eq-root", | ||
"../../still-root", | ||
"../../too-many-dots", | ||
"../../absolute", | ||
"http://example.org/scheme-relative" | ||
] | ||
} | ||
JSON-LD/compact 0063/Compact IRI round-tripping with @type: @vocab... PASS | ||
JSON-LD/normalize 0001/simple id... PASS | ||
@@ -220,2 +309,3 @@ JSON-LD/normalize 0002/duplicate property iri values... PASS | ||
JSON-LD/normalize 0056/simple reorder (2)... PASS | ||
JSON-LD/normalize 0057/unnamed graph... PASS | ||
JSON-LD/flatten 0001/id... PASS | ||
@@ -258,1265 +348,7 @@ JSON-LD/flatten 0002/basic... PASS | ||
JSON-LD/flatten 0037/Flattening property generators (no type coercions, language mappings etc.)... PASS | ||
JSON-LD/flatten 0038/Ensure all blank nodes are relabeled when flattening.... FAIL | ||
Expect: | ||
[ | ||
{ | ||
"@id": "_:t0", | ||
"@type": [ | ||
"_:t0", | ||
"_:t0", | ||
"_:t0" | ||
], | ||
"_:t0": [ | ||
{ | ||
"@id": "_:t0" | ||
}, | ||
{ | ||
"@value": "typed value term", | ||
"@type": "_:t0" | ||
}, | ||
{ | ||
"@id": "_:t1" | ||
}, | ||
{ | ||
"@value": "plain value" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "term: typed value with type set to bnode" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "term: typed value with type set to term" | ||
}, | ||
{ | ||
"@value": "typed value termId", | ||
"@type": "_:t0" | ||
}, | ||
{ | ||
"@id": "_:t2" | ||
}, | ||
{ | ||
"@id": "_:t3" | ||
}, | ||
{ | ||
"@id": "http://json-ld.org/test-suite/tests/relativeIri" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "termId: typed value with type set to bnode" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "ternId: typed value with type set to term" | ||
}, | ||
{ | ||
"@value": "termTyped: value", | ||
"@type": "_:t0" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t1", | ||
"_:t0": [ | ||
{ | ||
"@value": "term" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t2", | ||
"_:t0": [ | ||
{ | ||
"@value": "termId" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t3" | ||
}, | ||
{ | ||
"@id": "http://json-ld.org/test-suite/tests/relativeIri" | ||
} | ||
] | ||
Result: | ||
[ | ||
{ | ||
"@id": "_:t0", | ||
"@type": [ | ||
"_:t0" | ||
], | ||
"_:t0": [ | ||
{ | ||
"@id": "_:t0" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "typed value term" | ||
}, | ||
{ | ||
"@id": "_:t1" | ||
}, | ||
{ | ||
"@value": "plain value" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "term: typed value with type set to bnode" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "term: typed value with type set to term" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "typed value termId" | ||
}, | ||
{ | ||
"@id": "_:t2" | ||
}, | ||
{ | ||
"@id": "_:t3" | ||
}, | ||
{ | ||
"@id": "http://json-ld.org/test-suite/tests/relativeIri" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "termId: typed value with type set to bnode" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "ternId: typed value with type set to term" | ||
}, | ||
{ | ||
"@type": "_:t0", | ||
"@value": "termTyped: value" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t1", | ||
"_:t0": [ | ||
{ | ||
"@value": "term" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t2", | ||
"_:t0": [ | ||
{ | ||
"@value": "termId" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t3" | ||
}, | ||
{ | ||
"@id": "http://json-ld.org/test-suite/tests/relativeIri" | ||
} | ||
] | ||
JSON-LD/flatten 0039/Complex property generator test case with multiple colliding IRIs (this document wouldn't roundtrip cleanly)... FAIL | ||
Expect: | ||
[ | ||
{ | ||
"@id": "_:t0", | ||
"http://example.com/vocab/term": [] | ||
}, | ||
{ | ||
"@id": "_:t1", | ||
"http://example.com/vocab/nested": [], | ||
"http://example.com/vocab/term": [] | ||
}, | ||
{ | ||
"@id": "_:t10", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "collission", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t11", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "http://ex.com/propA.2", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t12", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@id": "_:t13" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.2" | ||
} | ||
], | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "http://ex.com/propA.5", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t13", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@value": 10510 | ||
}, | ||
{ | ||
"@value": "propA.5.1.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.1.2" | ||
}, | ||
{ | ||
"@id": "_:t14" | ||
} | ||
], | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "http://ex.com/propA.5.1", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t14", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "http://ex.com/propA.5.1.3", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t15", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "http://ex.com/propA.5.2.2", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t16", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "collission", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t17", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "collission", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t2", | ||
"http://example.com/vocab/term": [] | ||
}, | ||
{ | ||
"@id": "_:t3", | ||
"http://example.com/vocab/term": [] | ||
}, | ||
{ | ||
"@id": "_:t4", | ||
"http://example.com/vocab/term": [] | ||
}, | ||
{ | ||
"@id": "_:t5", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "collission", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t6", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@id": "_:t7" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.2" | ||
} | ||
], | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "http://ex.com/propC.5", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t7", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@value": 10510 | ||
}, | ||
{ | ||
"@value": "propC.5.1.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.1.2" | ||
}, | ||
{ | ||
"@id": "_:t8" | ||
} | ||
], | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "http://ex.com/propC.5.1", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t8", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "http://ex.com/propC.5.1.3", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t9", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@value": "http://ex.com/propC.5.2.2", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "http://datatype.example.org/type" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.1" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.4" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.1.2" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.2", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@value": "propA.5.2.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "_:t15" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.2.3" | ||
}, | ||
{ | ||
"@value": 10524 | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.2.3" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2", | ||
"http://example.com/vocab/nested": [] | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.1.2" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2", | ||
"http://example.com/vocab/nested": [] | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2.3" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.4" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.1.2" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.2", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@value": "propC.5.2.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "_:t9" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.2.3" | ||
}, | ||
{ | ||
"@value": 10524 | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.2.3" | ||
}, | ||
{ | ||
"@id": "http://ex.com/root", | ||
"http://example.com/somethingElse": [ | ||
{ | ||
"@list": [ | ||
{ | ||
"@value": 20000, | ||
"@type": "http://datatype.example.org/type" | ||
}, | ||
{ | ||
"@value": "propB.1", | ||
"@type": "http://datatype.example.org/type" | ||
}, | ||
{ | ||
"@id": "_:t0" | ||
}, | ||
{ | ||
"@value": "collission", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2" | ||
}, | ||
{ | ||
"@id": "_:t1" | ||
}, | ||
{ | ||
"@value": 20110 | ||
}, | ||
{ | ||
"@value": "propB.2.1.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.1.2" | ||
}, | ||
{ | ||
"@id": "_:t2" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.2.1.3", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.2.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2" | ||
}, | ||
{ | ||
"@value": "propB.2.2.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "_:t3" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.2.2.2", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2.3" | ||
}, | ||
{ | ||
"@value": 20224 | ||
}, | ||
{ | ||
"@id": "_:t4" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.3", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t5" | ||
}, | ||
{ | ||
"@value": "propC.2", | ||
"@language": "en" | ||
}, | ||
{ | ||
"@value": 30300 | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.4" | ||
}, | ||
{ | ||
"@id": "_:t6" | ||
} | ||
], | ||
"http://example.com/vocab/propGenA": [ | ||
{ | ||
"@value": "propGenA.coll.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "_:t10" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.1" | ||
}, | ||
{ | ||
"@id": "_:t11" | ||
}, | ||
{ | ||
"@value": "propA.3", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.4" | ||
}, | ||
{ | ||
"@id": "_:t12" | ||
}, | ||
{ | ||
"@value": 10600 | ||
}, | ||
{ | ||
"@id": "_:t16" | ||
} | ||
], | ||
"http://example.com/vocab/propGenB": [ | ||
{ | ||
"@value": "propGenB.coll.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "_:t17" | ||
}, | ||
{ | ||
"@list": [ | ||
{ | ||
"@value": 20000, | ||
"@type": "http://datatype.example.org/type" | ||
}, | ||
{ | ||
"@value": "propB.1", | ||
"@type": "http://datatype.example.org/type" | ||
}, | ||
{ | ||
"@id": "_:t0" | ||
}, | ||
{ | ||
"@value": "collission", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2" | ||
}, | ||
{ | ||
"@id": "_:t1" | ||
}, | ||
{ | ||
"@value": 20110 | ||
}, | ||
{ | ||
"@value": "propB.2.1.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.1.2" | ||
}, | ||
{ | ||
"@id": "_:t2" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.2.1.3", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.2.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2" | ||
}, | ||
{ | ||
"@value": "propB.2.2.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "_:t3" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.2.2.2", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2.3" | ||
}, | ||
{ | ||
"@value": 20224 | ||
}, | ||
{ | ||
"@id": "_:t4" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.3", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t5" | ||
}, | ||
{ | ||
"@value": "propC.2", | ||
"@language": "en" | ||
}, | ||
{ | ||
"@value": 30300 | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.4" | ||
}, | ||
{ | ||
"@id": "_:t6" | ||
} | ||
], | ||
"http://www.example.org/shared/term": [ | ||
{ | ||
"@id": "http://ex.com/propA.1" | ||
}, | ||
{ | ||
"@id": "_:t11" | ||
}, | ||
{ | ||
"@value": "propA.3", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.4" | ||
}, | ||
{ | ||
"@id": "_:t12" | ||
}, | ||
{ | ||
"@value": 10600 | ||
}, | ||
{ | ||
"@id": "_:t16" | ||
}, | ||
{ | ||
"@list": [ | ||
{ | ||
"@value": 20000, | ||
"@type": "http://datatype.example.org/type" | ||
}, | ||
{ | ||
"@value": "propB.1", | ||
"@type": "http://datatype.example.org/type" | ||
}, | ||
{ | ||
"@id": "_:t0" | ||
}, | ||
{ | ||
"@value": "collission", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2" | ||
}, | ||
{ | ||
"@id": "_:t1" | ||
}, | ||
{ | ||
"@value": 20110 | ||
}, | ||
{ | ||
"@value": "propB.2.1.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.1.2" | ||
}, | ||
{ | ||
"@id": "_:t2" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.2.1.3", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.2.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2" | ||
}, | ||
{ | ||
"@value": "propB.2.2.1", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "_:t3" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.2.2.2", | ||
"@language": "de" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2.3" | ||
}, | ||
{ | ||
"@value": 20224 | ||
}, | ||
{ | ||
"@id": "_:t4" | ||
}, | ||
{ | ||
"@value": "http://ex.com/propB.3", | ||
"@language": "de" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t5" | ||
}, | ||
{ | ||
"@value": "propC.2", | ||
"@language": "en" | ||
}, | ||
{ | ||
"@value": 30300 | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.4" | ||
}, | ||
{ | ||
"@id": "_:t6" | ||
} | ||
] | ||
} | ||
] | ||
Result: | ||
[ | ||
{ | ||
"@id": "_:t0", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "collission" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t1", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@value": 20110 | ||
}, | ||
{ | ||
"@language": "de", | ||
"@value": "propB.2.1.1" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.1.2" | ||
}, | ||
{ | ||
"@id": "_:t2" | ||
} | ||
], | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propB.2.1" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t10", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "collission" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t11", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propA.2" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t12", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@id": "_:t13" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.2" | ||
} | ||
], | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propA.5" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t13", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@value": 10510 | ||
}, | ||
{ | ||
"@language": "de", | ||
"@value": "propA.5.1.1" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.1.2" | ||
}, | ||
{ | ||
"@id": "_:t14" | ||
} | ||
], | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propA.5.1" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t14", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propA.5.1.3" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t15", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propA.5.2.2" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t16", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "collission" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t17", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "collission" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t2", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propB.2.1.3" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t3", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propB.2.2.2" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t4", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propB.3" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t5", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "collission" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t6", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@id": "_:t7" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.2" | ||
} | ||
], | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propC.5" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t7", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@value": 10510 | ||
}, | ||
{ | ||
"@language": "de", | ||
"@value": "propC.5.1.1" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.1.2" | ||
}, | ||
{ | ||
"@id": "_:t8" | ||
} | ||
], | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propC.5.1" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t8", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propC.5.1.3" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t9", | ||
"http://example.com/vocab/term": [ | ||
{ | ||
"@language": "de", | ||
"@value": "http://ex.com/propC.5.2.2" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "http://datatype.example.org/type" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.1" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.4" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.1.2" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.2", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@language": "de", | ||
"@value": "propA.5.2.1" | ||
}, | ||
{ | ||
"@id": "_:t15" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.2.3" | ||
}, | ||
{ | ||
"@value": 10524 | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.5.2.3" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@id": "_:t1" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.1.2" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@language": "de", | ||
"@value": "propB.2.2.1" | ||
}, | ||
{ | ||
"@id": "_:t3" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2.3" | ||
}, | ||
{ | ||
"@value": 20224 | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2.2.3" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.4" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.1.2" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.2", | ||
"http://example.com/vocab/nested": [ | ||
{ | ||
"@language": "de", | ||
"@value": "propC.5.2.1" | ||
}, | ||
{ | ||
"@id": "_:t9" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.2.3" | ||
}, | ||
{ | ||
"@value": 10524 | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.5.2.3" | ||
}, | ||
{ | ||
"@id": "http://ex.com/root", | ||
"http://example.com/somethingElse": [ | ||
{ | ||
"@list": [ | ||
{ | ||
"@type": "http://datatype.example.org/type", | ||
"@value": 20000 | ||
}, | ||
{ | ||
"@type": "http://datatype.example.org/type", | ||
"@value": "propB.1" | ||
}, | ||
{ | ||
"@id": "_:t0" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2" | ||
}, | ||
{ | ||
"@id": "_:t4" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t5" | ||
}, | ||
{ | ||
"@language": "en", | ||
"@value": "propC.2" | ||
}, | ||
{ | ||
"@value": 30300 | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.4" | ||
}, | ||
{ | ||
"@id": "_:t6" | ||
} | ||
], | ||
"http://example.com/vocab/propGenA": [ | ||
{ | ||
"@language": "de", | ||
"@value": "propGenA.coll.1" | ||
}, | ||
{ | ||
"@id": "_:t10" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.1" | ||
}, | ||
{ | ||
"@id": "_:t11" | ||
}, | ||
{ | ||
"@language": "de", | ||
"@value": "propA.3" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.4" | ||
}, | ||
{ | ||
"@id": "_:t12" | ||
}, | ||
{ | ||
"@value": 10600 | ||
}, | ||
{ | ||
"@id": "_:t16" | ||
} | ||
], | ||
"http://example.com/vocab/propGenB": [ | ||
{ | ||
"@language": "de", | ||
"@value": "propGenB.coll.1" | ||
}, | ||
{ | ||
"@id": "_:t17" | ||
}, | ||
{ | ||
"@list": [ | ||
{ | ||
"@type": "http://datatype.example.org/type", | ||
"@value": 20000 | ||
}, | ||
{ | ||
"@type": "http://datatype.example.org/type", | ||
"@value": "propB.1" | ||
}, | ||
{ | ||
"@id": "_:t0" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2" | ||
}, | ||
{ | ||
"@id": "_:t4" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t5" | ||
}, | ||
{ | ||
"@language": "en", | ||
"@value": "propC.2" | ||
}, | ||
{ | ||
"@value": 30300 | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.4" | ||
}, | ||
{ | ||
"@id": "_:t6" | ||
} | ||
], | ||
"http://www.example.org/shared/term": [ | ||
{ | ||
"@id": "http://ex.com/propA.1" | ||
}, | ||
{ | ||
"@id": "_:t11" | ||
}, | ||
{ | ||
"@language": "de", | ||
"@value": "propA.3" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propA.4" | ||
}, | ||
{ | ||
"@id": "_:t12" | ||
}, | ||
{ | ||
"@value": 10600 | ||
}, | ||
{ | ||
"@id": "_:t16" | ||
}, | ||
{ | ||
"@list": [ | ||
{ | ||
"@type": "http://datatype.example.org/type", | ||
"@value": 20000 | ||
}, | ||
{ | ||
"@type": "http://datatype.example.org/type", | ||
"@value": "propB.1" | ||
}, | ||
{ | ||
"@id": "_:t0" | ||
}, | ||
{ | ||
"@id": "http://ex.com/propB.2" | ||
}, | ||
{ | ||
"@id": "_:t4" | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "_:t5" | ||
}, | ||
{ | ||
"@language": "en", | ||
"@value": "propC.2" | ||
}, | ||
{ | ||
"@value": 30300 | ||
}, | ||
{ | ||
"@id": "http://ex.com/propC.4" | ||
}, | ||
{ | ||
"@id": "_:t6" | ||
} | ||
] | ||
} | ||
] | ||
JSON-LD/flatten 0038/Ensure all blank nodes are relabeled when flattening.... PASS | ||
JSON-LD/flatten 0039/Complex property generator test case with multiple colliding IRIs (this document wouldn't roundtrip cleanly)... PASS | ||
JSON-LD/flatten 0040/Only invoke language and index map expansion if the value is a JSON object... PASS | ||
JSON-LD/flatten 0041/Free-floating sets and lists... PASS | ||
15 Feb 10:37:42 - Skipping test "Keywords cannot be aliased to other keywords" of type: ["test:TestCase","jld:ExpandTest","jld:ApiErrorTest"] | ||
28 Feb 15:46:14 - Skipping test "Keywords cannot be aliased to other keywords" of type: ["test:TestCase","jld:ExpandTest","jld:ApiErrorTest"] | ||
JSON-LD/toRdf 0001/Plain literal with URIs... PASS | ||
@@ -1573,2 +405,2 @@ JSON-LD/toRdf 0002/Plain literal with CURIE from default context... PASS | ||
JSON-LD/frame 0021/Blank nodes in @type... PASS | ||
Done. Total:276 Passed:273 Failed:3 | ||
Done. Total:280 Passed:279 Failed:1 |
{ | ||
"name": "jsonld", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"description": "A JSON-LD Processor and API implementation in JavaScript.", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/digitalbazaar/jsonld.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5994
1090650