From 24a56c391811396956a50a987e5859c83da80b0d Mon Sep 17 00:00:00 2001 From: Rinke Hoekstra Date: Thu, 27 Jun 2019 10:02:16 +0200 Subject: [PATCH 01/22] This fixes issue #262: * Included new JSON-LD tests in json-ld.org directory (perhaps rename this to something more W3C specific, as these are the latest tests from W3C) * Starting from `manifest.jsonld` rather than all jsonld files in the test directory; then iterating of the the list of manifest files specified there. --- .gitignore | 1 + .../jsonldjava/core/JsonLdProcessorTest.java | 48 +- .../src/test/resources/json-ld.org/LICENSE.md | 2 + core/src/test/resources/json-ld.org/README.md | 87 + .../json-ld.org/compact-0066-in.jsonld | 34 - .../json-ld.org/compact-0066-out.jsonld | 33 - .../json-ld.org/compact-manifest.jsonld | 1787 ++++++++++++-- .../0001-context.jsonld} | 0 .../0001-in.jsonld} | 0 .../0001-out.jsonld} | 0 .../0002-context.jsonld} | 0 .../0002-in.jsonld} | 0 .../0002-out.jsonld} | 0 .../0003-context.jsonld} | 0 .../0003-in.jsonld} | 0 .../0003-out.jsonld} | 0 .../0004-context.jsonld} | 0 .../0004-in.jsonld} | 0 .../0004-out.jsonld} | 0 .../0005-context.jsonld} | 0 .../0005-in.jsonld} | 0 .../0005-out.jsonld} | 0 .../0006-context.jsonld} | 0 .../0006-in.jsonld} | 0 .../0006-out.jsonld} | 0 .../0007-context.jsonld} | 2 +- .../0007-in.jsonld} | 0 .../0007-out.jsonld} | 10 +- .../0008-context.jsonld} | 0 .../0008-in.jsonld} | 0 .../0008-out.jsonld} | 0 .../0009-context.jsonld} | 2 +- .../0009-in.jsonld} | 0 .../0009-out.jsonld} | 4 +- .../0010-context.jsonld} | 0 .../0010-in.jsonld} | 0 .../0010-out.jsonld} | 0 .../0011-context.jsonld} | 0 .../0011-in.jsonld} | 0 .../0011-out.jsonld} | 0 .../0012-context.jsonld} | 0 .../0012-in.jsonld} | 0 .../0012-out.jsonld} | 0 .../0013-context.jsonld} | 0 .../0013-in.jsonld} | 0 .../0013-out.jsonld} | 0 .../0014-context.jsonld} | 0 .../0014-in.jsonld} | 0 .../0014-out.jsonld} | 0 .../0015-context.jsonld} | 0 .../0015-in.jsonld} | 0 .../0015-out.jsonld} | 0 .../0016-context.jsonld} | 0 .../0016-in.jsonld} | 0 .../0016-out.jsonld} | 0 .../0017-context.jsonld} | 0 .../0017-in.jsonld} | 0 .../0017-out.jsonld} | 0 .../0018-context.jsonld} | 0 .../0018-in.jsonld} | 0 .../0018-out.jsonld} | 0 .../0019-context.jsonld} | 0 .../0019-in.jsonld} | 0 .../0019-out.jsonld} | 0 .../0020-context.jsonld} | 0 .../0020-in.jsonld} | 0 .../0020-out.jsonld} | 0 .../0021-context.jsonld} | 0 .../0021-in.jsonld} | 0 .../0021-out.jsonld} | 0 .../0022-context.jsonld} | 0 .../0022-in.jsonld} | 0 .../0022-out.jsonld} | 0 .../0023-context.jsonld} | 0 .../0023-in.jsonld} | 0 .../0023-out.jsonld} | 0 .../0024-context.jsonld} | 0 .../0024-in.jsonld} | 0 .../0024-out.jsonld} | 0 .../0025-context.jsonld} | 0 .../0025-in.jsonld} | 0 .../0025-out.jsonld} | 0 .../0026-context.jsonld} | 0 .../0026-in.jsonld} | 0 .../0026-out.jsonld} | 0 .../0027-context.jsonld} | 0 .../0027-in.jsonld} | 0 .../0027-out.jsonld} | 0 .../0028-context.jsonld} | 0 .../0028-in.jsonld} | 0 .../0028-out.jsonld} | 0 .../0029-context.jsonld} | 0 .../0029-in.jsonld} | 0 .../0029-out.jsonld} | 0 .../0030-context.jsonld} | 0 .../0030-in.jsonld} | 0 .../0030-out.jsonld} | 0 .../0031-context.jsonld} | 0 .../0031-in.jsonld} | 0 .../0031-out.jsonld} | 0 .../0032-context.jsonld} | 0 .../0032-in.jsonld} | 0 .../0032-out.jsonld} | 0 .../0033-context.jsonld} | 0 .../0033-in.jsonld} | 0 .../0033-out.jsonld} | 0 .../0034-context.jsonld} | 0 .../0034-in.jsonld} | 0 .../0034-out.jsonld} | 0 .../0035-context.jsonld} | 0 .../0035-in.jsonld} | 0 .../0035-out.jsonld} | 0 .../0036-context.jsonld} | 0 .../0036-in.jsonld} | 0 .../0036-out.jsonld} | 0 .../0037-context.jsonld} | 0 .../0037-in.jsonld} | 2 +- .../0037-out.jsonld} | 0 .../0038-context.jsonld} | 0 .../0038-in.jsonld} | 0 .../0038-out.jsonld} | 0 .../json-ld.org/compact/0038a-out.jsonld | 57 + .../0039-context.jsonld} | 0 .../0039-in.jsonld} | 0 .../0039-out.jsonld} | 0 .../0040-context.jsonld} | 0 .../0040-in.jsonld} | 0 .../0040-out.jsonld} | 0 .../0041-context.jsonld} | 0 .../0041-in.jsonld} | 0 .../0041-out.jsonld} | 0 .../0042-context.jsonld} | 0 .../0042-in.jsonld} | 0 .../0042-out.jsonld} | 0 .../0043-context.jsonld} | 0 .../0043-in.jsonld} | 0 .../0043-out.jsonld} | 0 .../0044-context.jsonld} | 0 .../0044-in.jsonld} | 0 .../0044-out.jsonld} | 0 .../0045-context.jsonld} | 2 +- .../0045-in.jsonld} | 6 +- .../0045-out.jsonld} | 2 +- .../0046-context.jsonld} | 0 .../0046-in.jsonld} | 0 .../0046-out.jsonld} | 0 .../0047-context.jsonld} | 0 .../0047-in.jsonld} | 0 .../0047-out.jsonld} | 0 .../0048-context.jsonld} | 0 .../0048-in.jsonld} | 0 .../0048-out.jsonld} | 0 .../0049-context.jsonld} | 0 .../0049-in.jsonld} | 0 .../0049-out.jsonld} | 0 .../0050-context.jsonld} | 0 .../0050-in.jsonld} | 0 .../0050-out.jsonld} | 0 .../0051-context.jsonld} | 0 .../0051-in.jsonld} | 0 .../0051-out.jsonld} | 0 .../0052-context.jsonld} | 0 .../0052-in.jsonld} | 0 .../0052-out.jsonld} | 0 .../0053-context.jsonld} | 0 .../0053-in.jsonld} | 0 .../0053-out.jsonld} | 0 .../0054-context.jsonld} | 0 .../0054-in.jsonld} | 0 .../0054-out.jsonld} | 0 .../0055-context.jsonld} | 0 .../0055-in.jsonld} | 0 .../0055-out.jsonld} | 0 .../0056-context.jsonld} | 0 .../0056-in.jsonld} | 0 .../0056-out.jsonld} | 0 .../0057-context.jsonld} | 0 .../0057-in.jsonld} | 0 .../0057-out.jsonld} | 0 .../0058-context.jsonld} | 0 .../0058-in.jsonld} | 0 .../0058-out.jsonld} | 0 .../0059-context.jsonld} | 0 .../0059-in.jsonld} | 0 .../0059-out.jsonld} | 0 .../0060-context.jsonld} | 0 .../0060-in.jsonld} | 0 .../0060-out.jsonld} | 0 .../0061-context.jsonld} | 0 .../0061-in.jsonld} | 0 .../0061-out.jsonld} | 0 .../0062-context.jsonld} | 0 .../0062-in.jsonld} | 0 .../0062-out.jsonld} | 2 +- .../0063-context.jsonld} | 0 .../0063-in.jsonld} | 0 .../0063-out.jsonld} | 0 .../0064-context.jsonld} | 0 .../0064-in.jsonld} | 0 .../0064-out.jsonld} | 0 .../0065-context.jsonld} | 0 .../0065-in.jsonld} | 0 .../0065-out.jsonld} | 0 .../0066-context.jsonld} | 0 .../json-ld.org/compact/0066-in.jsonld | 34 + .../json-ld.org/compact/0066-out.jsonld | 33 + .../0067-context.jsonld} | 0 .../0067-in.jsonld} | 0 .../0067-out.jsonld} | 0 .../0068-context.jsonld} | 0 .../0068-in.jsonld} | 0 .../0068-out.jsonld} | 0 .../0069-context.jsonld} | 0 .../0069-in.jsonld} | 0 .../0069-out.jsonld} | 0 .../0070-context.jsonld} | 0 .../0070-in.jsonld} | 0 .../0070-out.jsonld} | 0 .../0071-context.jsonld} | 0 .../0071-in.jsonld} | 0 .../0071-out.jsonld} | 0 .../0072-context.jsonld} | 0 .../0072-in.jsonld} | 0 .../0072-out.jsonld} | 0 .../json-ld.org/compact/0073-context.jsonld | 6 + .../json-ld.org/compact/0073-in.jsonld | 8 + .../json-ld.org/compact/0073-out.jsonld | 14 + .../json-ld.org/compact/0074-context.jsonld | 9 + .../json-ld.org/compact/0074-in.jsonld | 10 + .../json-ld.org/compact/0074-out.jsonld | 10 + .../json-ld.org/compact/0075-context.jsonld | 5 + .../json-ld.org/compact/0075-in.jsonld | 3 + .../json-ld.org/compact/0075-out.jsonld | 8 + .../json-ld.org/compact/0076-context.jsonld | 3 + .../json-ld.org/compact/0076-in.jsonld | 4 + .../json-ld.org/compact/0076-out.jsonld | 5 + .../json-ld.org/compact/0077-context.jsonld | 7 + .../json-ld.org/compact/0077-in.jsonld | 10 + .../json-ld.org/compact/0077-out.jsonld | 13 + .../json-ld.org/compact/0078-context.jsonld | 7 + .../json-ld.org/compact/0078-in.jsonld | 10 + .../json-ld.org/compact/0078-out.jsonld | 13 + .../json-ld.org/compact/0079-context.jsonld | 6 + .../json-ld.org/compact/0079-in.jsonld | 8 + .../json-ld.org/compact/0079-out.jsonld | 9 + .../json-ld.org/compact/0080-context.jsonld | 6 + .../json-ld.org/compact/0080-in.jsonld | 8 + .../json-ld.org/compact/0080-out.jsonld | 10 + .../json-ld.org/compact/0081-context.jsonld | 6 + .../json-ld.org/compact/0081-in.jsonld | 8 + .../json-ld.org/compact/0081-out.jsonld | 9 + .../json-ld.org/compact/0082-context.jsonld | 6 + .../json-ld.org/compact/0082-in.jsonld | 8 + .../json-ld.org/compact/0082-out.jsonld | 9 + .../json-ld.org/compact/0083-context.jsonld | 6 + .../json-ld.org/compact/0083-in.jsonld | 9 + .../json-ld.org/compact/0083-out.jsonld | 11 + .../json-ld.org/compact/0084-context.jsonld | 6 + .../json-ld.org/compact/0084-in.jsonld | 7 + .../json-ld.org/compact/0084-out.jsonld | 9 + .../json-ld.org/compact/0085-context.jsonld | 6 + .../json-ld.org/compact/0085-in.jsonld | 8 + .../json-ld.org/compact/0085-out.jsonld | 9 + .../json-ld.org/compact/0086-context.jsonld | 6 + .../json-ld.org/compact/0086-in.jsonld | 7 + .../json-ld.org/compact/0086-out.jsonld | 7 + .../json-ld.org/compact/0087-context.jsonld | 6 + .../json-ld.org/compact/0087-in.jsonld | 8 + .../json-ld.org/compact/0087-out.jsonld | 9 + .../json-ld.org/compact/0088-context.jsonld | 6 + .../json-ld.org/compact/0088-in.jsonld | 8 + .../json-ld.org/compact/0088-out.jsonld | 9 + .../json-ld.org/compact/0089-context.jsonld | 10 + .../json-ld.org/compact/0089-in.jsonld | 23 + .../json-ld.org/compact/0089-out.jsonld | 17 + .../json-ld.org/compact/0090-context.jsonld | 7 + .../json-ld.org/compact/0090-in.jsonld | 10 + .../json-ld.org/compact/0090-out.jsonld | 12 + .../json-ld.org/compact/0091-context.jsonld | 7 + .../json-ld.org/compact/0091-in.jsonld | 10 + .../json-ld.org/compact/0091-out.jsonld | 14 + .../json-ld.org/compact/0092-context.jsonld | 7 + .../json-ld.org/compact/0092-in.jsonld | 12 + .../json-ld.org/compact/0092-out.jsonld | 11 + .../json-ld.org/compact/0093-context.jsonld | 7 + .../json-ld.org/compact/0093-in.jsonld | 12 + .../json-ld.org/compact/0093-out.jsonld | 13 + .../json-ld.org/compact/0094-context.jsonld | 7 + .../json-ld.org/compact/0094-in.jsonld | 10 + .../json-ld.org/compact/0094-out.jsonld | 12 + .../json-ld.org/compact/0095-context.jsonld | 6 + .../json-ld.org/compact/0095-in.jsonld | 13 + .../json-ld.org/compact/0095-out.jsonld | 15 + .../json-ld.org/compact/0096-context.jsonld | 6 + .../json-ld.org/compact/0096-in.jsonld | 15 + .../json-ld.org/compact/0096-out.jsonld | 11 + .../json-ld.org/compact/0097-context.jsonld | 6 + .../json-ld.org/compact/0097-in.jsonld | 15 + .../json-ld.org/compact/0097-out.jsonld | 11 + .../json-ld.org/compact/0098-context.jsonld | 6 + .../json-ld.org/compact/0098-in.jsonld | 13 + .../json-ld.org/compact/0098-out.jsonld | 10 + .../json-ld.org/compact/0099-context.jsonld | 10 + .../json-ld.org/compact/0099-in.jsonld | 13 + .../json-ld.org/compact/0099-out.jsonld | 10 + .../json-ld.org/compact/0100-context.jsonld | 6 + .../json-ld.org/compact/0100-in.jsonld | 13 + .../json-ld.org/compact/0100-out.jsonld | 10 + .../json-ld.org/compact/0101-context.jsonld | 6 + .../json-ld.org/compact/0101-in.jsonld | 13 + .../json-ld.org/compact/0101-out.jsonld | 10 + .../json-ld.org/compact/0102-context.jsonld | 6 + .../json-ld.org/compact/0102-in.jsonld | 23 + .../json-ld.org/compact/0102-out.jsonld | 10 + .../json-ld.org/compact/0103-context.jsonld | 6 + .../json-ld.org/compact/0103-in.jsonld | 23 + .../json-ld.org/compact/0103-out.jsonld | 10 + .../0104-context.jsonld} | 2 +- .../0104-in.jsonld} | 0 .../0104-out.jsonld} | 2 +- .../0105-context.jsonld} | 2 +- .../0105-in.jsonld} | 0 .../0105-out.jsonld} | 2 +- .../0106-context.jsonld} | 2 +- .../0106-in.jsonld} | 0 .../0106-out.jsonld} | 2 +- .../json-ld.org/compact/0107-context.jsonld | 6 + .../json-ld.org/compact/0107-in.jsonld | 13 + .../json-ld.org/compact/0107-out.jsonld | 15 + .../json-ld.org/compact/0108-context.jsonld | 6 + .../json-ld.org/compact/0108-in.jsonld | 8 + .../json-ld.org/compact/0108-out.jsonld | 8 + .../json-ld.org/compact/c001-context.jsonld | 6 + .../json-ld.org/compact/c001-in.jsonld | 3 + .../json-ld.org/compact/c001-out.jsonld | 9 + .../json-ld.org/compact/c002-context.jsonld | 7 + .../json-ld.org/compact/c002-in.jsonld | 5 + .../json-ld.org/compact/c002-out.jsonld | 10 + .../json-ld.org/compact/c003-context.jsonld | 6 + .../json-ld.org/compact/c003-in.jsonld | 9 + .../json-ld.org/compact/c003-out.jsonld | 9 + .../json-ld.org/compact/c004-context.jsonld | 6 + .../json-ld.org/compact/c004-in.jsonld | 9 + .../json-ld.org/compact/c004-out.jsonld | 11 + .../json-ld.org/compact/c005-context.jsonld | 6 + .../json-ld.org/compact/c005-in.jsonld | 10 + .../json-ld.org/compact/c005-out.jsonld | 14 + .../json-ld.org/compact/c006-context.jsonld | 6 + .../json-ld.org/compact/c006-in.jsonld | 8 + .../json-ld.org/compact/c006-out.jsonld | 7 + .../json-ld.org/compact/c007-context.jsonld | 7 + .../json-ld.org/compact/c007-in.jsonld | 8 + .../json-ld.org/compact/c007-out.jsonld | 8 + .../json-ld.org/compact/c008-context.jsonld | 7 + .../json-ld.org/compact/c008-in.jsonld | 8 + .../json-ld.org/compact/c008-out.jsonld | 8 + .../json-ld.org/compact/c009-context.jsonld | 6 + .../json-ld.org/compact/c009-in.jsonld | 8 + .../json-ld.org/compact/c009-out.jsonld | 8 + .../json-ld.org/compact/c010-context.jsonld | 6 + .../json-ld.org/compact/c010-in.jsonld | 8 + .../json-ld.org/compact/c010-out.jsonld | 12 + .../json-ld.org/compact/c011-context.jsonld | 8 + .../json-ld.org/compact/c011-in.jsonld | 11 + .../json-ld.org/compact/c011-out.jsonld | 15 + .../json-ld.org/compact/c012-context.jsonld | 7 + .../json-ld.org/compact/c012-in.jsonld | 6 + .../json-ld.org/compact/c012-out.jsonld | 9 + .../json-ld.org/compact/c013-context.jsonld | 14 + .../json-ld.org/compact/c013-in.jsonld | 8 + .../json-ld.org/compact/c013-out.jsonld | 16 + .../json-ld.org/compact/c014-context.jsonld | 11 + .../json-ld.org/compact/c014-in.jsonld | 8 + .../json-ld.org/compact/c014-out.jsonld | 15 + .../json-ld.org/compact/c015-context.jsonld | 12 + .../json-ld.org/compact/c015-in.jsonld | 16 + .../json-ld.org/compact/c015-out.jsonld | 24 + .../json-ld.org/compact/c016-context.jsonld | 10 + .../json-ld.org/compact/c016-in.jsonld | 16 + .../json-ld.org/compact/c016-out.jsonld | 18 + .../json-ld.org/compact/c017-context.jsonld | 19 + .../json-ld.org/compact/c017-in.jsonld | 14 + .../json-ld.org/compact/c017-out.jsonld | 24 + .../json-ld.org/compact/c018-context.jsonld | 21 + .../json-ld.org/compact/c018-in.jsonld | 11 + .../json-ld.org/compact/c018-out.jsonld | 24 + .../json-ld.org/compact/c019-context.jsonld | 20 + .../json-ld.org/compact/c019-in.jsonld | 26 + .../json-ld.org/compact/c019-out.jsonld | 30 + .../json-ld.org/compact/c020-context.jsonld | 11 + .../json-ld.org/compact/c020-in.jsonld | 7 + .../json-ld.org/compact/c020-out.jsonld | 16 + .../json-ld.org/compact/c021-context.jsonld | 13 + .../json-ld.org/compact/c021-in.jsonld | 19 + .../json-ld.org/compact/c021-out.jsonld | 30 + .../json-ld.org/compact/c022-context.jsonld | 18 + .../json-ld.org/compact/c022-in.jsonld | 4 + .../json-ld.org/compact/c022-out.jsonld | 20 + .../json-ld.org/compact/c023-context.jsonld | 24 + .../json-ld.org/compact/c023-in.jsonld | 7 + .../json-ld.org/compact/c023-out.jsonld | 29 + .../json-ld.org/compact/c024-context.jsonld | 34 + .../json-ld.org/compact/c024-in.jsonld | 11 + .../json-ld.org/compact/c024-out.jsonld | 40 + .../json-ld.org/compact/c025-context.jsonld | 22 + .../json-ld.org/compact/c025-in.jsonld | 9 + .../json-ld.org/compact/c025-out.jsonld | 27 + .../e001-context.jsonld} | 0 .../json-ld.org/compact/e001-in.jsonld | 3 + .../json-ld.org/compact/e002-context.jsonld | 5 + .../json-ld.org/compact/e002-in.jsonld | 3 + .../json-ld.org/compact/en01-context.jsonld | 5 + .../json-ld.org/compact/en01-in.jsonld | 3 + .../json-ld.org/compact/ep04-context.jsonld | 7 + .../json-ld.org/compact/ep04-in.jsonld | 5 + .../json-ld.org/compact/ep05-context.jsonld | 5 + .../ep05-in.jsonld} | 0 .../json-ld.org/compact/ep06-context.jsonld | 5 + .../json-ld.org/compact/ep06-in.jsonld | 1 + .../json-ld.org/compact/ep07-context.jsonld | 5 + .../json-ld.org/compact/ep07-in.jsonld | 3 + .../json-ld.org/compact/ep08-context.jsonld | 5 + .../json-ld.org/compact/ep08-in.jsonld | 3 + .../json-ld.org/compact/ep09-context.jsonld | 6 + .../json-ld.org/compact/ep09-in.jsonld | 3 + .../json-ld.org/compact/ep10-context.jsonld | 5 + .../json-ld.org/compact/ep10-in.jsonld | 3 + .../json-ld.org/compact/ep11-context.jsonld | 5 + .../json-ld.org/compact/ep11-in.jsonld | 3 + .../json-ld.org/compact/ep12-context.jsonld | 5 + .../json-ld.org/compact/ep12-in.jsonld | 3 + .../json-ld.org/compact/ep13-context.jsonld | 5 + .../json-ld.org/compact/ep13-in.jsonld | 3 + .../json-ld.org/compact/ep14-context.jsonld | 5 + .../json-ld.org/compact/ep14-in.jsonld | 3 + .../json-ld.org/compact/ep15-context.jsonld | 5 + .../json-ld.org/compact/ep15-in.jsonld | 3 + .../json-ld.org/compact/h001-context.jsonld | 5 + .../json-ld.org/compact/h001-in.html | 12 + .../json-ld.org/compact/h001-out.jsonld | 6 + .../json-ld.org/compact/h002-context.jsonld | 5 + .../json-ld.org/compact/h002-in.html | 21 + .../json-ld.org/compact/h002-out.jsonld | 6 + .../json-ld.org/compact/h003-context.jsonld | 3 + .../json-ld.org/compact/h003-in.html | 21 + .../json-ld.org/compact/h003-out.jsonld | 7 + .../json-ld.org/compact/h004-context.jsonld | 6 + .../json-ld.org/compact/h004-in.html | 21 + .../json-ld.org/compact/h004-out.jsonld | 15 + .../json-ld.org/compact/js01-context.jsonld | 6 + .../json-ld.org/compact/js01-in.jsonld | 3 + .../json-ld.org/compact/js01-out.jsonld | 7 + .../json-ld.org/compact/js02-context.jsonld | 6 + .../json-ld.org/compact/js02-in.jsonld | 3 + .../json-ld.org/compact/js02-out.jsonld | 7 + .../json-ld.org/compact/js03-context.jsonld | 6 + .../json-ld.org/compact/js03-in.jsonld | 3 + .../json-ld.org/compact/js03-out.jsonld | 7 + .../json-ld.org/compact/js04-context.jsonld | 6 + .../json-ld.org/compact/js04-in.jsonld | 3 + .../json-ld.org/compact/js04-out.jsonld | 7 + .../json-ld.org/compact/js05-context.jsonld | 6 + .../json-ld.org/compact/js05-in.jsonld | 3 + .../json-ld.org/compact/js05-out.jsonld | 7 + .../json-ld.org/compact/js06-context.jsonld | 6 + .../json-ld.org/compact/js06-in.jsonld | 3 + .../json-ld.org/compact/js06-out.jsonld | 7 + .../json-ld.org/compact/js07-context.jsonld | 6 + .../json-ld.org/compact/js07-in.jsonld | 3 + .../json-ld.org/compact/js07-out.jsonld | 7 + .../json-ld.org/compact/js08-context.jsonld | 3 + .../json-ld.org/compact/js08-in.jsonld | 3 + .../json-ld.org/compact/js08-out.jsonld | 4 + .../json-ld.org/compact/js09-context.jsonld | 3 + .../json-ld.org/compact/js09-in.jsonld | 3 + .../json-ld.org/compact/js09-out.jsonld | 4 + .../json-ld.org/compact/li01-context.jsonld | 3 + .../json-ld.org/compact/li01-in.jsonld | 3 + .../json-ld.org/compact/li01-out.jsonld | 4 + .../json-ld.org/compact/li02-context.jsonld | 3 + .../json-ld.org/compact/li02-in.jsonld | 3 + .../json-ld.org/compact/li02-out.jsonld | 4 + .../json-ld.org/compact/li03-context.jsonld | 3 + .../json-ld.org/compact/li03-in.jsonld | 3 + .../json-ld.org/compact/li03-out.jsonld | 4 + .../json-ld.org/compact/li04-context.jsonld | 3 + .../json-ld.org/compact/li04-in.jsonld | 6 + .../json-ld.org/compact/li04-out.jsonld | 4 + .../json-ld.org/compact/li05-context.jsonld | 3 + .../json-ld.org/compact/li05-in.jsonld | 6 + .../json-ld.org/compact/li05-out.jsonld | 4 + .../m001-context.jsonld} | 6 +- .../json-ld.org/compact/m001-in.jsonld | 6 + .../json-ld.org/compact/m001-out.jsonld | 10 + .../json-ld.org/compact/m002-context.jsonld | 6 + .../json-ld.org/compact/m002-in.jsonld | 6 + .../json-ld.org/compact/m002-out.jsonld | 10 + .../json-ld.org/compact/m003-context.jsonld | 6 + .../json-ld.org/compact/m003-in.jsonld | 6 + .../json-ld.org/compact/m003-out.jsonld | 10 + .../json-ld.org/compact/m004-context.jsonld | 6 + .../json-ld.org/compact/m004-in.jsonld | 12 + .../json-ld.org/compact/m004-out.jsonld | 10 + .../json-ld.org/compact/m005-context.jsonld | 7 + .../json-ld.org/compact/m005-in.jsonld | 5 + .../json-ld.org/compact/m005-out.jsonld | 10 + .../json-ld.org/compact/m006-context.jsonld | 6 + .../json-ld.org/compact/m006-in.jsonld | 5 + .../json-ld.org/compact/m006-out.jsonld | 9 + .../json-ld.org/compact/m007-context.jsonld | 7 + .../json-ld.org/compact/m007-in.jsonld | 5 + .../json-ld.org/compact/m007-out.jsonld | 10 + .../json-ld.org/compact/m008-context.jsonld | 8 + .../json-ld.org/compact/m008-in.jsonld | 9 + .../json-ld.org/compact/m008-out.jsonld | 17 + .../json-ld.org/compact/m009-context.jsonld | 8 + .../json-ld.org/compact/m009-in.jsonld | 9 + .../json-ld.org/compact/m009-out.jsonld | 13 + .../json-ld.org/compact/m010-context.jsonld | 9 + .../json-ld.org/compact/m010-in.jsonld | 9 + .../json-ld.org/compact/m010-out.jsonld | 14 + .../json-ld.org/compact/m011-context.jsonld | 6 + .../json-ld.org/compact/m011-in.jsonld | 10 + .../json-ld.org/compact/m011-out.jsonld | 12 + .../json-ld.org/compact/m012-context.jsonld | 7 + .../json-ld.org/compact/m012-in.jsonld | 10 + .../json-ld.org/compact/m012-out.jsonld | 13 + .../json-ld.org/compact/m013-context.jsonld | 7 + .../json-ld.org/compact/m013-in.jsonld | 5 + .../json-ld.org/compact/m013-out.jsonld | 10 + .../json-ld.org/compact/m014-context.jsonld | 8 + .../json-ld.org/compact/m014-in.jsonld | 5 + .../json-ld.org/compact/m014-out.jsonld | 11 + .../json-ld.org/compact/m015-context.jsonld | 7 + .../json-ld.org/compact/m015-in.jsonld | 5 + .../json-ld.org/compact/m015-out.jsonld | 10 + .../json-ld.org/compact/m016-context.jsonld | 8 + .../json-ld.org/compact/m016-in.jsonld | 5 + .../json-ld.org/compact/m016-out.jsonld | 11 + .../json-ld.org/compact/m017-context.jsonld | 6 + .../json-ld.org/compact/m017-in.jsonld | 7 + .../json-ld.org/compact/m017-out.jsonld | 9 + .../json-ld.org/compact/m018-context.jsonld | 6 + .../json-ld.org/compact/m018-in.jsonld | 7 + .../json-ld.org/compact/m018-out.jsonld | 9 + .../json-ld.org/compact/m019-context.jsonld | 7 + .../json-ld.org/compact/m019-in.jsonld | 7 + .../json-ld.org/compact/m019-out.jsonld | 10 + .../json-ld.org/compact/n001-context.jsonld | 6 + .../json-ld.org/compact/n001-in.jsonld | 4 + .../json-ld.org/compact/n001-out.jsonld | 10 + .../json-ld.org/compact/n002-context.jsonld | 7 + .../json-ld.org/compact/n002-in.jsonld | 4 + .../json-ld.org/compact/n002-out.jsonld | 11 + .../json-ld.org/compact/n003-context.jsonld | 7 + .../json-ld.org/compact/n003-in.jsonld | 4 + .../json-ld.org/compact/n003-out.jsonld | 11 + .../json-ld.org/compact/n004-context.jsonld | 6 + .../json-ld.org/compact/n004-in.jsonld | 4 + .../json-ld.org/compact/n004-out.jsonld | 10 + .../json-ld.org/compact/n005-context.jsonld | 7 + .../json-ld.org/compact/n005-in.jsonld | 6 + .../json-ld.org/compact/n005-out.jsonld | 10 + .../json-ld.org/compact/n006-context.jsonld | 7 + .../json-ld.org/compact/n006-in.jsonld | 6 + .../json-ld.org/compact/n006-out.jsonld | 13 + .../json-ld.org/compact/n007-context.jsonld | 7 + .../json-ld.org/compact/n007-in.jsonld | 6 + .../json-ld.org/compact/n007-out.jsonld | 13 + .../json-ld.org/compact/n008-context.jsonld | 7 + .../json-ld.org/compact/n008-in.jsonld | 6 + .../json-ld.org/compact/n008-out.jsonld | 13 + .../json-ld.org/compact/n009-context.jsonld | 7 + .../json-ld.org/compact/n009-in.jsonld | 6 + .../json-ld.org/compact/n009-out.jsonld | 13 + .../json-ld.org/compact/n010-context.jsonld | 9 + .../json-ld.org/compact/n010-in.jsonld | 4 + .../json-ld.org/compact/n010-out.jsonld | 11 + .../json-ld.org/compact/p001-context.jsonld | 5 + .../json-ld.org/compact/p001-in.jsonld | 5 + .../json-ld.org/compact/p001-out.jsonld | 8 + .../json-ld.org/compact/p002-context.jsonld | 5 + .../json-ld.org/compact/p002-in.jsonld | 5 + .../json-ld.org/compact/p002-out.jsonld | 8 + .../json-ld.org/compact/p003-context.jsonld | 6 + .../json-ld.org/compact/p003-in.jsonld | 6 + .../json-ld.org/compact/p003-out.jsonld | 10 + .../json-ld.org/compact/p004-context.jsonld | 11 + .../json-ld.org/compact/p004-in.jsonld | 9 + .../json-ld.org/compact/p004-out.jsonld | 18 + .../json-ld.org/compact/p005-context.jsonld | 6 + .../json-ld.org/compact/p005-in.jsonld | 6 + .../json-ld.org/compact/p005-out.jsonld | 10 + .../json-ld.org/compact/p006-context.jsonld | 6 + .../json-ld.org/compact/p006-in.jsonld | 6 + .../json-ld.org/compact/p006-out.jsonld | 10 + .../json-ld.org/compact/p007-context.jsonld | 6 + .../json-ld.org/compact/p007-in.jsonld | 4 + .../json-ld.org/compact/p007-out.jsonld | 8 + .../json-ld.org/compact/p008-context.jsonld | 6 + .../json-ld.org/compact/p008-in.jsonld | 6 + .../json-ld.org/compact/p008-out.jsonld | 13 + .../json-ld.org/compact/pi01-context.jsonld | 8 + .../json-ld.org/compact/pi01-in.jsonld | 8 + .../json-ld.org/compact/pi01-out.jsonld | 13 + .../json-ld.org/compact/pi02-context.jsonld | 8 + .../json-ld.org/compact/pi02-in.jsonld | 8 + .../json-ld.org/compact/pi02-out.jsonld | 16 + .../json-ld.org/compact/pi03-context.jsonld | 9 + .../json-ld.org/compact/pi03-in.jsonld | 8 + .../json-ld.org/compact/pi03-out.jsonld | 17 + .../json-ld.org/compact/pi04-context.jsonld | 9 + .../json-ld.org/compact/pi04-in.jsonld | 8 + .../json-ld.org/compact/pi04-out.jsonld | 17 + .../json-ld.org/compact/pi05-context.jsonld | 8 + .../json-ld.org/compact/pi05-in.jsonld | 8 + .../json-ld.org/compact/pi05-out.jsonld | 12 + .../json-ld.org/compact/pi06-context.jsonld | 8 + .../json-ld.org/compact/pi06-in.jsonld | 8 + .../json-ld.org/compact/pi06-out.jsonld | 16 + .../json-ld.org/compact/pr01-context.jsonld | 7 + .../json-ld.org/compact/pr01-in.jsonld | 3 + .../json-ld.org/compact/pr02-context.jsonld | 9 + .../json-ld.org/compact/pr02-in.jsonld | 3 + .../json-ld.org/compact/pr03-context.jsonld | 8 + .../json-ld.org/compact/pr03-in.jsonld | 7 + .../json-ld.org/compact/pr04-context.jsonld | 8 + .../json-ld.org/compact/pr04-in.jsonld | 9 + .../json-ld.org/compact/pr04-out.jsonld | 14 + .../json-ld.org/compact/pr05-context.jsonld | 12 + .../json-ld.org/compact/pr05-in.jsonld | 20 + .../json-ld.org/compact/pr05-out.jsonld | 17 + .../json-ld.org/compact/r001-context.jsonld | 3 + .../json-ld.org/compact/r001-in.jsonld | 4 + .../json-ld.org/compact/r001-out.jsonld | 5 + .../json-ld.org/compact/r002-context.jsonld | 3 + .../json-ld.org/compact/r002-in.jsonld | 4 + .../json-ld.org/compact/r002-out.jsonld | 5 + .../json-ld.org/compact/s001-context.jsonld | 10 + .../json-ld.org/compact/s001-in.jsonld | 9 + .../json-ld.org/compact/s001-out.jsonld | 17 + .../json-ld.org/compact/s002-context.jsonld | 8 + .../json-ld.org/compact/s002-in.jsonld | 7 + .../json-ld.org/compact/s002-out.jsonld | 13 + .../json-ld.org/compact/tn01-context.jsonld | 7 + .../json-ld.org/compact/tn01-in.jsonld | 14 + .../json-ld.org/compact/tn01-out.jsonld | 19 + .../json-ld.org/compact/tn02-context.jsonld | 7 + .../json-ld.org/compact/tn02-in.jsonld | 3 + .../json-ld.org/compact/tn02-out.jsonld | 8 + .../json-ld.org/compact/tn03-context.jsonld | 7 + .../json-ld.org/compact/tn03-in.jsonld | 3 + .../json-ld.org/compact/tn03-out.jsonld | 8 + .../test/resources/json-ld.org/composer.json | 20 - .../test/resources/json-ld.org/context.jsonld | 33 + .../json-ld.org/error-0003-ctx.jsonld | 3 - .../json-ld.org/error-0042-in.jsonld | 3 - .../json-ld.org/error-manifest.jsonld | 321 --- .../json-ld.org/expand-0012-in.jsonld | 39 - .../json-ld.org/expand-0029-out.jsonld | 33 - .../json-ld.org/expand-0050-out.jsonld | 6 - .../json-ld.org/expand-0057-out.jsonld | 5 - .../json-ld.org/expand-0059-out.jsonld | 13 - .../json-ld.org/expand-manifest.jsonld | 2138 +++++++++++++++-- .../0001-in.jsonld} | 0 .../0001-out.jsonld} | 0 .../0002-in.jsonld} | 0 .../0002-out.jsonld} | 0 .../0003-in.jsonld} | 0 .../0003-out.jsonld} | 0 .../0004-in.jsonld} | 2 +- .../0004-out.jsonld} | 2 +- .../0005-in.jsonld} | 0 .../0005-out.jsonld} | 2 +- .../0006-in.jsonld} | 0 .../0006-out.jsonld} | 0 .../0007-in.jsonld} | 0 .../0007-out.jsonld} | 0 .../0008-in.jsonld} | 0 .../0008-out.jsonld} | 0 .../0009-in.jsonld} | 0 .../0009-out.jsonld} | 0 .../0010-in.jsonld} | 0 .../0010-out.jsonld} | 0 .../0011-in.jsonld} | 4 +- .../0011-out.jsonld} | 0 .../0012-in.jsonld} | 10 +- .../0012-out.jsonld} | 0 .../0013-in.jsonld} | 0 .../0013-out.jsonld} | 0 .../0014-in.jsonld} | 2 +- .../0014-out.jsonld} | 0 .../0015-in.jsonld} | 0 .../0015-out.jsonld} | 0 .../0016-in.jsonld} | 0 .../0016-out.jsonld} | 0 .../0017-in.jsonld} | 0 .../0017-out.jsonld} | 0 .../0018-in.jsonld} | 0 .../0018-out.jsonld} | 0 .../0019-in.jsonld} | 0 .../0019-out.jsonld} | 0 .../0020-in.jsonld} | 0 .../0020-out.jsonld} | 0 .../0021-in.jsonld} | 0 .../0021-out.jsonld} | 0 .../0022-in.jsonld} | 0 .../0022-out.jsonld} | 0 .../0023-in.jsonld} | 0 .../0023-out.jsonld} | 0 .../0024-in.jsonld} | 0 .../0024-out.jsonld} | 0 .../0025-in.jsonld} | 2 +- .../0025-out.jsonld} | 2 +- .../0026-in.jsonld} | 0 .../0026-out.jsonld} | 0 .../0027-in.jsonld} | 0 .../0027-out.jsonld} | 0 .../0028-in.jsonld} | 0 .../0028-out.jsonld} | 4 +- .../0029-in.jsonld} | 4 +- .../json-ld.org/expand/0029-out.jsonld | 35 + .../0030-in.jsonld} | 0 .../0030-out.jsonld} | 0 .../0031-in.jsonld} | 0 .../0031-out.jsonld} | 0 .../0032-in.jsonld} | 0 .../0032-out.jsonld} | 0 .../0033-in.jsonld} | 0 .../0033-out.jsonld} | 0 .../0034-in.jsonld} | 0 .../0034-out.jsonld} | 0 .../0035-in.jsonld} | 0 .../0035-out.jsonld} | 0 .../0036-in.jsonld} | 0 .../0036-out.jsonld} | 0 .../0037-in.jsonld} | 0 .../0037-out.jsonld} | 0 .../0038-in.jsonld} | 0 .../0038-out.jsonld} | 2 +- .../0039-in.jsonld} | 0 .../0039-out.jsonld} | 0 .../0040-in.jsonld} | 0 .../0040-out.jsonld} | 2 +- .../0041-in.jsonld} | 0 .../0041-out.jsonld} | 0 .../0042-in.jsonld} | 0 .../0042-out.jsonld} | 0 .../0043-in.jsonld} | 0 .../0043-out.jsonld} | 0 .../0044-in.jsonld} | 0 .../0044-out.jsonld} | 0 .../0045-in.jsonld} | 0 .../0045-out.jsonld} | 0 .../0046-in.jsonld} | 0 .../0046-out.jsonld} | 0 .../0047-in.jsonld} | 0 .../0047-out.jsonld} | 0 .../0048-in.jsonld} | 2 +- .../0048-out.jsonld} | 6 +- .../0049-in.jsonld} | 0 .../0049-out.jsonld} | 0 .../0050-in.jsonld} | 0 .../json-ld.org/expand/0050-out.jsonld | 6 + .../0051-in.jsonld} | 0 .../0051-out.jsonld} | 2 +- .../0052-in.jsonld} | 0 .../0052-out.jsonld} | 0 .../0053-in.jsonld} | 0 .../0053-out.jsonld} | 0 .../0054-in.jsonld} | 0 .../0054-out.jsonld} | 0 .../0055-in.jsonld} | 0 .../0055-out.jsonld} | 0 .../0056-in.jsonld} | 0 .../0056-out.jsonld} | 2 +- .../0057-in.jsonld} | 0 .../json-ld.org/expand/0057-out.jsonld | 5 + .../0058-in.jsonld} | 0 .../0058-out.jsonld} | 0 .../0059-in.jsonld} | 0 .../json-ld.org/expand/0059-out.jsonld | 13 + .../0060-in.jsonld} | 0 .../0060-out.jsonld} | 8 +- .../0061-in.jsonld} | 0 .../0061-out.jsonld} | 0 .../0062-in.jsonld} | 0 .../0062-out.jsonld} | 0 .../0063-in.jsonld} | 0 .../0063-out.jsonld} | 0 .../0064-in.jsonld} | 0 .../0064-out.jsonld} | 0 .../0065-in.jsonld} | 0 .../0065-out.jsonld} | 0 .../0066-in.jsonld} | 0 .../0066-out.jsonld} | 2 +- .../0067-in.jsonld} | 0 .../0067-out.jsonld} | 0 .../0068-in.jsonld} | 0 .../0068-out.jsonld} | 0 .../0069-in.jsonld} | 0 .../0069-out.jsonld} | 0 .../0070-in.jsonld} | 0 .../0070-out.jsonld} | 0 .../0071-in.jsonld} | 0 .../0071-out.jsonld} | 0 .../0072-in.jsonld} | 0 .../0072-out.jsonld} | 0 .../0073-in.jsonld} | 0 .../0073-out.jsonld} | 0 .../0074-in.jsonld} | 0 .../0074-out.jsonld} | 0 .../0075-in.jsonld} | 0 .../0075-out.jsonld} | 0 .../0076-in.jsonld} | 0 .../0076-out.jsonld} | 0 .../0077-context.jsonld} | 0 .../0077-in.jsonld} | 0 .../0077-out.jsonld} | 0 .../json-ld.org/expand/0078-in.jsonld | 29 + .../json-ld.org/expand/0078-out.jsonld | 26 + .../json-ld.org/expand/0079-in.jsonld | 10 + .../json-ld.org/expand/0079-out.jsonld | 9 + .../json-ld.org/expand/0080-in.jsonld | 10 + .../json-ld.org/expand/0080-out.jsonld | 9 + .../json-ld.org/expand/0081-in.jsonld | 11 + .../json-ld.org/expand/0081-out.jsonld | 7 + .../json-ld.org/expand/0082-in.jsonld | 9 + .../json-ld.org/expand/0082-out.jsonld | 8 + .../json-ld.org/expand/0083-in.jsonld | 9 + .../json-ld.org/expand/0083-out.jsonld | 8 + .../json-ld.org/expand/0084-in.jsonld | 13 + .../json-ld.org/expand/0084-out.jsonld | 8 + .../json-ld.org/expand/0085-in.jsonld | 9 + .../json-ld.org/expand/0085-out.jsonld | 8 + .../json-ld.org/expand/0086-in.jsonld | 9 + .../json-ld.org/expand/0086-out.jsonld | 8 + .../json-ld.org/expand/0087-in.jsonld | 13 + .../json-ld.org/expand/0087-out.jsonld | 8 + .../json-ld.org/expand/0088-in.jsonld | 11 + .../json-ld.org/expand/0088-out.jsonld | 25 + .../json-ld.org/expand/0089-in.jsonld | 7 + .../json-ld.org/expand/0089-out.jsonld | 4 + .../json-ld.org/expand/0090-in.jsonld | 7 + .../json-ld.org/expand/0090-out.jsonld | 4 + .../json-ld.org/expand/0091-in.jsonld | 9 + .../json-ld.org/expand/0091-out.jsonld | 4 + .../json-ld.org/expand/0092-in.jsonld | 18 + .../json-ld.org/expand/0092-out.jsonld | 16 + .../json-ld.org/expand/0093-in.jsonld | 12 + .../json-ld.org/expand/0093-out.jsonld | 15 + .../json-ld.org/expand/0094-in.jsonld | 12 + .../json-ld.org/expand/0094-out.jsonld | 15 + .../json-ld.org/expand/0095-in.jsonld | 15 + .../json-ld.org/expand/0095-out.jsonld | 11 + .../json-ld.org/expand/0096-in.jsonld | 10 + .../json-ld.org/expand/0096-out.jsonld | 13 + .../json-ld.org/expand/0097-in.jsonld | 10 + .../json-ld.org/expand/0097-out.jsonld | 13 + .../json-ld.org/expand/0098-in.jsonld | 10 + .../json-ld.org/expand/0098-out.jsonld | 13 + .../json-ld.org/expand/0099-in.jsonld | 10 + .../json-ld.org/expand/0099-out.jsonld | 13 + .../json-ld.org/expand/0100-in.jsonld | 10 + .../json-ld.org/expand/0100-out.jsonld | 13 + .../json-ld.org/expand/0101-in.jsonld | 18 + .../json-ld.org/expand/0101-out.jsonld | 13 + .../json-ld.org/expand/0102-in.jsonld | 13 + .../json-ld.org/expand/0102-out.jsonld | 9 + .../json-ld.org/expand/0103-in.jsonld | 15 + .../json-ld.org/expand/0103-out.jsonld | 11 + .../json-ld.org/expand/0104-in.jsonld | 10 + .../json-ld.org/expand/0104-out.jsonld | 11 + .../json-ld.org/expand/0105-in.jsonld | 10 + .../json-ld.org/expand/0105-out.jsonld | 23 + .../json-ld.org/expand/0106-in.jsonld | 18 + .../json-ld.org/expand/0106-out.jsonld | 13 + .../json-ld.org/expand/0107-in.jsonld | 10 + .../json-ld.org/expand/0107-out.jsonld | 23 + .../json-ld.org/expand/0108-in.jsonld | 10 + .../json-ld.org/expand/0108-out.jsonld | 23 + .../json-ld.org/expand/0109-in.jsonld | 7 + .../json-ld.org/expand/0109-out.jsonld | 6 + .../json-ld.org/expand/0110-in.jsonld | 18 + .../json-ld.org/expand/0110-out.jsonld | 16 + .../json-ld.org/expand/0111-in.jsonld | 20 + .../json-ld.org/expand/0111-out.jsonld | 16 + .../json-ld.org/expand/0112-in.jsonld | 20 + .../json-ld.org/expand/0112-out.jsonld | 16 + .../json-ld.org/expand/0113-in.jsonld | 8 + .../json-ld.org/expand/0113-out.jsonld | 14 + .../json-ld.org/expand/c001-in.jsonld | 9 + .../json-ld.org/expand/c001-out.jsonld | 5 + .../json-ld.org/expand/c002-in.jsonld | 10 + .../json-ld.org/expand/c002-out.jsonld | 5 + .../json-ld.org/expand/c003-in.jsonld | 9 + .../json-ld.org/expand/c003-out.jsonld | 9 + .../json-ld.org/expand/c004-in.jsonld | 11 + .../json-ld.org/expand/c004-out.jsonld | 9 + .../json-ld.org/expand/c005-in.jsonld | 15 + .../json-ld.org/expand/c005-out.jsonld | 10 + .../json-ld.org/expand/c006-in.jsonld | 7 + .../json-ld.org/expand/c006-out.jsonld | 8 + .../json-ld.org/expand/c007-in.jsonld | 8 + .../json-ld.org/expand/c007-out.jsonld | 8 + .../json-ld.org/expand/c008-in.jsonld | 8 + .../json-ld.org/expand/c008-out.jsonld | 8 + .../json-ld.org/expand/c009-in.jsonld | 8 + .../json-ld.org/expand/c009-out.jsonld | 8 + .../json-ld.org/expand/c010-in.jsonld | 13 + .../json-ld.org/expand/c010-out.jsonld | 8 + .../json-ld.org/expand/c011-in.jsonld | 9 + .../json-ld.org/expand/c011-out.jsonld | 6 + .../json-ld.org/expand/c012-in.jsonld | 16 + .../json-ld.org/expand/c012-out.jsonld | 8 + .../json-ld.org/expand/c013-in.jsonld | 28 + .../json-ld.org/expand/c013-out.jsonld | 12 + .../json-ld.org/expand/c014-in.jsonld | 16 + .../json-ld.org/expand/c014-out.jsonld | 8 + .../json-ld.org/expand/c015-in.jsonld | 24 + .../json-ld.org/expand/c015-out.jsonld | 16 + .../json-ld.org/expand/c016-in.jsonld | 18 + .../json-ld.org/expand/c016-out.jsonld | 16 + .../json-ld.org/expand/c017-in.jsonld | 24 + .../json-ld.org/expand/c017-out.jsonld | 14 + .../json-ld.org/expand/c018-in.jsonld | 26 + .../json-ld.org/expand/c018-out.jsonld | 11 + .../json-ld.org/expand/c019-in.jsonld | 30 + .../json-ld.org/expand/c019-out.jsonld | 26 + .../json-ld.org/expand/c020-in.jsonld | 16 + .../json-ld.org/expand/c020-out.jsonld | 7 + .../json-ld.org/expand/c021-in.jsonld | 34 + .../json-ld.org/expand/c021-out.jsonld | 19 + .../json-ld.org/expand/c022-in.jsonld | 20 + .../json-ld.org/expand/c022-out.jsonld | 4 + .../json-ld.org/expand/c023-in.jsonld | 29 + .../json-ld.org/expand/c023-out.jsonld | 7 + .../json-ld.org/expand/c024-in.jsonld | 40 + .../json-ld.org/expand/c024-out.jsonld | 14 + .../json-ld.org/expand/c025-in.jsonld | 27 + .../json-ld.org/expand/c025-out.jsonld | 9 + .../e001-in.jsonld} | 0 .../e002-in.jsonld} | 2 +- .../e003-in.jsonld} | 2 +- .../e004-in.jsonld} | 0 .../e005-in.jsonld} | 2 +- .../e006-in.jsonld} | 0 .../e007-in.jsonld} | 0 .../e008-in.jsonld} | 0 .../e009-in.jsonld} | 0 .../e010-in.jsonld} | 0 .../e011-in.jsonld} | 0 .../e012-in.jsonld} | 0 .../e013-in.jsonld} | 0 .../e014-in.jsonld} | 0 .../e015-in.jsonld} | 0 .../e016-in.jsonld} | 0 .../e017-in.jsonld} | 0 .../e018-in.jsonld} | 0 .../e019-in.jsonld} | 0 .../e020-in.jsonld} | 0 .../e021-in.jsonld} | 0 .../e022-in.jsonld} | 0 .../e023-in.jsonld} | 0 .../e024-in.jsonld} | 0 .../e025-in.jsonld} | 0 .../e026-in.jsonld} | 0 .../e027-in.jsonld} | 0 .../e028-in.jsonld} | 0 .../e029-in.jsonld} | 0 .../e030-in.jsonld} | 0 .../e031-in.jsonld} | 0 .../e032-in.jsonld} | 0 .../e033-in.jsonld} | 0 .../e034-in.jsonld} | 0 .../e035-in.jsonld} | 0 .../e036-in.jsonld} | 0 .../e037-in.jsonld} | 0 .../e038-in.jsonld} | 0 .../e039-in.jsonld} | 0 .../e040-in.jsonld} | 0 .../e041-in.jsonld} | 0 .../e042-in.jsonld} | 0 .../e043-in.jsonld} | 0 .../json-ld.org/expand/e044-in.jsonld | 11 + .../e045-in.jsonld} | 0 .../json-ld.org/expand/ec01-in.jsonld | 6 + .../json-ld.org/expand/em01-in.jsonld | 6 + .../json-ld.org/expand/en01-in.jsonld | 4 + .../json-ld.org/expand/en02-in.jsonld | 4 + .../json-ld.org/expand/en03-in.jsonld | 4 + .../json-ld.org/expand/en04-in.jsonld | 4 + .../json-ld.org/expand/en05-in.jsonld | 5 + .../json-ld.org/expand/en06-in.jsonld | 5 + .../json-ld.org/expand/ep01-in.jsonld | 10 + .../json-ld.org/expand/ep02-in.jsonld | 5 + .../json-ld.org/expand/ep03-in.jsonld | 5 + .../json-ld.org/expand/es01-in.jsonld | 7 + .../json-ld.org/expand/es02-in.jsonld | 7 + .../resources/json-ld.org/expand/h001-in.html | 12 + .../json-ld.org/expand/h001-out.jsonld | 3 + .../resources/json-ld.org/expand/h002-in.html | 21 + .../json-ld.org/expand/h002-out.jsonld | 3 + .../resources/json-ld.org/expand/h003-in.html | 21 + .../json-ld.org/expand/h003-out.jsonld | 4 + .../resources/json-ld.org/expand/h004-in.html | 21 + .../json-ld.org/expand/h004-out.jsonld | 10 + .../resources/json-ld.org/expand/h005-in.html | 18 + .../json-ld.org/expand/h005-out.jsonld | 5 + .../resources/json-ld.org/expand/h006-in.html | 1 + .../json-ld.org/expand/h006-out.jsonld | 1 + .../resources/json-ld.org/expand/h007-in.html | 1 + .../json-ld.org/expand/h007-out.jsonld | 1 + .../resources/json-ld.org/expand/h008-in.html | 14 + .../json-ld.org/expand/h008-out.jsonld | 3 + .../resources/json-ld.org/expand/h009-in.html | 13 + .../json-ld.org/expand/h009-out.jsonld | 6 + .../resources/json-ld.org/expand/h010-in.html | 10 + .../json-ld.org/expand/h010-out.jsonld | 3 + .../resources/json-ld.org/expand/h011-in.html | 21 + .../resources/json-ld.org/expand/h012-in.html | 12 + .../resources/json-ld.org/expand/h013-in.html | 12 + .../resources/json-ld.org/expand/h014-in.html | 14 + .../resources/json-ld.org/expand/h015-in.html | 13 + .../resources/json-ld.org/expand/h016-in.html | 13 + .../resources/json-ld.org/expand/h017-in.html | 7 + .../resources/json-ld.org/expand/h018-in.html | 13 + .../json-ld.org/expand/h018-out.jsonld | 4 + .../resources/json-ld.org/expand/h019-in.html | 13 + .../json-ld.org/expand/h019-out.jsonld | 4 + .../resources/json-ld.org/expand/h020-in.html | 14 + .../json-ld.org/expand/h020-out.jsonld | 4 + .../resources/json-ld.org/expand/h021-in.html | 14 + .../json-ld.org/expand/h021-out.jsonld | 4 + .../resources/json-ld.org/expand/h022-in.html | 20 + .../json-ld.org/expand/h022-out.jsonld | 4 + .../json-ld.org/expand/hc01-context.html | 17 + .../json-ld.org/expand/hc01-in.jsonld | 10 + .../json-ld.org/expand/hc01-out.jsonld | 9 + .../json-ld.org/expand/hc02-context.html | 25 + .../json-ld.org/expand/hc02-in.jsonld | 10 + .../json-ld.org/expand/hc02-out.jsonld | 9 + .../json-ld.org/expand/hc03-context.html | 25 + .../json-ld.org/expand/hc03-in.jsonld | 10 + .../json-ld.org/expand/hc03-out.jsonld | 9 + .../json-ld.org/expand/hc04-context.html | 25 + .../json-ld.org/expand/hc04-in.jsonld | 9 + .../json-ld.org/expand/hc04-out.jsonld | 9 + .../json-ld.org/expand/hc05-context.html | 18 + .../json-ld.org/expand/hc05-in.jsonld | 10 + .../json-ld.org/expand/js01-in.jsonld | 7 + .../json-ld.org/expand/js01-out.jsonld | 3 + .../json-ld.org/expand/js02-in.jsonld | 7 + .../json-ld.org/expand/js02-out.jsonld | 3 + .../json-ld.org/expand/js03-in.jsonld | 7 + .../json-ld.org/expand/js03-out.jsonld | 3 + .../json-ld.org/expand/js04-in.jsonld | 7 + .../json-ld.org/expand/js04-out.jsonld | 3 + .../json-ld.org/expand/js05-in.jsonld | 7 + .../json-ld.org/expand/js05-out.jsonld | 3 + .../json-ld.org/expand/js06-in.jsonld | 7 + .../json-ld.org/expand/js06-out.jsonld | 3 + .../json-ld.org/expand/js07-in.jsonld | 7 + .../json-ld.org/expand/js07-out.jsonld | 3 + .../json-ld.org/expand/js08-in.jsonld | 7 + .../json-ld.org/expand/js08-out.jsonld | 3 + .../json-ld.org/expand/js09-in.jsonld | 3 + .../json-ld.org/expand/js09-out.jsonld | 3 + .../json-ld.org/expand/js10-in.jsonld | 4 + .../json-ld.org/expand/js10-out.jsonld | 3 + .../json-ld.org/expand/l001-in.jsonld | 14 + .../json-ld.org/expand/l001-out.jsonld | 12 + .../json-ld.org/expand/li01-in.jsonld | 3 + .../json-ld.org/expand/li01-out.jsonld | 3 + .../json-ld.org/expand/li02-in.jsonld | 3 + .../json-ld.org/expand/li02-out.jsonld | 3 + .../json-ld.org/expand/li03-in.jsonld | 4 + .../json-ld.org/expand/li03-out.jsonld | 3 + .../json-ld.org/expand/li04-in.jsonld | 4 + .../json-ld.org/expand/li04-out.jsonld | 3 + .../json-ld.org/expand/li05-in.jsonld | 4 + .../json-ld.org/expand/li05-out.jsonld | 3 + .../json-ld.org/expand/li06-in.jsonld | 4 + .../json-ld.org/expand/li06-out.jsonld | 3 + .../json-ld.org/expand/li07-in.jsonld | 4 + .../json-ld.org/expand/li07-out.jsonld | 3 + .../json-ld.org/expand/li08-in.jsonld | 4 + .../json-ld.org/expand/li08-out.jsonld | 3 + .../json-ld.org/expand/li09-in.jsonld | 4 + .../json-ld.org/expand/li09-out.jsonld | 6 + .../json-ld.org/expand/li10-in.jsonld | 4 + .../json-ld.org/expand/li10-out.jsonld | 6 + .../json-ld.org/expand/m001-in.jsonld | 10 + .../json-ld.org/expand/m001-out.jsonld | 6 + .../json-ld.org/expand/m002-in.jsonld | 10 + .../json-ld.org/expand/m002-out.jsonld | 6 + .../json-ld.org/expand/m003-in.jsonld | 10 + .../json-ld.org/expand/m003-out.jsonld | 6 + .../json-ld.org/expand/m004-in.jsonld | 10 + .../json-ld.org/expand/m004-out.jsonld | 12 + .../json-ld.org/expand/m005-in.jsonld | 9 + .../json-ld.org/expand/m005-out.jsonld | 5 + .../json-ld.org/expand/m006-in.jsonld | 9 + .../json-ld.org/expand/m006-out.jsonld | 5 + .../json-ld.org/expand/m007-in.jsonld | 10 + .../json-ld.org/expand/m007-out.jsonld | 5 + .../json-ld.org/expand/m008-in.jsonld | 10 + .../json-ld.org/expand/m008-out.jsonld | 5 + .../json-ld.org/expand/m009-in.jsonld | 15 + .../json-ld.org/expand/m009-out.jsonld | 11 + .../json-ld.org/expand/m010-in.jsonld | 16 + .../json-ld.org/expand/m010-out.jsonld | 11 + .../json-ld.org/expand/m011-in.jsonld | 11 + .../json-ld.org/expand/m011-out.jsonld | 6 + .../json-ld.org/expand/m012-in.jsonld | 11 + .../json-ld.org/expand/m012-out.jsonld | 6 + .../json-ld.org/expand/m013-in.jsonld | 9 + .../json-ld.org/expand/m013-out.jsonld | 7 + .../json-ld.org/expand/m014-in.jsonld | 10 + .../json-ld.org/expand/m014-out.jsonld | 7 + .../json-ld.org/expand/m015-in.jsonld | 9 + .../json-ld.org/expand/m015-out.jsonld | 7 + .../json-ld.org/expand/m016-in.jsonld | 10 + .../json-ld.org/expand/m016-out.jsonld | 7 + .../json-ld.org/expand/n001-in.jsonld | 7 + .../json-ld.org/expand/n001-out.jsonld | 4 + .../json-ld.org/expand/n002-in.jsonld | 10 + .../json-ld.org/expand/n002-out.jsonld | 4 + .../json-ld.org/expand/n003-in.jsonld | 11 + .../json-ld.org/expand/n003-out.jsonld | 7 + .../json-ld.org/expand/n004-in.jsonld | 15 + .../json-ld.org/expand/n004-out.jsonld | 8 + .../json-ld.org/expand/n005-in.jsonld | 13 + .../json-ld.org/expand/n005-out.jsonld | 8 + .../json-ld.org/expand/n006-in.jsonld | 11 + .../json-ld.org/expand/n006-out.jsonld | 9 + .../json-ld.org/expand/n007-in.jsonld | 13 + .../json-ld.org/expand/n007-out.jsonld | 9 + .../json-ld.org/expand/p001-in.jsonld | 7 + .../json-ld.org/expand/p001-out.jsonld | 3 + .../json-ld.org/expand/p002-in.jsonld | 9 + .../json-ld.org/expand/p002-out.jsonld | 4 + .../json-ld.org/expand/p003-in.jsonld | 8 + .../json-ld.org/expand/p003-out.jsonld | 4 + .../json-ld.org/expand/p004-in.jsonld | 9 + .../json-ld.org/expand/p004-out.jsonld | 4 + .../json-ld.org/expand/pi01-in.jsonld | 11 + .../json-ld.org/expand/pi02-in.jsonld | 12 + .../json-ld.org/expand/pi03-in.jsonld | 16 + .../json-ld.org/expand/pi04-in.jsonld | 16 + .../json-ld.org/expand/pi05-in.jsonld | 16 + .../json-ld.org/expand/pi06-in.jsonld | 13 + .../json-ld.org/expand/pi06-out.jsonld | 8 + .../json-ld.org/expand/pi07-in.jsonld | 16 + .../json-ld.org/expand/pi07-out.jsonld | 8 + .../json-ld.org/expand/pi08-in.jsonld | 14 + .../json-ld.org/expand/pi08-out.jsonld | 8 + .../json-ld.org/expand/pi09-in.jsonld | 17 + .../json-ld.org/expand/pi09-out.jsonld | 8 + .../json-ld.org/expand/pi10-in.jsonld | 17 + .../json-ld.org/expand/pi10-out.jsonld | 8 + .../json-ld.org/expand/pi11-in.jsonld | 10 + .../json-ld.org/expand/pi11-out.jsonld | 8 + .../json-ld.org/expand/pr01-in.jsonld | 15 + .../json-ld.org/expand/pr02-in.jsonld | 20 + .../json-ld.org/expand/pr02-out.jsonld | 9 + .../json-ld.org/expand/pr03-in.jsonld | 21 + .../json-ld.org/expand/pr04-in.jsonld | 21 + .../json-ld.org/expand/pr05-in.jsonld | 17 + .../json-ld.org/expand/pr06-in.jsonld | 17 + .../json-ld.org/expand/pr06-out.jsonld | 5 + .../json-ld.org/expand/pr08-in.jsonld | 38 + .../json-ld.org/expand/pr09-in.jsonld | 14 + .../json-ld.org/expand/pr10-in.jsonld | 14 + .../json-ld.org/expand/pr10-out.jsonld | 18 + .../json-ld.org/expand/pr11-in.jsonld | 17 + .../json-ld.org/expand/pr12-in.jsonld | 15 + .../json-ld.org/expand/pr13-in.jsonld | 18 + .../json-ld.org/expand/pr13-out.jsonld | 18 + .../json-ld.org/expand/pr14-in.jsonld | 18 + .../json-ld.org/expand/pr14-out.jsonld | 18 + .../json-ld.org/expand/pr15-in.jsonld | 20 + .../json-ld.org/expand/pr15-out.jsonld | 18 + .../json-ld.org/expand/pr16-in.jsonld | 30 + .../json-ld.org/expand/pr16-out.jsonld | 28 + .../json-ld.org/expand/pr17-in.jsonld | 22 + .../json-ld.org/expand/pr18-in.jsonld | 18 + .../json-ld.org/expand/pr19-in.jsonld | 29 + .../json-ld.org/expand/pr19-out.jsonld | 23 + .../json-ld.org/expand/pr20-in.jsonld | 24 + .../json-ld.org/expand/pr21-in.jsonld | 20 + .../json-ld.org/expand/pr22-in.jsonld | 17 + .../json-ld.org/expand/pr22-out.jsonld | 20 + .../json-ld.org/expand/pr23-in.jsonld | 15 + .../json-ld.org/expand/pr23-out.jsonld | 9 + .../json-ld.org/expand/pr24-in.jsonld | 12 + .../json-ld.org/expand/pr24-out.jsonld | 8 + .../json-ld.org/expand/pr25-in.jsonld | 141 ++ .../json-ld.org/expand/pr25-out.jsonld | 23 + .../json-ld.org/expand/pr26-in.jsonld | 136 ++ .../json-ld.org/expand/pr27-in.jsonld | 14 + .../json-ld.org/expand/pr27-out.jsonld | 9 + .../json-ld.org/expand/pr28-in.jsonld | 11 + .../json-ld.org/expand/pr29-in.jsonld | 8 + .../json-ld.org/expand/pr29-out.jsonld | 16 + .../json-ld.org/expand/tn01-in.jsonld | 18 + .../json-ld.org/expand/tn02-in.jsonld | 19 + .../json-ld.org/expand/tn02-out.jsonld | 14 + .../json-ld.org/flatten-0004-out.jsonld | 66 - .../json-ld.org/flatten-0029-out.jsonld | 57 - .../json-ld.org/flatten-0043-out.jsonld | 17 - .../json-ld.org/flatten-manifest.jsonld | 289 ++- .../0001-in.jsonld} | 0 .../0001-out.jsonld} | 0 .../0002-in.jsonld} | 0 .../0002-out.jsonld} | 0 .../0003-in.jsonld} | 0 .../0003-out.jsonld} | 0 .../0004-in.jsonld} | 2 +- .../json-ld.org/flatten/0004-out.jsonld | 25 + .../0005-in.jsonld} | 0 .../0005-out.jsonld} | 2 +- .../0006-in.jsonld} | 0 .../0006-out.jsonld} | 0 .../0007-in.jsonld} | 0 .../0007-out.jsonld} | 0 .../0008-in.jsonld} | 0 .../0008-out.jsonld} | 0 .../0009-in.jsonld} | 0 .../0009-out.jsonld} | 0 .../0010-in.jsonld} | 0 .../0010-out.jsonld} | 0 .../0011-in.jsonld} | 4 +- .../0011-out.jsonld} | 0 .../0012-in.jsonld} | 10 +- .../0012-out.jsonld} | 0 .../0013-in.jsonld} | 0 .../0013-out.jsonld} | 0 .../0014-in.jsonld} | 0 .../0014-out.jsonld} | 0 .../0015-in.jsonld} | 0 .../0015-out.jsonld} | 0 .../0016-in.jsonld} | 0 .../0016-out.jsonld} | 0 .../0017-in.jsonld} | 0 .../0017-out.jsonld} | 0 .../0018-in.jsonld} | 0 .../0018-out.jsonld} | 0 .../0019-in.jsonld} | 0 .../0019-out.jsonld} | 0 .../0020-in.jsonld} | 0 .../0020-out.jsonld} | 0 .../0021-in.jsonld} | 0 .../0021-out.jsonld} | 0 .../0022-in.jsonld} | 0 .../0022-out.jsonld} | 0 .../0023-in.jsonld} | 0 .../0023-out.jsonld} | 0 .../0024-in.jsonld} | 0 .../0024-out.jsonld} | 0 .../0025-in.jsonld} | 2 +- .../0025-out.jsonld} | 2 +- .../0026-in.jsonld} | 0 .../0026-out.jsonld} | 0 .../0027-in.jsonld} | 0 .../0027-out.jsonld} | 0 .../0028-in.jsonld} | 0 .../0028-out.jsonld} | 6 +- .../0030-in.jsonld} | 0 .../0030-out.jsonld} | 0 .../0031-in.jsonld} | 0 .../0031-out.jsonld} | 0 .../0032-in.jsonld} | 0 .../0032-out.jsonld} | 0 .../0033-in.jsonld} | 0 .../0033-out.jsonld} | 0 .../0034-in.jsonld} | 0 .../0034-out.jsonld} | 0 .../0035-in.jsonld} | 0 .../0035-out.jsonld} | 0 .../0036-in.jsonld} | 0 .../0036-out.jsonld} | 0 .../0037-in.jsonld} | 0 .../0037-out.jsonld} | 0 .../0038-in.jsonld} | 0 .../0038-out.jsonld} | 2 +- .../0039-in.jsonld} | 0 .../0039-out.jsonld} | 0 .../0040-in.jsonld} | 0 .../0040-out.jsonld} | 2 +- .../0041-in.jsonld} | 0 .../0041-out.jsonld} | 0 .../0042-in.jsonld} | 0 .../0042-out.jsonld} | 2 +- .../0043-in.jsonld} | 2 +- .../json-ld.org/flatten/0043-out.jsonld | 17 + .../0044-context.jsonld} | 0 .../0044-in.jsonld} | 0 .../0044-out.jsonld} | 0 .../0045-in.jsonld} | 0 .../0045-out.jsonld} | 0 .../json-ld.org/flatten/0046-in.jsonld | 17 + .../json-ld.org/flatten/0046-out.jsonld | 16 + .../json-ld.org/flatten/0047-in.jsonld | 7 + .../json-ld.org/flatten/0047-out.jsonld | 10 + .../json-ld.org/flatten/0048-in.jsonld | 8 + .../json-ld.org/flatten/0048-out.jsonld | 16 + .../json-ld.org/flatten/0049-in.jsonld | 9 + .../json-ld.org/flatten/0049-out.jsonld | 15 + .../e001-in.jsonld} | 0 .../json-ld.org/flatten/h001-context.jsonld | 5 + .../json-ld.org/flatten/h001-in.html | 12 + .../json-ld.org/flatten/h001-out.jsonld | 7 + .../json-ld.org/flatten/h002-context.jsonld | 5 + .../json-ld.org/flatten/h002-in.html | 21 + .../json-ld.org/flatten/h002-out.jsonld | 7 + .../json-ld.org/flatten/h003-context.jsonld | 3 + .../json-ld.org/flatten/h003-in.html | 21 + .../json-ld.org/flatten/h003-out.jsonld | 7 + .../json-ld.org/flatten/h004-context.jsonld | 6 + .../json-ld.org/flatten/h004-in.html | 18 + .../json-ld.org/flatten/h004-out.jsonld | 11 + .../json-ld.org/flatten/li01-in.jsonld | 3 + .../json-ld.org/flatten/li01-out.jsonld | 4 + .../json-ld.org/flatten/li02-in.jsonld | 3 + .../json-ld.org/flatten/li02-out.jsonld | 4 + .../json-ld.org/flatten/li03-in.jsonld | 6 + .../json-ld.org/flatten/li03-out.jsonld | 19 + .../json-ld.org/frame-0001-frame.jsonld | 13 - .../json-ld.org/frame-0001-in.jsonld | 27 - .../json-ld.org/frame-0001-out.jsonld | 22 - .../json-ld.org/frame-0002-frame.jsonld | 13 - .../json-ld.org/frame-0002-in.jsonld | 28 - .../json-ld.org/frame-0002-out.jsonld | 23 - .../json-ld.org/frame-0003-frame.jsonld | 7 - .../json-ld.org/frame-0003-in.jsonld | 29 - .../json-ld.org/frame-0003-out.jsonld | 7 - .../json-ld.org/frame-0004-frame.jsonld | 8 - .../json-ld.org/frame-0004-in.jsonld | 27 - .../json-ld.org/frame-0004-out.jsonld | 23 - .../json-ld.org/frame-0005-frame.jsonld | 19 - .../json-ld.org/frame-0005-in.jsonld | 29 - .../json-ld.org/frame-0005-out.jsonld | 21 - .../json-ld.org/frame-0006-frame.jsonld | 13 - .../json-ld.org/frame-0006-in.jsonld | 30 - .../json-ld.org/frame-0006-out.jsonld | 22 - .../json-ld.org/frame-0007-frame.jsonld | 13 - .../json-ld.org/frame-0007-in.jsonld | 32 - .../json-ld.org/frame-0007-out.jsonld | 25 - .../json-ld.org/frame-0008-frame.jsonld | 14 - .../json-ld.org/frame-0008-in.jsonld | 38 - .../json-ld.org/frame-0008-out.jsonld | 40 - .../json-ld.org/frame-0009-frame.jsonld | 24 - .../json-ld.org/frame-0009-in.jsonld | 19 - .../json-ld.org/frame-0009-out.jsonld | 20 - .../json-ld.org/frame-0010-frame.jsonld | 13 - .../json-ld.org/frame-0010-in.jsonld | 15 - .../json-ld.org/frame-0010-out.jsonld | 18 - .../json-ld.org/frame-0011-frame.jsonld | 12 - .../json-ld.org/frame-0011-in.jsonld | 15 - .../json-ld.org/frame-0011-out.jsonld | 16 - .../json-ld.org/frame-0012-frame.jsonld | 8 - .../json-ld.org/frame-0012-in.jsonld | 20 - .../json-ld.org/frame-0012-out.jsonld | 20 - .../json-ld.org/frame-0013-frame.jsonld | 5 - .../json-ld.org/frame-0013-in.jsonld | 21 - .../json-ld.org/frame-0013-out.jsonld | 20 - .../json-ld.org/frame-0014-frame.jsonld | 6 - .../json-ld.org/frame-0014-in.jsonld | 14 - .../json-ld.org/frame-0014-out.jsonld | 24 - .../json-ld.org/frame-0015-frame.jsonld | 93 - .../json-ld.org/frame-0015-in.jsonld | 70 - .../json-ld.org/frame-0015-out.jsonld | 128 - .../json-ld.org/frame-0016-frame.jsonld | 8 - .../json-ld.org/frame-0016-in.jsonld | 19 - .../json-ld.org/frame-0016-out.jsonld | 15 - .../json-ld.org/frame-0017-frame.jsonld | 13 - .../json-ld.org/frame-0017-in.jsonld | 21 - .../json-ld.org/frame-0017-out.jsonld | 22 - .../json-ld.org/frame-0018-frame.jsonld | 4 - .../json-ld.org/frame-0018-in.jsonld | 16 - .../json-ld.org/frame-0018-out.jsonld | 7 - .../json-ld.org/frame-0019-frame.jsonld | 6 - .../json-ld.org/frame-0019-in.jsonld | 20 - .../json-ld.org/frame-0019-out.jsonld | 30 - .../json-ld.org/frame-0020-in.jsonld | 34 - .../json-ld.org/frame-0020-out.jsonld | 80 - .../json-ld.org/frame-0021-frame.jsonld | 7 - .../json-ld.org/frame-0021-in.jsonld | 32 - .../json-ld.org/frame-0021-out.jsonld | 46 - .../json-ld.org/frame-0022-frame.jsonld | 4 - .../json-ld.org/frame-0022-in.jsonld | 10 - .../json-ld.org/frame-0022-out.jsonld | 7 - .../json-ld.org/frame-0030-frame.jsonld | 12 - .../json-ld.org/frame-0030-in.jsonld | 15 - .../json-ld.org/frame-0030-out.jsonld | 16 - .../json-ld.org/frame-0046-frame.jsonld | 4 - .../json-ld.org/frame-0046-in.jsonld | 11 - .../json-ld.org/frame-g001-frame.jsonld | 13 - .../json-ld.org/frame-g001-in.jsonld | 27 - .../json-ld.org/frame-g001-out.jsonld | 20 - .../json-ld.org/frame-manifest.jsonld | 222 -- .../json-ld.org/frame-p010-out.jsonld | 15 - .../json-ld.org/frame-p020-out.jsonld | 79 - .../json-ld.org/frame-p021-out.jsonld | 46 - .../json-ld.org/frame-p046-out.jsonld | 6 - .../json-ld.org/frame-p050-in.jsonld | 8 - .../json-ld.org/frame-p050-out.jsonld | 7 - .../resources/json-ld.org/fromRdf-0020-in.nq | 7 - .../json-ld.org/fromRdf-0020-out.jsonld | 19 - .../json-ld.org/fromRdf-manifest.jsonld | 213 +- .../0001-in.nq} | 0 .../0001-out.jsonld} | 0 .../0002-in.nq} | 0 .../0002-out.jsonld} | 0 .../0003-in.nq} | 0 .../0003-out.jsonld} | 0 .../0004-in.nq} | 0 .../0004-out.jsonld} | 0 .../0005-in.nq} | 0 .../0005-out.jsonld} | 0 .../0006-in.nq} | 0 .../0006-out.jsonld} | 0 .../0007-in.nq} | 0 .../0007-out.jsonld} | 0 .../0008-in.nq} | 0 .../0008-out.jsonld} | 0 .../0009-in.nq} | 0 .../0009-out.jsonld} | 0 .../0010-in.nq} | 0 .../0010-out.jsonld} | 0 .../0011-in.nq} | 0 .../0011-out.jsonld} | 0 .../0012-in.nq} | 0 .../0012-out.jsonld} | 0 .../0013-in.nq} | 0 .../0013-out.jsonld} | 0 .../0014-in.nq} | 0 .../0014-out.jsonld} | 0 .../0015-in.nq} | 0 .../0015-out.jsonld} | 0 .../0016-in.nq} | 0 .../0016-out.jsonld} | 0 .../0017-in.nq} | 0 .../0017-out.jsonld} | 0 .../0018-in.nq} | 0 .../0018-out.jsonld} | 0 .../0019-in.nq} | 0 .../0019-out.jsonld} | 0 .../resources/json-ld.org/fromRdf/0020-in.nq | 6 + .../json-ld.org/fromRdf/0020-out.jsonld | 30 + .../resources/json-ld.org/fromRdf/0021-in.nq | 6 + .../json-ld.org/fromRdf/0021-out.jsonld | 31 + .../resources/json-ld.org/fromRdf/0022-in.nq | 6 + .../json-ld.org/fromRdf/0022-out.jsonld | 22 + .../resources/json-ld.org/fromRdf/0023-in.nq | 1 + .../json-ld.org/fromRdf/0023-out.jsonld | 10 + .../resources/json-ld.org/fromRdf/0024-in.nq | 2 + .../json-ld.org/fromRdf/0024-out.jsonld | 15 + .../resources/json-ld.org/fromRdf/0025-in.nq | 2 + .../json-ld.org/fromRdf/0025-out.jsonld | 15 + .../resources/json-ld.org/fromRdf/0026-in.nq | 1 + .../json-ld.org/fromRdf/0026-out.jsonld | 11 + .../resources/json-ld.org/fromRdf/js01-in.nq | 1 + .../json-ld.org/fromRdf/js01-out.jsonld | 4 + .../resources/json-ld.org/fromRdf/js02-in.nq | 1 + .../json-ld.org/fromRdf/js02-out.jsonld | 4 + .../resources/json-ld.org/fromRdf/js03-in.nq | 1 + .../json-ld.org/fromRdf/js03-out.jsonld | 4 + .../resources/json-ld.org/fromRdf/js04-in.nq | 1 + .../json-ld.org/fromRdf/js04-out.jsonld | 4 + .../resources/json-ld.org/fromRdf/js05-in.nq | 1 + .../json-ld.org/fromRdf/js05-out.jsonld | 4 + .../resources/json-ld.org/fromRdf/js06-in.nq | 1 + .../json-ld.org/fromRdf/js06-out.jsonld | 4 + .../resources/json-ld.org/fromRdf/js07-in.nq | 1 + .../json-ld.org/fromRdf/js07-out.jsonld | 4 + .../resources/json-ld.org/fromRdf/li01-in.nq | 3 + .../json-ld.org/fromRdf/li01-out.jsonld | 4 + .../resources/json-ld.org/fromRdf/li02-in.nq | 9 + .../json-ld.org/fromRdf/li02-out.jsonld | 7 + .../resources/json-ld.org/fromRdf/li03-in.nq | 28 + .../json-ld.org/fromRdf/li03-out.jsonld | 14 + .../resources/json-ld.org/manifest.jsonld | 15 + .../test/resources/json-ld.org/mk_vocab.rb | 34 + .../json-ld.org/normalize-0001-in.jsonld | 3 - .../json-ld.org/normalize-0002-in.jsonld | 14 - .../json-ld.org/normalize-0002-out.nq | 1 - .../json-ld.org/normalize-0003-in.jsonld | 6 - .../json-ld.org/normalize-0003-out.nq | 1 - .../json-ld.org/normalize-0004-in.jsonld | 9 - .../json-ld.org/normalize-0004-out.nq | 2 - .../json-ld.org/normalize-0005-in.jsonld | 10 - .../json-ld.org/normalize-0005-out.nq | 3 - .../json-ld.org/normalize-0006-in.jsonld | 10 - .../json-ld.org/normalize-0006-out.nq | 2 - .../json-ld.org/normalize-0007-in.jsonld | 9 - .../json-ld.org/normalize-0007-out.nq | 2 - .../json-ld.org/normalize-0008-in.jsonld | 20 - .../json-ld.org/normalize-0008-out.nq | 6 - .../json-ld.org/normalize-0010-in.jsonld | 11 - .../json-ld.org/normalize-0010-out.nq | 1 - .../json-ld.org/normalize-0011-in.jsonld | 11 - .../json-ld.org/normalize-0011-out.nq | 1 - .../json-ld.org/normalize-0012-in.jsonld | 14 - .../json-ld.org/normalize-0012-out.nq | 1 - .../json-ld.org/normalize-0014-in.jsonld | 9 - .../json-ld.org/normalize-0014-out.nq | 3 - .../json-ld.org/normalize-0015-in.jsonld | 13 - .../json-ld.org/normalize-0016-in.jsonld | 15 - .../json-ld.org/normalize-0016-out.nq | 3 - .../json-ld.org/normalize-0017-in.jsonld | 20 - .../json-ld.org/normalize-0017-out.nq | 2 - .../json-ld.org/normalize-0018-in.jsonld | 8 - .../json-ld.org/normalize-0018-out.nq | 1 - .../json-ld.org/normalize-0019-in.jsonld | 16 - .../json-ld.org/normalize-0019-out.nq | 2 - .../json-ld.org/normalize-0020-in.jsonld | 26 - .../json-ld.org/normalize-0020-out.nq | 4 - .../json-ld.org/normalize-0021-in.jsonld | 16 - .../json-ld.org/normalize-0021-out.nq | 2 - .../json-ld.org/normalize-0022-in.jsonld | 19 - .../json-ld.org/normalize-0022-out.nq | 4 - .../json-ld.org/normalize-0023-in.jsonld | 20 - .../json-ld.org/normalize-0023-out.nq | 3 - .../json-ld.org/normalize-0024-in.jsonld | 28 - .../json-ld.org/normalize-0024-out.nq | 6 - .../json-ld.org/normalize-0025-in.jsonld | 28 - .../json-ld.org/normalize-0025-out.nq | 6 - .../json-ld.org/normalize-0026-in.jsonld | 28 - .../json-ld.org/normalize-0026-out.nq | 6 - .../json-ld.org/normalize-0027-in.jsonld | 28 - .../json-ld.org/normalize-0027-out.nq | 6 - .../json-ld.org/normalize-0028-in.jsonld | 28 - .../json-ld.org/normalize-0028-out.nq | 6 - .../json-ld.org/normalize-0029-in.jsonld | 28 - .../json-ld.org/normalize-0029-out.nq | 6 - .../json-ld.org/normalize-0030-in.jsonld | 37 - .../json-ld.org/normalize-0030-out.nq | 6 - .../json-ld.org/normalize-0031-in.jsonld | 7 - .../json-ld.org/normalize-0031-out.nq | 1 - .../json-ld.org/normalize-0032-in.jsonld | 7 - .../json-ld.org/normalize-0032-out.nq | 1 - .../json-ld.org/normalize-0033-in.jsonld | 19 - .../json-ld.org/normalize-0033-out.nq | 2 - .../json-ld.org/normalize-0034-in.jsonld | 19 - .../json-ld.org/normalize-0034-out.nq | 2 - .../json-ld.org/normalize-0035-in.jsonld | 26 - .../json-ld.org/normalize-0035-out.nq | 4 - .../json-ld.org/normalize-0036-in.jsonld | 26 - .../json-ld.org/normalize-0036-out.nq | 4 - .../json-ld.org/normalize-0037-in.jsonld | 26 - .../json-ld.org/normalize-0037-out.nq | 4 - .../json-ld.org/normalize-0038-in.jsonld | 27 - .../json-ld.org/normalize-0038-out.nq | 3 - .../json-ld.org/normalize-0039-in.jsonld | 21 - .../json-ld.org/normalize-0039-out.nq | 3 - .../json-ld.org/normalize-0040-in.jsonld | 32 - .../json-ld.org/normalize-0040-out.nq | 4 - .../json-ld.org/normalize-0041-in.jsonld | 32 - .../json-ld.org/normalize-0041-out.nq | 4 - .../json-ld.org/normalize-0042-in.jsonld | 26 - .../json-ld.org/normalize-0042-out.nq | 4 - .../json-ld.org/normalize-0043-in.jsonld | 10 - .../json-ld.org/normalize-0043-out.nq | 1 - .../json-ld.org/normalize-0044-in.jsonld | 104 - .../json-ld.org/normalize-0044-out.nq | 36 - .../json-ld.org/normalize-0045-in.jsonld | 104 - .../json-ld.org/normalize-0045-out.nq | 36 - .../json-ld.org/normalize-0046-in.jsonld | 104 - .../json-ld.org/normalize-0046-out.nq | 36 - .../json-ld.org/normalize-0047-in.jsonld | 46 - .../json-ld.org/normalize-0047-out.nq | 8 - .../json-ld.org/normalize-0048-in.jsonld | 46 - .../json-ld.org/normalize-0048-out.nq | 8 - .../json-ld.org/normalize-0049-in.jsonld | 8 - .../json-ld.org/normalize-0050-in.jsonld | 13 - .../json-ld.org/normalize-0050-out.nq | 3 - .../json-ld.org/normalize-0051-in.jsonld | 14 - .../json-ld.org/normalize-0051-out.nq | 3 - .../json-ld.org/normalize-0052-in.jsonld | 16 - .../json-ld.org/normalize-0053-in.jsonld | 8 - .../json-ld.org/normalize-0053-out.nq | 14 - .../json-ld.org/normalize-0054-in.jsonld | 64 - .../json-ld.org/normalize-0054-out.nq | 15 - .../json-ld.org/normalize-0055-in.jsonld | 16 - .../json-ld.org/normalize-0055-out.nq | 3 - .../json-ld.org/normalize-0056-in.jsonld | 16 - .../json-ld.org/normalize-0056-out.nq | 3 - .../json-ld.org/normalize-0057-in.jsonld | 14 - .../json-ld.org/normalize-0057-out.nq | 2 - .../json-ld.org/normalize-manifest.jsonld | 353 --- .../json-ld.org/remote-doc-0001-out.jsonld | 4 - .../json-ld.org/remote-doc-0002-out.jsonld | 4 - .../json-ld.org/remote-doc-0003-out.jsonld | 4 - .../json-ld.org/remote-doc-0009-out.jsonld | 4 - .../json-ld.org/remote-doc-0010-out.jsonld | 4 - .../json-ld.org/remote-doc-0011-out.jsonld | 4 - .../json-ld.org/remote-doc-manifest.jsonld | 74 +- .../json-ld.org/remote-doc/.htaccess | 35 + .../0001-in.jsonld} | 0 .../json-ld.org/remote-doc/0001-out.jsonld | 4 + .../0002-in.json} | 0 .../json-ld.org/remote-doc/0002-out.jsonld | 4 + .../0003-in.jldt} | 0 .../json-ld.org/remote-doc/0003-out.jsonld | 4 + .../0004-in.jldte} | 0 .../0009-context.jsonld} | 0 .../0009-in.jsonld} | 0 .../json-ld.org/remote-doc/0009-out.jsonld | 4 + .../0010-context.jsonld} | 0 .../0010-in.json} | 0 .../json-ld.org/remote-doc/0010-out.jsonld | 4 + .../0011-context.jsonld} | 0 .../0011-in.jldt} | 0 .../json-ld.org/remote-doc/0011-out.jsonld | 4 + .../0012-context1.jsonld} | 0 .../0012-context2.jsonld} | 0 .../0012-in.json} | 0 .../json-ld.org/remote-doc/0013-context.html | 11 + .../json-ld.org/remote-doc/0013-in.json | 4 + .../json-ld.org/remote-doc/0013-out.jsonld | 4 + .../resources/json-ld.org/toRdf-0016-out.nq | 1 - .../resources/json-ld.org/toRdf-0017-out.nq | 1 - .../resources/json-ld.org/toRdf-0018-out.nq | 1 - .../resources/json-ld.org/toRdf-0046-out.nq | 4 - .../json-ld.org/toRdf-0047-in.jsonld | 18 - .../resources/json-ld.org/toRdf-0047-out.nq | 3 - .../resources/json-ld.org/toRdf-0057-out.nq | 9 - .../resources/json-ld.org/toRdf-0068-out.nq | 4 - .../json-ld.org/toRdf-0069-in.jsonld | 32 - .../resources/json-ld.org/toRdf-0069-out.nq | 34 - .../resources/json-ld.org/toRdf-0088-out.nq | 4 - .../resources/json-ld.org/toRdf-0090-out.nq | 2 - .../resources/json-ld.org/toRdf-0091-out.nq | 1 - .../resources/json-ld.org/toRdf-0097-out.nq | 1 - .../resources/json-ld.org/toRdf-0099-out.nq | 4 - .../resources/json-ld.org/toRdf-0100-out.nq | 4 - .../json-ld.org/toRdf-manifest.jsonld | 862 +++++-- .../0001-in.jsonld} | 0 .../{toRdf-0001-out.nq => toRdf/0001-out.nq} | 0 .../0002-in.jsonld} | 0 .../{toRdf-0002-out.nq => toRdf/0002-out.nq} | 0 .../0003-in.jsonld} | 0 .../{toRdf-0003-out.nq => toRdf/0003-out.nq} | 0 .../0004-in.jsonld} | 0 .../{toRdf-0004-out.nq => toRdf/0004-out.nq} | 0 .../0005-in.jsonld} | 0 .../{toRdf-0005-out.nq => toRdf/0005-out.nq} | 0 .../0006-in.jsonld} | 0 .../{toRdf-0006-out.nq => toRdf/0006-out.nq} | 0 .../0007-in.jsonld} | 0 .../{toRdf-0007-out.nq => toRdf/0007-out.nq} | 0 .../0008-in.jsonld} | 0 .../{toRdf-0008-out.nq => toRdf/0008-out.nq} | 0 .../0009-in.jsonld} | 0 .../{toRdf-0009-out.nq => toRdf/0009-out.nq} | 0 .../0010-in.jsonld} | 0 .../{toRdf-0010-out.nq => toRdf/0010-out.nq} | 0 .../0011-in.jsonld} | 0 .../{toRdf-0011-out.nq => toRdf/0011-out.nq} | 0 .../0012-in.jsonld} | 0 .../{toRdf-0012-out.nq => toRdf/0012-out.nq} | 0 .../0013-in.jsonld} | 0 .../{toRdf-0013-out.nq => toRdf/0013-out.nq} | 0 .../0014-in.jsonld} | 0 .../{toRdf-0014-out.nq => toRdf/0014-out.nq} | 0 .../0015-in.jsonld} | 0 .../{toRdf-0015-out.nq => toRdf/0015-out.nq} | 0 .../0016-in.jsonld} | 0 .../resources/json-ld.org/toRdf/0016-out.nq | 1 + .../0017-in.jsonld} | 0 .../resources/json-ld.org/toRdf/0017-out.nq | 1 + .../0018-in.jsonld} | 0 .../resources/json-ld.org/toRdf/0018-out.nq | 1 + .../0019-in.jsonld} | 0 .../{toRdf-0019-out.nq => toRdf/0019-out.nq} | 0 .../0020-in.jsonld} | 0 .../{toRdf-0020-out.nq => toRdf/0020-out.nq} | 0 .../0022-in.jsonld} | 0 .../{toRdf-0022-out.nq => toRdf/0022-out.nq} | 0 .../0023-in.jsonld} | 0 .../{toRdf-0023-out.nq => toRdf/0023-out.nq} | 0 .../0024-in.jsonld} | 0 .../{toRdf-0024-out.nq => toRdf/0024-out.nq} | 0 .../0025-in.jsonld} | 0 .../{toRdf-0025-out.nq => toRdf/0025-out.nq} | 0 .../0026-in.jsonld} | 0 .../{toRdf-0026-out.nq => toRdf/0026-out.nq} | 0 .../0027-in.jsonld} | 0 .../{toRdf-0027-out.nq => toRdf/0027-out.nq} | 0 .../0028-in.jsonld} | 8 +- .../{toRdf-0028-out.nq => toRdf/0028-out.nq} | 0 .../0029-in.jsonld} | 0 .../{toRdf-0029-out.nq => toRdf/0029-out.nq} | 0 .../0030-in.jsonld} | 0 .../{toRdf-0030-out.nq => toRdf/0030-out.nq} | 0 .../0031-in.jsonld} | 0 .../{toRdf-0031-out.nq => toRdf/0031-out.nq} | 0 .../0032-in.jsonld} | 0 .../{toRdf-0032-out.nq => toRdf/0032-out.nq} | 0 .../0033-in.jsonld} | 0 .../{toRdf-0033-out.nq => toRdf/0033-out.nq} | 0 .../0034-in.jsonld} | 0 .../{toRdf-0034-out.nq => toRdf/0034-out.nq} | 0 .../0035-in.jsonld} | 0 .../{toRdf-0035-out.nq => toRdf/0035-out.nq} | 0 .../0036-in.jsonld} | 0 .../{toRdf-0036-out.nq => toRdf/0036-out.nq} | 0 .../0041-in.jsonld} | 0 .../0041-out.nq} | 0 .../0042-in.jsonld} | 0 .../{toRdf-0042-out.nq => toRdf/0042-out.nq} | 0 .../0043-in.jsonld} | 0 .../0043-out.nq} | 0 .../0044-in.jsonld} | 2 +- .../{toRdf-0044-out.nq => toRdf/0044-out.nq} | 0 .../0045-in.jsonld} | 0 .../{toRdf-0045-out.nq => toRdf/0045-out.nq} | 4 +- .../0046-in.jsonld} | 0 .../0046-out.nq} | 0 .../0047-in.jsonld} | 0 .../0047-out.nq} | 0 .../0048-in.jsonld} | 0 .../{toRdf-0048-out.nq => toRdf/0048-out.nq} | 0 .../0049-in.jsonld} | 0 .../0049-out.nq} | 0 .../0050-in.jsonld} | 0 .../{toRdf-0050-out.nq => toRdf/0050-out.nq} | 0 .../0051-in.jsonld} | 4 +- .../{toRdf-0051-out.nq => toRdf/0051-out.nq} | 0 .../0052-in.jsonld} | 10 +- .../{toRdf-0049-out.nq => toRdf/0052-out.nq} | 0 .../0053-in.jsonld} | 0 .../{toRdf-0053-out.nq => toRdf/0053-out.nq} | 0 .../0054-in.jsonld} | 0 .../{toRdf-0054-out.nq => toRdf/0054-out.nq} | 0 .../0055-in.jsonld} | 0 .../{toRdf-0055-out.nq => toRdf/0055-out.nq} | 0 .../0056-in.jsonld} | 0 .../{toRdf-0056-out.nq => toRdf/0056-out.nq} | 0 .../0057-in.jsonld} | 0 .../{toRdf-0052-out.nq => toRdf/0057-out.nq} | 0 .../0058-in.jsonld} | 0 .../{toRdf-0058-out.nq => toRdf/0058-out.nq} | 0 .../0059-in.jsonld} | 0 .../0059-out.nq} | 0 .../0060-in.jsonld} | 0 .../{toRdf-0060-out.nq => toRdf/0060-out.nq} | 0 .../0061-in.jsonld} | 0 .../{toRdf-0061-out.nq => toRdf/0061-out.nq} | 0 .../0062-in.jsonld} | 0 .../{toRdf-0062-out.nq => toRdf/0062-out.nq} | 0 .../0063-in.jsonld} | 0 .../{toRdf-0063-out.nq => toRdf/0063-out.nq} | 0 .../0064-in.jsonld} | 0 .../{toRdf-0064-out.nq => toRdf/0064-out.nq} | 0 .../0065-in.jsonld} | 2 +- .../{toRdf-0065-out.nq => toRdf/0065-out.nq} | 2 +- .../json-ld.org/toRdf/0066-in.jsonld | 20 + .../{toRdf-0066-out.nq => toRdf/0066-out.nq} | 0 .../0067-in.jsonld} | 0 .../{toRdf-0067-out.nq => toRdf/0067-out.nq} | 0 .../0068-in.jsonld} | 0 .../resources/json-ld.org/toRdf/0068-out.nq | 4 + .../0069-in.jsonld} | 4 +- .../resources/json-ld.org/toRdf/0069-out.nq | 34 + .../0070-in.jsonld} | 0 .../{toRdf-0070-out.nq => toRdf/0070-out.nq} | 0 .../0071-in.jsonld} | 0 .../{toRdf-0071-out.nq => toRdf/0071-out.nq} | 0 .../0072-in.jsonld} | 0 .../{toRdf-0072-out.nq => toRdf/0072-out.nq} | 0 .../0073-in.jsonld} | 0 .../{toRdf-0073-out.nq => toRdf/0073-out.nq} | 0 .../0074-in.jsonld} | 0 .../{toRdf-0074-out.nq => toRdf/0074-out.nq} | 0 .../0075-in.jsonld} | 0 .../{toRdf-0075-out.nq => toRdf/0075-out.nq} | 0 .../0076-in.jsonld} | 0 .../{toRdf-0076-out.nq => toRdf/0076-out.nq} | 0 .../0077-in.jsonld} | 0 .../{toRdf-0077-out.nq => toRdf/0077-out.nq} | 0 .../0078-in.jsonld} | 0 .../{toRdf-0078-out.nq => toRdf/0078-out.nq} | 0 .../0079-in.jsonld} | 0 .../{toRdf-0079-out.nq => toRdf/0079-out.nq} | 0 .../0080-in.jsonld} | 0 .../{toRdf-0080-out.nq => toRdf/0080-out.nq} | 2 +- .../0081-in.jsonld} | 0 .../{toRdf-0081-out.nq => toRdf/0081-out.nq} | 0 .../0082-in.jsonld} | 0 .../{toRdf-0082-out.nq => toRdf/0082-out.nq} | 0 .../0083-in.jsonld} | 0 .../{toRdf-0083-out.nq => toRdf/0083-out.nq} | 0 .../0084-in.jsonld} | 0 .../{toRdf-0084-out.nq => toRdf/0084-out.nq} | 0 .../0085-in.jsonld} | 0 .../{toRdf-0041-out.nq => toRdf/0085-out.nq} | 0 .../0086-in.jsonld} | 0 .../{toRdf-0043-out.nq => toRdf/0086-out.nq} | 0 .../0087-in.jsonld} | 0 .../{toRdf-0087-out.nq => toRdf/0087-out.nq} | 0 .../0088-in.jsonld} | 2 +- .../resources/json-ld.org/toRdf/0088-out.nq | 4 + .../0089-in.jsonld} | 0 .../{toRdf-0089-out.nq => toRdf/0089-out.nq} | 0 .../0090-in.jsonld} | 0 .../resources/json-ld.org/toRdf/0090-out.nq | 2 + .../0091-in.jsonld} | 0 .../resources/json-ld.org/toRdf/0091-out.nq | 1 + .../0092-in.jsonld} | 0 .../{toRdf-0092-out.nq => toRdf/0092-out.nq} | 0 .../0093-in.jsonld} | 0 .../{toRdf-0093-out.nq => toRdf/0093-out.nq} | 0 .../0094-in.jsonld} | 0 .../{toRdf-0094-out.nq => toRdf/0094-out.nq} | 0 .../0095-in.jsonld} | 0 .../{toRdf-0095-out.nq => toRdf/0095-out.nq} | 0 .../0096-in.jsonld} | 0 .../{toRdf-0096-out.nq => toRdf/0096-out.nq} | 2 +- .../0097-in.jsonld} | 0 .../resources/json-ld.org/toRdf/0097-out.nq | 1 + .../0098-in.jsonld} | 0 .../{toRdf-0098-out.nq => toRdf/0098-out.nq} | 0 .../0099-in.jsonld} | 0 .../resources/json-ld.org/toRdf/0099-out.nq | 4 + .../0100-in.jsonld} | 0 .../resources/json-ld.org/toRdf/0100-out.nq | 4 + .../0101-in.jsonld} | 0 .../{toRdf-0101-out.nq => toRdf/0101-out.nq} | 0 .../0102-in.jsonld} | 0 .../{toRdf-0102-out.nq => toRdf/0102-out.nq} | 0 .../0103-in.jsonld} | 0 .../{toRdf-0103-out.nq => toRdf/0103-out.nq} | 0 .../0104-in.jsonld} | 0 .../{toRdf-0104-out.nq => toRdf/0104-out.nq} | 0 .../0105-in.jsonld} | 0 .../{toRdf-0105-out.nq => toRdf/0105-out.nq} | 0 .../0106-in.jsonld} | 0 .../{toRdf-0106-out.nq => toRdf/0106-out.nq} | 8 +- .../0107-in.jsonld} | 0 .../{toRdf-0107-out.nq => toRdf/0107-out.nq} | 0 .../0108-in.jsonld} | 0 .../{toRdf-0108-out.nq => toRdf/0108-out.nq} | 0 .../0109-in.jsonld} | 0 .../{toRdf-0109-out.nq => toRdf/0109-out.nq} | 0 .../0110-in.jsonld} | 0 .../{toRdf-0110-out.nq => toRdf/0110-out.nq} | 0 .../json-ld.org/toRdf/0111-in.jsonld | 15 + .../{toRdf-0111-out.nq => toRdf/0111-out.nq} | 0 .../0112-in.jsonld} | 0 .../{toRdf-0112-out.nq => toRdf/0112-out.nq} | 0 .../0113-in.jsonld} | 0 .../{toRdf-0113-out.nq => toRdf/0113-out.nq} | 0 .../0114-in.jsonld} | 0 .../{toRdf-0114-out.nq => toRdf/0114-out.nq} | 0 .../0115-in.jsonld} | 0 .../{toRdf-0115-out.nq => toRdf/0115-out.nq} | 0 .../0116-in.jsonld} | 0 .../{toRdf-0116-out.nq => toRdf/0116-out.nq} | 0 .../0117-in.jsonld} | 0 .../{toRdf-0117-out.nq => toRdf/0117-out.nq} | 0 .../0118-in.jsonld} | 0 .../{toRdf-0118-out.nq => toRdf/0118-out.nq} | 2 +- .../0119-in.jsonld} | 0 .../{toRdf-0119-out.nq => toRdf/0119-out.nq} | 0 .../json-ld.org/toRdf/0120-in.jsonld | 47 + .../resources/json-ld.org/toRdf/0120-out.nq | 42 + .../json-ld.org/toRdf/0121-in.jsonld | 47 + .../resources/json-ld.org/toRdf/0121-out.nq | 42 + .../json-ld.org/toRdf/0122-in.jsonld | 47 + .../resources/json-ld.org/toRdf/0122-out.nq | 42 + .../json-ld.org/toRdf/0123-in.jsonld | 47 + .../resources/json-ld.org/toRdf/0123-out.nq | 42 + .../json-ld.org/toRdf/0124-in.jsonld | 47 + .../resources/json-ld.org/toRdf/0124-out.nq | 42 + .../json-ld.org/toRdf/0125-in.jsonld | 47 + .../resources/json-ld.org/toRdf/0125-out.nq | 42 + .../json-ld.org/toRdf/0126-in.jsonld | 47 + .../resources/json-ld.org/toRdf/0126-out.nq | 42 + .../json-ld.org/toRdf/0127-in.jsonld | 11 + .../resources/json-ld.org/toRdf/0127-out.nq | 6 + .../json-ld.org/toRdf/0128-in.jsonld | 8 + .../resources/json-ld.org/toRdf/0128-out.nq | 3 + .../json-ld.org/toRdf/0129-in.jsonld | 8 + .../resources/json-ld.org/toRdf/0129-out.nq | 3 + .../json-ld.org/toRdf/0130-in.jsonld | 6 + .../resources/json-ld.org/toRdf/0130-out.nq | 1 + .../json-ld.org/toRdf/0131-in.jsonld | 6 + .../resources/json-ld.org/toRdf/0131-out.nq | 1 + .../json-ld.org/toRdf/0132-in.jsonld | 6 + .../resources/json-ld.org/toRdf/0132-out.nq | 1 + .../resources/json-ld.org/toRdf/h001-in.html | 12 + .../resources/json-ld.org/toRdf/h001-out.nq | 3 + .../resources/json-ld.org/toRdf/h002-in.html | 21 + .../resources/json-ld.org/toRdf/h002-out.nq | 3 + .../resources/json-ld.org/toRdf/h003-in.html | 21 + .../resources/json-ld.org/toRdf/h003-out.nq | 2 + .../json-ld.org/toRdf/js01-in.jsonld | 7 + .../resources/json-ld.org/toRdf/js01-out.nq | 1 + .../json-ld.org/toRdf/js02-in.jsonld | 7 + .../resources/json-ld.org/toRdf/js02-out.nq | 1 + .../json-ld.org/toRdf/js03-in.jsonld | 7 + .../resources/json-ld.org/toRdf/js03-out.nq | 1 + .../json-ld.org/toRdf/js04-in.jsonld | 7 + .../resources/json-ld.org/toRdf/js04-out.nq | 1 + .../json-ld.org/toRdf/js05-in.jsonld | 7 + .../resources/json-ld.org/toRdf/js05-out.nq | 1 + .../json-ld.org/toRdf/js06-in.jsonld | 7 + .../resources/json-ld.org/toRdf/js06-out.nq | 1 + .../json-ld.org/toRdf/js07-in.jsonld | 7 + .../resources/json-ld.org/toRdf/js07-out.nq | 1 + .../json-ld.org/toRdf/js08-in.jsonld | 14 + .../resources/json-ld.org/toRdf/js08-out.nq | 1 + .../json-ld.org/toRdf/js09-in.jsonld | 12 + .../resources/json-ld.org/toRdf/js09-out.nq | 1 + .../json-ld.org/toRdf/js10-in.jsonld | 14 + .../resources/json-ld.org/toRdf/js10-out.nq | 1 + .../json-ld.org/toRdf/js11-in.jsonld | 9 + .../resources/json-ld.org/toRdf/js11-out.nq | 1 + .../json-ld.org/toRdf/js12-in.jsonld | 11 + .../resources/json-ld.org/toRdf/js12-out.nq | 1 + .../json-ld.org/toRdf/js13-in.jsonld | 16 + .../resources/json-ld.org/toRdf/js13-out.nq | 1 + .../json-ld.org/toRdf/li01-in.jsonld | 4 + .../resources/json-ld.org/toRdf/li01-out.nq | 5 + .../json-ld.org/toRdf/li02-in.jsonld | 4 + .../resources/json-ld.org/toRdf/li02-out.nq | 3 + .../json-ld.org/toRdf/nt01-in.jsonld | 10 + .../json-ld.org/toRdf/nt02-in.jsonld | 10 + .../json-ld.org/toRdf/nt03-in.jsonld | 10 + .../json-ld.org/toRdf/nt04-in.jsonld | 10 + .../json-ld.org/toRdf/nt05-in.jsonld | 10 + .../json-ld.org/toRdf/nt06-in.jsonld | 10 + .../json-ld.org/toRdf/nt07-in.jsonld | 10 + .../json-ld.org/toRdf/nt08-in.jsonld | 10 + .../json-ld.org/toRdf/nt09-in.jsonld | 10 + .../json-ld.org/toRdf/nt10-in.jsonld | 10 + .../json-ld.org/toRdf/nt11-in.jsonld | 10 + .../json-ld.org/toRdf/nt12-in.jsonld | 10 + .../json-ld.org/toRdf/nt13-in.jsonld | 10 + .../json-ld.org/toRdf/nt14-in.jsonld | 10 + .../json-ld.org/toRdf/nt15-in.jsonld | 10 + .../json-ld.org/toRdf/nt16-in.jsonld | 10 + .../json-ld.org/toRdf/rt01-in.jsonld | 6 + .../resources/json-ld.org/toRdf/rt01-out.nq | 4 + .../json-ld.org/toRdf/wf01-in.jsonld | 4 + .../{toRdf-0059-out.nq => toRdf/wf01-out.nq} | 0 .../json-ld.org/toRdf/wf02-in.jsonld | 4 + .../{toRdf-0085-out.nq => toRdf/wf02-out.nq} | 0 .../json-ld.org/toRdf/wf03-in.jsonld | 4 + .../{toRdf-0086-out.nq => toRdf/wf03-out.nq} | 0 .../json-ld.org/toRdf/wf04-in.jsonld | 4 + .../resources/json-ld.org/toRdf/wf04-out.nq | 1 + .../json-ld.org/toRdf/wf05-in.jsonld | 4 + .../resources/json-ld.org/toRdf/wf05-out.nq | 0 .../json-ld.org/toRdf/wf06-in.jsonld | 4 + .../resources/json-ld.org/toRdf/wf06-out.nq | 0 .../json-ld.org/toRdf/wf07-in.jsonld | 7 + .../resources/json-ld.org/toRdf/wf07-out.nq | 0 .../src/test/resources/json-ld.org/vocab.html | 394 +++ .../test/resources/json-ld.org/vocab.jsonld | 270 +++ core/src/test/resources/json-ld.org/vocab.ttl | 287 +++ .../json-ld.org/vocab_context.jsonld | 15 + .../resources/json-ld.org/vocab_template.haml | 39 + 1966 files changed, 15719 insertions(+), 5725 deletions(-) create mode 100644 core/src/test/resources/json-ld.org/LICENSE.md create mode 100644 core/src/test/resources/json-ld.org/README.md delete mode 100644 core/src/test/resources/json-ld.org/compact-0066-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/compact-0066-out.jsonld rename core/src/test/resources/json-ld.org/{compact-0001-context.jsonld => compact/0001-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0001-in.jsonld => compact/0001-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0001-out.jsonld => compact/0001-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0002-context.jsonld => compact/0002-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0002-in.jsonld => compact/0002-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0002-out.jsonld => compact/0002-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0003-context.jsonld => compact/0003-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0003-in.jsonld => compact/0003-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0003-out.jsonld => compact/0003-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0004-context.jsonld => compact/0004-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0004-in.jsonld => compact/0004-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0004-out.jsonld => compact/0004-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0005-context.jsonld => compact/0005-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0005-in.jsonld => compact/0005-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0005-out.jsonld => compact/0005-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0006-context.jsonld => compact/0006-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0006-in.jsonld => compact/0006-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0006-out.jsonld => compact/0006-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0007-context.jsonld => compact/0007-context.jsonld} (78%) rename core/src/test/resources/json-ld.org/{compact-0007-in.jsonld => compact/0007-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0007-out.jsonld => compact/0007-out.jsonld} (78%) rename core/src/test/resources/json-ld.org/{compact-0008-context.jsonld => compact/0008-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0008-in.jsonld => compact/0008-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0008-out.jsonld => compact/0008-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0009-context.jsonld => compact/0009-context.jsonld} (67%) rename core/src/test/resources/json-ld.org/{compact-0009-in.jsonld => compact/0009-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0009-out.jsonld => compact/0009-out.jsonld} (72%) rename core/src/test/resources/json-ld.org/{compact-0010-context.jsonld => compact/0010-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0010-in.jsonld => compact/0010-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0010-out.jsonld => compact/0010-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0011-context.jsonld => compact/0011-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0011-in.jsonld => compact/0011-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0011-out.jsonld => compact/0011-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0012-context.jsonld => compact/0012-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0012-in.jsonld => compact/0012-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0012-out.jsonld => compact/0012-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0013-context.jsonld => compact/0013-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0013-in.jsonld => compact/0013-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0013-out.jsonld => compact/0013-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0014-context.jsonld => compact/0014-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0014-in.jsonld => compact/0014-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0014-out.jsonld => compact/0014-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0015-context.jsonld => compact/0015-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0015-in.jsonld => compact/0015-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0015-out.jsonld => compact/0015-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0016-context.jsonld => compact/0016-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0016-in.jsonld => compact/0016-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0016-out.jsonld => compact/0016-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0017-context.jsonld => compact/0017-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0017-in.jsonld => compact/0017-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0017-out.jsonld => compact/0017-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0018-context.jsonld => compact/0018-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0018-in.jsonld => compact/0018-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0018-out.jsonld => compact/0018-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0019-context.jsonld => compact/0019-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0019-in.jsonld => compact/0019-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0019-out.jsonld => compact/0019-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0020-context.jsonld => compact/0020-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0020-in.jsonld => compact/0020-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0020-out.jsonld => compact/0020-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0021-context.jsonld => compact/0021-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0021-in.jsonld => compact/0021-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0021-out.jsonld => compact/0021-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0022-context.jsonld => compact/0022-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0022-in.jsonld => compact/0022-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0022-out.jsonld => compact/0022-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0023-context.jsonld => compact/0023-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0023-in.jsonld => compact/0023-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0023-out.jsonld => compact/0023-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0024-context.jsonld => compact/0024-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0024-in.jsonld => compact/0024-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0024-out.jsonld => compact/0024-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0025-context.jsonld => compact/0025-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0025-in.jsonld => compact/0025-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0025-out.jsonld => compact/0025-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0026-context.jsonld => compact/0026-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0026-in.jsonld => compact/0026-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0026-out.jsonld => compact/0026-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0027-context.jsonld => compact/0027-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0027-in.jsonld => compact/0027-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0027-out.jsonld => compact/0027-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0028-context.jsonld => compact/0028-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0028-in.jsonld => compact/0028-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0028-out.jsonld => compact/0028-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0029-context.jsonld => compact/0029-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0029-in.jsonld => compact/0029-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0029-out.jsonld => compact/0029-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0030-context.jsonld => compact/0030-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0030-in.jsonld => compact/0030-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0030-out.jsonld => compact/0030-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0031-context.jsonld => compact/0031-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0031-in.jsonld => compact/0031-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0031-out.jsonld => compact/0031-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0032-context.jsonld => compact/0032-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0032-in.jsonld => compact/0032-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0032-out.jsonld => compact/0032-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0033-context.jsonld => compact/0033-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0033-in.jsonld => compact/0033-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0033-out.jsonld => compact/0033-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0034-context.jsonld => compact/0034-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0034-in.jsonld => compact/0034-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0034-out.jsonld => compact/0034-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0035-context.jsonld => compact/0035-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0035-in.jsonld => compact/0035-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0035-out.jsonld => compact/0035-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0036-context.jsonld => compact/0036-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0036-in.jsonld => compact/0036-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0036-out.jsonld => compact/0036-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0037-context.jsonld => compact/0037-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0066-out.jsonld => compact/0037-in.jsonld} (86%) rename core/src/test/resources/json-ld.org/{compact-0037-out.jsonld => compact/0037-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0038-context.jsonld => compact/0038-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0038-in.jsonld => compact/0038-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0038-out.jsonld => compact/0038-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/compact/0038a-out.jsonld rename core/src/test/resources/json-ld.org/{compact-0039-context.jsonld => compact/0039-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0039-in.jsonld => compact/0039-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0039-out.jsonld => compact/0039-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0040-context.jsonld => compact/0040-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0040-in.jsonld => compact/0040-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0040-out.jsonld => compact/0040-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0041-context.jsonld => compact/0041-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0041-in.jsonld => compact/0041-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0041-out.jsonld => compact/0041-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0042-context.jsonld => compact/0042-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0042-in.jsonld => compact/0042-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0042-out.jsonld => compact/0042-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0043-context.jsonld => compact/0043-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0043-in.jsonld => compact/0043-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0043-out.jsonld => compact/0043-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0044-context.jsonld => compact/0044-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0044-in.jsonld => compact/0044-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0044-out.jsonld => compact/0044-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0048-in.jsonld => compact/0045-context.jsonld} (90%) rename core/src/test/resources/json-ld.org/{compact-0045-in.jsonld => compact/0045-in.jsonld} (65%) rename core/src/test/resources/json-ld.org/{toRdf-0088-in.jsonld => compact/0045-out.jsonld} (90%) rename core/src/test/resources/json-ld.org/{compact-0046-context.jsonld => compact/0046-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0046-in.jsonld => compact/0046-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0046-out.jsonld => compact/0046-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0047-context.jsonld => compact/0047-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0047-in.jsonld => compact/0047-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0047-out.jsonld => compact/0047-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0048-context.jsonld => compact/0048-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0048-in.jsonld => compact/0048-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0048-out.jsonld => compact/0048-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0049-context.jsonld => compact/0049-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0049-in.jsonld => compact/0049-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0049-out.jsonld => compact/0049-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0050-context.jsonld => compact/0050-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0050-in.jsonld => compact/0050-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0050-out.jsonld => compact/0050-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0051-context.jsonld => compact/0051-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0051-in.jsonld => compact/0051-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0051-out.jsonld => compact/0051-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0052-context.jsonld => compact/0052-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0052-in.jsonld => compact/0052-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0052-out.jsonld => compact/0052-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0053-context.jsonld => compact/0053-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0053-in.jsonld => compact/0053-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0053-out.jsonld => compact/0053-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0054-context.jsonld => compact/0054-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0054-in.jsonld => compact/0054-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0054-out.jsonld => compact/0054-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0055-context.jsonld => compact/0055-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0055-in.jsonld => compact/0055-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0055-out.jsonld => compact/0055-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0056-context.jsonld => compact/0056-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0056-in.jsonld => compact/0056-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0056-out.jsonld => compact/0056-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0057-context.jsonld => compact/0057-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0057-in.jsonld => compact/0057-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0057-out.jsonld => compact/0057-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0058-context.jsonld => compact/0058-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0058-in.jsonld => compact/0058-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0058-out.jsonld => compact/0058-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0059-context.jsonld => compact/0059-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0059-in.jsonld => compact/0059-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0059-out.jsonld => compact/0059-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0060-context.jsonld => compact/0060-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0060-in.jsonld => compact/0060-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0060-out.jsonld => compact/0060-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0061-context.jsonld => compact/0061-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0061-in.jsonld => compact/0061-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0061-out.jsonld => compact/0061-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0062-context.jsonld => compact/0062-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0062-in.jsonld => compact/0062-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0062-out.jsonld => compact/0062-out.jsonld} (50%) rename core/src/test/resources/json-ld.org/{compact-0063-context.jsonld => compact/0063-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0063-in.jsonld => compact/0063-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0063-out.jsonld => compact/0063-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0064-context.jsonld => compact/0064-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0064-in.jsonld => compact/0064-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0064-out.jsonld => compact/0064-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0065-context.jsonld => compact/0065-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0065-in.jsonld => compact/0065-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0065-out.jsonld => compact/0065-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0066-context.jsonld => compact/0066-context.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/compact/0066-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0066-out.jsonld rename core/src/test/resources/json-ld.org/{compact-0067-context.jsonld => compact/0067-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0067-in.jsonld => compact/0067-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0067-out.jsonld => compact/0067-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0068-context.jsonld => compact/0068-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0068-in.jsonld => compact/0068-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0068-out.jsonld => compact/0068-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0069-context.jsonld => compact/0069-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0069-in.jsonld => compact/0069-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0069-out.jsonld => compact/0069-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0070-context.jsonld => compact/0070-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0070-in.jsonld => compact/0070-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0070-out.jsonld => compact/0070-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0071-context.jsonld => compact/0071-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0071-in.jsonld => compact/0071-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0071-out.jsonld => compact/0071-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0072-context.jsonld => compact/0072-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0072-in.jsonld => compact/0072-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0072-out.jsonld => compact/0072-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/compact/0073-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0073-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0073-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0074-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0074-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0074-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0075-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0075-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0075-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0076-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0076-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0076-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0077-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0077-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0077-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0078-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0078-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0078-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0079-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0079-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0079-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0080-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0080-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0080-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0081-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0081-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0081-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0082-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0082-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0082-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0083-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0083-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0083-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0084-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0084-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0084-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0085-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0085-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0085-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0086-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0086-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0086-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0087-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0087-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0087-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0088-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0088-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0088-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0089-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0089-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0089-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0090-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0090-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0090-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0091-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0091-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0091-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0092-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0092-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0092-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0093-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0093-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0093-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0094-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0094-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0094-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0095-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0095-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0095-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0096-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0096-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0096-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0097-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0097-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0097-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0098-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0098-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0098-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0099-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0099-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0099-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0100-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0100-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0100-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0101-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0101-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0101-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0102-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0102-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0102-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0103-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0103-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0103-out.jsonld rename core/src/test/resources/json-ld.org/{compact-0104-context.jsonld => compact/0104-context.jsonld} (96%) rename core/src/test/resources/json-ld.org/{compact-0104-in.jsonld => compact/0104-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0104-out.jsonld => compact/0104-out.jsonld} (98%) rename core/src/test/resources/json-ld.org/{compact-0106-context.jsonld => compact/0105-context.jsonld} (97%) rename core/src/test/resources/json-ld.org/{compact-0105-in.jsonld => compact/0105-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0105-out.jsonld => compact/0105-out.jsonld} (98%) rename core/src/test/resources/json-ld.org/{compact-0105-context.jsonld => compact/0106-context.jsonld} (97%) rename core/src/test/resources/json-ld.org/{compact-0106-in.jsonld => compact/0106-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0106-out.jsonld => compact/0106-out.jsonld} (98%) create mode 100644 core/src/test/resources/json-ld.org/compact/0107-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0107-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0107-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0108-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0108-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/0108-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c001-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c002-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c003-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c003-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c004-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c004-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c005-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c005-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c005-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c006-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c006-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c006-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c007-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c007-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c007-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c008-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c008-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c008-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c009-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c009-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c009-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c010-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c010-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c010-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c011-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c011-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c011-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c012-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c012-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c012-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c013-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c013-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c013-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c014-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c014-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c014-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c015-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c015-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c015-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c016-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c016-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c016-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c017-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c017-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c017-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c018-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c018-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c018-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c019-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c019-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c019-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c020-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c020-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c020-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c021-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c021-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c021-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c022-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c022-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c022-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c023-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c023-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c023-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c024-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c024-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c024-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c025-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c025-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/c025-out.jsonld rename core/src/test/resources/json-ld.org/{error-0042-context.jsonld => compact/e001-context.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/compact/e001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/e002-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/e002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/en01-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/en01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep04-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep05-context.jsonld rename core/src/test/resources/json-ld.org/{frame-0020-frame.jsonld => compact/ep05-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/compact/ep06-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep07-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep07-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep08-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep08-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep09-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep09-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep10-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep10-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep11-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep11-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep12-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep12-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep13-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep13-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep14-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep14-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep15-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/ep15-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/h001-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/h001-in.html create mode 100644 core/src/test/resources/json-ld.org/compact/h001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/h002-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/h002-in.html create mode 100644 core/src/test/resources/json-ld.org/compact/h002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/h003-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/h003-in.html create mode 100644 core/src/test/resources/json-ld.org/compact/h003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/h004-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/h004-in.html create mode 100644 core/src/test/resources/json-ld.org/compact/h004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js01-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js01-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js02-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js03-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js03-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js04-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js04-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js05-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js05-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js06-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js06-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js07-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js07-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js07-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js08-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js08-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js08-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js09-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js09-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/js09-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li01-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li01-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li02-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li03-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li03-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li04-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li04-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li05-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/li05-out.jsonld rename core/src/test/resources/json-ld.org/{frame-p050-frame.jsonld => compact/m001-context.jsonld} (53%) create mode 100644 core/src/test/resources/json-ld.org/compact/m001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m002-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m003-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m003-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m004-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m004-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m005-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m005-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m005-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m006-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m006-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m006-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m007-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m007-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m007-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m008-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m008-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m008-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m009-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m009-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m009-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m010-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m010-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m010-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m011-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m011-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m011-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m012-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m012-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m012-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m013-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m013-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m013-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m014-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m014-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m014-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m015-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m015-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m015-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m016-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m016-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m016-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m017-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m017-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m017-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m018-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m018-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m018-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m019-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m019-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/m019-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n001-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n002-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n003-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n003-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n004-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n004-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n005-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n005-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n005-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n006-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n006-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n006-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n007-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n007-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n007-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n008-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n008-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n008-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n009-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n009-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n009-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n010-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n010-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/n010-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p001-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p002-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p003-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p003-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p004-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p004-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p005-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p005-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p005-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p006-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p006-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p006-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p007-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p007-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p007-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p008-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p008-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/p008-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi01-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi01-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi02-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi03-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi03-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi04-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi04-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi05-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi05-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi06-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pi06-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr01-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr02-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr03-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr04-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr04-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr05-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/pr05-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/r001-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/r001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/r001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/r002-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/r002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/r002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/s001-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/s001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/s001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/s002-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/s002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/s002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/tn01-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/tn01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/tn01-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/tn02-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/tn02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/tn02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/tn03-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/tn03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/compact/tn03-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/composer.json create mode 100644 core/src/test/resources/json-ld.org/context.jsonld delete mode 100644 core/src/test/resources/json-ld.org/error-0003-ctx.jsonld delete mode 100644 core/src/test/resources/json-ld.org/error-0042-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/error-manifest.jsonld delete mode 100644 core/src/test/resources/json-ld.org/expand-0012-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/expand-0029-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/expand-0050-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/expand-0057-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/expand-0059-out.jsonld rename core/src/test/resources/json-ld.org/{expand-0001-in.jsonld => expand/0001-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0001-out.jsonld => expand/0001-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0002-in.jsonld => expand/0002-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0002-out.jsonld => expand/0002-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0003-in.jsonld => expand/0003-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0003-out.jsonld => expand/0003-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0004-in.jsonld => expand/0004-in.jsonld} (94%) rename core/src/test/resources/json-ld.org/{expand-0004-out.jsonld => expand/0004-out.jsonld} (94%) rename core/src/test/resources/json-ld.org/{expand-0005-in.jsonld => expand/0005-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0005-out.jsonld => expand/0005-out.jsonld} (86%) rename core/src/test/resources/json-ld.org/{expand-0006-in.jsonld => expand/0006-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0006-out.jsonld => expand/0006-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0007-in.jsonld => expand/0007-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0007-out.jsonld => expand/0007-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0008-in.jsonld => expand/0008-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0008-out.jsonld => expand/0008-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0009-in.jsonld => expand/0009-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0009-out.jsonld => expand/0009-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0010-in.jsonld => expand/0010-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0010-out.jsonld => expand/0010-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0051-in.jsonld => expand/0011-in.jsonld} (77%) rename core/src/test/resources/json-ld.org/{expand-0011-out.jsonld => expand/0011-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0012-in.jsonld => expand/0012-in.jsonld} (80%) rename core/src/test/resources/json-ld.org/{expand-0012-out.jsonld => expand/0012-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0013-in.jsonld => expand/0013-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0013-out.jsonld => expand/0013-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0054-in.jsonld => expand/0014-in.jsonld} (94%) rename core/src/test/resources/json-ld.org/{expand-0014-out.jsonld => expand/0014-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0015-in.jsonld => expand/0015-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0015-out.jsonld => expand/0015-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0016-in.jsonld => expand/0016-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0016-out.jsonld => expand/0016-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0017-in.jsonld => expand/0017-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0017-out.jsonld => expand/0017-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0018-in.jsonld => expand/0018-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0018-out.jsonld => expand/0018-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0019-in.jsonld => expand/0019-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0019-out.jsonld => expand/0019-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0020-in.jsonld => expand/0020-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0020-out.jsonld => expand/0020-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0021-in.jsonld => expand/0021-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0021-out.jsonld => expand/0021-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0022-in.jsonld => expand/0022-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0022-out.jsonld => expand/0022-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0023-in.jsonld => expand/0023-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0023-out.jsonld => expand/0023-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0024-in.jsonld => expand/0024-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0024-out.jsonld => expand/0024-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0025-in.jsonld => expand/0025-in.jsonld} (80%) rename core/src/test/resources/json-ld.org/{expand-0025-out.jsonld => expand/0025-out.jsonld} (72%) rename core/src/test/resources/json-ld.org/{expand-0026-in.jsonld => expand/0026-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0026-out.jsonld => expand/0026-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0027-in.jsonld => expand/0027-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0027-out.jsonld => expand/0027-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0028-in.jsonld => expand/0028-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0028-out.jsonld => expand/0028-out.jsonld} (76%) rename core/src/test/resources/json-ld.org/{flatten-0029-in.jsonld => expand/0029-in.jsonld} (89%) create mode 100644 core/src/test/resources/json-ld.org/expand/0029-out.jsonld rename core/src/test/resources/json-ld.org/{expand-0030-in.jsonld => expand/0030-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0030-out.jsonld => expand/0030-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0031-in.jsonld => expand/0031-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0031-out.jsonld => expand/0031-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0032-in.jsonld => expand/0032-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0032-out.jsonld => expand/0032-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0033-in.jsonld => expand/0033-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0033-out.jsonld => expand/0033-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0034-in.jsonld => expand/0034-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0034-out.jsonld => expand/0034-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0035-in.jsonld => expand/0035-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0035-out.jsonld => expand/0035-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0036-in.jsonld => expand/0036-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0036-out.jsonld => expand/0036-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0037-in.jsonld => expand/0037-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0037-out.jsonld => expand/0037-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0038-in.jsonld => expand/0038-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0038-out.jsonld => expand/0038-out.jsonld} (91%) rename core/src/test/resources/json-ld.org/{expand-0039-in.jsonld => expand/0039-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0039-out.jsonld => expand/0039-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0040-in.jsonld => expand/0040-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0040-out.jsonld => expand/0040-out.jsonld} (77%) rename core/src/test/resources/json-ld.org/{expand-0041-in.jsonld => expand/0041-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0041-out.jsonld => expand/0041-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0042-in.jsonld => expand/0042-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0042-out.jsonld => expand/0042-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0043-in.jsonld => expand/0043-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0043-out.jsonld => expand/0043-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0044-in.jsonld => expand/0044-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0044-out.jsonld => expand/0044-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0045-in.jsonld => expand/0045-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0045-out.jsonld => expand/0045-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0046-in.jsonld => expand/0046-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0046-out.jsonld => expand/0046-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0047-in.jsonld => expand/0047-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0047-out.jsonld => expand/0047-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0045-context.jsonld => expand/0048-in.jsonld} (90%) rename core/src/test/resources/json-ld.org/{expand-0048-out.jsonld => expand/0048-out.jsonld} (65%) rename core/src/test/resources/json-ld.org/{expand-0049-in.jsonld => expand/0049-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0049-out.jsonld => expand/0049-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0050-in.jsonld => expand/0050-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/expand/0050-out.jsonld rename core/src/test/resources/json-ld.org/{expand-0051-in.jsonld => expand/0051-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0051-out.jsonld => expand/0051-out.jsonld} (62%) rename core/src/test/resources/json-ld.org/{expand-0052-in.jsonld => expand/0052-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0052-out.jsonld => expand/0052-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0053-in.jsonld => expand/0053-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0053-out.jsonld => expand/0053-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0054-in.jsonld => expand/0054-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0054-out.jsonld => expand/0054-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0055-in.jsonld => expand/0055-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0055-out.jsonld => expand/0055-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0056-in.jsonld => expand/0056-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0056-out.jsonld => expand/0056-out.jsonld} (67%) rename core/src/test/resources/json-ld.org/{expand-0057-in.jsonld => expand/0057-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/expand/0057-out.jsonld rename core/src/test/resources/json-ld.org/{expand-0058-in.jsonld => expand/0058-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0058-out.jsonld => expand/0058-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0059-in.jsonld => expand/0059-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/expand/0059-out.jsonld rename core/src/test/resources/json-ld.org/{expand-0060-in.jsonld => expand/0060-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0060-out.jsonld => expand/0060-out.jsonld} (58%) rename core/src/test/resources/json-ld.org/{expand-0061-in.jsonld => expand/0061-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0061-out.jsonld => expand/0061-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0062-in.jsonld => expand/0062-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0062-out.jsonld => expand/0062-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0063-in.jsonld => expand/0063-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0063-out.jsonld => expand/0063-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0064-in.jsonld => expand/0064-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0064-out.jsonld => expand/0064-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0065-in.jsonld => expand/0065-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0065-out.jsonld => expand/0065-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0066-in.jsonld => expand/0066-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{compact-0037-in.jsonld => expand/0066-out.jsonld} (86%) rename core/src/test/resources/json-ld.org/{expand-0067-in.jsonld => expand/0067-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0067-out.jsonld => expand/0067-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0068-in.jsonld => expand/0068-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0068-out.jsonld => expand/0068-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0069-in.jsonld => expand/0069-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0069-out.jsonld => expand/0069-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0070-in.jsonld => expand/0070-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0070-out.jsonld => expand/0070-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0071-in.jsonld => expand/0071-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0071-out.jsonld => expand/0071-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0072-in.jsonld => expand/0072-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0072-out.jsonld => expand/0072-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0073-in.jsonld => expand/0073-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0073-out.jsonld => expand/0073-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0074-in.jsonld => expand/0074-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0074-out.jsonld => expand/0074-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0075-in.jsonld => expand/0075-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0075-out.jsonld => expand/0075-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0076-in.jsonld => expand/0076-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0076-out.jsonld => expand/0076-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0077-context.jsonld => expand/0077-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0077-in.jsonld => expand/0077-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0077-out.jsonld => expand/0077-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/expand/0078-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0078-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0079-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0079-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0080-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0080-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0081-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0081-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0082-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0082-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0083-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0083-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0084-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0084-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0085-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0085-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0086-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0086-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0087-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0087-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0088-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0088-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0089-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0089-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0090-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0090-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0091-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0091-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0092-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0092-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0093-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0093-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0094-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0094-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0095-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0095-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0096-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0096-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0097-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0097-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0098-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0098-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0099-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0099-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0100-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0100-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0101-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0101-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0102-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0102-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0103-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0103-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0104-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0104-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0105-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0105-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0106-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0106-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0107-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0107-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0108-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0108-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0109-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0109-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0110-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0110-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0111-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0111-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0112-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0112-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0113-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/0113-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c003-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c004-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c005-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c005-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c006-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c006-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c007-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c007-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c008-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c008-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c009-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c009-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c010-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c010-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c011-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c011-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c012-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c012-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c013-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c013-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c014-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c014-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c015-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c015-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c016-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c016-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c017-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c017-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c018-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c018-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c019-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c019-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c020-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c020-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c021-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c021-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c022-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c022-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c023-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c023-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c024-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c024-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c025-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/c025-out.jsonld rename core/src/test/resources/json-ld.org/{error-0001-in.jsonld => expand/e001-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0002-in.jsonld => expand/e002-in.jsonld} (53%) rename core/src/test/resources/json-ld.org/{error-0003-in.jsonld => expand/e003-in.jsonld} (52%) rename core/src/test/resources/json-ld.org/{error-0004-in.jsonld => expand/e004-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0005-in.jsonld => expand/e005-in.jsonld} (54%) rename core/src/test/resources/json-ld.org/{error-0006-in.jsonld => expand/e006-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0007-in.jsonld => expand/e007-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0008-in.jsonld => expand/e008-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0009-in.jsonld => expand/e009-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0010-in.jsonld => expand/e010-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0011-in.jsonld => expand/e011-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0012-in.jsonld => expand/e012-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0013-in.jsonld => expand/e013-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0014-in.jsonld => expand/e014-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0015-in.jsonld => expand/e015-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0016-in.jsonld => expand/e016-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0017-in.jsonld => expand/e017-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0018-in.jsonld => expand/e018-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0019-in.jsonld => expand/e019-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0020-in.jsonld => expand/e020-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0021-in.jsonld => expand/e021-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0022-in.jsonld => expand/e022-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0023-in.jsonld => expand/e023-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0024-in.jsonld => expand/e024-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0025-in.jsonld => expand/e025-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0026-in.jsonld => expand/e026-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0027-in.jsonld => expand/e027-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0028-in.jsonld => expand/e028-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0029-in.jsonld => expand/e029-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0030-in.jsonld => expand/e030-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0031-in.jsonld => expand/e031-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0032-in.jsonld => expand/e032-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0033-in.jsonld => expand/e033-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0034-in.jsonld => expand/e034-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0035-in.jsonld => expand/e035-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0036-in.jsonld => expand/e036-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0037-in.jsonld => expand/e037-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0038-in.jsonld => expand/e038-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0039-in.jsonld => expand/e039-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0040-in.jsonld => expand/e040-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{error-0041-in.jsonld => expand/e041-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-e042-in.jsonld => expand/e042-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0026-in.jsonld => expand/e043-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/expand/e044-in.jsonld rename core/src/test/resources/json-ld.org/{toRdf-0111-in.jsonld => expand/e045-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/expand/ec01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/em01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/en01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/en02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/en03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/en04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/en05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/en06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/ep01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/ep02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/ep03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/es01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/es02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h001-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h002-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h003-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h004-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h005-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h005-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h006-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h006-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h007-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h007-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h008-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h008-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h009-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h009-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h010-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h010-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h011-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h012-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h013-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h014-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h015-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h016-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h017-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h018-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h018-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h019-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h019-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h020-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h020-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h021-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h021-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/h022-in.html create mode 100644 core/src/test/resources/json-ld.org/expand/h022-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/hc01-context.html create mode 100644 core/src/test/resources/json-ld.org/expand/hc01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/hc01-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/hc02-context.html create mode 100644 core/src/test/resources/json-ld.org/expand/hc02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/hc02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/hc03-context.html create mode 100644 core/src/test/resources/json-ld.org/expand/hc03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/hc03-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/hc04-context.html create mode 100644 core/src/test/resources/json-ld.org/expand/hc04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/hc04-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/hc05-context.html create mode 100644 core/src/test/resources/json-ld.org/expand/hc05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js01-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js03-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js04-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js05-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js06-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js07-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js07-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js08-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js08-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js09-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js09-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js10-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/js10-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/l001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/l001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li01-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li03-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li04-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li05-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li06-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li07-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li07-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li08-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li08-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li09-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li09-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li10-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/li10-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m003-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m004-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m005-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m005-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m006-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m006-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m007-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m007-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m008-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m008-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m009-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m009-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m010-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m010-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m011-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m011-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m012-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m012-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m013-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m013-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m014-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m014-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m015-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m015-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m016-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/m016-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n003-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n004-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n005-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n005-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n006-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n006-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n007-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/n007-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/p001-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/p001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/p002-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/p002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/p003-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/p003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/p004-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/p004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi06-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi07-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi07-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi08-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi08-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi09-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi09-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi10-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi10-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi11-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pi11-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr06-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr08-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr09-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr10-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr10-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr11-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr12-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr13-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr13-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr14-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr14-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr15-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr15-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr16-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr16-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr17-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr18-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr19-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr19-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr20-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr21-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr22-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr22-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr23-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr23-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr24-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr24-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr25-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr25-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr26-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr27-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr27-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr28-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr29-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/pr29-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/tn01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/tn02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/expand/tn02-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/flatten-0004-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/flatten-0029-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/flatten-0043-out.jsonld rename core/src/test/resources/json-ld.org/{flatten-0001-in.jsonld => flatten/0001-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0001-out.jsonld => flatten/0001-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0002-in.jsonld => flatten/0002-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0002-out.jsonld => flatten/0002-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0003-in.jsonld => flatten/0003-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0003-out.jsonld => flatten/0003-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0004-in.jsonld => flatten/0004-in.jsonld} (94%) create mode 100644 core/src/test/resources/json-ld.org/flatten/0004-out.jsonld rename core/src/test/resources/json-ld.org/{flatten-0005-in.jsonld => flatten/0005-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0005-out.jsonld => flatten/0005-out.jsonld} (91%) rename core/src/test/resources/json-ld.org/{flatten-0006-in.jsonld => flatten/0006-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0006-out.jsonld => flatten/0006-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0007-in.jsonld => flatten/0007-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0007-out.jsonld => flatten/0007-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0008-in.jsonld => flatten/0008-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0008-out.jsonld => flatten/0008-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0009-in.jsonld => flatten/0009-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0009-out.jsonld => flatten/0009-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0010-in.jsonld => flatten/0010-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0010-out.jsonld => flatten/0010-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0011-in.jsonld => flatten/0011-in.jsonld} (77%) rename core/src/test/resources/json-ld.org/{flatten-0011-out.jsonld => flatten/0011-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0052-in.jsonld => flatten/0012-in.jsonld} (80%) rename core/src/test/resources/json-ld.org/{flatten-0012-out.jsonld => flatten/0012-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0013-in.jsonld => flatten/0013-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0013-out.jsonld => flatten/0013-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{expand-0014-in.jsonld => flatten/0014-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0014-out.jsonld => flatten/0014-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0015-in.jsonld => flatten/0015-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0015-out.jsonld => flatten/0015-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0016-in.jsonld => flatten/0016-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0016-out.jsonld => flatten/0016-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0017-in.jsonld => flatten/0017-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0017-out.jsonld => flatten/0017-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0018-in.jsonld => flatten/0018-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0018-out.jsonld => flatten/0018-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0019-in.jsonld => flatten/0019-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0019-out.jsonld => flatten/0019-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0020-in.jsonld => flatten/0020-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0020-out.jsonld => flatten/0020-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0021-in.jsonld => flatten/0021-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0021-out.jsonld => flatten/0021-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0022-in.jsonld => flatten/0022-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0022-out.jsonld => flatten/0022-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0023-in.jsonld => flatten/0023-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0023-out.jsonld => flatten/0023-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0024-in.jsonld => flatten/0024-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0024-out.jsonld => flatten/0024-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0025-in.jsonld => flatten/0025-in.jsonld} (80%) rename core/src/test/resources/json-ld.org/{flatten-0025-out.jsonld => flatten/0025-out.jsonld} (78%) rename core/src/test/resources/json-ld.org/{toRdf-0066-in.jsonld => flatten/0026-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0026-out.jsonld => flatten/0026-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0027-in.jsonld => flatten/0027-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0027-out.jsonld => flatten/0027-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0028-in.jsonld => flatten/0028-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0028-out.jsonld => flatten/0028-out.jsonld} (71%) rename core/src/test/resources/json-ld.org/{flatten-0030-in.jsonld => flatten/0030-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0030-out.jsonld => flatten/0030-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0031-in.jsonld => flatten/0031-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0031-out.jsonld => flatten/0031-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0032-in.jsonld => flatten/0032-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0032-out.jsonld => flatten/0032-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0033-in.jsonld => flatten/0033-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0033-out.jsonld => flatten/0033-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0034-in.jsonld => flatten/0034-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0034-out.jsonld => flatten/0034-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0035-in.jsonld => flatten/0035-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0035-out.jsonld => flatten/0035-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0036-in.jsonld => flatten/0036-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0036-out.jsonld => flatten/0036-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0037-in.jsonld => flatten/0037-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0037-out.jsonld => flatten/0037-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0038-in.jsonld => flatten/0038-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0038-out.jsonld => flatten/0038-out.jsonld} (89%) rename core/src/test/resources/json-ld.org/{flatten-0039-in.jsonld => flatten/0039-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0039-out.jsonld => flatten/0039-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0040-in.jsonld => flatten/0040-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0040-out.jsonld => flatten/0040-out.jsonld} (80%) rename core/src/test/resources/json-ld.org/{flatten-0041-in.jsonld => flatten/0041-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0041-out.jsonld => flatten/0041-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0042-in.jsonld => flatten/0042-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0042-out.jsonld => flatten/0042-out.jsonld} (70%) rename core/src/test/resources/json-ld.org/{flatten-0043-in.jsonld => flatten/0043-in.jsonld} (71%) create mode 100644 core/src/test/resources/json-ld.org/flatten/0043-out.jsonld rename core/src/test/resources/json-ld.org/{flatten-0044-context.jsonld => flatten/0044-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0044-in.jsonld => flatten/0044-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0044-out.jsonld => flatten/0044-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0045-in.jsonld => flatten/0045-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{flatten-0045-out.jsonld => flatten/0045-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/flatten/0046-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/0046-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/0047-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/0047-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/0048-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/0048-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/0049-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/0049-out.jsonld rename core/src/test/resources/json-ld.org/{error-0043-in.jsonld => flatten/e001-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/flatten/h001-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/h001-in.html create mode 100644 core/src/test/resources/json-ld.org/flatten/h001-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/h002-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/h002-in.html create mode 100644 core/src/test/resources/json-ld.org/flatten/h002-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/h003-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/h003-in.html create mode 100644 core/src/test/resources/json-ld.org/flatten/h003-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/h004-context.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/h004-in.html create mode 100644 core/src/test/resources/json-ld.org/flatten/h004-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/li01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/li01-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/li02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/li02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/li03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/flatten/li03-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0001-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0001-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0001-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0002-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0002-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0002-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0003-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0003-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0003-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0004-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0004-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0004-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0005-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0005-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0005-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0006-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0006-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0006-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0007-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0007-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0007-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0008-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0008-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0008-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0009-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0009-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0009-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0010-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0010-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0010-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0011-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0011-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0011-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0012-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0012-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0012-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0013-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0013-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0013-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0014-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0014-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0014-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0015-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0015-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0015-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0016-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0016-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0016-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0017-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0017-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0017-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0018-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0018-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0018-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0019-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0019-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0019-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0020-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0020-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0021-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0021-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0021-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0022-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0022-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0022-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0030-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0030-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0030-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0046-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-0046-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-g001-frame.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-g001-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-g001-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-manifest.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-p010-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-p020-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-p021-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-p046-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-p050-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/frame-p050-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/fromRdf-0020-in.nq delete mode 100644 core/src/test/resources/json-ld.org/fromRdf-0020-out.jsonld rename core/src/test/resources/json-ld.org/{fromRdf-0001-in.nq => fromRdf/0001-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0001-out.jsonld => fromRdf/0001-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0002-in.nq => fromRdf/0002-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0002-out.jsonld => fromRdf/0002-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0003-in.nq => fromRdf/0003-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0003-out.jsonld => fromRdf/0003-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0004-in.nq => fromRdf/0004-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0004-out.jsonld => fromRdf/0004-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0005-in.nq => fromRdf/0005-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0005-out.jsonld => fromRdf/0005-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0006-in.nq => fromRdf/0006-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0006-out.jsonld => fromRdf/0006-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0007-in.nq => fromRdf/0007-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0007-out.jsonld => fromRdf/0007-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0008-in.nq => fromRdf/0008-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0008-out.jsonld => fromRdf/0008-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0009-in.nq => fromRdf/0009-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0009-out.jsonld => fromRdf/0009-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0010-in.nq => fromRdf/0010-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0010-out.jsonld => fromRdf/0010-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0011-in.nq => fromRdf/0011-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0011-out.jsonld => fromRdf/0011-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0012-in.nq => fromRdf/0012-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0012-out.jsonld => fromRdf/0012-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0013-in.nq => fromRdf/0013-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0013-out.jsonld => fromRdf/0013-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0014-in.nq => fromRdf/0014-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0014-out.jsonld => fromRdf/0014-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0015-in.nq => fromRdf/0015-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0015-out.jsonld => fromRdf/0015-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0016-in.nq => fromRdf/0016-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0016-out.jsonld => fromRdf/0016-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0017-in.nq => fromRdf/0017-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0017-out.jsonld => fromRdf/0017-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0018-in.nq => fromRdf/0018-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0018-out.jsonld => fromRdf/0018-out.jsonld} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0019-in.nq => fromRdf/0019-in.nq} (100%) rename core/src/test/resources/json-ld.org/{fromRdf-0019-out.jsonld => fromRdf/0019-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0020-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0020-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0021-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0021-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0022-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0022-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0023-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0023-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0024-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0024-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0025-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0025-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0026-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/0026-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js01-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js01-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js02-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js03-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js03-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js04-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js04-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js05-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js05-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js06-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js06-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js07-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/js07-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/li01-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/li01-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/li02-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/li02-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/fromRdf/li03-in.nq create mode 100644 core/src/test/resources/json-ld.org/fromRdf/li03-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/manifest.jsonld create mode 100755 core/src/test/resources/json-ld.org/mk_vocab.rb delete mode 100644 core/src/test/resources/json-ld.org/normalize-0001-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0002-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0002-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0003-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0003-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0004-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0004-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0005-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0005-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0006-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0006-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0007-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0007-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0008-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0008-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0010-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0010-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0011-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0011-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0012-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0012-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0014-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0014-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0015-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0016-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0016-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0017-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0017-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0018-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0018-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0019-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0019-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0020-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0020-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0021-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0021-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0022-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0022-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0023-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0023-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0024-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0024-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0025-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0025-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0026-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0026-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0027-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0027-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0028-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0028-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0029-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0029-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0030-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0030-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0031-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0031-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0032-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0032-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0033-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0033-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0034-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0034-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0035-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0035-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0036-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0036-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0037-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0037-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0038-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0038-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0039-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0039-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0040-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0040-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0041-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0041-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0042-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0042-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0043-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0043-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0044-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0044-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0045-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0045-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0046-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0046-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0047-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0047-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0048-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0048-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0049-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0050-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0050-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0051-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0051-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0052-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0053-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0053-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0054-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0054-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0055-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0055-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0056-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0056-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-0057-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/normalize-0057-out.nq delete mode 100644 core/src/test/resources/json-ld.org/normalize-manifest.jsonld delete mode 100644 core/src/test/resources/json-ld.org/remote-doc-0001-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/remote-doc-0002-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/remote-doc-0003-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/remote-doc-0009-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/remote-doc-0010-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/remote-doc-0011-out.jsonld create mode 100644 core/src/test/resources/json-ld.org/remote-doc/.htaccess rename core/src/test/resources/json-ld.org/{remote-doc-0001-in.jsonld => remote-doc/0001-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/remote-doc/0001-out.jsonld rename core/src/test/resources/json-ld.org/{remote-doc-0002-in.json => remote-doc/0002-in.json} (100%) create mode 100644 core/src/test/resources/json-ld.org/remote-doc/0002-out.jsonld rename core/src/test/resources/json-ld.org/{remote-doc-0003-in.jldt => remote-doc/0003-in.jldt} (100%) create mode 100644 core/src/test/resources/json-ld.org/remote-doc/0003-out.jsonld rename core/src/test/resources/json-ld.org/{normalize-0001-out.nq => remote-doc/0004-in.jldte} (100%) rename core/src/test/resources/json-ld.org/{remote-doc-0009-context.jsonld => remote-doc/0009-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{remote-doc-0009-in.jsonld => remote-doc/0009-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/remote-doc/0009-out.jsonld rename core/src/test/resources/json-ld.org/{remote-doc-0010-context.jsonld => remote-doc/0010-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{remote-doc-0010-in.json => remote-doc/0010-in.json} (100%) create mode 100644 core/src/test/resources/json-ld.org/remote-doc/0010-out.jsonld rename core/src/test/resources/json-ld.org/{remote-doc-0011-context.jsonld => remote-doc/0011-context.jsonld} (100%) rename core/src/test/resources/json-ld.org/{remote-doc-0011-in.jldt => remote-doc/0011-in.jldt} (100%) create mode 100644 core/src/test/resources/json-ld.org/remote-doc/0011-out.jsonld rename core/src/test/resources/json-ld.org/{remote-doc-0012-context1.jsonld => remote-doc/0012-context1.jsonld} (100%) rename core/src/test/resources/json-ld.org/{remote-doc-0012-context2.jsonld => remote-doc/0012-context2.jsonld} (100%) rename core/src/test/resources/json-ld.org/{remote-doc-0012-in.json => remote-doc/0012-in.json} (100%) create mode 100644 core/src/test/resources/json-ld.org/remote-doc/0013-context.html create mode 100644 core/src/test/resources/json-ld.org/remote-doc/0013-in.json create mode 100644 core/src/test/resources/json-ld.org/remote-doc/0013-out.jsonld delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0016-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0017-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0018-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0046-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0047-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0047-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0057-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0068-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0069-in.jsonld delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0069-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0088-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0090-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0091-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0097-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0099-out.nq delete mode 100644 core/src/test/resources/json-ld.org/toRdf-0100-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0001-in.jsonld => toRdf/0001-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0001-out.nq => toRdf/0001-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0002-in.jsonld => toRdf/0002-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0002-out.nq => toRdf/0002-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0003-in.jsonld => toRdf/0003-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0003-out.nq => toRdf/0003-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0004-in.jsonld => toRdf/0004-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0004-out.nq => toRdf/0004-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0005-in.jsonld => toRdf/0005-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0005-out.nq => toRdf/0005-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0006-in.jsonld => toRdf/0006-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0006-out.nq => toRdf/0006-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0007-in.jsonld => toRdf/0007-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0007-out.nq => toRdf/0007-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0008-in.jsonld => toRdf/0008-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0008-out.nq => toRdf/0008-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0009-in.jsonld => toRdf/0009-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0009-out.nq => toRdf/0009-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0010-in.jsonld => toRdf/0010-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0010-out.nq => toRdf/0010-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0011-in.jsonld => toRdf/0011-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0011-out.nq => toRdf/0011-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0012-in.jsonld => toRdf/0012-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0012-out.nq => toRdf/0012-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0013-in.jsonld => toRdf/0013-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0013-out.nq => toRdf/0013-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0014-in.jsonld => toRdf/0014-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0014-out.nq => toRdf/0014-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0015-in.jsonld => toRdf/0015-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0015-out.nq => toRdf/0015-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0016-in.jsonld => toRdf/0016-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0016-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0017-in.jsonld => toRdf/0017-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0017-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0018-in.jsonld => toRdf/0018-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0018-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0019-in.jsonld => toRdf/0019-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0019-out.nq => toRdf/0019-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0020-in.jsonld => toRdf/0020-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0020-out.nq => toRdf/0020-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0022-in.jsonld => toRdf/0022-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0022-out.nq => toRdf/0022-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0023-in.jsonld => toRdf/0023-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0023-out.nq => toRdf/0023-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0024-in.jsonld => toRdf/0024-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0024-out.nq => toRdf/0024-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0025-in.jsonld => toRdf/0025-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0025-out.nq => toRdf/0025-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0026-in.jsonld => toRdf/0026-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0026-out.nq => toRdf/0026-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0027-in.jsonld => toRdf/0027-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0027-out.nq => toRdf/0027-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0028-in.jsonld => toRdf/0028-in.jsonld} (73%) rename core/src/test/resources/json-ld.org/{toRdf-0028-out.nq => toRdf/0028-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0029-in.jsonld => toRdf/0029-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0029-out.nq => toRdf/0029-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0030-in.jsonld => toRdf/0030-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0030-out.nq => toRdf/0030-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0031-in.jsonld => toRdf/0031-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0031-out.nq => toRdf/0031-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0032-in.jsonld => toRdf/0032-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0032-out.nq => toRdf/0032-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0033-in.jsonld => toRdf/0033-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0033-out.nq => toRdf/0033-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0034-in.jsonld => toRdf/0034-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0034-out.nq => toRdf/0034-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0035-in.jsonld => toRdf/0035-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0035-out.nq => toRdf/0035-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0036-in.jsonld => toRdf/0036-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0036-out.nq => toRdf/0036-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0041-in.jsonld => toRdf/0041-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{normalize-0015-out.nq => toRdf/0041-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0042-in.jsonld => toRdf/0042-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0042-out.nq => toRdf/0042-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0043-in.jsonld => toRdf/0043-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{normalize-0049-out.nq => toRdf/0043-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0044-in.jsonld => toRdf/0044-in.jsonld} (94%) rename core/src/test/resources/json-ld.org/{toRdf-0044-out.nq => toRdf/0044-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0045-in.jsonld => toRdf/0045-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0045-out.nq => toRdf/0045-out.nq} (55%) rename core/src/test/resources/json-ld.org/{toRdf-0046-in.jsonld => toRdf/0046-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{normalize-0052-out.nq => toRdf/0046-out.nq} (100%) rename core/src/test/resources/json-ld.org/{normalize-0013-in.jsonld => toRdf/0047-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{normalize-0013-out.nq => toRdf/0047-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0048-in.jsonld => toRdf/0048-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0048-out.nq => toRdf/0048-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0049-in.jsonld => toRdf/0049-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{normalize-0009-out.nq => toRdf/0049-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0050-in.jsonld => toRdf/0050-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0050-out.nq => toRdf/0050-out.nq} (100%) rename core/src/test/resources/json-ld.org/{expand-0011-in.jsonld => toRdf/0051-in.jsonld} (77%) rename core/src/test/resources/json-ld.org/{toRdf-0051-out.nq => toRdf/0051-out.nq} (100%) rename core/src/test/resources/json-ld.org/{normalize-0009-in.jsonld => toRdf/0052-in.jsonld} (80%) rename core/src/test/resources/json-ld.org/{toRdf-0049-out.nq => toRdf/0052-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0053-in.jsonld => toRdf/0053-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0053-out.nq => toRdf/0053-out.nq} (100%) rename core/src/test/resources/json-ld.org/{flatten-0014-in.jsonld => toRdf/0054-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0054-out.nq => toRdf/0054-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0055-in.jsonld => toRdf/0055-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0055-out.nq => toRdf/0055-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0056-in.jsonld => toRdf/0056-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0056-out.nq => toRdf/0056-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0057-in.jsonld => toRdf/0057-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0052-out.nq => toRdf/0057-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0058-in.jsonld => toRdf/0058-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0058-out.nq => toRdf/0058-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0059-in.jsonld => toRdf/0059-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{remote-doc-0004-in.jldte => toRdf/0059-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0060-in.jsonld => toRdf/0060-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0060-out.nq => toRdf/0060-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0061-in.jsonld => toRdf/0061-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0061-out.nq => toRdf/0061-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0062-in.jsonld => toRdf/0062-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0062-out.nq => toRdf/0062-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0063-in.jsonld => toRdf/0063-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0063-out.nq => toRdf/0063-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0064-in.jsonld => toRdf/0064-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0064-out.nq => toRdf/0064-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0065-in.jsonld => toRdf/0065-in.jsonld} (80%) rename core/src/test/resources/json-ld.org/{toRdf-0065-out.nq => toRdf/0065-out.nq} (91%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0066-in.jsonld rename core/src/test/resources/json-ld.org/{toRdf-0066-out.nq => toRdf/0066-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0067-in.jsonld => toRdf/0067-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0067-out.nq => toRdf/0067-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0068-in.jsonld => toRdf/0068-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0068-out.nq rename core/src/test/resources/json-ld.org/{expand-0029-in.jsonld => toRdf/0069-in.jsonld} (89%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0069-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0070-in.jsonld => toRdf/0070-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0070-out.nq => toRdf/0070-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0071-in.jsonld => toRdf/0071-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0071-out.nq => toRdf/0071-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0072-in.jsonld => toRdf/0072-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0072-out.nq => toRdf/0072-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0073-in.jsonld => toRdf/0073-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0073-out.nq => toRdf/0073-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0074-in.jsonld => toRdf/0074-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0074-out.nq => toRdf/0074-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0075-in.jsonld => toRdf/0075-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0075-out.nq => toRdf/0075-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0076-in.jsonld => toRdf/0076-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0076-out.nq => toRdf/0076-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0077-in.jsonld => toRdf/0077-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0077-out.nq => toRdf/0077-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0078-in.jsonld => toRdf/0078-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0078-out.nq => toRdf/0078-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0079-in.jsonld => toRdf/0079-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0079-out.nq => toRdf/0079-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0080-in.jsonld => toRdf/0080-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0080-out.nq => toRdf/0080-out.nq} (80%) rename core/src/test/resources/json-ld.org/{toRdf-0081-in.jsonld => toRdf/0081-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0081-out.nq => toRdf/0081-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0082-in.jsonld => toRdf/0082-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0082-out.nq => toRdf/0082-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0083-in.jsonld => toRdf/0083-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0083-out.nq => toRdf/0083-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0084-in.jsonld => toRdf/0084-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0084-out.nq => toRdf/0084-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0085-in.jsonld => toRdf/0085-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0041-out.nq => toRdf/0085-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0086-in.jsonld => toRdf/0086-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0043-out.nq => toRdf/0086-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0087-in.jsonld => toRdf/0087-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0087-out.nq => toRdf/0087-out.nq} (100%) rename core/src/test/resources/json-ld.org/{compact-0045-out.jsonld => toRdf/0088-in.jsonld} (90%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0088-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0089-in.jsonld => toRdf/0089-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0089-out.nq => toRdf/0089-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0090-in.jsonld => toRdf/0090-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0090-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0091-in.jsonld => toRdf/0091-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0091-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0092-in.jsonld => toRdf/0092-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0092-out.nq => toRdf/0092-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0093-in.jsonld => toRdf/0093-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0093-out.nq => toRdf/0093-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0094-in.jsonld => toRdf/0094-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0094-out.nq => toRdf/0094-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0095-in.jsonld => toRdf/0095-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0095-out.nq => toRdf/0095-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0096-in.jsonld => toRdf/0096-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0096-out.nq => toRdf/0096-out.nq} (81%) rename core/src/test/resources/json-ld.org/{toRdf-0097-in.jsonld => toRdf/0097-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0097-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0098-in.jsonld => toRdf/0098-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0098-out.nq => toRdf/0098-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0099-in.jsonld => toRdf/0099-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0099-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0100-in.jsonld => toRdf/0100-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0100-out.nq rename core/src/test/resources/json-ld.org/{toRdf-0101-in.jsonld => toRdf/0101-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0101-out.nq => toRdf/0101-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0102-in.jsonld => toRdf/0102-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0102-out.nq => toRdf/0102-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0103-in.jsonld => toRdf/0103-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0103-out.nq => toRdf/0103-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0104-in.jsonld => toRdf/0104-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0104-out.nq => toRdf/0104-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0105-in.jsonld => toRdf/0105-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0105-out.nq => toRdf/0105-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0106-in.jsonld => toRdf/0106-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0106-out.nq => toRdf/0106-out.nq} (51%) rename core/src/test/resources/json-ld.org/{toRdf-0107-in.jsonld => toRdf/0107-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0107-out.nq => toRdf/0107-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0108-in.jsonld => toRdf/0108-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0108-out.nq => toRdf/0108-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0109-in.jsonld => toRdf/0109-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0109-out.nq => toRdf/0109-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0110-in.jsonld => toRdf/0110-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0110-out.nq => toRdf/0110-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0111-in.jsonld rename core/src/test/resources/json-ld.org/{toRdf-0111-out.nq => toRdf/0111-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0112-in.jsonld => toRdf/0112-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0112-out.nq => toRdf/0112-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0113-in.jsonld => toRdf/0113-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0113-out.nq => toRdf/0113-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0114-in.jsonld => toRdf/0114-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0114-out.nq => toRdf/0114-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0115-in.jsonld => toRdf/0115-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0115-out.nq => toRdf/0115-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0116-in.jsonld => toRdf/0116-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0116-out.nq => toRdf/0116-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0117-in.jsonld => toRdf/0117-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0117-out.nq => toRdf/0117-out.nq} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0118-in.jsonld => toRdf/0118-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0118-out.nq => toRdf/0118-out.nq} (73%) rename core/src/test/resources/json-ld.org/{toRdf-0119-in.jsonld => toRdf/0119-in.jsonld} (100%) rename core/src/test/resources/json-ld.org/{toRdf-0119-out.nq => toRdf/0119-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/0120-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0120-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0121-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0121-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0122-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0122-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0123-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0123-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0124-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0124-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0125-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0125-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0126-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0126-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0127-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0127-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0128-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0128-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0129-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0129-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0130-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0130-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0131-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0131-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/0132-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/0132-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/h001-in.html create mode 100644 core/src/test/resources/json-ld.org/toRdf/h001-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/h002-in.html create mode 100644 core/src/test/resources/json-ld.org/toRdf/h002-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/h003-in.html create mode 100644 core/src/test/resources/json-ld.org/toRdf/h003-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js01-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js02-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js03-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js04-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js05-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js06-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js07-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js07-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js08-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js08-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js09-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js09-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js10-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js10-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js11-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js11-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js12-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js12-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/js13-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/js13-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/li01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/li01-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/li02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/li02-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt02-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt03-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt07-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt08-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt09-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt10-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt11-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt12-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt13-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt14-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt15-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/nt16-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/rt01-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/rt01-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf01-in.jsonld rename core/src/test/resources/json-ld.org/{toRdf-0059-out.nq => toRdf/wf01-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf02-in.jsonld rename core/src/test/resources/json-ld.org/{toRdf-0085-out.nq => toRdf/wf02-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf03-in.jsonld rename core/src/test/resources/json-ld.org/{toRdf-0086-out.nq => toRdf/wf03-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf04-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf04-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf05-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf05-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf06-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf06-out.nq create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf07-in.jsonld create mode 100644 core/src/test/resources/json-ld.org/toRdf/wf07-out.nq create mode 100644 core/src/test/resources/json-ld.org/vocab.html create mode 100644 core/src/test/resources/json-ld.org/vocab.jsonld create mode 100644 core/src/test/resources/json-ld.org/vocab.ttl create mode 100644 core/src/test/resources/json-ld.org/vocab_context.jsonld create mode 100644 core/src/test/resources/json-ld.org/vocab_template.haml diff --git a/.gitignore b/.gitignore index aeafccd3..0ca3bf9b 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.DS_store .classpath .project .settings diff --git a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java b/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java index b3074db5..b91d0b6a 100644 --- a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java +++ b/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java @@ -46,6 +46,7 @@ public class JsonLdProcessorTest { private static final String TEST_DIR = "json-ld.org"; + private static final String MANIFEST_FILE = "manifest.jsonld"; private static Map REPORT; private static List REPORT_GRAPH; @@ -184,22 +185,37 @@ public static Collection data() throws URISyntaxException, IOException // https://github.com/json-ld/json-ld.org/tree/master/test-suite/tests final ClassLoader cl = Thread.currentThread().getContextClassLoader(); - final File f = new File(cl.getResource(TEST_DIR).toURI()); - final List manifestfiles = Arrays.asList(f.listFiles(new FilenameFilter() { - @Override - public boolean accept(File dir, String name) { - if (name.contains("manifest") && name.endsWith(".jsonld")) { - // System.out.println("Using manifest: " + dir + " " - // + name); - // Remote-doc tests are not currently supported - if (name.contains("remote-doc")) { - return false; - } - return true; - } - return false; - } - })); + final File testDir = new File(cl.getResource(TEST_DIR).toURI()); + final File mainManifestFile = new File(testDir, MANIFEST_FILE); + + final Map mainManifest = (Map) JsonUtils + .fromInputStream(new FileInputStream(mainManifestFile)); + + final List manifestFileNames = (List) mainManifest + .get("sequence"); + + final List manifestfiles = new ArrayList(); + + for (final String manifestFileName : manifestFileNames) { + System.out.println("Using manifest: " + testDir + " " + manifestFileName); + manifestfiles.add(new File(testDir, manifestFileName)); + } + + // final List manifestfiles = Arrays.asList(f.listFiles(new FilenameFilter() { + // @Override + // public boolean accept(File dir, String name) { + // if (name.contains("manifest") && name.endsWith(".jsonld") && !name.equals("manifest.jsonld")) { + // System.out.println("Using manifest: " + dir + " " + // + name); + // // Remote-doc tests are not currently supported + // if (name.contains("remote-doc")) { + // return false; + // } + // return true; + // } + // return false; + // } + // })); final Collection rdata = new ArrayList(); for (final File in : manifestfiles) { diff --git a/core/src/test/resources/json-ld.org/LICENSE.md b/core/src/test/resources/json-ld.org/LICENSE.md new file mode 100644 index 00000000..5342a9b1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/LICENSE.md @@ -0,0 +1,2 @@ +The JSON-LD Test Suite is covered by the dual-licensing approach described in +[LICENSES FOR W3C TEST SUITES](https://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html). diff --git a/core/src/test/resources/json-ld.org/README.md b/core/src/test/resources/json-ld.org/README.md new file mode 100644 index 00000000..417a89a6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/README.md @@ -0,0 +1,87 @@ +# Introduction + +The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors. + +More information and an RDFS definition of the test vocabulary can be found at [vocab](https://w3c.github.io/json-ld-api/tests/vocab). + +# Design + +Tests are defined into _compact_, _expand_, _flatten_, _remote-doc_, _fromRdf_, and _toRdf_ sections: + +* _compact_ tests have _input_, _expected_ and _context_ documents. + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. Additionally, if the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. +* _expand_ tests have _input_ and _expected_ documents. + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. +* _flatten_ tests have _input_ and _expected_ documents and an optional _context_ document. + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output + after potentially remapping blank node identifiers (see below). + Additionally, if the result is compacted and the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. +* _remote-doc_ tests have _input_ and _expected_ documents. + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. Options may be present to describe the intended HTTP behavior: + * _contentType_: Content-Type of the returned HTTP payload, defaults to the appropriate type for the _input_ suffix. + * _httpStatus_: The HTTP status code to return, defaults to `200`. + * _redirectTo_: The HTTP _Content-Location_ header value. + * _httpLink_: The HTTP _Link_ header value. +* _fromRdf_ tests have _input_ and _expected_ documents. + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. +* _toRdf_ tests have _input_ and _expected_ documents. + The _expected_ results can be compared using [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism). +* _http_ tests have _input_ and _expected_ documents and an optional _context_ document. + These tests describe the behavior of an HTTP server performing content-negotiation using the ACCEPT header, specified using the _accept_ option to generate the _expected_ result document. + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output + after potentially remapping blank node identifiers (see below). + Additionally, if the result is compacted and the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). + + If the result is to be compacted, and no explicit context URL is provided, test subjects should use http/default-context.jsonld + + If the profile parameter includes http://example.com/do-not-use, test subjects should reject the URL and not accept the media type. Otherwise, for any other URL, applications should apply the specified URL for the context or frame, as appropriate. + + For *NegativeEvaluationTests*, the result is the expected HTTP status. Options may be present to describe the intended HTTP behavior: + * _accept_: The HTTP _Accept_ header value. + +Unless `processingMode` is set explicitly in a test entry, `processingMode` is compatible with both `json-ld-1.0` and `json-ld-1.1`. + +Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference. + +## JSON-LD Object comparison + +If algorithms are invoked with the `ordered` flag set to `true`, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for _fromRdf_, unless the input quads are also ordered). If `ordered` is `false`, then the following algorithm will ensure arrays other than values of `@list` are compared without regard to order. + +JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality. + +* JSON objects are compared member by member without regard to the ordering of members within the object. Each member must have a corresponding member in the object being compared to. Values are compared recursively. +* JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is `@list`). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of `@list`, the order of these items is significant. +* JSON values are compared using strict equality. + +Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have `@container: @list` and the comparison algorithm will not consider ordering significant. + +# Running tests + +Implementations create their own infrastructure for running the test suite. In particular, the following should be considered: + +* _remote-doc_ tests will likely not return expected HTTP headers, so the _options_ should be used to determine what headers are associated with the input document. +* Some algorithms, particularly _fromRdf_, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of `@list`. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition). +* When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from `_:b0` may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and _expected_ to datsets to extract a bijective mapping of blank node labels between the two datasets as described in [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism)). + +# Contributing + +If you would like to contribute a new test or a fix to an existing test, +please follow these steps: + +1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, + that you will be creating a new test or fix and the purpose of the + change. +2. Clone the git repository: git://github.com/w3c/json-ld-wg.git +3. Make your changes and submit them via github, or via a 'git format-patch' + to the [JSON-LD Working Group mailing list](mailto:json-ld-wg@w3.org). diff --git a/core/src/test/resources/json-ld.org/compact-0066-in.jsonld b/core/src/test/resources/json-ld.org/compact-0066-in.jsonld deleted file mode 100644 index 7ae15cd4..00000000 --- a/core/src/test/resources/json-ld.org/compact-0066-in.jsonld +++ /dev/null @@ -1,34 +0,0 @@ -[ - { - "@id": "http://json-ld.org/test-suite/tests/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" - ], - "http://www.example.com/link": [ { - "@list": [ - { "@id": "http://json-ld.org/test-suite/tests/link" }, - { "@id": "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld#fragment-works" }, - { "@id": "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld?query=works" }, - { "@id": "http://json-ld.org/test-suite/tests/" }, - { "@id": "http://json-ld.org/test-suite/" }, - { "@id": "http://json-ld.org/test-suite/parent" }, - { "@id": "http://json-ld.org/test-suite/parent#fragment" }, - { "@id": "http://json-ld.org/parent-parent-eq-root" }, - { "@id": "http://json-ld.org/still-root" }, - { "@id": "http://json-ld.org/too-many-dots" }, - { "@id": "http://json-ld.org/absolute" }, - { "@id": "http://example.org/scheme-relative" } - ] - } ] - } -] diff --git a/core/src/test/resources/json-ld.org/compact-0066-out.jsonld b/core/src/test/resources/json-ld.org/compact-0066-out.jsonld deleted file mode 100644 index f7f5281c..00000000 --- a/core/src/test/resources/json-ld.org/compact-0066-out.jsonld +++ /dev/null @@ -1,33 +0,0 @@ -{ - "@context": { - "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } - }, - "@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" - ] -} diff --git a/core/src/test/resources/json-ld.org/compact-manifest.jsonld b/core/src/test/resources/json-ld.org/compact-manifest.jsonld index 14e06675..cdb24721 100644 --- a/core/src/test/resources/json-ld.org/compact-manifest.jsonld +++ b/core/src/test/resources/json-ld.org/compact-manifest.jsonld @@ -1,563 +1,573 @@ { - "@context": "http://json-ld.org/test-suite/context.jsonld", + "@context": "context.jsonld", "@id": "", "@type": "mf:Manifest", "name": "Compaction", "description": "JSON-LD compaction tests use object comparison.", - "baseIri": "http://json-ld.org/test-suite/tests/", + "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "drop free-floating nodes", "purpose": "Unreferenced nodes not containing properties are dropped", - "input": "compact-0001-in.jsonld", - "context": "compact-0001-context.jsonld", - "expect": "compact-0001-out.jsonld" + "input": "compact/0001-in.jsonld", + "context": "compact/0001-context.jsonld", + "expect": "compact/0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "basic", "purpose": "Basic term and value compaction", - "input": "compact-0002-in.jsonld", - "context": "compact-0002-context.jsonld", - "expect": "compact-0002-out.jsonld" + "input": "compact/0002-in.jsonld", + "context": "compact/0002-context.jsonld", + "expect": "compact/0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "drop null and unmapped properties", "purpose": "Properties mapped to null or which are never mapped are dropped", - "input": "compact-0003-in.jsonld", - "context": "compact-0003-context.jsonld", - "expect": "compact-0003-out.jsonld" + "input": "compact/0003-in.jsonld", + "context": "compact/0003-context.jsonld", + "expect": "compact/0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "optimize @set, keep empty arrays", "purpose": "Containers mapped to @set keep empty arrays", - "input": "compact-0004-in.jsonld", - "context": "compact-0004-context.jsonld", - "expect": "compact-0004-out.jsonld" + "input": "compact/0004-in.jsonld", + "context": "compact/0004-context.jsonld", + "expect": "compact/0004-out.jsonld" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@type and prefix compaction", "purpose": "Compact uses prefixes in @type", - "input": "compact-0005-in.jsonld", - "context": "compact-0005-context.jsonld", - "expect": "compact-0005-out.jsonld" + "input": "compact/0005-in.jsonld", + "context": "compact/0005-context.jsonld", + "expect": "compact/0005-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "keep expanded object format if @type doesn't match", "purpose": "Values not matching a coerced @type remain in expanded form", - "input": "compact-0006-in.jsonld", - "context": "compact-0006-context.jsonld", - "expect": "compact-0006-out.jsonld" + "input": "compact/0006-in.jsonld", + "context": "compact/0006-context.jsonld", + "expect": "compact/0006-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "add context", "purpose": "External context is added to the compacted document", - "input": "compact-0007-in.jsonld", - "context": "compact-0007-context.jsonld", - "expect": "compact-0007-out.jsonld" + "input": "compact/0007-in.jsonld", + "context": "compact/0007-context.jsonld", + "expect": "compact/0007-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "alias keywords", "purpose": "Aliases for keywords are used in compacted document", - "input": "compact-0008-in.jsonld", - "context": "compact-0008-context.jsonld", - "expect": "compact-0008-out.jsonld" + "input": "compact/0008-in.jsonld", + "context": "compact/0008-context.jsonld", + "expect": "compact/0008-out.jsonld" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "compact @id", "purpose": "Value with @id is compacted to string if property cast to @id", - "input": "compact-0009-in.jsonld", - "context": "compact-0009-context.jsonld", - "expect": "compact-0009-out.jsonld" + "input": "compact/0009-in.jsonld", + "context": "compact/0009-context.jsonld", + "expect": "compact/0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "array to @graph", "purpose": "An array of objects is serialized with @graph", - "input": "compact-0010-in.jsonld", - "context": "compact-0010-context.jsonld", - "expect": "compact-0010-out.jsonld" + "input": "compact/0010-in.jsonld", + "context": "compact/0010-context.jsonld", + "expect": "compact/0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "compact date", "purpose": "Expanded value with type xsd:dateTime is represented as string with type coercion", - "input": "compact-0011-in.jsonld", - "context": "compact-0011-context.jsonld", - "expect": "compact-0011-out.jsonld" + "input": "compact/0011-in.jsonld", + "context": "compact/0011-context.jsonld", + "expect": "compact/0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "native types", "purpose": "Native values are unmodified during compaction", - "input": "compact-0012-in.jsonld", - "context": "compact-0012-context.jsonld", - "expect": "compact-0012-out.jsonld" + "input": "compact/0012-in.jsonld", + "context": "compact/0012-context.jsonld", + "expect": "compact/0012-out.jsonld" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@value with @language", "purpose": "Values with @language remain in expended form by default", - "input": "compact-0013-in.jsonld", - "context": "compact-0013-context.jsonld", - "expect": "compact-0013-out.jsonld" + "input": "compact/0013-in.jsonld", + "context": "compact/0013-context.jsonld", + "expect": "compact/0013-out.jsonld" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "array to aliased @graph", "purpose": "Aliasing @graph uses alias in compacted document", - "input": "compact-0014-in.jsonld", - "context": "compact-0014-context.jsonld", - "expect": "compact-0014-out.jsonld" + "input": "compact/0014-in.jsonld", + "context": "compact/0014-context.jsonld", + "expect": "compact/0014-out.jsonld" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "best match compaction", "purpose": "Property with values of different types use most appropriate term when compacting", - "input": "compact-0015-in.jsonld", - "context": "compact-0015-context.jsonld", - "expect": "compact-0015-out.jsonld" + "input": "compact/0015-in.jsonld", + "context": "compact/0015-context.jsonld", + "expect": "compact/0015-out.jsonld" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "recursive named graphs", "purpose": "Compacting a document with multiple embedded uses of @graph", - "input": "compact-0016-in.jsonld", - "context": "compact-0016-context.jsonld", - "expect": "compact-0016-out.jsonld" + "input": "compact/0016-in.jsonld", + "context": "compact/0016-context.jsonld", + "expect": "compact/0016-out.jsonld" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "A term mapping to null removes the mapping", "purpose": "Mapping a term to null causes the property and its values to be removed from the compacted document", - "input": "compact-0017-in.jsonld", - "context": "compact-0017-context.jsonld", - "expect": "compact-0017-out.jsonld" + "input": "compact/0017-in.jsonld", + "context": "compact/0017-context.jsonld", + "expect": "compact/0017-out.jsonld" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "best matching term for lists", "purpose": "Lists with values of different types use best term in compacted document", - "input": "compact-0018-in.jsonld", - "context": "compact-0018-context.jsonld", - "expect": "compact-0018-out.jsonld" + "input": "compact/0018-in.jsonld", + "context": "compact/0018-context.jsonld", + "expect": "compact/0018-out.jsonld" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Keep duplicate values in @list and @set", "purpose": "Duplicate values in @list or @set are retained in compacted document", - "input": "compact-0019-in.jsonld", - "context": "compact-0019-context.jsonld", - "expect": "compact-0019-out.jsonld" + "input": "compact/0019-in.jsonld", + "context": "compact/0019-context.jsonld", + "expect": "compact/0019-out.jsonld" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact @id that is a property IRI when @container is @list", "purpose": "A term with @container: @list is also used as the value of an @id, if appropriate", - "input": "compact-0020-in.jsonld", - "context": "compact-0020-context.jsonld", - "expect": "compact-0020-out.jsonld" + "input": "compact/0020-in.jsonld", + "context": "compact/0020-context.jsonld", + "expect": "compact/0020-out.jsonld" }, { "@id": "#t0021", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact properties and types using @vocab", "purpose": "@vocab is used to create relative properties and types if no other term matches", - "input": "compact-0021-in.jsonld", - "context": "compact-0021-context.jsonld", - "expect": "compact-0021-out.jsonld" + "input": "compact/0021-in.jsonld", + "context": "compact/0021-context.jsonld", + "expect": "compact/0021-out.jsonld" }, { "@id": "#t0022", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@list compaction of nested properties", "purpose": "Compact nested properties using @list containers", - "input": "compact-0022-in.jsonld", - "context": "compact-0022-context.jsonld", - "expect": "compact-0022-out.jsonld" + "input": "compact/0022-in.jsonld", + "context": "compact/0022-context.jsonld", + "expect": "compact/0022-out.jsonld" }, { "@id": "#t0023", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "prefer @vocab over compacted IRIs", "purpose": "@vocab takes precedence over prefixes - even if the result is longer", - "input": "compact-0023-in.jsonld", - "context": "compact-0023-context.jsonld", - "expect": "compact-0023-out.jsonld" + "input": "compact/0023-in.jsonld", + "context": "compact/0023-context.jsonld", + "expect": "compact/0023-out.jsonld" }, { "@id": "#t0024", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "most specific term matching in @list.", "purpose": "The most specific term that matches all of the elements in the list, taking into account the default language, must be selected.", - "input": "compact-0024-in.jsonld", - "context": "compact-0024-context.jsonld", - "expect": "compact-0024-out.jsonld" + "input": "compact/0024-in.jsonld", + "context": "compact/0024-context.jsonld", + "expect": "compact/0024-out.jsonld" }, { "@id": "#t0025", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Language maps", "purpose": "Multiple values with different languages use language maps if property has @container: @language", - "input": "compact-0025-in.jsonld", - "context": "compact-0025-context.jsonld", - "expect": "compact-0025-out.jsonld" + "input": "compact/0025-in.jsonld", + "context": "compact/0025-context.jsonld", + "expect": "compact/0025-out.jsonld" }, { "@id": "#t0026", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Language map term selection with complications", "purpose": "Test appropriate property use given language maps with @vocab, a default language, and a competing term", - "input": "compact-0026-in.jsonld", - "context": "compact-0026-context.jsonld", - "expect": "compact-0026-out.jsonld" + "input": "compact/0026-in.jsonld", + "context": "compact/0026-context.jsonld", + "expect": "compact/0026-out.jsonld" }, { "@id": "#t0027", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@container: @set with multiple values", "purpose": "Fall back to term with @set container if term with language map is defined", - "input": "compact-0027-in.jsonld", - "context": "compact-0027-context.jsonld", - "expect": "compact-0027-out.jsonld" + "input": "compact/0027-in.jsonld", + "context": "compact/0027-context.jsonld", + "expect": "compact/0027-out.jsonld" }, { "@id": "#t0028", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Alias keywords and use @vocab", "purpose": "Combination of keyword aliases and @vocab", - "input": "compact-0028-in.jsonld", - "context": "compact-0028-context.jsonld", - "expect": "compact-0028-out.jsonld" + "input": "compact/0028-in.jsonld", + "context": "compact/0028-context.jsonld", + "expect": "compact/0028-out.jsonld" }, { "@id": "#t0029", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Simple @index map", "purpose": "Output uses index mapping if term is defined with @container: @index", - "input": "compact-0029-in.jsonld", - "context": "compact-0029-context.jsonld", - "expect": "compact-0029-out.jsonld" + "input": "compact/0029-in.jsonld", + "context": "compact/0029-context.jsonld", + "expect": "compact/0029-out.jsonld" }, { "@id": "#t0030", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "non-matching @container: @index", "purpose": "Preserve @index tags if not compacted to an index map", - "input": "compact-0030-in.jsonld", - "context": "compact-0030-context.jsonld", - "expect": "compact-0030-out.jsonld" + "input": "compact/0030-in.jsonld", + "context": "compact/0030-context.jsonld", + "expect": "compact/0030-out.jsonld" }, { "@id": "#t0031", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact @reverse", "purpose": "Compact traverses through @reverse", - "input": "compact-0031-in.jsonld", - "context": "compact-0031-context.jsonld", - "expect": "compact-0031-out.jsonld" + "input": "compact/0031-in.jsonld", + "context": "compact/0031-context.jsonld", + "expect": "compact/0031-out.jsonld" }, { "@id": "#t0032", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact keys in reverse-maps", "purpose": "Compact traverses through @reverse", - "input": "compact-0032-in.jsonld", - "context": "compact-0032-context.jsonld", - "expect": "compact-0032-out.jsonld" + "input": "compact/0032-in.jsonld", + "context": "compact/0032-context.jsonld", + "expect": "compact/0032-out.jsonld" }, { "@id": "#t0033", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact reverse-map to reverse property", "purpose": "A reverse map is replaced with a matching property defined with @reverse", - "input": "compact-0033-in.jsonld", - "context": "compact-0033-context.jsonld", - "expect": "compact-0033-out.jsonld" + "input": "compact/0033-in.jsonld", + "context": "compact/0033-context.jsonld", + "expect": "compact/0033-out.jsonld" }, { "@id": "#t0034", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Skip property with @reverse if no match", "purpose": "Do not use reverse property if no other property matches as normal property", - "input": "compact-0034-in.jsonld", - "context": "compact-0034-context.jsonld", - "expect": "compact-0034-out.jsonld" + "input": "compact/0034-in.jsonld", + "context": "compact/0034-context.jsonld", + "expect": "compact/0034-out.jsonld" }, { "@id": "#t0035", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact @reverse node references using strings", "purpose": "Compact node references to strings for reverse properties using @type: @id", - "input": "compact-0035-in.jsonld", - "context": "compact-0035-context.jsonld", - "expect": "compact-0035-out.jsonld" + "input": "compact/0035-in.jsonld", + "context": "compact/0035-context.jsonld", + "expect": "compact/0035-out.jsonld" }, { "@id": "#t0036", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact reverse properties using index containers", "purpose": "Compact using both reverse properties and index containers", - "input": "compact-0036-in.jsonld", - "context": "compact-0036-context.jsonld", - "expect": "compact-0036-out.jsonld" + "input": "compact/0036-in.jsonld", + "context": "compact/0036-context.jsonld", + "expect": "compact/0036-out.jsonld" }, { "@id": "#t0037", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact keys in @reverse using @vocab", "purpose": "Compact keys in @reverse using @vocab", - "input": "compact-0037-in.jsonld", - "context": "compact-0037-context.jsonld", - "expect": "compact-0037-out.jsonld" + "input": "compact/0037-in.jsonld", + "context": "compact/0037-context.jsonld", + "expect": "compact/0037-out.jsonld" }, { "@id": "#t0038", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Index map round-tripping", - "purpose": "Complext round-tripping use case from Drupal", - "input": "compact-0038-in.jsonld", - "context": "compact-0038-context.jsonld", - "expect": "compact-0038-out.jsonld" + "purpose": "Complex round-tripping use case from Drupal", + "option": {"specVersion": "json-ld-1.0"}, + "input": "compact/0038-in.jsonld", + "context": "compact/0038-context.jsonld", + "expect": "compact/0038-out.jsonld" + }, { + "@id": "#ta038", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Index map round-tripping", + "purpose": "Complex round-tripping use case from Drupal", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/0038-in.jsonld", + "context": "compact/0038-context.jsonld", + "expect": "compact/0038a-out.jsonld" }, { "@id": "#t0039", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@graph is array", "purpose": "Value of @graph is always an array", - "input": "compact-0039-in.jsonld", - "context": "compact-0039-context.jsonld", - "expect": "compact-0039-out.jsonld" + "input": "compact/0039-in.jsonld", + "context": "compact/0039-context.jsonld", + "expect": "compact/0039-out.jsonld" }, { "@id": "#t0040", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@list is array", "purpose": "Ensure that value of @list is always an array", - "input": "compact-0040-in.jsonld", - "context": "compact-0040-context.jsonld", - "expect": "compact-0040-out.jsonld" + "input": "compact/0040-in.jsonld", + "context": "compact/0040-context.jsonld", + "expect": "compact/0040-out.jsonld" }, { "@id": "#t0041", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "index rejects term having @list", "purpose": "If an index is present, a term having an @list container is not selected", - "input": "compact-0041-in.jsonld", - "context": "compact-0041-context.jsonld", - "expect": "compact-0041-out.jsonld" + "input": "compact/0041-in.jsonld", + "context": "compact/0041-context.jsonld", + "expect": "compact/0041-out.jsonld" }, { "@id": "#t0042", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@list keyword aliasing", "purpose": "Make sure keyword aliasing works if a list can't be compacted", - "input": "compact-0042-in.jsonld", - "context": "compact-0042-context.jsonld", - "expect": "compact-0042-out.jsonld" + "input": "compact/0042-in.jsonld", + "context": "compact/0042-context.jsonld", + "expect": "compact/0042-out.jsonld" }, { "@id": "#t0043", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "select term over @vocab", "purpose": "Ensure that @vocab compaction isn't used if the result collides with a term", - "input": "compact-0043-in.jsonld", - "context": "compact-0043-context.jsonld", - "expect": "compact-0043-out.jsonld" + "input": "compact/0043-in.jsonld", + "context": "compact/0043-context.jsonld", + "expect": "compact/0043-out.jsonld" }, { "@id": "#t0044", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@type: @vocab in reverse-map", "purpose": "Prefer properties with @type: @vocab in reverse-maps if the value can be compacted to a term", - "input": "compact-0044-in.jsonld", - "context": "compact-0044-context.jsonld", - "expect": "compact-0044-out.jsonld" + "input": "compact/0044-in.jsonld", + "context": "compact/0044-context.jsonld", + "expect": "compact/0044-out.jsonld" }, { "@id": "#t0045", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@id value uses relative IRI, not term", "purpose": "Values of @id are transformed to relative IRIs, terms are ignored", - "input": "compact-0045-in.jsonld", - "context": "compact-0045-context.jsonld", - "expect": "compact-0045-out.jsonld" + "input": "compact/0045-in.jsonld", + "context": "compact/0045-context.jsonld", + "expect": "compact/0045-out.jsonld" }, { "@id": "#t0046", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "multiple objects without @context use @graph", "purpose": "Wrap top-level array into @graph even if no context is passed", - "input": "compact-0046-in.jsonld", - "context": "compact-0046-context.jsonld", - "expect": "compact-0046-out.jsonld" + "input": "compact/0046-in.jsonld", + "context": "compact/0046-context.jsonld", + "expect": "compact/0046-out.jsonld" }, { "@id": "#t0047", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Round-trip relative URLs", "purpose": "Relative URLs remain relative after compaction", - "input": "compact-0047-in.jsonld", - "context": "compact-0047-context.jsonld", - "expect": "compact-0047-out.jsonld" + "input": "compact/0047-in.jsonld", + "context": "compact/0047-context.jsonld", + "expect": "compact/0047-out.jsonld" }, { "@id": "#t0048", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "term with @language: null", "purpose": "Prefer terms with a language mapping set to null over terms without language-mapping for non-strings", - "input": "compact-0048-in.jsonld", - "context": "compact-0048-context.jsonld", - "expect": "compact-0048-out.jsonld" + "input": "compact/0048-in.jsonld", + "context": "compact/0048-context.jsonld", + "expect": "compact/0048-out.jsonld" }, { "@id": "#t0049", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Round tripping of lists that contain just IRIs", "purpose": "List compaction without @container: @list still uses strings if @type: @id", - "input": "compact-0049-in.jsonld", - "context": "compact-0049-context.jsonld", - "expect": "compact-0049-out.jsonld" + "input": "compact/0049-in.jsonld", + "context": "compact/0049-context.jsonld", + "expect": "compact/0049-out.jsonld" }, { "@id": "#t0050", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Reverse properties require @type: @id to use string values", "purpose": "Node references in reverse properties are not compacted to strings without explicit type-coercion", - "input": "compact-0050-in.jsonld", - "context": "compact-0050-context.jsonld", - "expect": "compact-0050-out.jsonld" + "input": "compact/0050-in.jsonld", + "context": "compact/0050-context.jsonld", + "expect": "compact/0050-out.jsonld" }, { "@id": "#t0051", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Round tripping @list with scalar", "purpose": "Native values survive round-tripping with @list", - "input": "compact-0051-in.jsonld", - "context": "compact-0051-context.jsonld", - "expect": "compact-0051-out.jsonld" + "input": "compact/0051-in.jsonld", + "context": "compact/0051-context.jsonld", + "expect": "compact/0051-out.jsonld" }, { "@id": "#t0052", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Round tripping @list with scalar and @graph alias", "purpose": "Native values survive round-tripping with @list and @graph alias", - "input": "compact-0052-in.jsonld", - "context": "compact-0052-context.jsonld", - "expect": "compact-0052-out.jsonld" + "input": "compact/0052-in.jsonld", + "context": "compact/0052-context.jsonld", + "expect": "compact/0052-out.jsonld" }, { "@id": "#t0053", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Use @type: @vocab if no @type: @id", "purpose": "Compact to @type: @vocab when no @type: @id term available", - "input": "compact-0053-in.jsonld", - "context": "compact-0053-context.jsonld", - "expect": "compact-0053-out.jsonld" + "input": "compact/0053-in.jsonld", + "context": "compact/0053-context.jsonld", + "expect": "compact/0053-out.jsonld" }, { "@id": "#t0054", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact to @type: @vocab and compact @id to term", "purpose": "Compact to @type: @vocab and compact @id to term", - "input": "compact-0054-in.jsonld", - "context": "compact-0054-context.jsonld", - "expect": "compact-0054-out.jsonld" + "input": "compact/0054-in.jsonld", + "context": "compact/0054-context.jsonld", + "expect": "compact/0054-out.jsonld" }, { "@id": "#t0055", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Round tripping @type: @vocab", "purpose": "Compacting IRI value of property with @type: @vocab can use term", - "input": "compact-0055-in.jsonld", - "context": "compact-0055-context.jsonld", - "expect": "compact-0055-out.jsonld" + "input": "compact/0055-in.jsonld", + "context": "compact/0055-context.jsonld", + "expect": "compact/0055-out.jsonld" }, { "@id": "#t0056", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Prefer @type: @vocab over @type: @id for terms", "purpose": "Compacting IRI value of property with @type: @vocab can use term", - "input": "compact-0056-in.jsonld", - "context": "compact-0056-context.jsonld", - "expect": "compact-0056-out.jsonld" + "input": "compact/0056-in.jsonld", + "context": "compact/0056-context.jsonld", + "expect": "compact/0056-out.jsonld" }, { "@id": "#t0057", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Complex round tripping @type: @vocab and @type: @id", "purpose": "Compacting IRI value of property with @type: @vocab can use term; more complex", - "input": "compact-0057-in.jsonld", - "context": "compact-0057-context.jsonld", - "expect": "compact-0057-out.jsonld" + "input": "compact/0057-in.jsonld", + "context": "compact/0057-context.jsonld", + "expect": "compact/0057-out.jsonld" }, { "@id": "#t0058", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Prefer @type: @id over @type: @vocab for non-terms", "purpose": "Choose a term having @type: @id over @type: @value if value is not a term", - "input": "compact-0058-in.jsonld", - "context": "compact-0058-context.jsonld", - "expect": "compact-0058-out.jsonld" + "input": "compact/0058-in.jsonld", + "context": "compact/0058-context.jsonld", + "expect": "compact/0058-out.jsonld" }, { "@id": "#t0059", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Term with @type: @vocab if no @type: @id", "purpose": "If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms", - "input": "compact-0059-in.jsonld", - "context": "compact-0059-context.jsonld", - "expect": "compact-0059-out.jsonld" + "input": "compact/0059-in.jsonld", + "context": "compact/0059-context.jsonld", + "expect": "compact/0059-out.jsonld" }, { "@id": "#t0060", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Term with @type: @id if no @type: @vocab and term value", "purpose": "If there's no term with @type: @vocab, use terms with @type: @id for IRIs mapped to terms", - "input": "compact-0060-in.jsonld", - "context": "compact-0060-context.jsonld", - "expect": "compact-0060-out.jsonld" + "input": "compact/0060-in.jsonld", + "context": "compact/0060-context.jsonld", + "expect": "compact/0060-out.jsonld" }, { "@id": "#t0061", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@type: @vocab/@id with values matching either", "purpose": "Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab)", - "input": "compact-0061-in.jsonld", - "context": "compact-0061-context.jsonld", - "expect": "compact-0061-out.jsonld" + "input": "compact/0061-in.jsonld", + "context": "compact/0061-context.jsonld", + "expect": "compact/0061-out.jsonld" }, { "@id": "#t0062", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@type: @vocab and relative IRIs", "purpose": "Relative IRIs don't round-trip with @type: @vocab", - "input": "compact-0062-in.jsonld", - "context": "compact-0062-context.jsonld", - "expect": "compact-0062-out.jsonld" + "input": "compact/0062-in.jsonld", + "context": "compact/0062-context.jsonld", + "expect": "compact/0062-out.jsonld" }, { "@id": "#t0063", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact IRI round-tripping with @type: @vocab", "purpose": "Term with @type: @vocab will use compact IRIs", - "input": "compact-0063-in.jsonld", - "context": "compact-0063-context.jsonld", - "expect": "compact-0063-out.jsonld" + "input": "compact/0063-in.jsonld", + "context": "compact/0063-context.jsonld", + "expect": "compact/0063-out.jsonld" }, { "@id": "#t0064", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact language-tagged and indexed strings to index-map", "purpose": "Given values with both @index and @language and term index-map term, use index map", - "input": "compact-0064-in.jsonld", - "context": "compact-0064-context.jsonld", - "expect": "compact-0064-out.jsonld" + "input": "compact/0064-in.jsonld", + "context": "compact/0064-context.jsonld", + "expect": "compact/0064-out.jsonld" }, { "@id": "#t0065", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Language-tagged and indexed strings with language-map", "purpose": "Language-tagged and indexed strings don't compact to language-map", - "input": "compact-0065-in.jsonld", - "context": "compact-0065-context.jsonld", - "expect": "compact-0065-out.jsonld" + "input": "compact/0065-in.jsonld", + "context": "compact/0065-context.jsonld", + "expect": "compact/0065-out.jsonld" }, { "@id": "#t0066", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Relative IRIs", "purpose": "Complex use cases for relative IRI compaction", - "input": "compact-0066-in.jsonld", - "context": "compact-0066-context.jsonld", - "expect": "compact-0066-out.jsonld" + "input": "compact/0066-in.jsonld", + "context": "compact/0066-context.jsonld", + "expect": "compact/0066-out.jsonld" }, { "@id": "#t0067", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Reverse properties with blank nodes", "purpose": "Compact reverse property whose values are unlabeled blank nodes", - "input": "compact-0067-in.jsonld", - "context": "compact-0067-context.jsonld", - "expect": "compact-0067-out.jsonld" + "input": "compact/0067-in.jsonld", + "context": "compact/0067-context.jsonld", + "expect": "compact/0067-out.jsonld" }, { "@id": "#t0068", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Single value reverse properties", "purpose": "Single values of reverse properties are compacted as values of ordinary properties", - "input": "compact-0068-in.jsonld", - "context": "compact-0068-context.jsonld", - "expect": "compact-0068-out.jsonld" + "input": "compact/0068-in.jsonld", + "context": "compact/0068-context.jsonld", + "expect": "compact/0068-out.jsonld" }, { "@id": "#t0069", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Single value reverse properties with @set", "purpose": "Single values are kept in array form for reverse properties if the container is to @set", - "input": "compact-0069-in.jsonld", - "context": "compact-0069-context.jsonld", - "expect": "compact-0069-out.jsonld" + "input": "compact/0069-in.jsonld", + "context": "compact/0069-context.jsonld", + "expect": "compact/0069-out.jsonld" }, { "@id": "#t0070", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -566,55 +576,1364 @@ "option": { "compactArrays": false }, - "input": "compact-0070-in.jsonld", - "context": "compact-0070-context.jsonld", - "expect": "compact-0070-out.jsonld" + "input": "compact/0070-in.jsonld", + "context": "compact/0070-context.jsonld", + "expect": "compact/0070-out.jsonld" }, { "@id": "#t0071", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Input has multiple @contexts, output has one", "purpose": "Expanding input with multiple @contexts and compacting with just one doesn't output undefined properties", - "input": "compact-0071-in.jsonld", - "context": "compact-0071-context.jsonld", - "expect": "compact-0071-out.jsonld" + "input": "compact/0071-in.jsonld", + "context": "compact/0071-context.jsonld", + "expect": "compact/0071-out.jsonld" }, { "@id": "#t0072", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Default language and unmapped properties", "purpose": "Ensure that the default language is handled correctly for unmapped properties", - "input": "compact-0072-in.jsonld", - "context": "compact-0072-context.jsonld", - "expect": "compact-0072-out.jsonld" - }, - { + "input": "compact/0072-in.jsonld", + "context": "compact/0072-context.jsonld", + "expect": "compact/0072-out.jsonld" + }, { + "@id": "#t0073", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Mapped @id and @type", + "purpose": "Ensure that compaction works with mapped @id and @type", + "input": "compact/0073-in.jsonld", + "context": "compact/0073-context.jsonld", + "expect": "compact/0073-out.jsonld" + }, { + "@id": "#t0074", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Container as a list with type of @id", + "purpose": "Ensure that compaction works for empty list when property has container declared as @list and type as @id", + "input": "compact/0074-in.jsonld", + "context": "compact/0074-context.jsonld", + "expect": "compact/0074-out.jsonld" + }, { + "@id": "#t0075", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact using relative fragment identifier", + "purpose": "Compacting a relative round-trips", + "option": {"processingMode": "json-ld-1.0", "base": "http://example.org/"}, + "input": "compact/0075-in.jsonld", + "context": "compact/0075-context.jsonld", + "expect": "compact/0075-out.jsonld" + }, { + "@id": "#t0076", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compacting IRI equivalent to base", + "purpose": "Compacting IRI equivalent to base, uses last path segment of base ending in '/'", + "input": "compact/0076-in.jsonld", + "context": "compact/0076-context.jsonld", + "expect": "compact/0076-out.jsonld" + }, { + "@id": "#t0077", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact a @graph container", + "purpose": "Compact a @graph container", + "input": "compact/0077-in.jsonld", + "context": "compact/0077-context.jsonld", + "expect": "compact/0077-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0078", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact a [@graph, @set] container", + "purpose": "Compact with [@graph, @set]", + "input": "compact/0078-in.jsonld", + "context": "compact/0078-context.jsonld", + "expect": "compact/0078-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0079", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact a @graph container having @index", + "purpose": "Verify that having both @graph and @index allows @graph container compaction", + "input": "compact/0079-in.jsonld", + "context": "compact/0079-context.jsonld", + "expect": "compact/0079-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0080", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Do not compact a graph having @id with a term having an @graph container", + "purpose": "Graph compaction works only on simple graphs", + "input": "compact/0080-in.jsonld", + "context": "compact/0080-context.jsonld", + "expect": "compact/0080-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0081", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact a [@graph, @index] container", + "purpose": "Compact a @graph container with @index", + "input": "compact/0081-in.jsonld", + "context": "compact/0081-context.jsonld", + "expect": "compact/0081-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0082", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact a [@graph, @index, @set] container", + "purpose": "Compact a @graph container with @index and @set", + "input": "compact/0082-in.jsonld", + "context": "compact/0082-context.jsonld", + "expect": "compact/0082-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0083", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "[@graph, @index] does not compact graph with @id", + "purpose": "Graph compaction with @graph and @index works only on simple graphs", + "input": "compact/0083-in.jsonld", + "context": "compact/0083-context.jsonld", + "expect": "compact/0083-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0084", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact a simple graph with a [@graph, @id] container", + "purpose": "Compact a simple graph using a @graph container with @id", + "input": "compact/0084-in.jsonld", + "context": "compact/0084-context.jsonld", + "expect": "compact/0084-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0085", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact a named graph with a [@graph, @id] container", + "purpose": "Compact a named graph using a @graph container with @id", + "input": "compact/0085-in.jsonld", + "context": "compact/0085-context.jsonld", + "expect": "compact/0085-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0086", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact a simple graph with a [@graph, @id, @set] container", + "purpose": "Compact a simple graph using a @graph container with @id and @set", + "input": "compact/0086-in.jsonld", + "context": "compact/0086-context.jsonld", + "expect": "compact/0086-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0087", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact a named graph with a [@graph, @id, @set] container", + "purpose": "Compact a named graph using a @graph container with @id and @set", + "input": "compact/0087-in.jsonld", + "context": "compact/0087-context.jsonld", + "expect": "compact/0087-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0088", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact a graph with @index using a [@graph, @id] container", + "purpose": "Compact a @graph container with @id and @set, discarding an @index value", + "input": "compact/0088-in.jsonld", + "context": "compact/0088-context.jsonld", + "expect": "compact/0088-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0089", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Language map term selection with complications", + "purpose": "Test appropriate property use given language maps with @vocab, a default language, no language, and competing terms", + "input": "compact/0089-in.jsonld", + "context": "compact/0089-context.jsonld", + "expect": "compact/0089-out.jsonld" + }, { + "@id": "#t0090", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact input with @graph container to output without @graph container", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0090-in.jsonld", + "context": "compact/0090-context.jsonld", + "expect": "compact/0090-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0091", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact input with @graph container to output without @graph container with compactArrays unset", + "purpose": "Ensure @graph appears properly in output with compactArrays unset", + "input": "compact/0091-in.jsonld", + "context": "compact/0091-context.jsonld", + "expect": "compact/0091-out.jsonld", + "option": {"compactArrays": false, "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0092", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact input with [@graph, @set] container to output without [@graph, @set] container", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0092-in.jsonld", + "context": "compact/0092-context.jsonld", + "expect": "compact/0092-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0093", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact input with [@graph, @set] container to output without [@graph, @set] container with compactArrays unset", + "purpose": "Ensure @graph appears properly in output with compactArrays unset", + "input": "compact/0093-in.jsonld", + "context": "compact/0093-context.jsonld", + "expect": "compact/0093-out.jsonld", + "option": {"compactArrays": false, "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0094", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact input with [@graph, @set] container to output without [@graph, @set] container", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0094-in.jsonld", + "context": "compact/0094-context.jsonld", + "expect": "compact/0094-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0095", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Relative propererty IRIs with @vocab: ''", + "purpose": "Complex use cases for relative IRI compaction or properties", + "input": "compact/0095-in.jsonld", + "context": "compact/0095-context.jsonld", + "expect": "compact/0095-out.jsonld" + }, { + "@id": "#t0096", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact @graph container (multiple objects)", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0096-in.jsonld", + "context": "compact/0096-context.jsonld", + "expect": "compact/0096-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0097", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact [@graph, @set] container (multiple objects)", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0097-in.jsonld", + "context": "compact/0097-context.jsonld", + "expect": "compact/0097-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0098", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact [@graph, @index] container (multiple indexed objects)", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0098-in.jsonld", + "context": "compact/0098-context.jsonld", + "expect": "compact/0098-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0099", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact [@graph, @index, @set] container (multiple indexed objects)", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0099-in.jsonld", + "context": "compact/0099-context.jsonld", + "expect": "compact/0099-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0100", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact [@graph, @id] container (multiple indexed objects)", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0100-in.jsonld", + "context": "compact/0100-context.jsonld", + "expect": "compact/0100-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0101", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact [@graph, @id, @set] container (multiple indexed objects)", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0101-in.jsonld", + "context": "compact/0101-context.jsonld", + "expect": "compact/0101-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0102", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact [@graph, @index] container (multiple indexes and objects)", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0102-in.jsonld", + "context": "compact/0102-context.jsonld", + "expect": "compact/0102-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0103", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact [@graph, @id] container (multiple ids and objects)", + "purpose": "Ensure @graph appears properly in output", + "input": "compact/0103-in.jsonld", + "context": "compact/0103-context.jsonld", + "expect": "compact/0103-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { "@id": "#t0104", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact @type with @container: @set", "purpose": "Ensures that a single @type value is represented as an array", - "input": "compact-0104-in.jsonld", - "context": "compact-0104-context.jsonld", - "expect": "compact-0104-out.jsonld", + "input": "compact/0104-in.jsonld", + "context": "compact/0104-context.jsonld", + "expect": "compact/0104-out.jsonld", "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, - { + }, { "@id": "#t0105", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact @type with @container: @set using an alias of @type", "purpose": "Ensures that a single @type value is represented as an array", - "input": "compact-0105-in.jsonld", - "context": "compact-0105-context.jsonld", - "expect": "compact-0105-out.jsonld", + "input": "compact/0105-in.jsonld", + "context": "compact/0105-context.jsonld", + "expect": "compact/0105-out.jsonld", "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, - { + }, { "@id": "#t0106", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Do not compact @type with @container: @set to an array using an alias of @type", "purpose": "Ensures that a single @type value is not represented as an array in 1.0", - "input": "compact-0106-in.jsonld", - "context": "compact-0106-context.jsonld", - "expect": "compact-0106-out.jsonld", + "input": "compact/0106-in.jsonld", + "context": "compact/0106-context.jsonld", + "expect": "compact/0106-out.jsonld", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0107", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Relative propererty IRIs with @vocab: ''", + "purpose": "Complex use cases for relative IRI compaction or properties", + "input": "compact/0107-in.jsonld", + "context": "compact/0107-context.jsonld", + "expect": "compact/0107-out.jsonld" + }, { + "@id": "#t0108", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Relative propererty IRIs with @vocab: ''", + "purpose": "Complex use cases for relative IRI compaction or properties", + "name": "context with JavaScript Object property names", + "purpose": "Compact with context including JavaScript Object property names", + "input": "compact/0108-in.jsonld", + "context": "compact/0108-context.jsonld", + "expect": "compact/0108-out.jsonld" + }, { + "@id": "#tc001", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "adding new term", + "purpose": "Compaction using a scoped context uses term scope for selecting proper term", + "input": "compact/c001-in.jsonld", + "context": "compact/c001-context.jsonld", + "expect": "compact/c001-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc002", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "overriding a term", + "purpose": "Compaction using a scoped context uses term scope for selecting proper term", + "input": "compact/c002-in.jsonld", + "context": "compact/c002-context.jsonld", + "expect": "compact/c002-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc003", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "property and value with different terms mapping to the same expanded property", + "purpose": "Compaction using a scoped context uses term scope for selecting proper term", + "input": "compact/c003-in.jsonld", + "context": "compact/c003-context.jsonld", + "expect": "compact/c003-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc004", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "deep @context affects nested nodes", + "purpose": "Compaction using a scoped context uses term scope for selecting proper term", + "input": "compact/c004-in.jsonld", + "context": "compact/c004-context.jsonld", + "expect": "compact/c004-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc005", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "scoped context layers on intemediate contexts", + "purpose": "Compaction using a scoped context uses term scope for selecting proper term", + "input": "compact/c005-in.jsonld", + "context": "compact/c005-context.jsonld", + "expect": "compact/c005-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc006", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "adding new term", + "purpose": "scoped context on @type", + "input": "compact/c006-in.jsonld", + "context": "compact/c006-context.jsonld", + "expect": "compact/c006-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc007", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "overriding a term", + "purpose": "scoped context on @type", + "input": "compact/c007-in.jsonld", + "context": "compact/c007-context.jsonld", + "expect": "compact/c007-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc008", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "alias of @type", + "purpose": "scoped context on @type", + "input": "compact/c008-in.jsonld", + "context": "compact/c008-context.jsonld", + "expect": "compact/c008-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc009", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "deep @type-scoped @context does NOT affect nested nodes", + "purpose": "scoped context on @type", + "input": "compact/c009-in.jsonld", + "context": "compact/c009-context.jsonld", + "expect": "compact/c009-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc010", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "scoped context layers on intemediate contexts", + "purpose": "scoped context on @type", + "input": "compact/c010-in.jsonld", + "context": "compact/c010-context.jsonld", + "expect": "compact/c010-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc011", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "applies context for all values", + "purpose": "scoped context on @type", + "input": "compact/c011-in.jsonld", + "context": "compact/c011-context.jsonld", + "expect": "compact/c011-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc012", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "orders @type terms when applying scoped contexts", + "purpose": "scoped context on @type", + "input": "compact/c012-in.jsonld", + "context": "compact/c012-context.jsonld", + "expect": "compact/c012-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc013", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "deep property-term scoped @context in @type-scoped @context affects nested nodes", + "purpose": "scoped context on @type", + "input": "compact/c013-in.jsonld", + "context": "compact/c013-context.jsonld", + "expect": "compact/c013-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc014", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type-scoped context nullification", + "purpose": "type-scoped context nullification", + "input": "compact/c014-in.jsonld", + "context": "compact/c014-context.jsonld", + "expect": "compact/c014-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc015", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type-scoped base", + "purpose": "type-scoped base", + "input": "compact/c015-in.jsonld", + "context": "compact/c015-context.jsonld", + "expect": "compact/c015-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc016", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type-scoped vocab", + "purpose": "type-scoped vocab", + "input": "compact/c016-in.jsonld", + "context": "compact/c016-context.jsonld", + "expect": "compact/c016-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc017", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "multiple type-scoped contexts are properly reverted", + "purpose": "multiple type-scoped contexts are property reverted", + "input": "compact/c017-in.jsonld", + "context": "compact/c017-context.jsonld", + "expect": "compact/c017-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc018", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "multiple type-scoped types resolved against previous context", + "purpose": "multiple type-scoped types resolved against previous context", + "input": "compact/c018-in.jsonld", + "context": "compact/c018-context.jsonld", + "expect": "compact/c018-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc019", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type-scoped context with multiple property scoped terms", + "purpose": "type-scoped context with multiple property scoped terms", + "input": "compact/c019-in.jsonld", + "context": "compact/c019-context.jsonld", + "expect": "compact/c019-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc020", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type-scoped value", + "purpose": "type-scoped value", + "input": "compact/c020-in.jsonld", + "context": "compact/c020-context.jsonld", + "expect": "compact/c020-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc021", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type-scoped value mix", + "purpose": "type-scoped value mix", + "input": "compact/c021-in.jsonld", + "context": "compact/c021-context.jsonld", + "expect": "compact/c021-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc022", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type-scoped property-scoped contexts including @type:@vocab", + "purpose": "type-scoped property-scoped contexts including @type:@vocab", + "input": "compact/c022-in.jsonld", + "context": "compact/c022-context.jsonld", + "expect": "compact/c022-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc023", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "composed type-scoped property-scoped contexts including @type:@vocab", + "purpose": "composed type-scoped property-scoped contexts including @type:@vocab", + "input": "compact/c023-in.jsonld", + "context": "compact/c023-context.jsonld", + "expect": "compact/c023-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc024", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type-scoped + property-scoped + values evaluates against previous context", + "purpose": "type-scoped + property-scoped + values evaluates against previous context", + "input": "compact/c024-in.jsonld", + "context": "compact/c024-context.jsonld", + "expect": "compact/c024-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc025", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type-scoped + graph container", + "purpose": "type-scoped + graph container", + "input": "compact/c025-in.jsonld", + "context": "compact/c025-context.jsonld", + "expect": "compact/c025-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#te001", + "@type": [ "jld:NegativeEvaluationTest", "jld:CompactTest" ], + "name": "Compaction to list of lists", + "purpose": "Verifies that an exception is raised in Compaction when attempting to compact a list of lists", + "option": {"specVersion": "json-ld-1.0"}, + "input": "compact/e001-in.jsonld", + "context": "compact/e001-context.jsonld", + "expect": "compaction to list of lists" + }, { + "@id": "#te002", + "@type": [ "jld:NegativeEvaluationTest", "jld:CompactTest" ], + "name": "Absolute IRI confused with Compact IRI", + "purpose": "Verifies that IRI compaction detects when the result is an absolute IRI with a scheme matching a term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/e002-in.jsonld", + "context": "compact/e002-context.jsonld", + "expect": "IRI confused with prefix" + }, { + "@id": "#ten01", + "@type": [ "jld:NegativeEvaluationTest", "jld:CompactTest" ], + "name": "Nest term not defined", + "purpose": "Transparent Nesting", + "input": "compact/en01-in.jsonld", + "context": "compact/en01-context.jsonld", + "expect": "invalid @nest value", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tep04", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "Processing mode is implicitly json-ld-1.0", + "purpose": "If not specified using processingMode, processing mode is taken as json-ld-1.0", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/ep04-in.jsonld", + "context": "compact/ep04-context.jsonld", + "expect": "invalid container mapping" + }, { + "@id": "#tep05", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "processingMode json-ld-1.0 conflicts with @version: 1.1", + "purpose": "If not specified using processingMode, processing mode is taken as json-ld-1.0", + "input": "compact/ep05-in.jsonld", + "context": "compact/ep05-context.jsonld", + "expect": "processing mode conflict", "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tep06", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "@version must be 1.1", + "purpose": "If @version is specified, it must be 1.1", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/ep06-in.jsonld", + "context": "compact/ep06-context.jsonld", + "expect": "invalid @version value" + }, { + "@id": "#tep07", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "@prefix is not allowed in 1.0", + "purpose": "@prefix is not allowed in a term definition 1.0", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, + "input": "compact/ep07-in.jsonld", + "context": "compact/ep07-context.jsonld", + "expect": "invalid term definition" + }, { + "@id": "#tep08", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "@prefix must be a boolean", + "purpose": "@prefix must be a boolean in a term definition in 1.1", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/ep08-in.jsonld", + "context": "compact/ep08-context.jsonld", + "expect": "invalid @prefix value" + }, { + "@id": "#tep09", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "@prefix not allowed on compact IRI term", + "purpose": "If processingMode is json-ld-1.0, or if term contains a colon (:), an invalid term definition has been detected and processing is aborted.", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/ep09-in.jsonld", + "context": "compact/ep09-context.jsonld", + "expect": "invalid term definition" + }, { + "@id": "#tep10", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "@nest is not allowed in 1.0", + "purpose": "@nest is not allowed in a term definitionin 1.0", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, + "input": "compact/ep10-in.jsonld", + "context": "compact/ep10-context.jsonld", + "expect": "invalid term definition" + }, { + "@id": "#tep11", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "@context is not allowed in 1.0", + "purpose": "@context is not allowed in a term definitionin 1.0", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, + "input": "compact/ep11-in.jsonld", + "context": "compact/ep11-context.jsonld", + "expect": "invalid term definition" + }, { + "@id": "#tep12", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "@container may not be an array in 1.0", + "purpose": "validate appropriate values of @container", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, + "input": "compact/ep12-in.jsonld", + "context": "compact/ep12-context.jsonld", + "expect": "invalid container mapping" + }, { + "@id": "#tep13", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "@container may not be @id in 1.0", + "purpose": "validate appropriate values of @container", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, + "input": "compact/ep13-in.jsonld", + "context": "compact/ep13-context.jsonld", + "expect": "invalid container mapping" + }, { + "@id": "#tep14", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "@container may not be @type in 1.0", + "purpose": "validate appropriate values of @container", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, + "input": "compact/ep14-in.jsonld", + "context": "compact/ep14-context.jsonld", + "expect": "invalid container mapping" + }, { + "@id": "#tep15", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "@container may not be @graph in 1.0", + "purpose": "validate appropriate values of @container", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, + "input": "compact/ep15-in.jsonld", + "context": "compact/ep15-context.jsonld", + "expect": "invalid container mapping" + }, { + "@id": "#th001", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compacts embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "compact/h001-in.html", + "context": "compact/h001-context.jsonld", + "expect": "compact/h001-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th002", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compacts first embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "compact/h002-in.html", + "context": "compact/h002-context.jsonld", + "expect": "compact/h002-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th003", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compacts targeted JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "compact/h003-in.html#second", + "context": "compact/h003-context.jsonld", + "expect": "compact/h003-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th004", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compacts all embedded JSON-LD script elements with extractAllScripts option", + "purpose": "Tests embedded JSON-LD in HTML extracting all elements", + "input": "compact/h004-in.html", + "context": "compact/h004-context.jsonld", + "expect": "compact/h004-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#tjs01", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact JSON literal (boolean true)", + "purpose": "Tests compacting property with @type @json to a JSON literal (boolean true).", + "input": "compact/js01-in.jsonld", + "context": "compact/js01-context.jsonld", + "expect": "compact/js01-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs02", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact JSON literal (boolean false)", + "purpose": "Tests compacting property with @type @json to a JSON literal (boolean false).", + "input": "compact/js02-in.jsonld", + "context": "compact/js02-context.jsonld", + "expect": "compact/js02-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs03", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact JSON literal (double)", + "purpose": "Tests compacting property with @type @json to a JSON literal (double).", + "input": "compact/js03-in.jsonld", + "context": "compact/js03-context.jsonld", + "expect": "compact/js03-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs04", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact JSON literal (double-zero)", + "purpose": "Tests compacting property with @type @json to a JSON literal (double-zero).", + "input": "compact/js04-in.jsonld", + "context": "compact/js04-context.jsonld", + "expect": "compact/js04-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs05", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact JSON literal (integer)", + "purpose": "Tests compacting property with @type @json to a JSON literal (integer).", + "input": "compact/js05-in.jsonld", + "context": "compact/js05-context.jsonld", + "expect": "compact/js05-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs06", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact JSON literal (object)", + "purpose": "Tests compacting property with @type @json to a JSON literal (object).", + "input": "compact/js06-in.jsonld", + "context": "compact/js06-context.jsonld", + "expect": "compact/js06-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs07", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact JSON literal (array)", + "purpose": "Tests compacting property with @type @json to a JSON literal (array).", + "input": "compact/js07-in.jsonld", + "context": "compact/js07-context.jsonld", + "expect": "compact/js07-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs08", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact already expanded JSON literal", + "purpose": "Tests compacting JSON literal does not expand terms inside json.", + "input": "compact/js08-in.jsonld", + "context": "compact/js08-context.jsonld", + "expect": "compact/js08-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs09", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact already expanded JSON literal with aliased keys", + "purpose": "Tests compacting JSON literal in expanded form.", + "input": "compact/js09-in.jsonld", + "context": "compact/js09-context.jsonld", + "expect": "compact/js09-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tm001", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Indexes to object not having an @id", + "purpose": "Compaction using @container: @id", + "input": "compact/m001-in.jsonld", + "context": "compact/m001-context.jsonld", + "expect": "compact/m001-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm002", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Indexes to object already having an @id", + "purpose": "Compaction using @container: @id", + "input": "compact/m002-in.jsonld", + "context": "compact/m002-context.jsonld", + "expect": "compact/m002-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm003", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Indexes to object not having an @type", + "purpose": "Compaction using @container: @type", + "input": "compact/m003-in.jsonld", + "context": "compact/m003-context.jsonld", + "expect": "compact/m003-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm004", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Indexes to object already having an @type", + "purpose": "Compaction using @container: @type", + "input": "compact/m004-in.jsonld", + "context": "compact/m004-context.jsonld", + "expect": "compact/m004-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm005", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Indexes to object using compact IRI @id", + "purpose": "Compaction using @container: @id", + "input": "compact/m005-in.jsonld", + "context": "compact/m005-context.jsonld", + "expect": "compact/m005-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm006", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Indexes using compacted @type", + "purpose": "Compaction using @container: @type", + "input": "compact/m006-in.jsonld", + "context": "compact/m006-context.jsonld", + "expect": "compact/m006-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm007", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "When type is in a type map", + "purpose": "scoped context on @type", + "input": "compact/m007-in.jsonld", + "context": "compact/m007-context.jsonld", + "expect": "compact/m007-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm008", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@index map with @none node definition", + "purpose": "index on @index", + "input": "compact/m008-in.jsonld", + "context": "compact/m008-context.jsonld", + "expect": "compact/m008-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm009", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@index map with @none value", + "purpose": "index on @index", + "input": "compact/m009-in.jsonld", + "context": "compact/m009-context.jsonld", + "expect": "compact/m009-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm010", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@index map with @none value using alias of @none", + "purpose": "index on @index", + "input": "compact/m010-in.jsonld", + "context": "compact/m010-context.jsonld", + "expect": "compact/m010-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm011", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@language map with no @language", + "purpose": "index on @language", + "input": "compact/m011-in.jsonld", + "context": "compact/m011-context.jsonld", + "expect": "compact/m011-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm012", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "language map with no @language using alias of @none", + "purpose": "index on @language", + "input": "compact/m012-in.jsonld", + "context": "compact/m012-context.jsonld", + "expect": "compact/m012-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm013", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "id map using @none", + "purpose": "index on @id", + "input": "compact/m013-in.jsonld", + "context": "compact/m013-context.jsonld", + "expect": "compact/m013-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm014", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "id map using @none with alias", + "purpose": "index on @id", + "input": "compact/m014-in.jsonld", + "context": "compact/m014-context.jsonld", + "expect": "compact/m014-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm015", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type map using @none with alias", + "purpose": "index on @type", + "input": "compact/m015-in.jsonld", + "context": "compact/m015-context.jsonld", + "expect": "compact/m015-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm016", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "type map using @none with alias", + "purpose": "index on @type", + "input": "compact/m016-in.jsonld", + "context": "compact/m016-context.jsonld", + "expect": "compact/m016-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm017", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "graph index map using @none", + "purpose": "index on @graph and @index", + "input": "compact/m017-in.jsonld", + "context": "compact/m017-context.jsonld", + "expect": "compact/m017-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm018", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "graph id map using @none", + "purpose": "index on @graph and @id", + "input": "compact/m018-in.jsonld", + "context": "compact/m018-context.jsonld", + "expect": "compact/m018-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm019", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "graph id map using alias of @none", + "purpose": "index on @graph and @id", + "input": "compact/m019-in.jsonld", + "context": "compact/m019-context.jsonld", + "expect": "compact/m019-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn001", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Indexes to @nest for property with @nest", + "purpose": "Compaction using @nest", + "input": "compact/n001-in.jsonld", + "context": "compact/n001-context.jsonld", + "expect": "compact/n001-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn002", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Indexes to @nest for all properties with @nest", + "purpose": "Compaction using @nest", + "input": "compact/n002-in.jsonld", + "context": "compact/n002-context.jsonld", + "expect": "compact/n002-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn003", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Nests using alias of @nest", + "purpose": "Compaction using @nest", + "input": "compact/n003-in.jsonld", + "context": "compact/n003-context.jsonld", + "expect": "compact/n003-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn004", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Arrays of nested values", + "purpose": "Compaction using @nest", + "input": "compact/n004-in.jsonld", + "context": "compact/n004-context.jsonld", + "expect": "compact/n004-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn005", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Nested @container: @list", + "purpose": "Compaction using @nest", + "input": "compact/n005-in.jsonld", + "context": "compact/n005-context.jsonld", + "expect": "compact/n005-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn006", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Nested @container: @index", + "purpose": "Compaction using @nest", + "input": "compact/n006-in.jsonld", + "context": "compact/n006-context.jsonld", + "expect": "compact/n006-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn007", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Nested @container: @language", + "purpose": "Compaction using @nest", + "input": "compact/n007-in.jsonld", + "context": "compact/n007-context.jsonld", + "expect": "compact/n007-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn008", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Nested @container: @type", + "purpose": "Compaction using @nest", + "input": "compact/n008-in.jsonld", + "context": "compact/n008-context.jsonld", + "expect": "compact/n008-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn009", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Nested @container: @id", + "purpose": "Compaction using @nest", + "input": "compact/n009-in.jsonld", + "context": "compact/n009-context.jsonld", + "expect": "compact/n009-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn010", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Multiple nest aliases", + "purpose": "Compaction using @nest", + "input": "compact/n010-in.jsonld", + "context": "compact/n010-context.jsonld", + "expect": "compact/n010-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tp001", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact IRI will not use an expanded term definition in 1.0", + "purpose": "Terms with an expanded term definition are not used for creating compact IRIs", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, + "input": "compact/p001-in.jsonld", + "context": "compact/p001-context.jsonld", + "expect": "compact/p001-out.jsonld" + }, { + "@id": "#tp002", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact IRI does not use expanded term definition in 1.1", + "purpose": "Terms with an expanded term definition are not used for creating compact IRIs", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/p002-in.jsonld", + "context": "compact/p002-context.jsonld", + "expect": "compact/p002-out.jsonld" + }, { + "@id": "#tp003", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact IRI does not use simple term that does not end with a gen-delim", + "purpose": "Terms not ending with a gen-delim are not used for creating compact IRIs", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/p003-in.jsonld", + "context": "compact/p003-context.jsonld", + "expect": "compact/p003-out.jsonld" + }, { + "@id": "#tp004", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact IRIs using simple terms ending with gen-delim", + "purpose": "All simple terms ending with gen-delim are suitable for compaction", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/p004-in.jsonld", + "context": "compact/p004-context.jsonld", + "expect": "compact/p004-out.jsonld" + }, { + "@id": "#tp005", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact IRI uses term with definition including @prefix: true", + "purpose": "Expanded term definition may set prefix explicitly in 1.1", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/p005-in.jsonld", + "context": "compact/p005-context.jsonld", + "expect": "compact/p005-out.jsonld" + }, { + "@id": "#tp006", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact IRI uses term with definition including @prefix: true", + "purpose": "Expanded term definition may set prefix explicitly in 1.1", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/p006-in.jsonld", + "context": "compact/p006-context.jsonld", + "expect": "compact/p006-out.jsonld" + }, { + "@id": "#tp007", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact IRI not used as prefix", + "purpose": "Terms including a colon are excluded from being used as a prefix", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/p007-in.jsonld", + "context": "compact/p007-context.jsonld", + "expect": "compact/p007-out.jsonld" + }, { + "@id": "#tp008", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact IRI does not use term with definition including @prefix: false", + "purpose": "Expanded term definition may set prefix explicitly in 1.1", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/p008-in.jsonld", + "context": "compact/p008-context.jsonld", + "expect": "compact/p008-out.jsonld" + }, { + "@id": "#tpi01", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "property-valued index indexes property value, instead of property (value)", + "purpose": "Compacting property-valued indexes.", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/pi01-in.jsonld", + "context": "compact/pi01-context.jsonld", + "expect": "compact/pi01-out.jsonld" + }, { + "@id": "#tpi02", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "property-valued index indexes property value, instead of property (multiple values)", + "purpose": "Compacting property-valued indexes.", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/pi02-in.jsonld", + "context": "compact/pi02-context.jsonld", + "expect": "compact/pi02-out.jsonld" + }, { + "@id": "#tpi03", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "property-valued index indexes property value, instead of property (node)", + "purpose": "Compacting property-valued indexes.", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/pi03-in.jsonld", + "context": "compact/pi03-context.jsonld", + "expect": "compact/pi03-out.jsonld" + }, { + "@id": "#tpi04", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "property-valued index indexes property value, instead of property (multiple nodes)", + "purpose": "Compacting property-valued indexes.", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/pi04-in.jsonld", + "context": "compact/pi04-context.jsonld", + "expect": "compact/pi04-out.jsonld" + }, { + "@id": "#tpi05", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "property-valued index indexes using @none if no property value exists", + "purpose": "Compacting property-valued indexes.", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/pi05-in.jsonld", + "context": "compact/pi05-context.jsonld", + "expect": "compact/pi05-out.jsonld" + }, { + "@id": "#tpi06", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "property-valued index indexes using @none if no property value does not compact to string", + "purpose": "Compacting property-valued indexes.", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "compact/pi06-in.jsonld", + "context": "compact/pi06-context.jsonld", + "expect": "compact/pi06-out.jsonld" + }, { + "@id": "#tpr01", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "Check illegal clearing of context with protected terms", + "purpose": "Check error when clearing a context with protected terms.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/pr01-in.jsonld", + "context": "compact/pr01-context.jsonld", + "expect": "invalid context nullification" + }, { + "@id": "#tpr02", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "Check illegal overriding of protected term", + "purpose": "Check error when overriding a protected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/pr02-in.jsonld", + "context": "compact/pr02-context.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr03", + "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], + "name": "Check illegal overriding of protected term from type-scoped context", + "purpose": "Check error when overriding a protected term from type-scoped context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/pr03-in.jsonld", + "context": "compact/pr03-context.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr04", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Check legal overriding of protected term from property-scoped context", + "purpose": "Check overriding a protected term from property-scoped context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/pr04-in.jsonld", + "context": "compact/pr04-context.jsonld", + "expect": "compact/pr04-out.jsonld" + }, { + "@id": "#tpr05", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Check legal overriding of type-scoped protected term from nested node", + "purpose": "Check legal overriding of type-scoped protected term from nested node.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/pr05-in.jsonld", + "context": "compact/pr05-context.jsonld", + "expect": "compact/pr05-out.jsonld" + }, { + "@id": "#tr001", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Expands and compacts to document base by default", + "purpose": "Compact IRI attempts to compact document-relative IRIs", + "input": "compact/r001-in.jsonld", + "context": "compact/r001-context.jsonld", + "expect": "compact/r001-out.jsonld", + "option": {"base": "http://example.org/", "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tr002", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Expands and does not compact to document base with compactToRelative false", + "purpose": "With compactToRelative option set to false, IRIs which could be made relative to the document base are not made relative.", + "input": "compact/r002-in.jsonld", + "context": "compact/r002-context.jsonld", + "expect": "compact/r002-out.jsonld", + "option": { + "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1", + "compactToRelative": false + } + }, { + "@id": "#ts001", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@context with single array values", + "purpose": "@context values may be in an array", + "input": "compact/s001-in.jsonld", + "context": "compact/s001-context.jsonld", + "expect": "compact/s001-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#ts002", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@context with array including @set uses array values", + "purpose": "@context values may include @set along with another compatible value", + "input": "compact/s002-in.jsonld", + "context": "compact/s002-context.jsonld", + "expect": "compact/s002-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tli01", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "coerced @list containing an empty list", + "purpose": "Lists of Lists", + "input": "compact/li01-in.jsonld", + "context": "compact/li01-context.jsonld", + "expect": "compact/li01-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli02", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "coerced @list containing a list", + "purpose": "Lists of Lists", + "input": "compact/li02-in.jsonld", + "context": "compact/li02-context.jsonld", + "expect": "compact/li02-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli03", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "coerced @list containing an deep list", + "purpose": "Lists of Lists", + "input": "compact/li03-in.jsonld", + "context": "compact/li03-context.jsonld", + "expect": "compact/li03-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli04", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "coerced @list containing multiple lists", + "purpose": "Lists of Lists", + "input": "compact/li04-in.jsonld", + "context": "compact/li04-context.jsonld", + "expect": "compact/li04-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli05", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "coerced @list containing mixed list values", + "purpose": "Lists of Lists", + "input": "compact/li05-in.jsonld", + "context": "compact/li05-context.jsonld", + "expect": "compact/li05-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ttn01", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@type: @none does not compact values", + "purpose": "@type: @none does not compact values.", + "option": {"specVersion": "json-ld-1.1"}, + "context": "compact/tn01-context.jsonld", + "input": "compact/tn01-in.jsonld", + "expect": "compact/tn01-out.jsonld" + }, { + "@id": "#ttn02", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@type: @none does not use arrays by default", + "purpose": "@type: @none honors @container.", + "option": {"specVersion": "json-ld-1.1"}, + "context": "compact/tn02-context.jsonld", + "input": "compact/tn02-in.jsonld", + "expect": "compact/tn02-out.jsonld" + }, { + "@id": "#ttn03", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@type: @none uses arrays with @container: @set", + "purpose": "@type: @none honors @container.", + "option": {"specVersion": "json-ld-1.1"}, + "context": "compact/tn03-context.jsonld", + "input": "compact/tn03-in.jsonld", + "expect": "compact/tn03-out.jsonld" } ] } diff --git a/core/src/test/resources/json-ld.org/compact-0001-context.jsonld b/core/src/test/resources/json-ld.org/compact/0001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0001-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0001-in.jsonld b/core/src/test/resources/json-ld.org/compact/0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0001-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0001-out.jsonld b/core/src/test/resources/json-ld.org/compact/0001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0001-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0002-context.jsonld b/core/src/test/resources/json-ld.org/compact/0002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0002-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0002-in.jsonld b/core/src/test/resources/json-ld.org/compact/0002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0002-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0002-out.jsonld b/core/src/test/resources/json-ld.org/compact/0002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0002-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0003-context.jsonld b/core/src/test/resources/json-ld.org/compact/0003-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0003-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0003-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0003-in.jsonld b/core/src/test/resources/json-ld.org/compact/0003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0003-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0003-out.jsonld b/core/src/test/resources/json-ld.org/compact/0003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0003-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0004-context.jsonld b/core/src/test/resources/json-ld.org/compact/0004-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0004-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0004-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0004-in.jsonld b/core/src/test/resources/json-ld.org/compact/0004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0004-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0004-out.jsonld b/core/src/test/resources/json-ld.org/compact/0004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0004-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0005-context.jsonld b/core/src/test/resources/json-ld.org/compact/0005-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0005-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0005-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0005-in.jsonld b/core/src/test/resources/json-ld.org/compact/0005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0005-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0005-out.jsonld b/core/src/test/resources/json-ld.org/compact/0005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0005-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0006-context.jsonld b/core/src/test/resources/json-ld.org/compact/0006-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0006-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0006-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0006-in.jsonld b/core/src/test/resources/json-ld.org/compact/0006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0006-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0006-out.jsonld b/core/src/test/resources/json-ld.org/compact/0006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0006-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0007-context.jsonld b/core/src/test/resources/json-ld.org/compact/0007-context.jsonld similarity index 78% rename from core/src/test/resources/json-ld.org/compact-0007-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0007-context.jsonld index 05b0b307..5b427354 100644 --- a/core/src/test/resources/json-ld.org/compact-0007-context.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0007-context.jsonld @@ -1,6 +1,6 @@ { "@context": { - "dc": "http://purl.org/dc/elements/1.1/", + "dc11": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": {"@type": "@id"}, "ex:contains": {"@type": "@id"}, diff --git a/core/src/test/resources/json-ld.org/compact-0007-in.jsonld b/core/src/test/resources/json-ld.org/compact/0007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0007-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0007-out.jsonld b/core/src/test/resources/json-ld.org/compact/0007-out.jsonld similarity index 78% rename from core/src/test/resources/json-ld.org/compact-0007-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0007-out.jsonld index 10bd5977..785ba46b 100644 --- a/core/src/test/resources/json-ld.org/compact-0007-out.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0007-out.jsonld @@ -1,6 +1,6 @@ { "@context": { - "dc": "http://purl.org/dc/elements/1.1/", + "dc11": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": {"@type": "@id"}, "ex:contains": {"@type": "@id"}, @@ -9,8 +9,8 @@ "@graph": [ { "@id": "http://example.org/test#chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" + "dc11:description": "Fun", + "dc11:title": "Chapter One" }, { "@id": "http://example.org/test#jane", @@ -25,8 +25,8 @@ "@id": "http://example.org/test#library", "ex:contains": { "@id": "http://example.org/test#book", - "dc:contributor": "Writer", - "dc:title": "My Book", + "dc11:contributor": "Writer", + "dc11:title": "My Book", "http://example.org/vocab#contains": "this-is-not-an-IRI" } } diff --git a/core/src/test/resources/json-ld.org/compact-0008-context.jsonld b/core/src/test/resources/json-ld.org/compact/0008-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0008-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0008-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0008-in.jsonld b/core/src/test/resources/json-ld.org/compact/0008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0008-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0008-out.jsonld b/core/src/test/resources/json-ld.org/compact/0008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0008-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0009-context.jsonld b/core/src/test/resources/json-ld.org/compact/0009-context.jsonld similarity index 67% rename from core/src/test/resources/json-ld.org/compact-0009-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0009-context.jsonld index 0d0575fa..b199a5e4 100644 --- a/core/src/test/resources/json-ld.org/compact-0009-context.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0009-context.jsonld @@ -1,6 +1,6 @@ { "@context": { - "dc": "http://purl.org/dc/elements/1.1/", + "dc11": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} } diff --git a/core/src/test/resources/json-ld.org/compact-0009-in.jsonld b/core/src/test/resources/json-ld.org/compact/0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0009-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0009-out.jsonld b/core/src/test/resources/json-ld.org/compact/0009-out.jsonld similarity index 72% rename from core/src/test/resources/json-ld.org/compact-0009-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0009-out.jsonld index a77c4fcf..d721d32e 100644 --- a/core/src/test/resources/json-ld.org/compact-0009-out.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0009-out.jsonld @@ -1,10 +1,10 @@ { "@context": { - "dc": "http://purl.org/dc/elements/1.1/", + "dc11": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": {"@type": "@id"} }, "@id": "http://example.org/test#book", - "dc:title": "Title", + "dc11:title": "Title", "ex:contains": "http://example.org/test#chapter" } \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact-0010-context.jsonld b/core/src/test/resources/json-ld.org/compact/0010-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0010-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0010-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0010-in.jsonld b/core/src/test/resources/json-ld.org/compact/0010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0010-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0010-out.jsonld b/core/src/test/resources/json-ld.org/compact/0010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0010-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0011-context.jsonld b/core/src/test/resources/json-ld.org/compact/0011-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0011-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0011-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0011-in.jsonld b/core/src/test/resources/json-ld.org/compact/0011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0011-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0011-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0011-out.jsonld b/core/src/test/resources/json-ld.org/compact/0011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0011-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0011-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0012-context.jsonld b/core/src/test/resources/json-ld.org/compact/0012-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0012-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0012-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0012-in.jsonld b/core/src/test/resources/json-ld.org/compact/0012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0012-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0012-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0012-out.jsonld b/core/src/test/resources/json-ld.org/compact/0012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0012-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0013-context.jsonld b/core/src/test/resources/json-ld.org/compact/0013-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0013-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0013-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0013-in.jsonld b/core/src/test/resources/json-ld.org/compact/0013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0013-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0013-out.jsonld b/core/src/test/resources/json-ld.org/compact/0013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0013-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0014-context.jsonld b/core/src/test/resources/json-ld.org/compact/0014-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0014-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0014-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0014-in.jsonld b/core/src/test/resources/json-ld.org/compact/0014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0014-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0014-out.jsonld b/core/src/test/resources/json-ld.org/compact/0014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0014-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0015-context.jsonld b/core/src/test/resources/json-ld.org/compact/0015-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0015-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0015-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0015-in.jsonld b/core/src/test/resources/json-ld.org/compact/0015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0015-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0015-out.jsonld b/core/src/test/resources/json-ld.org/compact/0015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0015-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0016-context.jsonld b/core/src/test/resources/json-ld.org/compact/0016-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0016-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0016-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0016-in.jsonld b/core/src/test/resources/json-ld.org/compact/0016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0016-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0016-out.jsonld b/core/src/test/resources/json-ld.org/compact/0016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0016-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0017-context.jsonld b/core/src/test/resources/json-ld.org/compact/0017-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0017-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0017-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0017-in.jsonld b/core/src/test/resources/json-ld.org/compact/0017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0017-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0017-out.jsonld b/core/src/test/resources/json-ld.org/compact/0017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0017-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0018-context.jsonld b/core/src/test/resources/json-ld.org/compact/0018-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0018-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0018-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0018-in.jsonld b/core/src/test/resources/json-ld.org/compact/0018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0018-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0018-out.jsonld b/core/src/test/resources/json-ld.org/compact/0018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0018-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0019-context.jsonld b/core/src/test/resources/json-ld.org/compact/0019-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0019-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0019-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0019-in.jsonld b/core/src/test/resources/json-ld.org/compact/0019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0019-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0019-out.jsonld b/core/src/test/resources/json-ld.org/compact/0019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0019-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0020-context.jsonld b/core/src/test/resources/json-ld.org/compact/0020-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0020-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0020-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0020-in.jsonld b/core/src/test/resources/json-ld.org/compact/0020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0020-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0020-out.jsonld b/core/src/test/resources/json-ld.org/compact/0020-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0020-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0020-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0021-context.jsonld b/core/src/test/resources/json-ld.org/compact/0021-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0021-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0021-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0021-in.jsonld b/core/src/test/resources/json-ld.org/compact/0021-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0021-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0021-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0021-out.jsonld b/core/src/test/resources/json-ld.org/compact/0021-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0021-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0021-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0022-context.jsonld b/core/src/test/resources/json-ld.org/compact/0022-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0022-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0022-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0022-in.jsonld b/core/src/test/resources/json-ld.org/compact/0022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0022-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0022-out.jsonld b/core/src/test/resources/json-ld.org/compact/0022-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0022-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0022-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0023-context.jsonld b/core/src/test/resources/json-ld.org/compact/0023-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0023-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0023-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0023-in.jsonld b/core/src/test/resources/json-ld.org/compact/0023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0023-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0023-out.jsonld b/core/src/test/resources/json-ld.org/compact/0023-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0023-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0023-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0024-context.jsonld b/core/src/test/resources/json-ld.org/compact/0024-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0024-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0024-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0024-in.jsonld b/core/src/test/resources/json-ld.org/compact/0024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0024-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0024-out.jsonld b/core/src/test/resources/json-ld.org/compact/0024-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0024-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0024-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0025-context.jsonld b/core/src/test/resources/json-ld.org/compact/0025-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0025-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0025-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0025-in.jsonld b/core/src/test/resources/json-ld.org/compact/0025-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0025-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0025-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0025-out.jsonld b/core/src/test/resources/json-ld.org/compact/0025-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0025-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0025-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0026-context.jsonld b/core/src/test/resources/json-ld.org/compact/0026-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0026-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0026-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0026-in.jsonld b/core/src/test/resources/json-ld.org/compact/0026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0026-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0026-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0026-out.jsonld b/core/src/test/resources/json-ld.org/compact/0026-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0026-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0026-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0027-context.jsonld b/core/src/test/resources/json-ld.org/compact/0027-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0027-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0027-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0027-in.jsonld b/core/src/test/resources/json-ld.org/compact/0027-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0027-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0027-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0027-out.jsonld b/core/src/test/resources/json-ld.org/compact/0027-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0027-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0027-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0028-context.jsonld b/core/src/test/resources/json-ld.org/compact/0028-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0028-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0028-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0028-in.jsonld b/core/src/test/resources/json-ld.org/compact/0028-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0028-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0028-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0028-out.jsonld b/core/src/test/resources/json-ld.org/compact/0028-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0028-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0028-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0029-context.jsonld b/core/src/test/resources/json-ld.org/compact/0029-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0029-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0029-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0029-in.jsonld b/core/src/test/resources/json-ld.org/compact/0029-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0029-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0029-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0029-out.jsonld b/core/src/test/resources/json-ld.org/compact/0029-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0029-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0029-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0030-context.jsonld b/core/src/test/resources/json-ld.org/compact/0030-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0030-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0030-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0030-in.jsonld b/core/src/test/resources/json-ld.org/compact/0030-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0030-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0030-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0030-out.jsonld b/core/src/test/resources/json-ld.org/compact/0030-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0030-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0030-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0031-context.jsonld b/core/src/test/resources/json-ld.org/compact/0031-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0031-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0031-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0031-in.jsonld b/core/src/test/resources/json-ld.org/compact/0031-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0031-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0031-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0031-out.jsonld b/core/src/test/resources/json-ld.org/compact/0031-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0031-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0031-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0032-context.jsonld b/core/src/test/resources/json-ld.org/compact/0032-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0032-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0032-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0032-in.jsonld b/core/src/test/resources/json-ld.org/compact/0032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0032-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0032-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0032-out.jsonld b/core/src/test/resources/json-ld.org/compact/0032-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0032-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0032-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0033-context.jsonld b/core/src/test/resources/json-ld.org/compact/0033-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0033-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0033-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0033-in.jsonld b/core/src/test/resources/json-ld.org/compact/0033-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0033-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0033-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0033-out.jsonld b/core/src/test/resources/json-ld.org/compact/0033-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0033-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0033-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0034-context.jsonld b/core/src/test/resources/json-ld.org/compact/0034-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0034-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0034-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0034-in.jsonld b/core/src/test/resources/json-ld.org/compact/0034-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0034-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0034-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0034-out.jsonld b/core/src/test/resources/json-ld.org/compact/0034-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0034-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0034-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0035-context.jsonld b/core/src/test/resources/json-ld.org/compact/0035-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0035-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0035-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0035-in.jsonld b/core/src/test/resources/json-ld.org/compact/0035-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0035-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0035-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0035-out.jsonld b/core/src/test/resources/json-ld.org/compact/0035-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0035-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0035-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0036-context.jsonld b/core/src/test/resources/json-ld.org/compact/0036-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0036-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0036-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0036-in.jsonld b/core/src/test/resources/json-ld.org/compact/0036-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0036-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0036-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0036-out.jsonld b/core/src/test/resources/json-ld.org/compact/0036-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0036-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0036-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0037-context.jsonld b/core/src/test/resources/json-ld.org/compact/0037-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0037-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0037-context.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0066-out.jsonld b/core/src/test/resources/json-ld.org/compact/0037-in.jsonld similarity index 86% rename from core/src/test/resources/json-ld.org/expand-0066-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0037-in.jsonld index ca350a2e..992fb6aa 100644 --- a/core/src/test/resources/json-ld.org/expand-0066-out.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0037-in.jsonld @@ -10,7 +10,7 @@ ], "http://example.com/vocab/noTerm": [ { - "@id": "http://json-ld.org/test-suite/tests/relative-node", + "@id": "https://w3c.github.io/json-ld-api/tests/compact/relative-node", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Compact keys using @vocab" } ] } ] diff --git a/core/src/test/resources/json-ld.org/compact-0037-out.jsonld b/core/src/test/resources/json-ld.org/compact/0037-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0037-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0037-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0038-context.jsonld b/core/src/test/resources/json-ld.org/compact/0038-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0038-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0038-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0038-in.jsonld b/core/src/test/resources/json-ld.org/compact/0038-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0038-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0038-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0038-out.jsonld b/core/src/test/resources/json-ld.org/compact/0038-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0038-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0038-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0038a-out.jsonld b/core/src/test/resources/json-ld.org/compact/0038a-out.jsonld new file mode 100644 index 00000000..a8f96589 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0038a-out.jsonld @@ -0,0 +1,57 @@ +{ + "@context": { + "site": "http://example.com/", + "site-cd": "site:site-schema/content-deployment/", + "title": { + "@id": "site-cd:node/article/title", + "@container": "@index" + }, + "body": { + "@id": "site-cd:node/article/body", + "@container": "@index" + }, + "field_tags": { + "@id": "site-cd:node/article/field_tags", + "@container": "@index" + } + }, + "@id": "site:node/1", + "@type": "site-cd:node/article", + "title": { + "en": { + "@type": "site-cd:field-types/title_field", + "site-cd:node/article/title/value": "This is the English title" + }, + "es": { + "@type": "site-cd:field-types/title_field", + "site-cd:node/article/title/value": "Este es el t’tulo espa–ol" + } + }, + "body": { + "en": { + "@type": "site-cd:field-types/text_with_summary", + "site-cd:node/article/body/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.", + "site-cd:node/article/body/summary": "This is the teaser for the body.", + "site-cd:node/article/body/format": "full_html" + } + }, + "field_tags": { + "en": { + "@type": "site-cd:taxonomy/term", + "@id": "site:taxonomy/term/1", + "site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010" + }, + "es": [ + { + "@type": "site-cd:taxonomy/term", + "@id": "site:taxonomy/term/1", + "site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010" + }, + { + "@type": "site-cd:taxonomy/term", + "@id": "site:taxonomy/term/2", + "site-cd:taxonomy/term/uuid": "a55b982c-58ac-4862-9b00-aa221a388010" + } + ] + } +} diff --git a/core/src/test/resources/json-ld.org/compact-0039-context.jsonld b/core/src/test/resources/json-ld.org/compact/0039-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0039-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0039-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0039-in.jsonld b/core/src/test/resources/json-ld.org/compact/0039-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0039-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0039-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0039-out.jsonld b/core/src/test/resources/json-ld.org/compact/0039-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0039-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0039-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0040-context.jsonld b/core/src/test/resources/json-ld.org/compact/0040-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0040-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0040-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0040-in.jsonld b/core/src/test/resources/json-ld.org/compact/0040-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0040-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0040-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0040-out.jsonld b/core/src/test/resources/json-ld.org/compact/0040-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0040-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0040-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0041-context.jsonld b/core/src/test/resources/json-ld.org/compact/0041-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0041-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0041-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0041-in.jsonld b/core/src/test/resources/json-ld.org/compact/0041-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0041-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0041-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0041-out.jsonld b/core/src/test/resources/json-ld.org/compact/0041-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0041-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0041-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0042-context.jsonld b/core/src/test/resources/json-ld.org/compact/0042-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0042-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0042-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0042-in.jsonld b/core/src/test/resources/json-ld.org/compact/0042-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0042-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0042-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0042-out.jsonld b/core/src/test/resources/json-ld.org/compact/0042-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0042-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0042-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0043-context.jsonld b/core/src/test/resources/json-ld.org/compact/0043-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0043-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0043-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0043-in.jsonld b/core/src/test/resources/json-ld.org/compact/0043-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0043-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0043-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0043-out.jsonld b/core/src/test/resources/json-ld.org/compact/0043-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0043-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0043-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0044-context.jsonld b/core/src/test/resources/json-ld.org/compact/0044-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0044-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0044-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0044-in.jsonld b/core/src/test/resources/json-ld.org/compact/0044-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0044-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0044-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0044-out.jsonld b/core/src/test/resources/json-ld.org/compact/0044-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0044-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0044-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0048-in.jsonld b/core/src/test/resources/json-ld.org/compact/0045-context.jsonld similarity index 90% rename from core/src/test/resources/json-ld.org/expand-0048-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0045-context.jsonld index 005f5e16..5854b8a0 100644 --- a/core/src/test/resources/json-ld.org/expand-0048-in.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0045-context.jsonld @@ -1,7 +1,7 @@ { "@context": { "term": "http://example.com/terms-are-not-considered-in-id", - "compact-iris": "http://example.com/compact-iris-", + "compact-iris": "http://example.com/compact-iris#", "property": "http://example.com/property", "@vocab": "http://example.org/vocab-is-not-considered-for-id" }, diff --git a/core/src/test/resources/json-ld.org/compact-0045-in.jsonld b/core/src/test/resources/json-ld.org/compact/0045-in.jsonld similarity index 65% rename from core/src/test/resources/json-ld.org/compact-0045-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0045-in.jsonld index 990d67b3..5f974bd4 100644 --- a/core/src/test/resources/json-ld.org/compact-0045-in.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0045-in.jsonld @@ -1,15 +1,15 @@ [ { - "@id": "http://json-ld.org/test-suite/tests/term", + "@id": "https://w3c.github.io/json-ld-api/tests/compact/term", "http://example.com/property": [ { - "@id": "http://example.com/compact-iris-are-considered", + "@id": "http://example.com/compact-iris#are-considered", "http://example.com/property": [ { "@value": "@id supports the following values: relative, absolute, and compact IRIs" } ] }, { - "@id": "http://json-ld.org/test-suite/parent-node", + "@id": "https://w3c.github.io/json-ld-api/tests/parent-node", "http://example.com/property": [ { "@value": "relative IRIs get resolved against the document's base IRI" } ] diff --git a/core/src/test/resources/json-ld.org/toRdf-0088-in.jsonld b/core/src/test/resources/json-ld.org/compact/0045-out.jsonld similarity index 90% rename from core/src/test/resources/json-ld.org/toRdf-0088-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0045-out.jsonld index 005f5e16..5854b8a0 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0088-in.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0045-out.jsonld @@ -1,7 +1,7 @@ { "@context": { "term": "http://example.com/terms-are-not-considered-in-id", - "compact-iris": "http://example.com/compact-iris-", + "compact-iris": "http://example.com/compact-iris#", "property": "http://example.com/property", "@vocab": "http://example.org/vocab-is-not-considered-for-id" }, diff --git a/core/src/test/resources/json-ld.org/compact-0046-context.jsonld b/core/src/test/resources/json-ld.org/compact/0046-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0046-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0046-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0046-in.jsonld b/core/src/test/resources/json-ld.org/compact/0046-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0046-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0046-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0046-out.jsonld b/core/src/test/resources/json-ld.org/compact/0046-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0046-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0046-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0047-context.jsonld b/core/src/test/resources/json-ld.org/compact/0047-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0047-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0047-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0047-in.jsonld b/core/src/test/resources/json-ld.org/compact/0047-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0047-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0047-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0047-out.jsonld b/core/src/test/resources/json-ld.org/compact/0047-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0047-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0047-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0048-context.jsonld b/core/src/test/resources/json-ld.org/compact/0048-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0048-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0048-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0048-in.jsonld b/core/src/test/resources/json-ld.org/compact/0048-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0048-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0048-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0048-out.jsonld b/core/src/test/resources/json-ld.org/compact/0048-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0048-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0048-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0049-context.jsonld b/core/src/test/resources/json-ld.org/compact/0049-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0049-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0049-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0049-in.jsonld b/core/src/test/resources/json-ld.org/compact/0049-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0049-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0049-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0049-out.jsonld b/core/src/test/resources/json-ld.org/compact/0049-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0049-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0049-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0050-context.jsonld b/core/src/test/resources/json-ld.org/compact/0050-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0050-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0050-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0050-in.jsonld b/core/src/test/resources/json-ld.org/compact/0050-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0050-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0050-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0050-out.jsonld b/core/src/test/resources/json-ld.org/compact/0050-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0050-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0050-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0051-context.jsonld b/core/src/test/resources/json-ld.org/compact/0051-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0051-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0051-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0051-in.jsonld b/core/src/test/resources/json-ld.org/compact/0051-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0051-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0051-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0051-out.jsonld b/core/src/test/resources/json-ld.org/compact/0051-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0051-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0051-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0052-context.jsonld b/core/src/test/resources/json-ld.org/compact/0052-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0052-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0052-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0052-in.jsonld b/core/src/test/resources/json-ld.org/compact/0052-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0052-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0052-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0052-out.jsonld b/core/src/test/resources/json-ld.org/compact/0052-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0052-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0052-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0053-context.jsonld b/core/src/test/resources/json-ld.org/compact/0053-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0053-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0053-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0053-in.jsonld b/core/src/test/resources/json-ld.org/compact/0053-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0053-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0053-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0053-out.jsonld b/core/src/test/resources/json-ld.org/compact/0053-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0053-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0053-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0054-context.jsonld b/core/src/test/resources/json-ld.org/compact/0054-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0054-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0054-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0054-in.jsonld b/core/src/test/resources/json-ld.org/compact/0054-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0054-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0054-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0054-out.jsonld b/core/src/test/resources/json-ld.org/compact/0054-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0054-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0054-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0055-context.jsonld b/core/src/test/resources/json-ld.org/compact/0055-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0055-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0055-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0055-in.jsonld b/core/src/test/resources/json-ld.org/compact/0055-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0055-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0055-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0055-out.jsonld b/core/src/test/resources/json-ld.org/compact/0055-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0055-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0055-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0056-context.jsonld b/core/src/test/resources/json-ld.org/compact/0056-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0056-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0056-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0056-in.jsonld b/core/src/test/resources/json-ld.org/compact/0056-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0056-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0056-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0056-out.jsonld b/core/src/test/resources/json-ld.org/compact/0056-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0056-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0056-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0057-context.jsonld b/core/src/test/resources/json-ld.org/compact/0057-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0057-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0057-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0057-in.jsonld b/core/src/test/resources/json-ld.org/compact/0057-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0057-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0057-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0057-out.jsonld b/core/src/test/resources/json-ld.org/compact/0057-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0057-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0057-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0058-context.jsonld b/core/src/test/resources/json-ld.org/compact/0058-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0058-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0058-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0058-in.jsonld b/core/src/test/resources/json-ld.org/compact/0058-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0058-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0058-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0058-out.jsonld b/core/src/test/resources/json-ld.org/compact/0058-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0058-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0058-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0059-context.jsonld b/core/src/test/resources/json-ld.org/compact/0059-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0059-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0059-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0059-in.jsonld b/core/src/test/resources/json-ld.org/compact/0059-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0059-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0059-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0059-out.jsonld b/core/src/test/resources/json-ld.org/compact/0059-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0059-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0059-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0060-context.jsonld b/core/src/test/resources/json-ld.org/compact/0060-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0060-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0060-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0060-in.jsonld b/core/src/test/resources/json-ld.org/compact/0060-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0060-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0060-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0060-out.jsonld b/core/src/test/resources/json-ld.org/compact/0060-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0060-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0060-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0061-context.jsonld b/core/src/test/resources/json-ld.org/compact/0061-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0061-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0061-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0061-in.jsonld b/core/src/test/resources/json-ld.org/compact/0061-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0061-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0061-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0061-out.jsonld b/core/src/test/resources/json-ld.org/compact/0061-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0061-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0061-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0062-context.jsonld b/core/src/test/resources/json-ld.org/compact/0062-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0062-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0062-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0062-in.jsonld b/core/src/test/resources/json-ld.org/compact/0062-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0062-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0062-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0062-out.jsonld b/core/src/test/resources/json-ld.org/compact/0062-out.jsonld similarity index 50% rename from core/src/test/resources/json-ld.org/compact-0062-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0062-out.jsonld index 80fe823a..7c9bfbf3 100644 --- a/core/src/test/resources/json-ld.org/compact-0062-out.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0062-out.jsonld @@ -2,5 +2,5 @@ "@context": { "term": { "@id": "http://example.org/term", "@type": "@vocab" } }, - "term": "http://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI" + "term": "https://w3c.github.io/json-ld-api/tests/compact/not-a-term-thus-a-relative-IRI" } diff --git a/core/src/test/resources/json-ld.org/compact-0063-context.jsonld b/core/src/test/resources/json-ld.org/compact/0063-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0063-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0063-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0063-in.jsonld b/core/src/test/resources/json-ld.org/compact/0063-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0063-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0063-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0063-out.jsonld b/core/src/test/resources/json-ld.org/compact/0063-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0063-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0063-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0064-context.jsonld b/core/src/test/resources/json-ld.org/compact/0064-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0064-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0064-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0064-in.jsonld b/core/src/test/resources/json-ld.org/compact/0064-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0064-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0064-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0064-out.jsonld b/core/src/test/resources/json-ld.org/compact/0064-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0064-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0064-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0065-context.jsonld b/core/src/test/resources/json-ld.org/compact/0065-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0065-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0065-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0065-in.jsonld b/core/src/test/resources/json-ld.org/compact/0065-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0065-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0065-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0065-out.jsonld b/core/src/test/resources/json-ld.org/compact/0065-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0065-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0065-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0066-context.jsonld b/core/src/test/resources/json-ld.org/compact/0066-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0066-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0066-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0066-in.jsonld b/core/src/test/resources/json-ld.org/compact/0066-in.jsonld new file mode 100644 index 00000000..8528714a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0066-in.jsonld @@ -0,0 +1,34 @@ +[ + { + "@id": "https://w3c.github.io/json-ld-api/tests/compact/relativeIris", + "@type": [ + "https://w3c.github.io/json-ld-api/tests/compact/link", + "https://w3c.github.io/json-ld-api/tests/compact/0066-in.jsonld#fragment-works", + "https://w3c.github.io/json-ld-api/tests/compact/0066-in.jsonld?query=works", + "https://w3c.github.io/json-ld-api/tests/", + "https://w3c.github.io/json-ld-api/", + "https://w3c.github.io/json-ld-api/parent", + "https://w3c.github.io/parent-parent-eq-root", + "https://w3c.github.io/still-root", + "https://w3c.github.io/too-many-dots", + "https://w3c.github.io/absolute", + "http://example.org/scheme-relative" + ], + "http://www.example.com/link": [ { + "@list": [ + { "@id": "https://w3c.github.io/json-ld-api/tests/compact/link" }, + { "@id": "https://w3c.github.io/json-ld-api/tests/compact/0066-in.jsonld#fragment-works" }, + { "@id": "https://w3c.github.io/json-ld-api/tests/compact/0066-in.jsonld?query=works" }, + { "@id": "https://w3c.github.io/json-ld-api/tests/" }, + { "@id": "https://w3c.github.io/json-ld-api/" }, + { "@id": "https://w3c.github.io/json-ld-api/parent" }, + { "@id": "https://w3c.github.io/json-ld-api/parent#fragment" }, + { "@id": "https://w3c.github.io/parent-parent-eq-root" }, + { "@id": "https://w3c.github.io/still-root" }, + { "@id": "https://w3c.github.io/too-many-dots" }, + { "@id": "https://w3c.github.io/absolute" }, + { "@id": "http://example.org/scheme-relative" } + ] + } ] + } +] diff --git a/core/src/test/resources/json-ld.org/compact/0066-out.jsonld b/core/src/test/resources/json-ld.org/compact/0066-out.jsonld new file mode 100644 index 00000000..ae1310d9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0066-out.jsonld @@ -0,0 +1,33 @@ +{ + "@context": { + "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } + }, + "@id": "relativeIris", + "@type": [ + "https://w3c.github.io/json-ld-api/tests/compact/link", + "https://w3c.github.io/json-ld-api/tests/compact/0066-in.jsonld#fragment-works", + "https://w3c.github.io/json-ld-api/tests/compact/0066-in.jsonld?query=works", + "https://w3c.github.io/json-ld-api/tests/", + "https://w3c.github.io/json-ld-api/", + "https://w3c.github.io/json-ld-api/parent", + "https://w3c.github.io/parent-parent-eq-root", + "https://w3c.github.io/still-root", + "https://w3c.github.io/too-many-dots", + "https://w3c.github.io/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" + ] +} diff --git a/core/src/test/resources/json-ld.org/compact-0067-context.jsonld b/core/src/test/resources/json-ld.org/compact/0067-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0067-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0067-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0067-in.jsonld b/core/src/test/resources/json-ld.org/compact/0067-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0067-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0067-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0067-out.jsonld b/core/src/test/resources/json-ld.org/compact/0067-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0067-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0067-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0068-context.jsonld b/core/src/test/resources/json-ld.org/compact/0068-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0068-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0068-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0068-in.jsonld b/core/src/test/resources/json-ld.org/compact/0068-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0068-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0068-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0068-out.jsonld b/core/src/test/resources/json-ld.org/compact/0068-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0068-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0068-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0069-context.jsonld b/core/src/test/resources/json-ld.org/compact/0069-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0069-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0069-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0069-in.jsonld b/core/src/test/resources/json-ld.org/compact/0069-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0069-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0069-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0069-out.jsonld b/core/src/test/resources/json-ld.org/compact/0069-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0069-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0069-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0070-context.jsonld b/core/src/test/resources/json-ld.org/compact/0070-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0070-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0070-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0070-in.jsonld b/core/src/test/resources/json-ld.org/compact/0070-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0070-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0070-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0070-out.jsonld b/core/src/test/resources/json-ld.org/compact/0070-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0070-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0070-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0071-context.jsonld b/core/src/test/resources/json-ld.org/compact/0071-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0071-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0071-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0071-in.jsonld b/core/src/test/resources/json-ld.org/compact/0071-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0071-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0071-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0071-out.jsonld b/core/src/test/resources/json-ld.org/compact/0071-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0071-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0071-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0072-context.jsonld b/core/src/test/resources/json-ld.org/compact/0072-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0072-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0072-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0072-in.jsonld b/core/src/test/resources/json-ld.org/compact/0072-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0072-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0072-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0072-out.jsonld b/core/src/test/resources/json-ld.org/compact/0072-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0072-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0072-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0073-context.jsonld b/core/src/test/resources/json-ld.org/compact/0073-context.jsonld new file mode 100644 index 00000000..6ec724ad --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0073-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "id": {"@type": "@id", "@id": "@id"}, + "type": {"@type": "@id", "@id": "@type"} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0073-in.jsonld b/core/src/test/resources/json-ld.org/compact/0073-in.jsonld new file mode 100644 index 00000000..6891f660 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0073-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "id": {"@type": "@id", "@id": "@id"}, + "type": {"@type": "@id", "@id": "@type"} + }, + "id": "http://example.org/anno9", + "type": "http://example.org/Annotation" +} diff --git a/core/src/test/resources/json-ld.org/compact/0073-out.jsonld b/core/src/test/resources/json-ld.org/compact/0073-out.jsonld new file mode 100644 index 00000000..55fd2404 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0073-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "id": { + "@type": "@id", + "@id": "@id" + }, + "type": { + "@type": "@id", + "@id": "@type" + } + }, + "id": "http://example.org/anno9", + "type": "http://example.org/Annotation" +} diff --git a/core/src/test/resources/json-ld.org/compact/0074-context.jsonld b/core/src/test/resources/json-ld.org/compact/0074-context.jsonld new file mode 100644 index 00000000..9109cf99 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0074-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "name": { + "@type": "@id", + "@container": "@list", + "@id": "https://schema.org/name" + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0074-in.jsonld b/core/src/test/resources/json-ld.org/compact/0074-in.jsonld new file mode 100644 index 00000000..a89d800b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0074-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "name": { + "@type": "@id", + "@container": "@list", + "@id": "https://schema.org/name" + } + }, + "name": [] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0074-out.jsonld b/core/src/test/resources/json-ld.org/compact/0074-out.jsonld new file mode 100644 index 00000000..a89d800b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0074-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "name": { + "@type": "@id", + "@container": "@list", + "@id": "https://schema.org/name" + } + }, + "name": [] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0075-context.jsonld b/core/src/test/resources/json-ld.org/compact/0075-context.jsonld new file mode 100644 index 00000000..fa920369 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0075-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "ns": "http://example.com/core#" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0075-in.jsonld b/core/src/test/resources/json-ld.org/compact/0075-in.jsonld new file mode 100644 index 00000000..593402c5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0075-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.com/core#associated": { "@id": "#Light"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0075-out.jsonld b/core/src/test/resources/json-ld.org/compact/0075-out.jsonld new file mode 100644 index 00000000..2a0a7b89 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0075-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "ns": "http://example.com/core#" + }, + "ns:associated": { + "@id": "#Light" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0076-context.jsonld b/core/src/test/resources/json-ld.org/compact/0076-context.jsonld new file mode 100644 index 00000000..8be5b7aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0076-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"@base": "http://example.com/api/things/1"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0076-in.jsonld b/core/src/test/resources/json-ld.org/compact/0076-in.jsonld new file mode 100644 index 00000000..38c60371 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0076-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.com/api/things/1", + "http://example.com": "" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0076-out.jsonld b/core/src/test/resources/json-ld.org/compact/0076-out.jsonld new file mode 100644 index 00000000..039d4c48 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0076-out.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"@base": "http://example.com/api/things/1"}, + "@id": "1", + "http://example.com": "" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0077-context.jsonld b/core/src/test/resources/json-ld.org/compact/0077-context.jsonld new file mode 100644 index 00000000..f4475591 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0077-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0077-in.jsonld b/core/src/test/resources/json-ld.org/compact/0077-in.jsonld new file mode 100644 index 00000000..8514ced2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0077-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": { + "value": "x" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0077-out.jsonld b/core/src/test/resources/json-ld.org/compact/0077-out.jsonld new file mode 100644 index 00000000..3f44ffbb --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0077-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "input": { + "@id": "foo:input", + "@container": "@graph" + }, + "value": "foo:value" + }, + "input": { + "value": "x" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0078-context.jsonld b/core/src/test/resources/json-ld.org/compact/0078-context.jsonld new file mode 100644 index 00000000..6b66ae3e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0078-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0078-in.jsonld b/core/src/test/resources/json-ld.org/compact/0078-in.jsonld new file mode 100644 index 00000000..8514ced2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0078-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": { + "value": "x" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0078-out.jsonld b/core/src/test/resources/json-ld.org/compact/0078-out.jsonld new file mode 100644 index 00000000..b283b6fe --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0078-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "input": { + "@id": "foo:input", + "@container": ["@graph", "@set"] + }, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }] +} diff --git a/core/src/test/resources/json-ld.org/compact/0079-context.jsonld b/core/src/test/resources/json-ld.org/compact/0079-context.jsonld new file mode 100644 index 00000000..24bd0245 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0079-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0079-in.jsonld b/core/src/test/resources/json-ld.org/compact/0079-in.jsonld new file mode 100644 index 00000000..e34a943b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0079-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }], + "@index": "ndx" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0079-out.jsonld b/core/src/test/resources/json-ld.org/compact/0079-out.jsonld new file mode 100644 index 00000000..f7c67f80 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0079-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": { + "value": "x" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0080-context.jsonld b/core/src/test/resources/json-ld.org/compact/0080-context.jsonld new file mode 100644 index 00000000..24bd0245 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0080-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0080-in.jsonld b/core/src/test/resources/json-ld.org/compact/0080-in.jsonld new file mode 100644 index 00000000..369917c8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0080-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.org/gid", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0080-out.jsonld b/core/src/test/resources/json-ld.org/compact/0080-out.jsonld new file mode 100644 index 00000000..53d524d3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0080-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": { + "@id": "http://example.org/gid", + "@graph": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0081-context.jsonld b/core/src/test/resources/json-ld.org/compact/0081-context.jsonld new file mode 100644 index 00000000..5db515f3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0081-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0081-in.jsonld b/core/src/test/resources/json-ld.org/compact/0081-in.jsonld new file mode 100644 index 00000000..dfc5b0aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0081-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0081-out.jsonld b/core/src/test/resources/json-ld.org/compact/0081-out.jsonld new file mode 100644 index 00000000..83d3182b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0081-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0082-context.jsonld b/core/src/test/resources/json-ld.org/compact/0082-context.jsonld new file mode 100644 index 00000000..f12919ce --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0082-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index", "@set"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0082-in.jsonld b/core/src/test/resources/json-ld.org/compact/0082-in.jsonld new file mode 100644 index 00000000..dfc5b0aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0082-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0082-out.jsonld b/core/src/test/resources/json-ld.org/compact/0082-out.jsonld new file mode 100644 index 00000000..02b54e3d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0082-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index", "@set"]} + }, + "input": { + "g1": [{"value": "x"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0083-context.jsonld b/core/src/test/resources/json-ld.org/compact/0083-context.jsonld new file mode 100644 index 00000000..5db515f3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0083-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0083-in.jsonld b/core/src/test/resources/json-ld.org/compact/0083-in.jsonld new file mode 100644 index 00000000..d362e26a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0083-in.jsonld @@ -0,0 +1,9 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }], + "@index": "g1", + "@id": "http://example.org/id" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0083-out.jsonld b/core/src/test/resources/json-ld.org/compact/0083-out.jsonld new file mode 100644 index 00000000..d7d42dfb --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0083-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "@id": "http://example.org/id", + "@index": "g1", + "@graph": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0084-context.jsonld b/core/src/test/resources/json-ld.org/compact/0084-context.jsonld new file mode 100644 index 00000000..2de136b0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0084-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0084-in.jsonld b/core/src/test/resources/json-ld.org/compact/0084-in.jsonld new file mode 100644 index 00000000..e01c12ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0084-in.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0084-out.jsonld b/core/src/test/resources/json-ld.org/compact/0084-out.jsonld new file mode 100644 index 00000000..6594c8d6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0084-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "@none": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0085-context.jsonld b/core/src/test/resources/json-ld.org/compact/0085-context.jsonld new file mode 100644 index 00000000..2de136b0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0085-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0085-in.jsonld b/core/src/test/resources/json-ld.org/compact/0085-in.jsonld new file mode 100644 index 00000000..67441b87 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0085-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }], + "@id": "http://example.org/id" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0085-out.jsonld b/core/src/test/resources/json-ld.org/compact/0085-out.jsonld new file mode 100644 index 00000000..274777bf --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0085-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.org/id" : {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0086-context.jsonld b/core/src/test/resources/json-ld.org/compact/0086-context.jsonld new file mode 100644 index 00000000..5b7f1503 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0086-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id", "@set"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0086-in.jsonld b/core/src/test/resources/json-ld.org/compact/0086-in.jsonld new file mode 100644 index 00000000..e01c12ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0086-in.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0086-out.jsonld b/core/src/test/resources/json-ld.org/compact/0086-out.jsonld new file mode 100644 index 00000000..870273bd --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0086-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id", "@set"]} + }, + "input": {"@none": [{"value": "x"}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0087-context.jsonld b/core/src/test/resources/json-ld.org/compact/0087-context.jsonld new file mode 100644 index 00000000..5b7f1503 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0087-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id", "@set"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0087-in.jsonld b/core/src/test/resources/json-ld.org/compact/0087-in.jsonld new file mode 100644 index 00000000..67441b87 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0087-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }], + "@id": "http://example.org/id" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0087-out.jsonld b/core/src/test/resources/json-ld.org/compact/0087-out.jsonld new file mode 100644 index 00000000..d8420e59 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0087-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id", "@set"]} + }, + "input": { + "http://example.org/id" : [{"value": "x"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0088-context.jsonld b/core/src/test/resources/json-ld.org/compact/0088-context.jsonld new file mode 100644 index 00000000..2de136b0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0088-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0088-in.jsonld b/core/src/test/resources/json-ld.org/compact/0088-in.jsonld new file mode 100644 index 00000000..e34a943b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0088-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }], + "@index": "ndx" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0088-out.jsonld b/core/src/test/resources/json-ld.org/compact/0088-out.jsonld new file mode 100644 index 00000000..6594c8d6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0088-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "@none": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0089-context.jsonld b/core/src/test/resources/json-ld.org/compact/0089-context.jsonld new file mode 100644 index 00000000..c496190b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0089-context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "@language": "it", + "s": { "@id": "label", "@language": null }, + "label": { + "@container": "@language" + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0089-in.jsonld b/core/src/test/resources/json-ld.org/compact/0089-in.jsonld new file mode 100644 index 00000000..3224cac4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0089-in.jsonld @@ -0,0 +1,23 @@ +[{ + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + { + "@value": "Il re", + "@language": "it" + }, { + "@value": "The king", + "@language": "en" + }, { + "@value": "The Queen", + "@language": "en" + }, { + "@value": "Die Königin", + "@language": "de" + }, { + "@value": "Ihre Majestät", + "@language": "de" + }, { + "@value": "No Language" + } + ] +}] diff --git a/core/src/test/resources/json-ld.org/compact/0089-out.jsonld b/core/src/test/resources/json-ld.org/compact/0089-out.jsonld new file mode 100644 index 00000000..0e018880 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0089-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "@language": "it", + "s": { "@id": "label", "@language": null }, + "label": { + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "it": "Il re", + "en": [ "The king", "The Queen" ], + "de": [ "Die Königin", "Ihre Majestät" ] + }, + "s": "No Language" +} diff --git a/core/src/test/resources/json-ld.org/compact/0090-context.jsonld b/core/src/test/resources/json-ld.org/compact/0090-context.jsonld new file mode 100644 index 00000000..09a8981a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0090-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "input": "foo:input", + "value": "foo:value" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0090-in.jsonld b/core/src/test/resources/json-ld.org/compact/0090-in.jsonld new file mode 100644 index 00000000..8514ced2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0090-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": { + "value": "x" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0090-out.jsonld b/core/src/test/resources/json-ld.org/compact/0090-out.jsonld new file mode 100644 index 00000000..42e31005 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0090-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "input": "foo:input", + "value": "foo:value" + }, + "input": { + "@graph": { + "value": "x" + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0091-context.jsonld b/core/src/test/resources/json-ld.org/compact/0091-context.jsonld new file mode 100644 index 00000000..d6538be3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0091-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "input": "foo:input", + "value": "foo:value" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0091-in.jsonld b/core/src/test/resources/json-ld.org/compact/0091-in.jsonld new file mode 100644 index 00000000..4d7ff511 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0091-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": { + "value": "x" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0091-out.jsonld b/core/src/test/resources/json-ld.org/compact/0091-out.jsonld new file mode 100644 index 00000000..21df3f71 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0091-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "input": "foo:input", + "value": "foo:value" + }, + "@graph": [{ + "input": [{ + "@graph": [{ + "value": ["x"] + }] + }] + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0092-context.jsonld b/core/src/test/resources/json-ld.org/compact/0092-context.jsonld new file mode 100644 index 00000000..09a8981a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0092-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "input": "foo:input", + "value": "foo:value" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0092-in.jsonld b/core/src/test/resources/json-ld.org/compact/0092-in.jsonld new file mode 100644 index 00000000..f439807e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0092-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }, { + "value": "y" + }] +} diff --git a/core/src/test/resources/json-ld.org/compact/0092-out.jsonld b/core/src/test/resources/json-ld.org/compact/0092-out.jsonld new file mode 100644 index 00000000..21c06e9c --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0092-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "input": "foo:input", + "value": "foo:value" + }, + "input": [ + {"@graph": {"value": "x"}}, + {"@graph": {"value": "y"}} + ] +} diff --git a/core/src/test/resources/json-ld.org/compact/0093-context.jsonld b/core/src/test/resources/json-ld.org/compact/0093-context.jsonld new file mode 100644 index 00000000..09a8981a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0093-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "input": "foo:input", + "value": "foo:value" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0093-in.jsonld b/core/src/test/resources/json-ld.org/compact/0093-in.jsonld new file mode 100644 index 00000000..f439807e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0093-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }, { + "value": "y" + }] +} diff --git a/core/src/test/resources/json-ld.org/compact/0093-out.jsonld b/core/src/test/resources/json-ld.org/compact/0093-out.jsonld new file mode 100644 index 00000000..82135170 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0093-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "input": "foo:input", + "value": "foo:value" + }, + "@graph": [{ + "input": [ + {"@graph": [{"value": ["x"]}]}, + {"@graph": [{"value": ["y"]}]} + ] + }] +} diff --git a/core/src/test/resources/json-ld.org/compact/0094-context.jsonld b/core/src/test/resources/json-ld.org/compact/0094-context.jsonld new file mode 100644 index 00000000..09a8981a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0094-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "input": "foo:input", + "value": "foo:value" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0094-in.jsonld b/core/src/test/resources/json-ld.org/compact/0094-in.jsonld new file mode 100644 index 00000000..8514ced2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0094-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": { + "value": "x" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0094-out.jsonld b/core/src/test/resources/json-ld.org/compact/0094-out.jsonld new file mode 100644 index 00000000..42e31005 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0094-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "input": "foo:input", + "value": "foo:value" + }, + "input": { + "@graph": { + "value": "x" + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0095-context.jsonld b/core/src/test/resources/json-ld.org/compact/0095-context.jsonld new file mode 100644 index 00000000..3eafcca0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0095-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@base": "http://example.com/some/", + "@vocab": "" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0095-in.jsonld b/core/src/test/resources/json-ld.org/compact/0095-in.jsonld new file mode 100644 index 00000000..7ebcdd70 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0095-in.jsonld @@ -0,0 +1,13 @@ +[ + { + "@id": "http://example.com/some/deep/directory/and/relativePropertyIris", + "http://example.com/absolute": [{"@value": "/absolute"}], + "http://example.com/some/deep/directory/": [{"@value": "deep/directory"}], + "http://example.com/some/deep/directory/and/": [{"@value": "deep/directory/and/"}], + "http://example.com/some/#fragment-works": [{"@value": "#fragment-works"}], + "http://example.com/some/?query=works": [{"@value": "?query=works"}], + "http://example.com/some/link": [{"@value": "link"}], + "http://example.com/some/../parent": [{"@value": "../parent"}], + "http://example.com/too-many-dots": [{"@value": "too-many-dots"}] + } +] diff --git a/core/src/test/resources/json-ld.org/compact/0095-out.jsonld b/core/src/test/resources/json-ld.org/compact/0095-out.jsonld new file mode 100644 index 00000000..1e72be2b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0095-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@base": "http://example.com/some/", + "@vocab": "" + }, + "#fragment-works": "#fragment-works", + "../parent": "../parent", + "?query=works": "?query=works", + "@id": "deep/directory/and/relativePropertyIris", + "deep/directory/": "deep/directory", + "deep/directory/and/": "deep/directory/and/", + "http://example.com/absolute": "/absolute", + "http://example.com/too-many-dots": "too-many-dots", + "link": "link" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0096-context.jsonld b/core/src/test/resources/json-ld.org/compact/0096-context.jsonld new file mode 100644 index 00000000..2af65c48 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0096-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0096-in.jsonld b/core/src/test/resources/json-ld.org/compact/0096-in.jsonld new file mode 100644 index 00000000..5e4e5bd9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0096-in.jsonld @@ -0,0 +1,15 @@ +[{ + "foo:input": [{ + "@graph": [{ + "foo:value": [{ + "@value": "x" + }] + }] + }, { + "@graph": [{ + "foo:value": [{ + "@value": "y" + }] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0096-out.jsonld b/core/src/test/resources/json-ld.org/compact/0096-out.jsonld new file mode 100644 index 00000000..5fdb9a7a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0096-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }, { + "value": "y" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0097-context.jsonld b/core/src/test/resources/json-ld.org/compact/0097-context.jsonld new file mode 100644 index 00000000..c6cb8aa0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0097-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0097-in.jsonld b/core/src/test/resources/json-ld.org/compact/0097-in.jsonld new file mode 100644 index 00000000..5e4e5bd9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0097-in.jsonld @@ -0,0 +1,15 @@ +[{ + "foo:input": [{ + "@graph": [{ + "foo:value": [{ + "@value": "x" + }] + }] + }, { + "@graph": [{ + "foo:value": [{ + "@value": "y" + }] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0097-out.jsonld b/core/src/test/resources/json-ld.org/compact/0097-out.jsonld new file mode 100644 index 00000000..148d5722 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0097-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }, { + "value": "y" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0098-context.jsonld b/core/src/test/resources/json-ld.org/compact/0098-context.jsonld new file mode 100644 index 00000000..5db515f3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0098-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0098-in.jsonld b/core/src/test/resources/json-ld.org/compact/0098-in.jsonld new file mode 100644 index 00000000..6788bb49 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0098-in.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0098-out.jsonld b/core/src/test/resources/json-ld.org/compact/0098-out.jsonld new file mode 100644 index 00000000..4c7c6f45 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0098-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": {"value": "x"}, + "g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0099-context.jsonld b/core/src/test/resources/json-ld.org/compact/0099-context.jsonld new file mode 100644 index 00000000..dc5b9003 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0099-context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index", "@set"]} + }, + "input": { + "g1": {"value": "x"}, + "g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0099-in.jsonld b/core/src/test/resources/json-ld.org/compact/0099-in.jsonld new file mode 100644 index 00000000..6788bb49 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0099-in.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0099-out.jsonld b/core/src/test/resources/json-ld.org/compact/0099-out.jsonld new file mode 100644 index 00000000..b7946f08 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0099-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index", "@set"]} + }, + "input": { + "g1": [{"value": "x"}], + "g2": [{"value": "y"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0100-context.jsonld b/core/src/test/resources/json-ld.org/compact/0100-context.jsonld new file mode 100644 index 00000000..2de136b0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0100-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0100-in.jsonld b/core/src/test/resources/json-ld.org/compact/0100-in.jsonld new file mode 100644 index 00000000..45ce037e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0100-in.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@id": "http://example.com/g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0100-out.jsonld b/core/src/test/resources/json-ld.org/compact/0100-out.jsonld new file mode 100644 index 00000000..0010e0aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0100-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": {"value": "x"}, + "http://example.com/g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0101-context.jsonld b/core/src/test/resources/json-ld.org/compact/0101-context.jsonld new file mode 100644 index 00000000..5b7f1503 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0101-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id", "@set"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0101-in.jsonld b/core/src/test/resources/json-ld.org/compact/0101-in.jsonld new file mode 100644 index 00000000..45ce037e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0101-in.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@id": "http://example.com/g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0101-out.jsonld b/core/src/test/resources/json-ld.org/compact/0101-out.jsonld new file mode 100644 index 00000000..c20697c3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0101-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id", "@set"]} + }, + "input": { + "http://example.com/g1": [{"value": "x"}], + "http://example.com/g2": [{"value": "y"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0102-context.jsonld b/core/src/test/resources/json-ld.org/compact/0102-context.jsonld new file mode 100644 index 00000000..5db515f3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0102-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0102-in.jsonld b/core/src/test/resources/json-ld.org/compact/0102-in.jsonld new file mode 100644 index 00000000..27d2cd88 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0102-in.jsonld @@ -0,0 +1,23 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "a"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "b"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0102-out.jsonld b/core/src/test/resources/json-ld.org/compact/0102-out.jsonld new file mode 100644 index 00000000..3e1c5afa --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0102-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": [{"value": "x"}, {"value": "y"}], + "g2": [{"value": "a"}, {"value": "b"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0103-context.jsonld b/core/src/test/resources/json-ld.org/compact/0103-context.jsonld new file mode 100644 index 00000000..2de136b0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0103-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0103-in.jsonld b/core/src/test/resources/json-ld.org/compact/0103-in.jsonld new file mode 100644 index 00000000..a11e1d72 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0103-in.jsonld @@ -0,0 +1,23 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }, { + "@id": "http://example.com/g2", + "@graph": [{ + "http://example.org/value": [{"@value": "a"}] + }] + }, { + "@id": "http://example.com/g2", + "@graph": [{ + "http://example.org/value": [{"@value": "b"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0103-out.jsonld b/core/src/test/resources/json-ld.org/compact/0103-out.jsonld new file mode 100644 index 00000000..182c031d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0103-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": [{"value": "x"}, {"value": "y"}], + "http://example.com/g2": [{"value": "a"}, {"value": "b"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact-0104-context.jsonld b/core/src/test/resources/json-ld.org/compact/0104-context.jsonld similarity index 96% rename from core/src/test/resources/json-ld.org/compact-0104-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0104-context.jsonld index dd085528..36d7203c 100644 --- a/core/src/test/resources/json-ld.org/compact-0104-context.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0104-context.jsonld @@ -2,4 +2,4 @@ "@context": { "@type": {"@container": "@set"} } -} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact-0104-in.jsonld b/core/src/test/resources/json-ld.org/compact/0104-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0104-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0104-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0104-out.jsonld b/core/src/test/resources/json-ld.org/compact/0104-out.jsonld similarity index 98% rename from core/src/test/resources/json-ld.org/compact-0104-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0104-out.jsonld index 6ac5afcc..8699cfa7 100644 --- a/core/src/test/resources/json-ld.org/compact-0104-out.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0104-out.jsonld @@ -3,4 +3,4 @@ "@type": {"@container": "@set"} }, "@type": ["http://example.org/type"] -} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact-0106-context.jsonld b/core/src/test/resources/json-ld.org/compact/0105-context.jsonld similarity index 97% rename from core/src/test/resources/json-ld.org/compact-0106-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0105-context.jsonld index bc961d55..5031f856 100644 --- a/core/src/test/resources/json-ld.org/compact-0106-context.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0105-context.jsonld @@ -2,4 +2,4 @@ "@context": { "type": {"@id": "@type", "@container": "@set"} } -} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact-0105-in.jsonld b/core/src/test/resources/json-ld.org/compact/0105-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0105-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0105-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0105-out.jsonld b/core/src/test/resources/json-ld.org/compact/0105-out.jsonld similarity index 98% rename from core/src/test/resources/json-ld.org/compact-0105-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0105-out.jsonld index 6ce29444..5595923a 100644 --- a/core/src/test/resources/json-ld.org/compact-0105-out.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0105-out.jsonld @@ -3,4 +3,4 @@ "type": {"@id": "@type", "@container": "@set"} }, "type": ["http://example.org/type"] -} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact-0105-context.jsonld b/core/src/test/resources/json-ld.org/compact/0106-context.jsonld similarity index 97% rename from core/src/test/resources/json-ld.org/compact-0105-context.jsonld rename to core/src/test/resources/json-ld.org/compact/0106-context.jsonld index bc961d55..5031f856 100644 --- a/core/src/test/resources/json-ld.org/compact-0105-context.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0106-context.jsonld @@ -2,4 +2,4 @@ "@context": { "type": {"@id": "@type", "@container": "@set"} } -} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact-0106-in.jsonld b/core/src/test/resources/json-ld.org/compact/0106-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-0106-in.jsonld rename to core/src/test/resources/json-ld.org/compact/0106-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0106-out.jsonld b/core/src/test/resources/json-ld.org/compact/0106-out.jsonld similarity index 98% rename from core/src/test/resources/json-ld.org/compact-0106-out.jsonld rename to core/src/test/resources/json-ld.org/compact/0106-out.jsonld index 349e0fb4..84326c5c 100644 --- a/core/src/test/resources/json-ld.org/compact-0106-out.jsonld +++ b/core/src/test/resources/json-ld.org/compact/0106-out.jsonld @@ -3,4 +3,4 @@ "type": {"@id": "@type", "@container": "@set"} }, "type": "http://example.org/type" -} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0107-context.jsonld b/core/src/test/resources/json-ld.org/compact/0107-context.jsonld new file mode 100644 index 00000000..9a7115dd --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0107-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@base": "http://example.com/some/", + "@vocab": "other/" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0107-in.jsonld b/core/src/test/resources/json-ld.org/compact/0107-in.jsonld new file mode 100644 index 00000000..13505e4b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0107-in.jsonld @@ -0,0 +1,13 @@ +[ + { + "@id": "http://example.com/some/deep/directory/and/relativePropertyIris", + "http://example.com/absolute": [{"@value": "/absolute"}], + "http://example.com/some/other/deep/directory/": [{"@value": "deep/directory"}], + "http://example.com/some/other/deep/directory/and/": [{"@value": "deep/directory/and/"}], + "http://example.com/some/other/#fragment-works": [{"@value": "#fragment-works"}], + "http://example.com/some/other/?query=works": [{"@value": "?query=works"}], + "http://example.com/some/other/link": [{"@value": "link"}], + "http://example.com/some/other/../parent": [{"@value": "../parent"}], + "http://example.com/too-many-dots": [{"@value": "too-many-dots"}] + } +] diff --git a/core/src/test/resources/json-ld.org/compact/0107-out.jsonld b/core/src/test/resources/json-ld.org/compact/0107-out.jsonld new file mode 100644 index 00000000..7b9f8838 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0107-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@base": "http://example.com/some/", + "@vocab": "other/" + }, + "#fragment-works": "#fragment-works", + "../parent": "../parent", + "?query=works": "?query=works", + "@id": "deep/directory/and/relativePropertyIris", + "deep/directory/": "deep/directory", + "deep/directory/and/": "deep/directory/and/", + "http://example.com/absolute": "/absolute", + "http://example.com/too-many-dots": "too-many-dots", + "link": "link" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0108-context.jsonld b/core/src/test/resources/json-ld.org/compact/0108-context.jsonld new file mode 100644 index 00000000..71bbb6eb --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0108-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "valueOf": "http://example.org/valueOf", + "toString": "http://example.org/toString" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0108-in.jsonld b/core/src/test/resources/json-ld.org/compact/0108-in.jsonld new file mode 100644 index 00000000..0e26a9df --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0108-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "valueOf": "http://example.org/valueOf", + "toString": "http://example.org/toString" + }, + "valueOf": "first", + "toString": "second" +} diff --git a/core/src/test/resources/json-ld.org/compact/0108-out.jsonld b/core/src/test/resources/json-ld.org/compact/0108-out.jsonld new file mode 100644 index 00000000..0e26a9df --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/0108-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "valueOf": "http://example.org/valueOf", + "toString": "http://example.org/toString" + }, + "valueOf": "first", + "toString": "second" +} diff --git a/core/src/test/resources/json-ld.org/compact/c001-context.jsonld b/core/src/test/resources/json-ld.org/compact/c001-context.jsonld new file mode 100644 index 00000000..d46e3f8a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c001-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"bar": "http://example.org/bar"}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c001-in.jsonld b/core/src/test/resources/json-ld.org/compact/c001-in.jsonld new file mode 100644 index 00000000..bc1e92b5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c001-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example/foo": [{"http://example.org/bar": [{"@value": "baz"}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c001-out.jsonld b/core/src/test/resources/json-ld.org/compact/c001-out.jsonld new file mode 100644 index 00000000..04c51209 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c001-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"bar": "http://example.org/bar"}} + }, + "foo": { + "bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c002-context.jsonld b/core/src/test/resources/json-ld.org/compact/c002-context.jsonld new file mode 100644 index 00000000..bd95c249 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c002-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"bar": {"@type": "@id"}}}, + "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c002-in.jsonld b/core/src/test/resources/json-ld.org/compact/c002-in.jsonld new file mode 100644 index 00000000..acd651e0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c002-in.jsonld @@ -0,0 +1,5 @@ +[ + { + "http://example/foo": [{"http://example/bar": [{"@id": "http://example/baz"}]}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c002-out.jsonld b/core/src/test/resources/json-ld.org/compact/c002-out.jsonld new file mode 100644 index 00000000..8121cf37 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c002-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"bar": {"@type": "@id"}}}, + "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} + }, + "foo": { + "bar": "http://example/baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c003-context.jsonld b/core/src/test/resources/json-ld.org/compact/c003-context.jsonld new file mode 100644 index 00000000..d8a30cf5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c003-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"Bar": {"@id": "bar"}}} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c003-in.jsonld b/core/src/test/resources/json-ld.org/compact/c003-in.jsonld new file mode 100644 index 00000000..020f7a7f --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c003-in.jsonld @@ -0,0 +1,9 @@ +[ + { + "http://example/foo": [{ + "http://example/bar": [ + {"@value": "baz"} + ]} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c003-out.jsonld b/core/src/test/resources/json-ld.org/compact/c003-out.jsonld new file mode 100644 index 00000000..447ded33 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c003-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"Bar": {"@id": "bar"}}} + }, + "foo": { + "Bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c004-context.jsonld b/core/src/test/resources/json-ld.org/compact/c004-context.jsonld new file mode 100644 index 00000000..fef92587 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c004-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"baz": {"@type": "@id"}}} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c004-in.jsonld b/core/src/test/resources/json-ld.org/compact/c004-in.jsonld new file mode 100644 index 00000000..118a214f --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c004-in.jsonld @@ -0,0 +1,9 @@ +[ + { + "http://example/foo": [{ + "http://example/bar": [{ + "http://example/baz": [{"@id": "buzz"}] + }] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c004-out.jsonld b/core/src/test/resources/json-ld.org/compact/c004-out.jsonld new file mode 100644 index 00000000..26dbeb55 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c004-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"baz": {"@type": "@id"}}} + }, + "foo": { + "bar": { + "baz": "buzz" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c005-context.jsonld b/core/src/test/resources/json-ld.org/compact/c005-context.jsonld new file mode 100644 index 00000000..79c0921a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c005-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "b": {"@context": {"c": "http://example.org/c"}} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c005-in.jsonld b/core/src/test/resources/json-ld.org/compact/c005-in.jsonld new file mode 100644 index 00000000..b46a9280 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c005-in.jsonld @@ -0,0 +1,10 @@ +[{ + "http://example/a": [{ + "http://example.com/c": [{"@value": "C in example.com"}], + "http://example/b": [{ + "http://example.com/a": [{"@value": "A in example.com"}], + "http://example.org/c": [{"@value": "C in example.org"}] + }] + }], + "http://example/c": [{"@value": "C in example"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c005-out.jsonld b/core/src/test/resources/json-ld.org/compact/c005-out.jsonld new file mode 100644 index 00000000..d4f642c7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c005-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@vocab": "http://example/", + "b": {"@context": {"c": "http://example.org/c"}} + }, + "a": { + "b": { + "c": "C in example.org", + "http://example.com/a": "A in example.com" + }, + "http://example.com/c": "C in example.com" + }, + "c": "C in example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c006-context.jsonld b/core/src/test/resources/json-ld.org/compact/c006-context.jsonld new file mode 100644 index 00000000..6007891a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c006-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"bar": "http://example.org/bar"}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c006-in.jsonld b/core/src/test/resources/json-ld.org/compact/c006-in.jsonld new file mode 100644 index 00000000..16baea77 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c006-in.jsonld @@ -0,0 +1,8 @@ +[ + { + "http://example/a": [{ + "@type": ["http://example/Foo"], + "http://example.org/bar": [{"@value": "baz"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c006-out.jsonld b/core/src/test/resources/json-ld.org/compact/c006-out.jsonld new file mode 100644 index 00000000..757aeaa1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c006-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"bar": "http://example.org/bar"}} + }, + "a": {"@type": "Foo", "bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c007-context.jsonld b/core/src/test/resources/json-ld.org/compact/c007-context.jsonld new file mode 100644 index 00000000..dcaf0666 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c007-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"bar": {"@type": "@id"}}}, + "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c007-in.jsonld b/core/src/test/resources/json-ld.org/compact/c007-in.jsonld new file mode 100644 index 00000000..c173b894 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c007-in.jsonld @@ -0,0 +1,8 @@ +[ + { + "http://example/a": [{ + "@type": ["http://example/Foo"], + "http://example/bar": [{"@id": "http://example/baz"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c007-out.jsonld b/core/src/test/resources/json-ld.org/compact/c007-out.jsonld new file mode 100644 index 00000000..05c9f1d6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c007-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"bar": {"@type": "@id"}}}, + "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} + }, + "a": {"@type": "Foo", "bar": "http://example/baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c008-context.jsonld b/core/src/test/resources/json-ld.org/compact/c008-context.jsonld new file mode 100644 index 00000000..99becb5a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c008-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "type": "@type", + "Foo": {"@context": {"bar": "http://example.org/bar"}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c008-in.jsonld b/core/src/test/resources/json-ld.org/compact/c008-in.jsonld new file mode 100644 index 00000000..16baea77 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c008-in.jsonld @@ -0,0 +1,8 @@ +[ + { + "http://example/a": [{ + "@type": ["http://example/Foo"], + "http://example.org/bar": [{"@value": "baz"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c008-out.jsonld b/core/src/test/resources/json-ld.org/compact/c008-out.jsonld new file mode 100644 index 00000000..e0b472b1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c008-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "type": "@type", + "Foo": {"@context": {"bar": "http://example.org/bar"}} + }, + "a": {"type": "Foo", "bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c009-context.jsonld b/core/src/test/resources/json-ld.org/compact/c009-context.jsonld new file mode 100644 index 00000000..cf932f7e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c009-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"baz": {"@type": "@vocab"}}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c009-in.jsonld b/core/src/test/resources/json-ld.org/compact/c009-in.jsonld new file mode 100644 index 00000000..59a1fb53 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c009-in.jsonld @@ -0,0 +1,8 @@ +[ + { + "@type": ["http://example/Foo"], + "http://example/bar": [{ + "http://example/baz": [{"@id": "http://example/buzz"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c009-out.jsonld b/core/src/test/resources/json-ld.org/compact/c009-out.jsonld new file mode 100644 index 00000000..dbd90730 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c009-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"baz": {"@type": "@vocab"}}} + }, + "@type": "Foo", + "bar": {"baz": {"@id": "http://example/buzz"}} +} diff --git a/core/src/test/resources/json-ld.org/compact/c010-context.jsonld b/core/src/test/resources/json-ld.org/compact/c010-context.jsonld new file mode 100644 index 00000000..38c9c4e0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c010-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "B": {"@context": {"c": "http://example.org/c"}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c010-in.jsonld b/core/src/test/resources/json-ld.org/compact/c010-in.jsonld new file mode 100644 index 00000000..1057b0ad --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c010-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example/a": [{ + "@type": ["http://example/B"], + "http://example.com/a": [{"@value": "A in example.com"}], + "http://example.org/c": [{"@value": "C in example.org"}] + }], + "http://example/c": [{"@value": "C in example"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c010-out.jsonld b/core/src/test/resources/json-ld.org/compact/c010-out.jsonld new file mode 100644 index 00000000..b312d1a2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c010-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@vocab": "http://example/", + "B": {"@context": {"c": "http://example.org/c"}} + }, + "a": { + "@type": "B", + "c": "C in example.org", + "http://example.com/a": "A in example.com" + }, + "c": "C in example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c011-context.jsonld b/core/src/test/resources/json-ld.org/compact/c011-context.jsonld new file mode 100644 index 00000000..ede2fd4f --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c011-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "id": "@id", + "type": "@type", + "Foo": {"@context": {"id": null, "type": null}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c011-in.jsonld b/core/src/test/resources/json-ld.org/compact/c011-in.jsonld new file mode 100644 index 00000000..3798fae9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c011-in.jsonld @@ -0,0 +1,11 @@ +[ + { + "@id": "http://example.org/id", + "@type": ["http://example/type"], + "http://example/a": [{ + "@id": "http://example.org/Foo", + "@type": ["http://example/Foo"], + "http://example/bar": [{"@id": "http://example.org/baz"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c011-out.jsonld b/core/src/test/resources/json-ld.org/compact/c011-out.jsonld new file mode 100644 index 00000000..7b1902aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c011-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example/", + "id": "@id", + "type": "@type", + "Foo": {"@context": {"id": null, "type": null}} + }, + "id": "http://example.org/id", + "type": "http://example/type", + "a": { + "@id": "http://example.org/Foo", + "@type": "Foo", + "bar": {"@id": "http://example.org/baz"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c012-context.jsonld b/core/src/test/resources/json-ld.org/compact/c012-context.jsonld new file mode 100644 index 00000000..ba4308ce --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c012-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "t1": {"@context": {"foo": {"@id": "http://example.com/foo"}}}, + "t2": {"@context": {"foo": {"@id": "http://example.org/foo", "@type": "@id"}}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c012-in.jsonld b/core/src/test/resources/json-ld.org/compact/c012-in.jsonld new file mode 100644 index 00000000..a702942a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c012-in.jsonld @@ -0,0 +1,6 @@ +[{ + "@type": ["http://example/t2", "http://example/t1"], + "http://example.org/foo": [ + {"@id": "urn:bar"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c012-out.jsonld b/core/src/test/resources/json-ld.org/compact/c012-out.jsonld new file mode 100644 index 00000000..c57c55eb --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c012-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "t1": {"@context": {"foo": {"@id": "http://example.com/foo"}}}, + "t2": {"@context": {"foo": {"@id": "http://example.org/foo", "@type": "@id"}}} + }, + "@type": ["t2", "t1"], + "foo": "urn:bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c013-context.jsonld b/core/src/test/resources/json-ld.org/compact/c013-context.jsonld new file mode 100644 index 00000000..4b62d50f --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c013-context.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": { + "@context": { + "bar": { + "@context": { + "baz": {"@type": "@vocab"} + } + } + } + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c013-in.jsonld b/core/src/test/resources/json-ld.org/compact/c013-in.jsonld new file mode 100644 index 00000000..59a1fb53 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c013-in.jsonld @@ -0,0 +1,8 @@ +[ + { + "@type": ["http://example/Foo"], + "http://example/bar": [{ + "http://example/baz": [{"@id": "http://example/buzz"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/c013-out.jsonld b/core/src/test/resources/json-ld.org/compact/c013-out.jsonld new file mode 100644 index 00000000..bba1c9bf --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c013-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": { + "@context": { + "bar": { + "@context": { + "baz": {"@type": "@vocab"} + } + } + } + } + }, + "@type": "Foo", + "bar": {"baz": "buzz"} +} diff --git a/core/src/test/resources/json-ld.org/compact/c014-context.jsonld b/core/src/test/resources/json-ld.org/compact/c014-context.jsonld new file mode 100644 index 00000000..2d48593a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c014-context.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": "http://example/foo", + "Type": { + "@context": [ + null + ] + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c014-in.jsonld b/core/src/test/resources/json-ld.org/compact/c014-in.jsonld new file mode 100644 index 00000000..5a68fc26 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c014-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example/foo": [{ + "@value": "will-exist" + }], + "http://example/p": [{ + "@type": ["http://example/Type"] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c014-out.jsonld b/core/src/test/resources/json-ld.org/compact/c014-out.jsonld new file mode 100644 index 00000000..79138aed --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c014-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": "http://example/foo", + "Type": { + "@context": [ + null + ] + } + }, + "foo": "will-exist", + "p": { + "@type": "Type" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c015-context.jsonld b/core/src/test/resources/json-ld.org/compact/c015-context.jsonld new file mode 100644 index 00000000..aea86625 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c015-context.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@base": "http://example/base-base", + "@vocab": "http://example/", + "foo": "http://example/foo", + "Type": { + "@context": { + "@base": "http://example/typed-base" + } + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c015-in.jsonld b/core/src/test/resources/json-ld.org/compact/c015-in.jsonld new file mode 100644 index 00000000..2f3427a5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c015-in.jsonld @@ -0,0 +1,16 @@ +[{ + "@id": "http://example/base-base#base-id", + "http://example/p": [{ + "@id": "http://example/typed-base#typed-id", + "@type": ["http://example/Type"], + "http://example/subjectReference": [{ + "@id": "http://example/typed-base#subject-reference-id" + }], + "http://example/nestedNode": [{ + "@id": "http://example/base-base#nested-id", + "http://example/foo": [{ + "@value": "bar" + }] + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c015-out.jsonld b/core/src/test/resources/json-ld.org/compact/c015-out.jsonld new file mode 100644 index 00000000..83bb63d5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c015-out.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@base": "http://example/base-base", + "@vocab": "http://example/", + "foo": "http://example/foo", + "Type": { + "@context": { + "@base": "http://example/typed-base" + } + } + }, + "@id": "#base-id", + "p": { + "@id": "#typed-id", + "@type": "Type", + "subjectReference": { + "@id": "#subject-reference-id" + }, + "nestedNode": { + "@id": "#nested-id", + "foo": "bar" + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c016-context.jsonld b/core/src/test/resources/json-ld.org/compact/c016-context.jsonld new file mode 100644 index 00000000..45296bef --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c016-context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "Type": { + "@context": { + "@vocab": "http://example.com/" + } + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c016-in.jsonld b/core/src/test/resources/json-ld.org/compact/c016-in.jsonld new file mode 100644 index 00000000..37bc728a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c016-in.jsonld @@ -0,0 +1,16 @@ +[{ + "http://example.org/foo": [{ + "@value": "org" + }], + "http://example.org/p": [{ + "@type": ["http://example.org/Type"], + "http://example.com/foo": [{ + "@value": "com" + }], + "http://example.com/nested": [{ + "http://example.org/nested-prop": [{ + "@value": "org" + }] + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c016-out.jsonld b/core/src/test/resources/json-ld.org/compact/c016-out.jsonld new file mode 100644 index 00000000..2f1186ff --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c016-out.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "Type": { + "@context": { + "@vocab": "http://example.com/" + } + } + }, + "foo": "org", + "p": { + "@type": "Type", + "foo": "com", + "nested": { + "nested-prop": "org" + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c017-context.jsonld b/core/src/test/resources/json-ld.org/compact/c017-context.jsonld new file mode 100644 index 00000000..d1cca3ac --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c017-context.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "@vocab": "http://example/", + "Bar": { + "@context": [ + { + "prop": "http://example/bar-prop" + } + ] + }, + "Foo": { + "@context": [ + { + "prop": "http://example/foo-prop" + } + ] + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c017-in.jsonld b/core/src/test/resources/json-ld.org/compact/c017-in.jsonld new file mode 100644 index 00000000..7e7e49d9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c017-in.jsonld @@ -0,0 +1,14 @@ +[{ + "@type": [ + "http://example/Foo", + "http://example/Bar" + ], + "http://example/foo-prop": [{ + "@value": "foo" + }], + "http://example/nested": [{ + "http://example/prop": [{ + "@value": "vocab" + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c017-out.jsonld b/core/src/test/resources/json-ld.org/compact/c017-out.jsonld new file mode 100644 index 00000000..be32133c --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c017-out.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@vocab": "http://example/", + "Bar": { + "@context": [ + { + "prop": "http://example/bar-prop" + } + ] + }, + "Foo": { + "@context": [ + { + "prop": "http://example/foo-prop" + } + ] + } + }, + "@type": ["Foo", "Bar"], + "prop": "foo", + "nested": { + "prop": "vocab" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c018-context.jsonld b/core/src/test/resources/json-ld.org/compact/c018-context.jsonld new file mode 100644 index 00000000..d0033bbe --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c018-context.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "@vocab": "http://example/", + "Bar": { + "@context": [ + null, + { + "prop": "http://example/bar-prop" + } + ] + }, + "Foo": { + "@context": [ + null, + { + "prop": "http://example/foo-prop" + } + ] + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c018-in.jsonld b/core/src/test/resources/json-ld.org/compact/c018-in.jsonld new file mode 100644 index 00000000..ee0c79e1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c018-in.jsonld @@ -0,0 +1,11 @@ +[{ + "@type": [ + "http://example/Foo", + "http://example/Bar" + ], + "http://example/foo-prop": [ + { + "@value": "foo" + } + ] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c018-out.jsonld b/core/src/test/resources/json-ld.org/compact/c018-out.jsonld new file mode 100644 index 00000000..f702f56d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c018-out.jsonld @@ -0,0 +1,24 @@ + +{ + "@context": { + "@vocab": "http://example/", + "Bar": { + "@context": [ + null, + { + "prop": "http://example/bar-prop" + } + ] + }, + "Foo": { + "@context": [ + null, + { + "prop": "http://example/foo-prop" + } + ] + } + }, + "@type": ["Foo", "Bar"], + "prop": "foo" +} diff --git a/core/src/test/resources/json-ld.org/compact/c019-context.jsonld b/core/src/test/resources/json-ld.org/compact/c019-context.jsonld new file mode 100644 index 00000000..a7b6543f --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c019-context.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "@vocab": "http://example/", + "prop": "http://example/base-prop", + "Type": { + "@context": { + "foo": { + "@context": { + "prop": "http://example/foo-prop" + } + }, + "bar": { + "@context": { + "prop": "http://example/bar-prop" + } + } + } + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c019-in.jsonld b/core/src/test/resources/json-ld.org/compact/c019-in.jsonld new file mode 100644 index 00000000..3d25ead3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c019-in.jsonld @@ -0,0 +1,26 @@ +[{ + "@type": [ + "http://example/Type" + ], + "http://example/foo": [{ + "http://example/foo-prop": [ + { + "@value": "foo" + } + ] + }], + "http://example/bar": [{ + "http://example/bar-prop": [ + { + "@value": "bar" + } + ] + }], + "http://example/baz": [{ + "http://example/base-prop": [ + { + "@value": "baz" + } + ] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c019-out.jsonld b/core/src/test/resources/json-ld.org/compact/c019-out.jsonld new file mode 100644 index 00000000..418c9cbe --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c019-out.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "@vocab": "http://example/", + "prop": "http://example/base-prop", + "Type": { + "@context": { + "foo": { + "@context": { + "prop": "http://example/foo-prop" + } + }, + "bar": { + "@context": { + "prop": "http://example/bar-prop" + } + } + } + } + }, + "@type": "Type", + "foo": { + "prop": "foo" + }, + "bar": { + "prop": "bar" + }, + "baz": { + "prop": "baz" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c020-context.jsonld b/core/src/test/resources/json-ld.org/compact/c020-context.jsonld new file mode 100644 index 00000000..216723fc --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c020-context.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "type": "@type", + "Type": { + "@context": { + "value": "@value" + } + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c020-in.jsonld b/core/src/test/resources/json-ld.org/compact/c020-in.jsonld new file mode 100644 index 00000000..483b9ef0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c020-in.jsonld @@ -0,0 +1,7 @@ +[{ + "@type": ["http://example/Type"], + "http://example/v": [{ + "@type": "http://example/value-type", + "@value": "value" + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c020-out.jsonld b/core/src/test/resources/json-ld.org/compact/c020-out.jsonld new file mode 100644 index 00000000..e504c397 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c020-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example/", + "type": "@type", + "Type": { + "@context": { + "value": "@value" + } + } + }, + "type": "Type", + "v": { + "value": "value", + "type": "value-type" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c021-context.jsonld b/core/src/test/resources/json-ld.org/compact/c021-context.jsonld new file mode 100644 index 00000000..2826733c --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c021-context.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "ex:", + "type": "@type", + "prop": "ex:untyped", + "Type": { + "@context": { + "prop": "ex:typed", + "value": "@value" + } + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c021-in.jsonld b/core/src/test/resources/json-ld.org/compact/c021-in.jsonld new file mode 100644 index 00000000..c3f097e8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c021-in.jsonld @@ -0,0 +1,19 @@ +[{ + "ex:untyped": [{ + "@type": ["ex:Type"], + "ex:typed": [{ + "@value": "v1" + }, { + "@value": "v2" + }, { + "@value": "v3" + }, { + "ex:untyped": [{ + "@value": "v4" + }, { + "@type": ["ex:Type"], + "ex:typed": [{"@value": "v5"}] + }] + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c021-out.jsonld b/core/src/test/resources/json-ld.org/compact/c021-out.jsonld new file mode 100644 index 00000000..738dbfa5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c021-out.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "@vocab": "ex:", + "type": "@type", + "prop": "ex:untyped", + "Type": { + "@context": { + "prop": "ex:typed", + "value": "@value" + } + } + }, + "prop": { + "type": "Type", + "prop": [ + "v1", + "v2", + "v3", + { + "prop": [ + "v4", + { + "type": "Type", + "prop": "v5" + } + ] + } + ] + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c022-context.jsonld b/core/src/test/resources/json-ld.org/compact/c022-context.jsonld new file mode 100644 index 00000000..1d1fb201 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c022-context.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "ex:", + "Type": { + "@context": { + "foo": { + "@id": "ex:foo", + "@type": "@vocab", + "@context": { + "@version": 1.1, + "Foo": "ex:Foo", + "Bar": "ex:Bar" + } + } + } + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c022-in.jsonld b/core/src/test/resources/json-ld.org/compact/c022-in.jsonld new file mode 100644 index 00000000..d77a5f5a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c022-in.jsonld @@ -0,0 +1,4 @@ +[{ + "@type": ["ex:Type"], + "ex:foo": [{"@id": "ex:Bar"}] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c022-out.jsonld b/core/src/test/resources/json-ld.org/compact/c022-out.jsonld new file mode 100644 index 00000000..c5ef4a2e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c022-out.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "@vocab": "ex:", + "Type": { + "@context": { + "foo": { + "@id": "ex:foo", + "@type": "@vocab", + "@context": { + "@version": 1.1, + "Foo": "ex:Foo", + "Bar": "ex:Bar" + } + } + } + } + }, + "@type": "Type", + "foo": "Bar" +} diff --git a/core/src/test/resources/json-ld.org/compact/c023-context.jsonld b/core/src/test/resources/json-ld.org/compact/c023-context.jsonld new file mode 100644 index 00000000..5d69acb7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c023-context.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@version": 1.1, + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": "ex:nested" + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "@version": 1.1, + "foo": { + "@id": "ex:foo", + "@type": "@vocab", + "@context": { + "Foo": "ex:Foo" + } + } + } + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c023-in.jsonld b/core/src/test/resources/json-ld.org/compact/c023-in.jsonld new file mode 100644 index 00000000..3e47445a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c023-in.jsonld @@ -0,0 +1,7 @@ +[{ + "@type": ["ex:Outer"], + "ex:nested": [{ + "@type": ["ex:Inner"], + "ex:foo": [{"@id": "ex:Foo"}] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c023-out.jsonld b/core/src/test/resources/json-ld.org/compact/c023-out.jsonld new file mode 100644 index 00000000..94272f95 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c023-out.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "@version": 1.1, + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": "ex:nested" + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "@version": 1.1, + "foo": { + "@id": "ex:foo", + "@type": "@vocab", + "@context": { + "Foo": "ex:Foo" + } + } + } + } + }, + "@type": "Outer", + "nested": { + "@type": "Inner", + "foo": "Foo" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c024-context.jsonld b/core/src/test/resources/json-ld.org/compact/c024-context.jsonld new file mode 100644 index 00000000..474de9db --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c024-context.jsonld @@ -0,0 +1,34 @@ +{ + "@context": { + "@version": 1.1, + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": "ex:nested" + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "@version": 1.1, + "val": "@value", + "foo": { + "@id": "ex:foo", + "@container": "@set", + "@type": "ex:Number", + "@context": { + "value": "@value" + } + }, + "bar": { + "@id": "ex:bar", + "@container": "@set", + "@type": "@id", + "@context": { + "@base": "http://example/" + } + } + } + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c024-in.jsonld b/core/src/test/resources/json-ld.org/compact/c024-in.jsonld new file mode 100644 index 00000000..d2b0b669 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c024-in.jsonld @@ -0,0 +1,11 @@ +[{ + "@type": ["ex:Outer"], + "ex:nested": [{ + "@type": ["ex:Inner"], + "ex:foo": {"@type": "ex:Number", "@value": "1"}, + "ex:bar": [ + {"@id": "http://example/a"}, + {"@id": "http://example/b"} + ] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c024-out.jsonld b/core/src/test/resources/json-ld.org/compact/c024-out.jsonld new file mode 100644 index 00000000..3f2b5434 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c024-out.jsonld @@ -0,0 +1,40 @@ +{ + "@context": { + "@version": 1.1, + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": "ex:nested" + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "@version": 1.1, + "val": "@value", + "foo": { + "@id": "ex:foo", + "@container": "@set", + "@type": "ex:Number", + "@context": { + "value": "@value" + } + }, + "bar": { + "@id": "ex:bar", + "@container": "@set", + "@type": "@id", + "@context": { + "@base": "http://example/" + } + } + } + } + }, + "@type": "Outer", + "nested": { + "@type": "Inner", + "foo": ["1"], + "bar": ["a", "b"] + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c025-context.jsonld b/core/src/test/resources/json-ld.org/compact/c025-context.jsonld new file mode 100644 index 00000000..cd868d35 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c025-context.jsonld @@ -0,0 +1,22 @@ +{ + "@context": { + "@version": 1.1, + "type": "@type", + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": { + "@id": "ex:nested", + "@type": "@id", + "@container": "@graph" + } + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "foo": "ex:foo" + } + } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/c025-in.jsonld b/core/src/test/resources/json-ld.org/compact/c025-in.jsonld new file mode 100644 index 00000000..d8246465 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c025-in.jsonld @@ -0,0 +1,9 @@ +[{ + "@type": ["ex:Outer"], + "ex:nested": [{ + "@graph": [{ + "@type": ["ex:Inner"], + "ex:foo": [{"@value": "bar"}] + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/c025-out.jsonld b/core/src/test/resources/json-ld.org/compact/c025-out.jsonld new file mode 100644 index 00000000..aa9b1fc7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/c025-out.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "@version": 1.1, + "type": "@type", + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": { + "@id": "ex:nested", + "@type": "@id", + "@container": "@graph" + } + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "foo": "ex:foo" + } + } + }, + "type": "Outer", + "nested": { + "type": "Inner", + "foo": "bar" + } +} diff --git a/core/src/test/resources/json-ld.org/error-0042-context.jsonld b/core/src/test/resources/json-ld.org/compact/e001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0042-context.jsonld rename to core/src/test/resources/json-ld.org/compact/e001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/e001-in.jsonld b/core/src/test/resources/json-ld.org/compact/e001-in.jsonld new file mode 100644 index 00000000..344eadb2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/e001-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/list": {"@list": [{"@list": ["foo"]}, {"@list": ["bar"]}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/e002-context.jsonld b/core/src/test/resources/json-ld.org/compact/e002-context.jsonld new file mode 100644 index 00000000..10ed9c17 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/e002-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "tag": "http://example.org/ns/tag/" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/e002-in.jsonld b/core/src/test/resources/json-ld.org/compact/e002-in.jsonld new file mode 100644 index 00000000..6d4b8011 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/e002-in.jsonld @@ -0,0 +1,3 @@ +[{ + "tag:champin.net,2019:prop": {"@value": "hello world"} +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/en01-context.jsonld b/core/src/test/resources/json-ld.org/compact/en01-context.jsonld new file mode 100644 index 00000000..d9cec5a1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/en01-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": {"@id": "http://example/foo", "@nest": "unknown"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/en01-in.jsonld b/core/src/test/resources/json-ld.org/compact/en01-in.jsonld new file mode 100644 index 00000000..ffc25a6b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/en01-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep04-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep04-context.jsonld new file mode 100644 index 00000000..c699d930 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep04-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "idmap": {"@container": "@id"} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/ep04-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep04-in.jsonld new file mode 100644 index 00000000..fe15d637 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep04-in.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/idmap": [ + {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep05-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep05-context.jsonld new file mode 100644 index 00000000..4caa4695 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep05-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@version": 1.1 + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0020-frame.jsonld b/core/src/test/resources/json-ld.org/compact/ep05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/frame-0020-frame.jsonld rename to core/src/test/resources/json-ld.org/compact/ep05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep06-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep06-context.jsonld new file mode 100644 index 00000000..63c70f63 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep06-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@version": 1.0 + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep06-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep06-in.jsonld new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep06-in.jsonld @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep07-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep07-context.jsonld new file mode 100644 index 00000000..f2829c07 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep07-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example/foo", "@prefix": true} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep07-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep07-in.jsonld new file mode 100644 index 00000000..ffc25a6b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep07-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep08-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep08-context.jsonld new file mode 100644 index 00000000..1fde76ae --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep08-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example/foo", "@prefix": "string"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep08-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep08-in.jsonld new file mode 100644 index 00000000..ffc25a6b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep08-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep09-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep09-context.jsonld new file mode 100644 index 00000000..15b0baca --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep09-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "foo": "http://example/foo/", + "foo:bar": {"@id": "http://example/foo/bar", "@prefix": true} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep09-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep09-in.jsonld new file mode 100644 index 00000000..6a50fcaa --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep09-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo/bar/": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep10-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep10-context.jsonld new file mode 100644 index 00000000..c379d53d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep10-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example/foo", "@nest": "@nest"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep10-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep10-in.jsonld new file mode 100644 index 00000000..ffc25a6b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep10-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep11-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep11-context.jsonld new file mode 100644 index 00000000..c7498052 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep11-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example/foo", "@context": {}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep11-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep11-in.jsonld new file mode 100644 index 00000000..ffc25a6b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep11-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep12-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep12-context.jsonld new file mode 100644 index 00000000..0acc2d81 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep12-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example/foo", "@container": ["@set"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep12-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep12-in.jsonld new file mode 100644 index 00000000..ffc25a6b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep12-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep13-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep13-context.jsonld new file mode 100644 index 00000000..20cd3cd2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep13-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example/foo", "@container": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep13-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep13-in.jsonld new file mode 100644 index 00000000..d79e470b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep13-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@id": "http://example/foo", "http://example/bar": "bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep14-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep14-context.jsonld new file mode 100644 index 00000000..8b1f72cb --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep14-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example/foo", "@container": "@type"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep14-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep14-in.jsonld new file mode 100644 index 00000000..286bc559 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep14-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@type": "http://example/foo", "http://example/bar": "bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep15-context.jsonld b/core/src/test/resources/json-ld.org/compact/ep15-context.jsonld new file mode 100644 index 00000000..d3f8c2a9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep15-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example/foo", "@container": "@graph"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep15-in.jsonld b/core/src/test/resources/json-ld.org/compact/ep15-in.jsonld new file mode 100644 index 00000000..69e84921 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/ep15-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@graph": {"http://example/bar": "bar"}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h001-context.jsonld b/core/src/test/resources/json-ld.org/compact/h001-context.jsonld new file mode 100644 index 00000000..c9ee5d89 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h001-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h001-in.html b/core/src/test/resources/json-ld.org/compact/h001-in.html new file mode 100644 index 00000000..57328e38 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h001-in.html @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h001-out.jsonld b/core/src/test/resources/json-ld.org/compact/h001-out.jsonld new file mode 100644 index 00000000..fa6a4cf0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h001-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "foo": ["bar"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h002-context.jsonld b/core/src/test/resources/json-ld.org/compact/h002-context.jsonld new file mode 100644 index 00000000..c9ee5d89 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h002-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h002-in.html b/core/src/test/resources/json-ld.org/compact/h002-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h002-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h002-out.jsonld b/core/src/test/resources/json-ld.org/compact/h002-out.jsonld new file mode 100644 index 00000000..fa6a4cf0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h002-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "foo": ["bar"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h003-context.jsonld b/core/src/test/resources/json-ld.org/compact/h003-context.jsonld new file mode 100644 index 00000000..bd58ee54 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h003-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"ex": "http://example.com/"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h003-in.html b/core/src/test/resources/json-ld.org/compact/h003-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h003-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h003-out.jsonld b/core/src/test/resources/json-ld.org/compact/h003-out.jsonld new file mode 100644 index 00000000..f68d33ae --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h003-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.com/"}, + "@graph": [ + {"ex:foo": "foo"}, + {"ex:bar": "bar"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h004-context.jsonld b/core/src/test/resources/json-ld.org/compact/h004-context.jsonld new file mode 100644 index 00000000..c68c329c --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h004-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "ex": "http://example.com/", + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h004-in.html b/core/src/test/resources/json-ld.org/compact/h004-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h004-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/h004-out.jsonld b/core/src/test/resources/json-ld.org/compact/h004-out.jsonld new file mode 100644 index 00000000..deede214 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/h004-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "ex": "http://example.com/", + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "@graph": [ + {"foo": ["bar"]}, + { + "@graph": [ + {"ex:foo": "foo"}, + {"ex:bar": "bar"} + ] + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js01-context.jsonld b/core/src/test/resources/json-ld.org/compact/js01-context.jsonld new file mode 100644 index 00000000..946ab91a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js01-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#bool", "@type": "@json"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js01-in.jsonld b/core/src/test/resources/json-ld.org/compact/js01-in.jsonld new file mode 100644 index 00000000..642709fd --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js01-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#bool": [{"@value": true, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js01-out.jsonld b/core/src/test/resources/json-ld.org/compact/js01-out.jsonld new file mode 100644 index 00000000..ace09383 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js01-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#bool", "@type": "@json"} + }, + "e": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js02-context.jsonld b/core/src/test/resources/json-ld.org/compact/js02-context.jsonld new file mode 100644 index 00000000..946ab91a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js02-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#bool", "@type": "@json"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js02-in.jsonld b/core/src/test/resources/json-ld.org/compact/js02-in.jsonld new file mode 100644 index 00000000..640d3d29 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js02-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#bool": [{"@value": false, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js02-out.jsonld b/core/src/test/resources/json-ld.org/compact/js02-out.jsonld new file mode 100644 index 00000000..65f32bf2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js02-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#bool", "@type": "@json"} + }, + "e": false +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js03-context.jsonld b/core/src/test/resources/json-ld.org/compact/js03-context.jsonld new file mode 100644 index 00000000..e933a8f1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js03-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#double", "@type": "@json"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js03-in.jsonld b/core/src/test/resources/json-ld.org/compact/js03-in.jsonld new file mode 100644 index 00000000..060691ac --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js03-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#double": [{"@value": 1.23, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js03-out.jsonld b/core/src/test/resources/json-ld.org/compact/js03-out.jsonld new file mode 100644 index 00000000..3f98c4fc --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js03-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#double", "@type": "@json"} + }, + "e": 1.23 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js04-context.jsonld b/core/src/test/resources/json-ld.org/compact/js04-context.jsonld new file mode 100644 index 00000000..e933a8f1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js04-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#double", "@type": "@json"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js04-in.jsonld b/core/src/test/resources/json-ld.org/compact/js04-in.jsonld new file mode 100644 index 00000000..278b08f0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js04-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#double": [{"@value": 0.0e0, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js04-out.jsonld b/core/src/test/resources/json-ld.org/compact/js04-out.jsonld new file mode 100644 index 00000000..dfd129c8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js04-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#double", "@type": "@json"} + }, + "e": 0.0e0 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js05-context.jsonld b/core/src/test/resources/json-ld.org/compact/js05-context.jsonld new file mode 100644 index 00000000..8185ea17 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js05-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#integer", "@type": "@json"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js05-in.jsonld b/core/src/test/resources/json-ld.org/compact/js05-in.jsonld new file mode 100644 index 00000000..364fc8ff --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js05-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#integer": [{"@value": 123, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js05-out.jsonld b/core/src/test/resources/json-ld.org/compact/js05-out.jsonld new file mode 100644 index 00000000..22702493 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js05-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#integer", "@type": "@json"} + }, + "e": 123 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js06-context.jsonld b/core/src/test/resources/json-ld.org/compact/js06-context.jsonld new file mode 100644 index 00000000..98422103 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js06-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#object", "@type": "@json"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js06-in.jsonld b/core/src/test/resources/json-ld.org/compact/js06-in.jsonld new file mode 100644 index 00000000..c9df2866 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js06-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js06-out.jsonld b/core/src/test/resources/json-ld.org/compact/js06-out.jsonld new file mode 100644 index 00000000..b0c57352 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js06-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#object", "@type": "@json"} + }, + "e": {"foo": "bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js07-context.jsonld b/core/src/test/resources/json-ld.org/compact/js07-context.jsonld new file mode 100644 index 00000000..c037c68d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js07-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#array", "@type": "@json", "@container": "@set"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js07-in.jsonld b/core/src/test/resources/json-ld.org/compact/js07-in.jsonld new file mode 100644 index 00000000..d0b1b28e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js07-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#array": [{"@value": [{"foo": "bar"}], "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js07-out.jsonld b/core/src/test/resources/json-ld.org/compact/js07-out.jsonld new file mode 100644 index 00000000..d4e7c2cb --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js07-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#array", "@type": "@json", "@container": "@set"} + }, + "e": [{"foo": "bar"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js08-context.jsonld b/core/src/test/resources/json-ld.org/compact/js08-context.jsonld new file mode 100644 index 00000000..91f0f103 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js08-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"@version": 1.1} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js08-in.jsonld b/core/src/test/resources/json-ld.org/compact/js08-in.jsonld new file mode 100644 index 00000000..c9df2866 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js08-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js08-out.jsonld b/core/src/test/resources/json-ld.org/compact/js08-out.jsonld new file mode 100644 index 00000000..2b136f3f --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js08-out.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@version": 1.1}, + "http://example.org/vocab#object": {"@value": {"foo": "bar"}, "@type": "@json"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js09-context.jsonld b/core/src/test/resources/json-ld.org/compact/js09-context.jsonld new file mode 100644 index 00000000..724029d9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js09-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"@version": 1.1, "value": "@value", "type": "@type", "json": "@json"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js09-in.jsonld b/core/src/test/resources/json-ld.org/compact/js09-in.jsonld new file mode 100644 index 00000000..c9df2866 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js09-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/js09-out.jsonld b/core/src/test/resources/json-ld.org/compact/js09-out.jsonld new file mode 100644 index 00000000..71bb1b5f --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/js09-out.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@version": 1.1, "value": "@value", "type": "@type", "json": "@json"}, + "http://example.org/vocab#object": {"value": {"foo": "bar"}, "type": "json"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li01-context.jsonld b/core/src/test/resources/json-ld.org/compact/li01-context.jsonld new file mode 100644 index 00000000..d244b912 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li01-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li01-in.jsonld b/core/src/test/resources/json-ld.org/compact/li01-in.jsonld new file mode 100644 index 00000000..e7737504 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li01-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": []}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li01-out.jsonld b/core/src/test/resources/json-ld.org/compact/li01-out.jsonld new file mode 100644 index 00000000..81c8b23e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li01-out.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [[]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li02-context.jsonld b/core/src/test/resources/json-ld.org/compact/li02-context.jsonld new file mode 100644 index 00000000..d244b912 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li02-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li02-in.jsonld b/core/src/test/resources/json-ld.org/compact/li02-in.jsonld new file mode 100644 index 00000000..998c20a6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li02-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": [{"@value": "baz"}]}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li02-out.jsonld b/core/src/test/resources/json-ld.org/compact/li02-out.jsonld new file mode 100644 index 00000000..e38ec8ce --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li02-out.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [["baz"]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li03-context.jsonld b/core/src/test/resources/json-ld.org/compact/li03-context.jsonld new file mode 100644 index 00000000..d244b912 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li03-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li03-in.jsonld b/core/src/test/resources/json-ld.org/compact/li03-in.jsonld new file mode 100644 index 00000000..329a79c9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li03-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": [{"@list": [{"@value": "baz"}]}]}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li03-out.jsonld b/core/src/test/resources/json-ld.org/compact/li03-out.jsonld new file mode 100644 index 00000000..e01353af --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li03-out.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [[["baz"]]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li04-context.jsonld b/core/src/test/resources/json-ld.org/compact/li04-context.jsonld new file mode 100644 index 00000000..d244b912 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li04-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li04-in.jsonld b/core/src/test/resources/json-ld.org/compact/li04-in.jsonld new file mode 100644 index 00000000..bb6227d1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li04-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.com/foo": [{"@list": [ + {"@list": [{"@value": "a"}]}, + {"@list": [{"@value": "b"}]} + ]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li04-out.jsonld b/core/src/test/resources/json-ld.org/compact/li04-out.jsonld new file mode 100644 index 00000000..58aea4aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li04-out.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [["a"], ["b"]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li05-context.jsonld b/core/src/test/resources/json-ld.org/compact/li05-context.jsonld new file mode 100644 index 00000000..d244b912 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li05-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li05-in.jsonld b/core/src/test/resources/json-ld.org/compact/li05-in.jsonld new file mode 100644 index 00000000..3c0dd9bc --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li05-in.jsonld @@ -0,0 +1,6 @@ +{ + "http://example.com/foo": [{"@list": [ + {"@list": [{"@value": "a"}]}, + {"@value": "b"} + ]}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/li05-out.jsonld b/core/src/test/resources/json-ld.org/compact/li05-out.jsonld new file mode 100644 index 00000000..b1db13b1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/li05-out.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [["a"], "b"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-p050-frame.jsonld b/core/src/test/resources/json-ld.org/compact/m001-context.jsonld similarity index 53% rename from core/src/test/resources/json-ld.org/frame-p050-frame.jsonld rename to core/src/test/resources/json-ld.org/compact/m001-context.jsonld index 77dc5555..e78b6899 100644 --- a/core/src/test/resources/json-ld.org/frame-p050-frame.jsonld +++ b/core/src/test/resources/json-ld.org/compact/m001-context.jsonld @@ -1,8 +1,6 @@ { "@context": { "@vocab": "http://example/", - "id": "@id" - }, - "id": {}, - "name": {} + "idmap": {"@container": "@id"} + } } \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m001-in.jsonld b/core/src/test/resources/json-ld.org/compact/m001-in.jsonld new file mode 100644 index 00000000..c44d5e63 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m001-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/idmap": [ + {"http://example/label": [{"@value": "Object with @id _:bar"}], "@id": "_:bar"}, + {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m001-out.jsonld b/core/src/test/resources/json-ld.org/compact/m001-out.jsonld new file mode 100644 index 00000000..81a736c7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m001-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "http://example.org/foo": {"label": "Object with @id "}, + "_:bar": {"label": "Object with @id _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m002-context.jsonld b/core/src/test/resources/json-ld.org/compact/m002-context.jsonld new file mode 100644 index 00000000..e78b6899 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m002-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m002-in.jsonld b/core/src/test/resources/json-ld.org/compact/m002-in.jsonld new file mode 100644 index 00000000..274bb8c7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m002-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/idmap": [ + {"@id": "_:foo", "http://example/label": [{"@value": "Object with @id _:bar"}]}, + {"@id": "http://example.org/bar", "http://example/label": [{"@value": "Object with @id "}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m002-out.jsonld b/core/src/test/resources/json-ld.org/compact/m002-out.jsonld new file mode 100644 index 00000000..c11c0bdd --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m002-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "_:foo": {"label": "Object with @id _:bar"}, + "http://example.org/bar": {"label": "Object with @id "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m003-context.jsonld b/core/src/test/resources/json-ld.org/compact/m003-context.jsonld new file mode 100644 index 00000000..6540eb51 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m003-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m003-in.jsonld b/core/src/test/resources/json-ld.org/compact/m003-in.jsonld new file mode 100644 index 00000000..ecdfc449 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m003-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/typemap": [ + {"http://example/label": [{"@value": "Object with @type _:bar"}], "@type": ["_:bar"]}, + {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example.org/foo"]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m003-out.jsonld b/core/src/test/resources/json-ld.org/compact/m003-out.jsonld new file mode 100644 index 00000000..f79d87a6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m003-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + }, + "typemap": { + "http://example.org/foo": {"label": "Object with @type "}, + "_:bar": {"label": "Object with @type _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m004-context.jsonld b/core/src/test/resources/json-ld.org/compact/m004-context.jsonld new file mode 100644 index 00000000..6540eb51 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m004-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m004-in.jsonld b/core/src/test/resources/json-ld.org/compact/m004-in.jsonld new file mode 100644 index 00000000..f35a9a88 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m004-in.jsonld @@ -0,0 +1,12 @@ +[{ + "http://example/typemap": [ + { + "@type": ["_:bar", "_:foo"], + "http://example/label": [{"@value": "Object with @type _:bar"}] + }, + { + "@type": ["http://example.org/foo", "http://example.org/bar"], + "http://example/label": [{"@value": "Object with @type "}] + } + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m004-out.jsonld b/core/src/test/resources/json-ld.org/compact/m004-out.jsonld new file mode 100644 index 00000000..b75a0ff8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m004-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + }, + "typemap": { + "http://example.org/foo": {"@type": "http://example.org/bar", "label": "Object with @type "}, + "_:bar": {"@type": "_:foo", "label": "Object with @type _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m005-context.jsonld b/core/src/test/resources/json-ld.org/compact/m005-context.jsonld new file mode 100644 index 00000000..5ebfbc69 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m005-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "idmap": {"@container": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m005-in.jsonld b/core/src/test/resources/json-ld.org/compact/m005-in.jsonld new file mode 100644 index 00000000..fe15d637 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m005-in.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/idmap": [ + {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m005-out.jsonld b/core/src/test/resources/json-ld.org/compact/m005-out.jsonld new file mode 100644 index 00000000..68c15c47 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m005-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "ex:foo": {"label": "Object with @id "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m006-context.jsonld b/core/src/test/resources/json-ld.org/compact/m006-context.jsonld new file mode 100644 index 00000000..6540eb51 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m006-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m006-in.jsonld b/core/src/test/resources/json-ld.org/compact/m006-in.jsonld new file mode 100644 index 00000000..a6cfccfe --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m006-in.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/typemap": [ + {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example/Foo"]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m006-out.jsonld b/core/src/test/resources/json-ld.org/compact/m006-out.jsonld new file mode 100644 index 00000000..ce359b45 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m006-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + }, + "typemap": { + "Foo": {"label": "Object with @type "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m007-context.jsonld b/core/src/test/resources/json-ld.org/compact/m007-context.jsonld new file mode 100644 index 00000000..16ee43db --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m007-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"}, + "Type": {"@context": {"a": "http://example.org/a"}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m007-in.jsonld b/core/src/test/resources/json-ld.org/compact/m007-in.jsonld new file mode 100644 index 00000000..e1da44ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m007-in.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/typemap": [ + {"http://example.org/a": [{"@value": "Object with @type "}], "@type": ["http://example/Type"]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m007-out.jsonld b/core/src/test/resources/json-ld.org/compact/m007-out.jsonld new file mode 100644 index 00000000..3e48d6e6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m007-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"}, + "Type": {"@context": {"a": "http://example.org/a"}} + }, + "typemap": { + "Type": {"a": "Object with @type "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m008-context.jsonld b/core/src/test/resources/json-ld.org/compact/m008-context.jsonld new file mode 100644 index 00000000..722af08d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m008-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "author": { + "@id": "http://example.com/vocab/author", + "@container": "@index" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m008-in.jsonld b/core/src/test/resources/json-ld.org/compact/m008-in.jsonld new file mode 100644 index 00000000..a2e1e396 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m008-in.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/vocab/author": [{ + "@id": "http://example.org/person/1", + "@index": "regular" + }, { + "@id": "http://example.org/guest/cd24f329aa" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m008-out.jsonld b/core/src/test/resources/json-ld.org/compact/m008-out.jsonld new file mode 100644 index 00000000..9d752eee --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m008-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "author": { + "@id": "http://example.com/vocab/author", + "@container": "@index" + } + }, + "@id": "http://example.com/article", + "author": { + "regular": { + "@id": "http://example.org/person/1" + }, + "@none": { + "@id": "http://example.org/guest/cd24f329aa" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m009-context.jsonld b/core/src/test/resources/json-ld.org/compact/m009-context.jsonld new file mode 100644 index 00000000..722af08d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m009-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "author": { + "@id": "http://example.com/vocab/author", + "@container": "@index" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m009-in.jsonld b/core/src/test/resources/json-ld.org/compact/m009-in.jsonld new file mode 100644 index 00000000..8ed51acb --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m009-in.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/vocab/author": [{ + "@value": "Gregg", + "@index": "regular" + }, { + "@value": "Manu" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m009-out.jsonld b/core/src/test/resources/json-ld.org/compact/m009-out.jsonld new file mode 100644 index 00000000..42b29d4d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m009-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "author": { + "@id": "http://example.com/vocab/author", + "@container": "@index" + } + }, + "@id": "http://example.com/article", + "author": { + "regular": "Gregg", + "@none": "Manu" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m010-context.jsonld b/core/src/test/resources/json-ld.org/compact/m010-context.jsonld new file mode 100644 index 00000000..f39d1c79 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m010-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "author": { + "@id": "http://example.com/vocab/author", + "@container": "@index" + }, + "none": "@none" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m010-in.jsonld b/core/src/test/resources/json-ld.org/compact/m010-in.jsonld new file mode 100644 index 00000000..8ed51acb --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m010-in.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/vocab/author": [{ + "@value": "Gregg", + "@index": "regular" + }, { + "@value": "Manu" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m010-out.jsonld b/core/src/test/resources/json-ld.org/compact/m010-out.jsonld new file mode 100644 index 00000000..ebcf4c7b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m010-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "author": { + "@id": "http://example.com/vocab/author", + "@container": "@index" + }, + "none": "@none" + }, + "@id": "http://example.com/article", + "author": { + "regular": "Gregg", + "none": "Manu" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m011-context.jsonld b/core/src/test/resources/json-ld.org/compact/m011-context.jsonld new file mode 100644 index 00000000..374aa5b2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m011-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": {"@id": "vocab:label", "@container": "@language"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m011-in.jsonld b/core/src/test/resources/json-ld.org/compact/m011-in.jsonld new file mode 100644 index 00000000..f2f1c9ea --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m011-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "The Queen", "@language": "en"}, + {"@value": "Die Königin", "@language": "de"}, + {"@value": "Ihre Majestät"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m011-out.jsonld b/core/src/test/resources/json-ld.org/compact/m011-out.jsonld new file mode 100644 index 00000000..eabfa785 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m011-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": {"@id": "vocab:label", "@container": "@language"} + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": "Die Königin", + "@none": "Ihre Majestät" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m012-context.jsonld b/core/src/test/resources/json-ld.org/compact/m012-context.jsonld new file mode 100644 index 00000000..93b531ea --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m012-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": {"@id": "vocab:label", "@container": "@language"}, + "none": "@none" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m012-in.jsonld b/core/src/test/resources/json-ld.org/compact/m012-in.jsonld new file mode 100644 index 00000000..f2f1c9ea --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m012-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "The Queen", "@language": "en"}, + {"@value": "Die Königin", "@language": "de"}, + {"@value": "Ihre Majestät"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m012-out.jsonld b/core/src/test/resources/json-ld.org/compact/m012-out.jsonld new file mode 100644 index 00000000..14fc6ac9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m012-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": {"@id": "vocab:label", "@container": "@language"}, + "none": "@none" + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": "Die Königin", + "none": "Ihre Majestät" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m013-context.jsonld b/core/src/test/resources/json-ld.org/compact/m013-context.jsonld new file mode 100644 index 00000000..5ebfbc69 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m013-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "idmap": {"@container": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m013-in.jsonld b/core/src/test/resources/json-ld.org/compact/m013-in.jsonld new file mode 100644 index 00000000..0beca7ed --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m013-in.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/idmap": [ + {"http://example/label": [{"@value": "Object with no @id"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m013-out.jsonld b/core/src/test/resources/json-ld.org/compact/m013-out.jsonld new file mode 100644 index 00000000..baf3a656 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m013-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "@none": {"label": "Object with no @id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m014-context.jsonld b/core/src/test/resources/json-ld.org/compact/m014-context.jsonld new file mode 100644 index 00000000..92135644 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m014-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "idmap": {"@container": "@id"}, + "none": "@none" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m014-in.jsonld b/core/src/test/resources/json-ld.org/compact/m014-in.jsonld new file mode 100644 index 00000000..0beca7ed --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m014-in.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/idmap": [ + {"http://example/label": [{"@value": "Object with no @id"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m014-out.jsonld b/core/src/test/resources/json-ld.org/compact/m014-out.jsonld new file mode 100644 index 00000000..55bab565 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m014-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "idmap": {"@container": "@id"}, + "none": "@none" + }, + "idmap": { + "none": {"label": "Object with no @id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m015-context.jsonld b/core/src/test/resources/json-ld.org/compact/m015-context.jsonld new file mode 100644 index 00000000..5978667b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m015-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "typemap": {"@container": "@type"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m015-in.jsonld b/core/src/test/resources/json-ld.org/compact/m015-in.jsonld new file mode 100644 index 00000000..e14b54c8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m015-in.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/typemap": [ + {"http://example/label": [{"@value": "Object with no @type"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m015-out.jsonld b/core/src/test/resources/json-ld.org/compact/m015-out.jsonld new file mode 100644 index 00000000..270b9319 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m015-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "typemap": {"@container": "@type"} + }, + "typemap": { + "@none": {"label": "Object with no @type"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m016-context.jsonld b/core/src/test/resources/json-ld.org/compact/m016-context.jsonld new file mode 100644 index 00000000..b517bc35 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m016-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "typemap": {"@container": "@type"}, + "none": "@none" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m016-in.jsonld b/core/src/test/resources/json-ld.org/compact/m016-in.jsonld new file mode 100644 index 00000000..2a7defe9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m016-in.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/typemap": [ + {"http://example/label": [{"@value": "Object with no @id"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m016-out.jsonld b/core/src/test/resources/json-ld.org/compact/m016-out.jsonld new file mode 100644 index 00000000..5d115f19 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m016-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "ex": "http://example.org/", + "typemap": {"@container": "@type"}, + "none": "@none" + }, + "typemap": { + "none": {"label": "Object with no @id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m017-context.jsonld b/core/src/test/resources/json-ld.org/compact/m017-context.jsonld new file mode 100644 index 00000000..f12919ce --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m017-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index", "@set"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m017-in.jsonld b/core/src/test/resources/json-ld.org/compact/m017-in.jsonld new file mode 100644 index 00000000..e01c12ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m017-in.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m017-out.jsonld b/core/src/test/resources/json-ld.org/compact/m017-out.jsonld new file mode 100644 index 00000000..ce09bd9e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m017-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index", "@set"]} + }, + "input": { + "@none": [{"value": "x"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m018-context.jsonld b/core/src/test/resources/json-ld.org/compact/m018-context.jsonld new file mode 100644 index 00000000..2de136b0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m018-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m018-in.jsonld b/core/src/test/resources/json-ld.org/compact/m018-in.jsonld new file mode 100644 index 00000000..e01c12ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m018-in.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m018-out.jsonld b/core/src/test/resources/json-ld.org/compact/m018-out.jsonld new file mode 100644 index 00000000..67ff9241 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m018-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "@none" : {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m019-context.jsonld b/core/src/test/resources/json-ld.org/compact/m019-context.jsonld new file mode 100644 index 00000000..5160a126 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m019-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]}, + "none": "@none" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m019-in.jsonld b/core/src/test/resources/json-ld.org/compact/m019-in.jsonld new file mode 100644 index 00000000..e01c12ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m019-in.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/m019-out.jsonld b/core/src/test/resources/json-ld.org/compact/m019-out.jsonld new file mode 100644 index 00000000..bba709a7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/m019-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]}, + "none": "@none" + }, + "input": { + "none" : {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n001-context.jsonld b/core/src/test/resources/json-ld.org/compact/n001-context.jsonld new file mode 100644 index 00000000..18017f10 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n001-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "p2": {"@nest": "@nest"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n001-in.jsonld b/core/src/test/resources/json-ld.org/compact/n001-in.jsonld new file mode 100644 index 00000000..c0373456 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n001-in.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [{"@value": "v2"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n001-out.jsonld b/core/src/test/resources/json-ld.org/compact/n001-out.jsonld new file mode 100644 index 00000000..15819870 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n001-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "p2": {"@nest": "@nest"} + }, + "p1": "v1", + "@nest": { + "p2": "v2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n002-context.jsonld b/core/src/test/resources/json-ld.org/compact/n002-context.jsonld new file mode 100644 index 00000000..557c93ac --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n002-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "p1": {"@nest": "@nest"}, + "p2": {"@nest": "@nest"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n002-in.jsonld b/core/src/test/resources/json-ld.org/compact/n002-in.jsonld new file mode 100644 index 00000000..c0373456 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n002-in.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [{"@value": "v2"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n002-out.jsonld b/core/src/test/resources/json-ld.org/compact/n002-out.jsonld new file mode 100644 index 00000000..e9ff8d7c --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n002-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "p1": {"@nest": "@nest"}, + "p2": {"@nest": "@nest"} + }, + "@nest": { + "p1": "v1", + "p2": "v2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n003-context.jsonld b/core/src/test/resources/json-ld.org/compact/n003-context.jsonld new file mode 100644 index 00000000..421621b3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n003-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest", + "p2": {"@nest": "nest"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n003-in.jsonld b/core/src/test/resources/json-ld.org/compact/n003-in.jsonld new file mode 100644 index 00000000..c0373456 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n003-in.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [{"@value": "v2"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n003-out.jsonld b/core/src/test/resources/json-ld.org/compact/n003-out.jsonld new file mode 100644 index 00000000..a2415a83 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n003-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest", + "p2": {"@nest": "nest"} + }, + "p1": "v1", + "nest": { + "p2": "v2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n004-context.jsonld b/core/src/test/resources/json-ld.org/compact/n004-context.jsonld new file mode 100644 index 00000000..18017f10 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n004-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "p2": {"@nest": "@nest"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n004-in.jsonld b/core/src/test/resources/json-ld.org/compact/n004-in.jsonld new file mode 100644 index 00000000..5b70771a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n004-in.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [{"@value": "v2"}, {"@value": "v3"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n004-out.jsonld b/core/src/test/resources/json-ld.org/compact/n004-out.jsonld new file mode 100644 index 00000000..66705e9b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n004-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "p2": {"@nest": "@nest"} + }, + "p1": "v1", + "@nest": { + "p2": ["v2", "v3"] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n005-context.jsonld b/core/src/test/resources/json-ld.org/compact/n005-context.jsonld new file mode 100644 index 00000000..5a712da1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n005-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "list": {"@container": "@list", "@nest": "nestedlist"}, + "nestedlist": "@nest" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n005-in.jsonld b/core/src/test/resources/json-ld.org/compact/n005-in.jsonld new file mode 100644 index 00000000..ad985e83 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n005-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/list": [{"@list": [ + {"@value": "a"}, + {"@value": "b"} + ]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n005-out.jsonld b/core/src/test/resources/json-ld.org/compact/n005-out.jsonld new file mode 100644 index 00000000..5e0035ab --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n005-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "list": {"@container": "@list", "@nest": "nestedlist"}, + "nestedlist": "@nest" + }, + "nestedlist": { + "list": ["a", "b"] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n006-context.jsonld b/core/src/test/resources/json-ld.org/compact/n006-context.jsonld new file mode 100644 index 00000000..281100fc --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n006-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "index": {"@container": "@index", "@nest": "nestedindex"}, + "nestedindex": "@nest" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n006-in.jsonld b/core/src/test/resources/json-ld.org/compact/n006-in.jsonld new file mode 100644 index 00000000..2682faf3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n006-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/index": [ + {"@value": "a", "@index": "A"}, + {"@value": "b", "@index": "B"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n006-out.jsonld b/core/src/test/resources/json-ld.org/compact/n006-out.jsonld new file mode 100644 index 00000000..49f2172d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n006-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "index": {"@container": "@index", "@nest": "nestedindex"}, + "nestedindex": "@nest" + }, + "nestedindex": { + "index": { + "A": "a", + "B": "b" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n007-context.jsonld b/core/src/test/resources/json-ld.org/compact/n007-context.jsonld new file mode 100644 index 00000000..02492cee --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n007-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "container": {"@container": "@language", "@nest": "nestedlanguage"}, + "nestedlanguage": "@nest" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n007-in.jsonld b/core/src/test/resources/json-ld.org/compact/n007-in.jsonld new file mode 100644 index 00000000..f32329ab --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n007-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/container": [ + {"@value": "Die Königin", "@language": "de"}, + {"@value": "The Queen", "@language": "en"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n007-out.jsonld b/core/src/test/resources/json-ld.org/compact/n007-out.jsonld new file mode 100644 index 00000000..659788d4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n007-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "container": {"@container": "@language", "@nest": "nestedlanguage"}, + "nestedlanguage": "@nest" + }, + "nestedlanguage": { + "container": { + "en": "The Queen", + "de": "Die Königin" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n008-context.jsonld b/core/src/test/resources/json-ld.org/compact/n008-context.jsonld new file mode 100644 index 00000000..0eeff316 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n008-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type", "@nest": "nestedtypemap"}, + "nestedtypemap": "@nest" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n008-in.jsonld b/core/src/test/resources/json-ld.org/compact/n008-in.jsonld new file mode 100644 index 00000000..ecdfc449 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n008-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/typemap": [ + {"http://example/label": [{"@value": "Object with @type _:bar"}], "@type": ["_:bar"]}, + {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example.org/foo"]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n008-out.jsonld b/core/src/test/resources/json-ld.org/compact/n008-out.jsonld new file mode 100644 index 00000000..d1e44c63 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n008-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type", "@nest": "nestedtypemap"}, + "nestedtypemap": "@nest" + }, + "nestedtypemap": { + "typemap": { + "_:bar": {"label": "Object with @type _:bar"}, + "http://example.org/foo": {"label": "Object with @type "} + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n009-context.jsonld b/core/src/test/resources/json-ld.org/compact/n009-context.jsonld new file mode 100644 index 00000000..2d491418 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n009-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id", "@nest": "nestedidmap"}, + "nestedidmap": "@nest" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n009-in.jsonld b/core/src/test/resources/json-ld.org/compact/n009-in.jsonld new file mode 100644 index 00000000..c44d5e63 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n009-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/idmap": [ + {"http://example/label": [{"@value": "Object with @id _:bar"}], "@id": "_:bar"}, + {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n009-out.jsonld b/core/src/test/resources/json-ld.org/compact/n009-out.jsonld new file mode 100644 index 00000000..a251580c --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n009-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id", "@nest": "nestedidmap"}, + "nestedidmap": "@nest" + }, + "nestedidmap": { + "idmap": { + "http://example.org/foo": {"label": "Object with @id "}, + "_:bar": {"label": "Object with @id _:bar"} + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n010-context.jsonld b/core/src/test/resources/json-ld.org/compact/n010-context.jsonld new file mode 100644 index 00000000..c3f0c9df --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n010-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "foonest": "@nest", + "barnest": "@nest", + "foo": {"@nest": "foonest"}, + "bar": {"@nest": "barnest"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n010-in.jsonld b/core/src/test/resources/json-ld.org/compact/n010-in.jsonld new file mode 100644 index 00000000..5a47bb39 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n010-in.jsonld @@ -0,0 +1,4 @@ +{ + "http://example.org/foo": "bar", + "http://example.org/bar": "foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/n010-out.jsonld b/core/src/test/resources/json-ld.org/compact/n010-out.jsonld new file mode 100644 index 00000000..c53a3d76 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/n010-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "foonest": "@nest", + "barnest": "@nest", + "foo": {"@nest": "foonest"}, + "bar": {"@nest": "barnest"} + }, + "barnest": {"bar": "foo"}, + "foonest": {"foo": "bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/p001-context.jsonld b/core/src/test/resources/json-ld.org/compact/p001-context.jsonld new file mode 100644 index 00000000..2d72ed66 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p001-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "ex": {"@id": "http://example.org/"} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p001-in.jsonld b/core/src/test/resources/json-ld.org/compact/p001-in.jsonld new file mode 100644 index 00000000..19beb0f3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p001-in.jsonld @@ -0,0 +1,5 @@ +{ + "@id": "http://example.org/id1", + "@type": ["http://example.org/Type1", "http://example.org/Type2"], + "http://example.org/term": {"@id": "http://example.org/id2"} +} diff --git a/core/src/test/resources/json-ld.org/compact/p001-out.jsonld b/core/src/test/resources/json-ld.org/compact/p001-out.jsonld new file mode 100644 index 00000000..5dfd781a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p001-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "ex": {"@id": "http://example.org/"} + }, + "@id": "http://example.org/id1", + "@type": ["http://example.org/Type1", "http://example.org/Type2"], + "http://example.org/term": {"@id": "http://example.org/id2"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/p002-context.jsonld b/core/src/test/resources/json-ld.org/compact/p002-context.jsonld new file mode 100644 index 00000000..2d72ed66 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p002-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "ex": {"@id": "http://example.org/"} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p002-in.jsonld b/core/src/test/resources/json-ld.org/compact/p002-in.jsonld new file mode 100644 index 00000000..19beb0f3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p002-in.jsonld @@ -0,0 +1,5 @@ +{ + "@id": "http://example.org/id1", + "@type": ["http://example.org/Type1", "http://example.org/Type2"], + "http://example.org/term": {"@id": "http://example.org/id2"} +} diff --git a/core/src/test/resources/json-ld.org/compact/p002-out.jsonld b/core/src/test/resources/json-ld.org/compact/p002-out.jsonld new file mode 100644 index 00000000..5dfd781a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p002-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "ex": {"@id": "http://example.org/"} + }, + "@id": "http://example.org/id1", + "@type": ["http://example.org/Type1", "http://example.org/Type2"], + "http://example.org/term": {"@id": "http://example.org/id2"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/p003-context.jsonld b/core/src/test/resources/json-ld.org/compact/p003-context.jsonld new file mode 100644 index 00000000..58907444 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p003-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "compact-iris:": "http://example.com/compact-iris-", + "property": "http://example.com/property" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p003-in.jsonld b/core/src/test/resources/json-ld.org/compact/p003-in.jsonld new file mode 100644 index 00000000..948a5d52 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p003-in.jsonld @@ -0,0 +1,6 @@ +{ + "http://example.com/property": { + "@id": "http://example.com/compact-iris-are-considered", + "http://example.com/property": "Prefix terms must end in a gen-delim" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p003-out.jsonld b/core/src/test/resources/json-ld.org/compact/p003-out.jsonld new file mode 100644 index 00000000..be552f3b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p003-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "compact-iris:": "http://example.com/compact-iris-", + "property": "http://example.com/property" + }, + "property": { + "@id": "http://example.com/compact-iris-are-considered", + "property": "Prefix terms must end in a gen-delim" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p004-context.jsonld b/core/src/test/resources/json-ld.org/compact/p004-context.jsonld new file mode 100644 index 00000000..f4348ae1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p004-context.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "ex": "http://example.com/", + "colon": "http://example.org/:", + "question": "http://example.org/?", + "hash": "http://example.org/#", + "lbracket": "http://example.org/[", + "rbracket": "http://example.org/]", + "at": "http://example.org/@" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/p004-in.jsonld b/core/src/test/resources/json-ld.org/compact/p004-in.jsonld new file mode 100644 index 00000000..4f9847f9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p004-in.jsonld @@ -0,0 +1,9 @@ +{ + "http://example.com/foo": "Use term with IRI ending in '/'", + "http://example.org/:foo": "Use term with IRI ending in ':'", + "http://example.org/?foo": "Use term with IRI ending in '?'", + "http://example.org/#foo": "Use term with IRI ending in '#'", + "http://example.org/[foo": "Use term with IRI ending in '['", + "http://example.org/]foo": "Use term with IRI ending in ']'", + "http://example.org/@foo": "Use term with IRI ending in '@'" +} diff --git a/core/src/test/resources/json-ld.org/compact/p004-out.jsonld b/core/src/test/resources/json-ld.org/compact/p004-out.jsonld new file mode 100644 index 00000000..20de3721 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p004-out.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "ex": "http://example.com/", + "colon": "http://example.org/:", + "question": "http://example.org/?", + "hash": "http://example.org/#", + "lbracket": "http://example.org/[", + "rbracket": "http://example.org/]", + "at": "http://example.org/@" + }, + "ex:foo": "Use term with IRI ending in '/'", + "colon:foo": "Use term with IRI ending in ':'", + "question:foo": "Use term with IRI ending in '?'", + "hash:foo": "Use term with IRI ending in '#'", + "lbracket:foo": "Use term with IRI ending in '['", + "rbracket:foo": "Use term with IRI ending in ']'", + "at:foo": "Use term with IRI ending in '@'" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/p005-context.jsonld b/core/src/test/resources/json-ld.org/compact/p005-context.jsonld new file mode 100644 index 00000000..daa9107d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p005-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "compact-iris": {"@id": "http://example.com/compact-iris-", "@prefix": true}, + "property": "http://example.com/property" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p005-in.jsonld b/core/src/test/resources/json-ld.org/compact/p005-in.jsonld new file mode 100644 index 00000000..cef01fc8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p005-in.jsonld @@ -0,0 +1,6 @@ +{ + "http://example.com/property": { + "@id": "http://example.com/compact-iris-are-considered", + "http://example.com/property": "@prefix does not require a gen-delim" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p005-out.jsonld b/core/src/test/resources/json-ld.org/compact/p005-out.jsonld new file mode 100644 index 00000000..6920c193 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p005-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "compact-iris": {"@id": "http://example.com/compact-iris-", "@prefix": true}, + "property": "http://example.com/property" + }, + "property": { + "@id": "compact-iris:are-considered", + "property": "@prefix does not require a gen-delim" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p006-context.jsonld b/core/src/test/resources/json-ld.org/compact/p006-context.jsonld new file mode 100644 index 00000000..daa9107d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p006-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "compact-iris": {"@id": "http://example.com/compact-iris-", "@prefix": true}, + "property": "http://example.com/property" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p006-in.jsonld b/core/src/test/resources/json-ld.org/compact/p006-in.jsonld new file mode 100644 index 00000000..cef01fc8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p006-in.jsonld @@ -0,0 +1,6 @@ +{ + "http://example.com/property": { + "@id": "http://example.com/compact-iris-are-considered", + "http://example.com/property": "@prefix does not require a gen-delim" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p006-out.jsonld b/core/src/test/resources/json-ld.org/compact/p006-out.jsonld new file mode 100644 index 00000000..6920c193 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p006-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "compact-iris": {"@id": "http://example.com/compact-iris-", "@prefix": true}, + "property": "http://example.com/property" + }, + "property": { + "@id": "compact-iris:are-considered", + "property": "@prefix does not require a gen-delim" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p007-context.jsonld b/core/src/test/resources/json-ld.org/compact/p007-context.jsonld new file mode 100644 index 00000000..8d06da6b --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p007-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "foo": "http://example.org/", + "foo:bar": {"@type": "@id"} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p007-in.jsonld b/core/src/test/resources/json-ld.org/compact/p007-in.jsonld new file mode 100644 index 00000000..47e98a8a --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p007-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.org/bar/a", + "http://example.org/bar/b": "c" +} diff --git a/core/src/test/resources/json-ld.org/compact/p007-out.jsonld b/core/src/test/resources/json-ld.org/compact/p007-out.jsonld new file mode 100644 index 00000000..b82492a8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p007-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "foo": "http://example.org/", + "foo:bar": {"@type": "@id"} + }, + "@id": "foo:bar/a", + "foo:bar/b": "c" +} diff --git a/core/src/test/resources/json-ld.org/compact/p008-context.jsonld b/core/src/test/resources/json-ld.org/compact/p008-context.jsonld new file mode 100644 index 00000000..9c7f2363 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p008-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "compact-iris": {"@id": "http://example.com/compact-iris#", "@prefix": false}, + "property": "http://example.com/property" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p008-in.jsonld b/core/src/test/resources/json-ld.org/compact/p008-in.jsonld new file mode 100644 index 00000000..55a50021 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p008-in.jsonld @@ -0,0 +1,6 @@ +{ + "http://example.com/property": { + "@id": "http://example.com/compact-iris#are-considered", + "http://example.com/property": "@prefix false not really necessary, but doubly prevents term from being used as a prefix" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/p008-out.jsonld b/core/src/test/resources/json-ld.org/compact/p008-out.jsonld new file mode 100644 index 00000000..3ad60694 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/p008-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "compact-iris": { + "@id": "http://example.com/compact-iris#", + "@prefix": false + }, + "property": "http://example.com/property" + }, + "property": { + "@id": "http://example.com/compact-iris#are-considered", + "property": "@prefix false not really necessary, but doubly prevents term from being used as a prefix" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi01-context.jsonld b/core/src/test/resources/json-ld.org/compact/pi01-context.jsonld new file mode 100644 index 00000000..f2a62b3e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi01-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi01-in.jsonld b/core/src/test/resources/json-ld.org/compact/pi01-in.jsonld new file mode 100644 index 00000000..391db54d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi01-in.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/1", "http://example.com/prop": [{"@value": "regular"}]}, + {"@id": "http://example.com/person/2", "http://example.com/prop": [{"@value": "guest"}]}, + {"@id": "http://example.com/person/3", "http://example.com/prop": [{"@value": "guest"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi01-out.jsonld b/core/src/test/resources/json-ld.org/compact/pi01-out.jsonld new file mode 100644 index 00000000..7a92c136 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi01-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + }, + "@id": "article", + "author": { + "regular": {"@id": "person/1"}, + "guest": [{"@id": "person/2"}, {"@id": "person/3"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi02-context.jsonld b/core/src/test/resources/json-ld.org/compact/pi02-context.jsonld new file mode 100644 index 00000000..f2a62b3e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi02-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi02-in.jsonld b/core/src/test/resources/json-ld.org/compact/pi02-in.jsonld new file mode 100644 index 00000000..6068c779 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi02-in.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/1", "http://example.com/prop": [{"@value": "regular"}, {"@value": "foo"}]}, + {"@id": "http://example.com/person/2", "http://example.com/prop": [{"@value": "guest"}, {"@value": "foo"}]}, + {"@id": "http://example.com/person/3", "http://example.com/prop": [{"@value": "guest"}, {"@value": "foo"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi02-out.jsonld b/core/src/test/resources/json-ld.org/compact/pi02-out.jsonld new file mode 100644 index 00000000..850558eb --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi02-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + }, + "@id": "article", + "author": { + "regular": {"@id": "person/1", "prop": "foo"}, + "guest": [ + {"@id": "person/2", "prop": "foo"}, + {"@id": "person/3", "prop": "foo"} + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi03-context.jsonld b/core/src/test/resources/json-ld.org/compact/pi03-context.jsonld new file mode 100644 index 00000000..cb0fd5dd --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi03-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@vocab", "@container": "@index", "@index": "prop"}, + "prop": {"@type": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi03-in.jsonld b/core/src/test/resources/json-ld.org/compact/pi03-in.jsonld new file mode 100644 index 00000000..165092dc --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi03-in.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/1", "http://example.com/prop": [{"@id": "http://example.com/regular"}]}, + {"@id": "http://example.com/person/2", "http://example.com/prop": [{"@id": "http://example.com/guest"}]}, + {"@id": "http://example.com/person/3", "http://example.com/prop": [{"@id": "http://example.com/guest"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi03-out.jsonld b/core/src/test/resources/json-ld.org/compact/pi03-out.jsonld new file mode 100644 index 00000000..2e9e5780 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi03-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@vocab", "@container": "@index", "@index": "prop"}, + "prop": {"@type": "@id"} + }, + "@id": "article", + "author": { + "regular": {"@id": "person/1"}, + "guest": [ + {"@id": "person/2"}, + {"@id": "person/3"} + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi04-context.jsonld b/core/src/test/resources/json-ld.org/compact/pi04-context.jsonld new file mode 100644 index 00000000..cb0fd5dd --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi04-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@vocab", "@container": "@index", "@index": "prop"}, + "prop": {"@type": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi04-in.jsonld b/core/src/test/resources/json-ld.org/compact/pi04-in.jsonld new file mode 100644 index 00000000..3b4ffdeb --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi04-in.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/1", "http://example.com/prop": [{"@id": "http://example.com/regular"}, {"@id": "http://example.com/foo"}]}, + {"@id": "http://example.com/person/2", "http://example.com/prop": [{"@id": "http://example.com/guest"}, {"@id": "http://example.com/foo"}]}, + {"@id": "http://example.com/person/3", "http://example.com/prop": [{"@id": "http://example.com/guest"}, {"@id": "http://example.com/foo"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi04-out.jsonld b/core/src/test/resources/json-ld.org/compact/pi04-out.jsonld new file mode 100644 index 00000000..11dd58c2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi04-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@vocab", "@container": "@index", "@index": "prop"}, + "prop": {"@type": "@id"} + }, + "@id": "article", + "author": { + "regular": {"@id": "person/1", "prop": "foo"}, + "guest": [ + {"@id": "person/2", "prop": "foo"}, + {"@id": "person/3", "prop": "foo"} + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi05-context.jsonld b/core/src/test/resources/json-ld.org/compact/pi05-context.jsonld new file mode 100644 index 00000000..f2a62b3e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi05-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi05-in.jsonld b/core/src/test/resources/json-ld.org/compact/pi05-in.jsonld new file mode 100644 index 00000000..4f8d91d2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi05-in.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/1"}, + {"@id": "http://example.com/person/2"}, + {"@id": "http://example.com/person/3"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi05-out.jsonld b/core/src/test/resources/json-ld.org/compact/pi05-out.jsonld new file mode 100644 index 00000000..c0d89078 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi05-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + }, + "@id": "article", + "author": { + "@none": ["person/1", "person/2", "person/3"] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi06-context.jsonld b/core/src/test/resources/json-ld.org/compact/pi06-context.jsonld new file mode 100644 index 00000000..f2a62b3e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi06-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi06-in.jsonld b/core/src/test/resources/json-ld.org/compact/pi06-in.jsonld new file mode 100644 index 00000000..165092dc --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi06-in.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/1", "http://example.com/prop": [{"@id": "http://example.com/regular"}]}, + {"@id": "http://example.com/person/2", "http://example.com/prop": [{"@id": "http://example.com/guest"}]}, + {"@id": "http://example.com/person/3", "http://example.com/prop": [{"@id": "http://example.com/guest"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pi06-out.jsonld b/core/src/test/resources/json-ld.org/compact/pi06-out.jsonld new file mode 100644 index 00000000..146f10fe --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pi06-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + }, + "@id": "article", + "author": { + "@none": [ + {"@id": "person/1", "prop": {"@id": "regular"}}, + {"@id": "person/2", "prop": {"@id": "guest"}}, + {"@id": "person/3", "prop": {"@id": "guest"}} + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pr01-context.jsonld b/core/src/test/resources/json-ld.org/compact/pr01-context.jsonld new file mode 100644 index 00000000..a6875709 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr01-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": [{ + "@vocab": "http://example.com/", + "@version": 1.1, + "protected": {"@protected": true} + }, null] +} diff --git a/core/src/test/resources/json-ld.org/compact/pr01-in.jsonld b/core/src/test/resources/json-ld.org/compact/pr01-in.jsonld new file mode 100644 index 00000000..d6a85b74 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr01-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example/a": [{"@id": "http://example.org/foo"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pr02-context.jsonld b/core/src/test/resources/json-ld.org/compact/pr02-context.jsonld new file mode 100644 index 00000000..90e03cea --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr02-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [{ + "@vocab": "http://example.com/", + "@version": 1.1, + "protected": {"@protected": true} + }, { + "protected": "http://example.com/protected" + }] +} diff --git a/core/src/test/resources/json-ld.org/compact/pr02-in.jsonld b/core/src/test/resources/json-ld.org/compact/pr02-in.jsonld new file mode 100644 index 00000000..d6a85b74 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr02-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example/a": [{"@id": "http://example.org/foo"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pr03-context.jsonld b/core/src/test/resources/json-ld.org/compact/pr03-context.jsonld new file mode 100644 index 00000000..0863ce0d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr03-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "protected": {"@protected": true}, + "Type": {"@context": {"protected": {"@type": "@id"}}} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/pr03-in.jsonld b/core/src/test/resources/json-ld.org/compact/pr03-in.jsonld new file mode 100644 index 00000000..0b780438 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr03-in.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.com/protected": [{"@value": "p === http://example.com/protected"}], + "http://example.com/unprotected": [{ + "@type": "http://example.com/Type", + "http://example.com/protected": [{"@value": "p === http://example.com/protected"}] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/pr04-context.jsonld b/core/src/test/resources/json-ld.org/compact/pr04-context.jsonld new file mode 100644 index 00000000..1d351903 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr04-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "protected": {"@protected": true}, + "unprotected": {"@context": {"protected": {"@language": "en"}}} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/pr04-in.jsonld b/core/src/test/resources/json-ld.org/compact/pr04-in.jsonld new file mode 100644 index 00000000..e108683c --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr04-in.jsonld @@ -0,0 +1,9 @@ +[{ + "http://example.com/protected": [{"@value": "p === http://example.com/protected"}], + "http://example.com/unprotected": [{ + "http://example.com/protected": [{ + "@value": "p === http://example.com/protected", + "@language": "en" + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/compact/pr04-out.jsonld b/core/src/test/resources/json-ld.org/compact/pr04-out.jsonld new file mode 100644 index 00000000..41eaedee --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr04-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "protected": {"@protected": true}, + "unprotected": { + "@context": {"protected": {"@language": "en"}} + } + }, + "protected": "p === http://example.com/protected", + "unprotected": { + "protected": "p === http://example.com/protected" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/pr05-context.jsonld b/core/src/test/resources/json-ld.org/compact/pr05-context.jsonld new file mode 100644 index 00000000..a066af95 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr05-context.jsonld @@ -0,0 +1,12 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "@vocab": "http://example.com/", + "Parent": {"@context": {"@protected": true, "foo": {"@type": "@id"}}} + }, { + "@version": 1.1, + "@protected": true, + "Child": {"@context": {"@protected": true, "foo": {"@type": "@id"}}} + }] +} diff --git a/core/src/test/resources/json-ld.org/compact/pr05-in.jsonld b/core/src/test/resources/json-ld.org/compact/pr05-in.jsonld new file mode 100644 index 00000000..4e97b905 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr05-in.jsonld @@ -0,0 +1,20 @@ +[ + { + "@type": [ + "http://example.com/Parent" + ], + "http://example.com/foo": [ + { + "@type": [ + "http://example.com/Child" + ], + "http://example.com/foo": [ + { + "@id": "http://example.com/test" + } + ] + } + ] + } +] + diff --git a/core/src/test/resources/json-ld.org/compact/pr05-out.jsonld b/core/src/test/resources/json-ld.org/compact/pr05-out.jsonld new file mode 100644 index 00000000..7cd17cb8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/pr05-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "@vocab": "http://example.com/", + "Parent": {"@context": {"@protected": true, "foo": {"@type": "@id"}}} + }, { + "@version": 1.1, + "@protected": true, + "Child": {"@context": {"@protected": true, "foo": {"@type": "@id"}}} + }], + "@type": "Parent", + "foo": { + "@type": "Child", + "foo": "http://example.com/test" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/r001-context.jsonld b/core/src/test/resources/json-ld.org/compact/r001-context.jsonld new file mode 100644 index 00000000..304ef521 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/r001-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"b": "http://example.com/b"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/r001-in.jsonld b/core/src/test/resources/json-ld.org/compact/r001-in.jsonld new file mode 100644 index 00000000..543c3609 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/r001-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "a", + "http://example.com/b": {"@id": "c"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/r001-out.jsonld b/core/src/test/resources/json-ld.org/compact/r001-out.jsonld new file mode 100644 index 00000000..89a6b556 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/r001-out.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"b": "http://example.com/b"}, + "@id": "a", + "b": {"@id": "c"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/r002-context.jsonld b/core/src/test/resources/json-ld.org/compact/r002-context.jsonld new file mode 100644 index 00000000..304ef521 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/r002-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"b": "http://example.com/b"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/r002-in.jsonld b/core/src/test/resources/json-ld.org/compact/r002-in.jsonld new file mode 100644 index 00000000..765625c3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/r002-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.org/a", + "http://example.com/b": {"@id": "http://example.org/c"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/r002-out.jsonld b/core/src/test/resources/json-ld.org/compact/r002-out.jsonld new file mode 100644 index 00000000..b8786539 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/r002-out.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"b": "http://example.com/b"}, + "@id": "http://example.org/a", + "b": {"@id": "http://example.org/c"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/s001-context.jsonld b/core/src/test/resources/json-ld.org/compact/s001-context.jsonld new file mode 100644 index 00000000..41a0cf97 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/s001-context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "mylist": {"@id": "http://example.com/mylist", "@container": ["@list"]}, + "myset": {"@id": "http://example.com/myset", "@container": ["@set"]}, + "myid": {"@id": "http://example.com/myid", "@container": ["@id"]}, + "mytype": {"@id": "http://example.com/mytype", "@container": ["@type"]}, + "mylanguage": {"@id": "http://example.com/mylanguage", "@container": ["@language"]}, + "myindex": {"@id": "http://example.com/myindex", "@container": ["@index"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/s001-in.jsonld b/core/src/test/resources/json-ld.org/compact/s001-in.jsonld new file mode 100644 index 00000000..459a2978 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/s001-in.jsonld @@ -0,0 +1,9 @@ +{ + "@id": "http://example.org/id", + "http://example.com/mylist": {"@list": ["foo"]}, + "http://example.com/myset": "foo", + "http://example.com/myid": {"@id": "http://example/id", "@type": "http://example/type"}, + "http://example.com/mytype": {"@id": "http://example/id", "@type": "http://example/type"}, + "http://example.com/mylanguage": {"@value": "foo", "@language": "en"}, + "http://example.com/myindex": {"@value": "foo", "@index": "bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/s001-out.jsonld b/core/src/test/resources/json-ld.org/compact/s001-out.jsonld new file mode 100644 index 00000000..07b41459 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/s001-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "mylist": {"@id": "http://example.com/mylist", "@container": ["@list"]}, + "myset": {"@id": "http://example.com/myset", "@container": ["@set"]}, + "myid": {"@id": "http://example.com/myid", "@container": ["@id"]}, + "mytype": {"@id": "http://example.com/mytype", "@container": ["@type"]}, + "mylanguage": {"@id": "http://example.com/mylanguage", "@container": ["@language"]}, + "myindex": {"@id": "http://example.com/myindex", "@container": ["@index"]} + }, + "@id": "http://example.org/id", + "mylist": ["foo"], + "myset": ["foo"], + "myid": {"http://example/id": {"@type": "http://example/type"}}, + "mytype": {"http://example/type": {"@id": "http://example/id"}}, + "mylanguage": {"en": "foo"}, + "myindex": {"bar": "foo"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/s002-context.jsonld b/core/src/test/resources/json-ld.org/compact/s002-context.jsonld new file mode 100644 index 00000000..b63af60d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/s002-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "myid": {"@id": "http://example.com/myid", "@container": ["@id", "@set"]}, + "mytype": {"@id": "http://example.com/mytype", "@container": ["@type", "@set"]}, + "mylanguage": {"@id": "http://example.com/mylanguage", "@container": ["@language", "@set"]}, + "myindex": {"@id": "http://example.com/myindex", "@container": ["@index", "@set"]} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/s002-in.jsonld b/core/src/test/resources/json-ld.org/compact/s002-in.jsonld new file mode 100644 index 00000000..6b1e951e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/s002-in.jsonld @@ -0,0 +1,7 @@ +{ + "@id": "http://example.org/id", + "http://example.com/myid": {"@id": "http://example/id", "@type": "http://example/type"}, + "http://example.com/mytype": {"@id": "http://example/id", "@type": "http://example/type"}, + "http://example.com/mylanguage": {"@value": "foo", "@language": "en"}, + "http://example.com/myindex": {"@value": "foo", "@index": "bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/s002-out.jsonld b/core/src/test/resources/json-ld.org/compact/s002-out.jsonld new file mode 100644 index 00000000..aeef6d6d --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/s002-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "myid": {"@id": "http://example.com/myid", "@container": ["@id", "@set"]}, + "mytype": {"@id": "http://example.com/mytype", "@container": ["@type", "@set"]}, + "mylanguage": {"@id": "http://example.com/mylanguage", "@container": ["@language", "@set"]}, + "myindex": {"@id": "http://example.com/myindex", "@container": ["@index", "@set"]} + }, + "@id": "http://example.org/id", + "myid": {"http://example/id": [{"@type": "http://example/type"}]}, + "mytype": {"http://example/type": [{"@id": "http://example/id"}]}, + "mylanguage": {"en": ["foo"]}, + "myindex": {"bar": ["foo"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/tn01-context.jsonld b/core/src/test/resources/json-ld.org/compact/tn01-context.jsonld new file mode 100644 index 00000000..4850765e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/tn01-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "xsd": "http://www.w3.org/2001/XMLSchema#", + "notype": {"@id": "http://example.com/notype", "@type": "@none"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/tn01-in.jsonld b/core/src/test/resources/json-ld.org/compact/tn01-in.jsonld new file mode 100644 index 00000000..2398cf62 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/tn01-in.jsonld @@ -0,0 +1,14 @@ +[{ + "http://example.com/notype": [ + {"@value": "string"}, + {"@value": true}, + {"@value": false}, + {"@value": 1}, + {"@value": 10.0}, + {"@value": "plain"}, + {"@value": true, "@type": "http://www.w3.org/2001/XMLSchema#boolean"}, + {"@value": "english", "@language": "en"}, + {"@value": "2018-02-17", "@type": "http://www.w3.org/2001/XMLSchema#date"}, + {"@id": "http://example.com/iri"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/tn01-out.jsonld b/core/src/test/resources/json-ld.org/compact/tn01-out.jsonld new file mode 100644 index 00000000..bf6b641f --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/tn01-out.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "@version": 1.1, + "xsd": "http://www.w3.org/2001/XMLSchema#", + "notype": {"@id": "http://example.com/notype", "@type": "@none"} + }, + "notype": [ + {"@value": "string"}, + {"@value": true}, + {"@value": false}, + {"@value": 1}, + {"@value": 10.0}, + {"@value": "plain"}, + {"@value": true, "@type": "xsd:boolean"}, + {"@value": "english", "@language": "en"}, + {"@value": "2018-02-17", "@type": "xsd:date"}, + {"@id": "http://example.com/iri"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/tn02-context.jsonld b/core/src/test/resources/json-ld.org/compact/tn02-context.jsonld new file mode 100644 index 00000000..4850765e --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/tn02-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "xsd": "http://www.w3.org/2001/XMLSchema#", + "notype": {"@id": "http://example.com/notype", "@type": "@none"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/tn02-in.jsonld b/core/src/test/resources/json-ld.org/compact/tn02-in.jsonld new file mode 100644 index 00000000..4d2ca634 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/tn02-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/notype": [{"@value": "string"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/tn02-out.jsonld b/core/src/test/resources/json-ld.org/compact/tn02-out.jsonld new file mode 100644 index 00000000..cada2038 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/tn02-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "xsd": "http://www.w3.org/2001/XMLSchema#", + "notype": {"@id": "http://example.com/notype", "@type": "@none"} + }, + "notype": {"@value": "string"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/tn03-context.jsonld b/core/src/test/resources/json-ld.org/compact/tn03-context.jsonld new file mode 100644 index 00000000..39d1f8e9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/tn03-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "xsd": "http://www.w3.org/2001/XMLSchema#", + "notype": {"@id": "http://example.com/notype", "@type": "@none", "@container": "@set"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/tn03-in.jsonld b/core/src/test/resources/json-ld.org/compact/tn03-in.jsonld new file mode 100644 index 00000000..4d2ca634 --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/tn03-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/notype": [{"@value": "string"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/tn03-out.jsonld b/core/src/test/resources/json-ld.org/compact/tn03-out.jsonld new file mode 100644 index 00000000..bfbf9f7c --- /dev/null +++ b/core/src/test/resources/json-ld.org/compact/tn03-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "xsd": "http://www.w3.org/2001/XMLSchema#", + "notype": {"@id": "http://example.com/notype", "@type": "@none", "@container": "@set"} + }, + "notype": [{"@value": "string"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/composer.json b/core/src/test/resources/json-ld.org/composer.json deleted file mode 100644 index 04907952..00000000 --- a/core/src/test/resources/json-ld.org/composer.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "json-ld/tests", - "type": "library", - "description": "The offical JSON-LD test suite", - "keywords": [ "JSON-LD", "jsonld" ], - "homepage": "http://json-ld.org/test-suite/", - "license": "CC0-1.0", - "authors": [ - { - "name": "JSON-LD Community Group", - "homepage": "http://json-ld.org/" - } - ], - "support": { - "email": "public-linked-json@w3.org", - "irc": "irc://irc.freenode.org/json-ld", - "source": "https://github.com/json-ld/json-ld.org/", - "issues": "https://github.com/json-ld/json-ld.org/issues" - } -} diff --git a/core/src/test/resources/json-ld.org/context.jsonld b/core/src/test/resources/json-ld.org/context.jsonld new file mode 100644 index 00000000..e465bbf1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/context.jsonld @@ -0,0 +1,33 @@ +{ + "@context": { + "@vocab": "https://w3c.github.io/json-ld-api/tests/vocab#", + "dcterms": "http://purl.org/dc/terms/", + "jld": "https://w3c.github.io/json-ld-api/tests/vocab#", + "mf": "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + + "context": { "@type": "@id" }, + "expect": { "@id": "mf:result", "@type": "@id" }, + "frame": { "@type": "@id" }, + "input": { "@id": "mf:action", "@type": "@id" }, + "option": { "@type": "@id"}, + "sequence": { "@id": "mf:entries", "@type": "@id", "@container": "@list" }, + "redirectTo": { "@type": "@id"}, + + "name": "mf:name", + "purpose": "rdfs:comment", + "description": "rdfs:comment", + "base": { "@type": "@id" }, + "compactArrays": { "@type": "xsd:boolean" }, + "compactToRelative": { "@type": "xsd:boolean" }, + "contentType": { "@type": "xsd:boolean" }, + "expandContext": { "@type": "xsd:string" }, + "httpLink": { "@type": "xsd:string", "@container": "@set" }, + "httpStatus": { "@type": "xsd:integer" }, + "processingMode": { "@type": "xsd:string" }, + "produceGeneralizedRdf":{ "@type": "xsd:boolean" }, + "specVersion": { "@type": "xsd:string" }, + "useNativeTypes": { "@type": "xsd:boolean" } + } +} diff --git a/core/src/test/resources/json-ld.org/error-0003-ctx.jsonld b/core/src/test/resources/json-ld.org/error-0003-ctx.jsonld deleted file mode 100644 index e51c53d0..00000000 --- a/core/src/test/resources/json-ld.org/error-0003-ctx.jsonld +++ /dev/null @@ -1,3 +0,0 @@ -{ - "@context": "error-0003-in.jsonld" -} diff --git a/core/src/test/resources/json-ld.org/error-0042-in.jsonld b/core/src/test/resources/json-ld.org/error-0042-in.jsonld deleted file mode 100644 index e68a327a..00000000 --- a/core/src/test/resources/json-ld.org/error-0042-in.jsonld +++ /dev/null @@ -1,3 +0,0 @@ -{ - "http://example/list": [{"@list": ["foo"]}, {"@list": ["bar"]}] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/error-manifest.jsonld b/core/src/test/resources/json-ld.org/error-manifest.jsonld deleted file mode 100644 index 4b9b5c56..00000000 --- a/core/src/test/resources/json-ld.org/error-manifest.jsonld +++ /dev/null @@ -1,321 +0,0 @@ -{ - "@context": "http://json-ld.org/test-suite/context.jsonld", - "@id": "", - "@type": "mf:Manifest", - "description": "JSON-LD to Expansion tests use object compare", - "name": "Error handling", - "baseIri": "http://json-ld.org/test-suite/tests/", - "sequence": [ - { - "@id": "#t0001", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Keywords cannot be aliased to other keywords", - "purpose": "Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword", - "input": "error-0001-in.jsonld", - "expect": "keyword redefinition" - }, { - "@id": "#t0002", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "A context may not include itself recursively (direct)", - "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself", - "input": "error-0002-in.jsonld", - "expect": "recursive context inclusion" - }, { - "@id": "#t0003", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "A context may not include itself recursively (indirect)", - "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself indirectly", - "input": "error-0003-in.jsonld", - "expect": "recursive context inclusion" - }, { - "@id": "#t0004", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Error dereferencing a remote context", - "purpose": "Verifies that an exception is raised on expansion when a context dereference results in an error", - "input": "error-0004-in.jsonld", - "expect": "loading remote context failed" - }, { - "@id": "#t0005", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid remote context", - "purpose": "Verifies that an exception is raised on expansion when a remote context is not an object containing @context", - "input": "error-0005-in.jsonld", - "expect": "invalid remote context" - }, { - "@id": "#t0006", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid local context", - "purpose": "Verifies that an exception is raised on expansion when a context is not a string or object", - "input": "error-0006-in.jsonld", - "expect": "invalid local context" - }, { - "@id": "#t0007", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid base IRI", - "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @base", - "input": "error-0007-in.jsonld", - "expect": "invalid base IRI" - }, { - "@id": "#t0008", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid vocab mapping", - "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @vocab mapping", - "input": "error-0008-in.jsonld", - "expect": "invalid vocab mapping" - }, { - "@id": "#t0009", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid default language", - "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @language", - "input": "error-0009-in.jsonld", - "expect": "invalid default language" - }, { - "@id": "#t0010", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Cyclic IRI mapping", - "purpose": "Verifies that an exception is raised on expansion when a cyclic IRI mapping is found", - "input": "error-0010-in.jsonld", - "expect": "cyclic IRI mapping" - }, { - "@id": "#t0011", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid term definition", - "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", - "input": "error-0011-in.jsonld", - "expect": "invalid term definition" - }, { - "@id": "#t0012", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid type mapping (not a string)", - "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", - "input": "error-0012-in.jsonld", - "expect": "invalid type mapping" - }, { - "@id": "#t0013", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid type mapping (not absolute IRI)", - "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", - "input": "error-0013-in.jsonld", - "expect": "invalid type mapping" - }, { - "@id": "#t0014", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid reverse property (contains @id)", - "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", - "input": "error-0014-in.jsonld", - "expect": "invalid reverse property" - }, { - "@id": "#t0015", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid IRI mapping (@reverse not a string)", - "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", - "input": "error-0015-in.jsonld", - "expect": "invalid IRI mapping" - }, { - "@id": "#t0016", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid IRI mapping (not an absolute IRI)", - "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", - "input": "error-0016-in.jsonld", - "expect": "invalid IRI mapping" - }, { - "@id": "#t0017", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid reverse property (invalid @container)", - "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", - "input": "error-0017-in.jsonld", - "expect": "invalid reverse property" - }, { - "@id": "#t0018", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid IRI mapping (@id not a string)", - "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", - "input": "error-0018-in.jsonld", - "expect": "invalid IRI mapping" - }, { - "@id": "#t0019", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid keyword alias", - "purpose": "Verifies that an exception is raised on expansion when a invalid keyword alias is found", - "input": "error-0019-in.jsonld", - "expect": "invalid keyword alias" - }, { - "@id": "#t0020", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid IRI mapping (no vocab mapping)", - "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", - "input": "error-0020-in.jsonld", - "expect": "invalid IRI mapping" - }, { - "@id": "#t0021", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid container mapping", - "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", - "input": "error-0021-in.jsonld", - "expect": "invalid container mapping" - }, { - "@id": "#t0022", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid language mapping", - "purpose": "Verifies that an exception is raised on expansion when a invalid language mapping is found", - "input": "error-0022-in.jsonld", - "expect": "invalid language mapping" - }, { - "@id": "#t0023", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid IRI mapping (relative IRI in @type)", - "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", - "input": "error-0023-in.jsonld", - "expect": "invalid type mapping" - }, { - "@id": "#t0024", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "List of lists (from array)", - "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", - "input": "error-0024-in.jsonld", - "expect": "list of lists" - }, { - "@id": "#t0025", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid reverse property map", - "purpose": "Verifies that an exception is raised in Expansion when a invalid reverse property map is found", - "input": "error-0025-in.jsonld", - "expect": "invalid reverse property map" - }, { - "@id": "#t0026", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Colliding keywords", - "purpose": "Verifies that an exception is raised in Expansion when colliding keywords are found", - "input": "error-0026-in.jsonld", - "expect": "colliding keywords" - }, { - "@id": "#t0027", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid @id value", - "purpose": "Verifies that an exception is raised in Expansion when an invalid @id value is found", - "input": "error-0027-in.jsonld", - "expect": "invalid @id value" - }, { - "@id": "#t0028", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid type value", - "purpose": "Verifies that an exception is raised in Expansion when an invalid type value is found", - "input": "error-0028-in.jsonld", - "expect": "invalid type value" - }, { - "@id": "#t0029", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid value object value", - "purpose": "Verifies that an exception is raised in Expansion when an invalid value object value is found", - "input": "error-0029-in.jsonld", - "expect": "invalid value object value" - }, { - "@id": "#t0030", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid language-tagged string", - "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged string value is found", - "input": "error-0030-in.jsonld", - "expect": "invalid language-tagged string" - }, { - "@id": "#t0031", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid @index value", - "purpose": "Verifies that an exception is raised in Expansion when an invalid @index value value is found", - "input": "error-0031-in.jsonld", - "expect": "invalid @index value" - }, { - "@id": "#t0032", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "List of lists (from array)", - "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", - "input": "error-0032-in.jsonld", - "expect": "list of lists" - }, { - "@id": "#t0033", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid @reverse value", - "purpose": "Verifies that an exception is raised in Expansion when an invalid @reverse value is found", - "input": "error-0033-in.jsonld", - "expect": "invalid @reverse value" - }, { - "@id": "#t0034", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid reverse property value (in @reverse)", - "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", - "input": "error-0034-in.jsonld", - "expect": "invalid reverse property value" - }, { - "@id": "#t0035", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid language map value", - "purpose": "Verifies that an exception is raised in Expansion when an invalid language map value is found", - "input": "error-0035-in.jsonld", - "expect": "invalid language map value" - }, { - "@id": "#t0036", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid reverse property value (through coercion)", - "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", - "input": "error-0036-in.jsonld", - "expect": "invalid reverse property value" - }, { - "@id": "#t0037", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid value object (unexpected keyword)", - "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", - "input": "error-0037-in.jsonld", - "expect": "invalid value object" - }, { - "@id": "#t0038", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid value object (@type and @language)", - "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", - "input": "error-0038-in.jsonld", - "expect": "invalid value object" - }, { - "@id": "#t0039", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid language-tagged value", - "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged value is found", - "input": "error-0039-in.jsonld", - "expect": "invalid language-tagged value" - }, { - "@id": "#t0040", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid typed value", - "purpose": "Verifies that an exception is raised in Expansion when an invalid typed value is found", - "input": "error-0040-in.jsonld", - "expect": "invalid typed value" - }, { - "@id": "#t0041", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Invalid set or list object", - "purpose": "Verifies that an exception is raised in Expansion when an invalid set or list object is found", - "input": "error-0041-in.jsonld", - "expect": "invalid set or list object" - }, { - "@id": "#t0042", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Compaction to list of lists", - "purpose": "Verifies that an exception is raised in Compaction when attempting to compact a list of lists", - "input": "error-0042-in.jsonld", - "context": "error-0042-context.jsonld", - "expect": "compaction to list of lists" - }, { - "@id": "#t0043", - "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], - "name": "Conflicting indexes", - "purpose": "Verifies that an exception is raised in Flattening when conflicting indexes are found", - "input": "error-0043-in.jsonld", - "expect": "conflicting indexes" - }, - { - "@id": "#te042", - "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "Keywords may not be redefined", - "purpose": "Verifies that an exception is raised on expansion when processing an invalid context attempting to define @container on a keyword", - "input": "expand-e042-in.jsonld", - "expect": "keyword redefinition" - } - ] -} diff --git a/core/src/test/resources/json-ld.org/expand-0012-in.jsonld b/core/src/test/resources/json-ld.org/expand-0012-in.jsonld deleted file mode 100644 index d081e7fb..00000000 --- a/core/src/test/resources/json-ld.org/expand-0012-in.jsonld +++ /dev/null @@ -1,39 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:authored": { - "@type": "@id" - }, - "ex:contains": { - "@type": "@id" - }, - "foaf": "http://xmlns.com/foaf/0.1/", - "xsd": "http://www.w3.org/2001/XMLSchema#" - }, - "@graph": [ - { - "@id": "http://example.org/test#chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - }, - { - "@id": "http://example.org/test#jane", - "ex:authored": "http://example.org/test#chapter", - "foaf:name": "Jane" - }, - { - "@id": "http://example.org/test#john", - "foaf:name": "John" - }, - { - "@id": "http://example.org/test#library", - "ex:contains": { - "@id": "http://example.org/test#book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": "http://example.org/test#chapter" - } - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand-0029-out.jsonld b/core/src/test/resources/json-ld.org/expand-0029-out.jsonld deleted file mode 100644 index f437a67e..00000000 --- a/core/src/test/resources/json-ld.org/expand-0029-out.jsonld +++ /dev/null @@ -1,33 +0,0 @@ -[ - { - "@id": "http://json-ld.org/test-suite/tests/relativeIris", - "@type": [ - "http://json-ld.org/test-suite/tests/link", - "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld#fragment-works", - "http://json-ld.org/test-suite/tests/expand-0029-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" - ], - "http://www.example.com/link": [ { - "@list": [ - { "@id": "http://json-ld.org/test-suite/tests/link" }, - { "@id": "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld#fragment-works" }, - { "@id": "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld?query=works" }, - { "@id": "http://json-ld.org/test-suite/tests/" }, - { "@id": "http://json-ld.org/test-suite/" }, - { "@id": "http://json-ld.org/test-suite/parent" }, - { "@id": "http://json-ld.org/parent-parent-eq-root" }, - { "@id": "http://json-ld.org/still-root" }, - { "@id": "http://json-ld.org/too-many-dots" }, - { "@id": "http://json-ld.org/absolute" }, - { "@id": "http://example.org/scheme-relative" } - ] - } ] - } -] diff --git a/core/src/test/resources/json-ld.org/expand-0050-out.jsonld b/core/src/test/resources/json-ld.org/expand-0050-out.jsonld deleted file mode 100644 index 1bd1b95c..00000000 --- a/core/src/test/resources/json-ld.org/expand-0050-out.jsonld +++ /dev/null @@ -1,6 +0,0 @@ -[ - { - "http://example.com/issue/": [ { "@id": "http://json-ld.org/issue/1" } ], - "http://example.com/issue/raisedBy": [ { "@value": "Markus" } ] - } -] diff --git a/core/src/test/resources/json-ld.org/expand-0057-out.jsonld b/core/src/test/resources/json-ld.org/expand-0057-out.jsonld deleted file mode 100644 index ac6d6170..00000000 --- a/core/src/test/resources/json-ld.org/expand-0057-out.jsonld +++ /dev/null @@ -1,5 +0,0 @@ -[ - { - "http://example.org/term": [ { "@id": "http://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI" } ] - } -] diff --git a/core/src/test/resources/json-ld.org/expand-0059-out.jsonld b/core/src/test/resources/json-ld.org/expand-0059-out.jsonld deleted file mode 100644 index 9f90fb5a..00000000 --- a/core/src/test/resources/json-ld.org/expand-0059-out.jsonld +++ /dev/null @@ -1,13 +0,0 @@ -[ - { - "@id": "http://json-ld.org/test-suite/tests/example-with-vocab", - "@type": [ "http://example.org/vocab#vocab-prefixed" ], - "http://example.org/vocab#embed": [ - { - "@id": "http://json-ld.org/test-suite/tests/example-vocab-reset", - "@type": [ "http://json-ld.org/test-suite/tests/document-relative" ] - } - ], - "http://example.org/vocab#property": [ { "@value": "property expanded using @vocab" } ] - } -] diff --git a/core/src/test/resources/json-ld.org/expand-manifest.jsonld b/core/src/test/resources/json-ld.org/expand-manifest.jsonld index 49a200c9..a34b5649 100644 --- a/core/src/test/resources/json-ld.org/expand-manifest.jsonld +++ b/core/src/test/resources/json-ld.org/expand-manifest.jsonld @@ -1,536 +1,539 @@ { - "@context": "http://json-ld.org/test-suite/context.jsonld", + "@context": "context.jsonld", "@id": "", "@type": "mf:Manifest", - "description": "JSON-LD to Expansion tests use object compare", "name": "Expansion", - "baseIri": "http://json-ld.org/test-suite/tests/", + "description": "JSON-LD Expansion tests use object compare", + "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "drop free-floating nodes", "purpose": "Expand drops unreferenced nodes having only @id", - "input": "expand-0001-in.jsonld", - "expect": "expand-0001-out.jsonld" + "input": "expand/0001-in.jsonld", + "expect": "expand/0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "basic", "purpose": "Expanding terms with different types of values", - "input": "expand-0002-in.jsonld", - "expect": "expand-0002-out.jsonld" + "input": "expand/0002-in.jsonld", + "expect": "expand/0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "drop null and unmapped properties", "purpose": "Verifies that null values and unmapped properties are removed from expanded output", - "input": "expand-0003-in.jsonld", - "expect": "expand-0003-out.jsonld" + "input": "expand/0003-in.jsonld", + "expect": "expand/0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "optimize @set, keep empty arrays", "purpose": "Uses of @set are removed in expansion; values of @set, or just plain values which are empty arrays are retained", - "input": "expand-0004-in.jsonld", - "expect": "expand-0004-out.jsonld" + "input": "expand/0004-in.jsonld", + "expect": "expand/0004-out.jsonld" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "do not expand aliased @id/@type", "purpose": "If a keyword is aliased, it is not used when expanding", - "input": "expand-0005-in.jsonld", - "expect": "expand-0005-out.jsonld" + "input": "expand/0005-in.jsonld", + "expect": "expand/0005-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "alias keywords", "purpose": "Aliased keywords expand in resulting document", - "input": "expand-0006-in.jsonld", - "expect": "expand-0006-out.jsonld" + "input": "expand/0006-in.jsonld", + "expect": "expand/0006-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "date type-coercion", "purpose": "Expand strings to expanded value with @type: xsd:dateTime", - "input": "expand-0007-in.jsonld", - "expect": "expand-0007-out.jsonld" + "input": "expand/0007-in.jsonld", + "expect": "expand/0007-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@value with @language", "purpose": "Keep expanded values with @language, drop non-conforming value objects containing just @language", - "input": "expand-0008-in.jsonld", - "expect": "expand-0008-out.jsonld" + "input": "expand/0008-in.jsonld", + "expect": "expand/0008-out.jsonld" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@graph with terms", "purpose": "Use of @graph to contain multiple nodes within array", - "input": "expand-0009-in.jsonld", - "expect": "expand-0009-out.jsonld" + "input": "expand/0009-in.jsonld", + "expect": "expand/0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "native types", "purpose": "Expanding native scalar retains native scalar within expanded value", - "input": "expand-0010-in.jsonld", - "expect": "expand-0010-out.jsonld" + "input": "expand/0010-in.jsonld", + "expect": "expand/0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "coerced @id", "purpose": "A value of a property with @type: @id coercion expands to a node reference", - "input": "expand-0011-in.jsonld", - "expect": "expand-0011-out.jsonld" + "input": "expand/0011-in.jsonld", + "expect": "expand/0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@graph with embed", "purpose": "Use of @graph to contain multiple nodes within array", - "input": "expand-0012-in.jsonld", - "expect": "expand-0012-out.jsonld" + "input": "expand/0012-in.jsonld", + "expect": "expand/0012-out.jsonld" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "expand already expanded", "purpose": "Expand does not mess up already expanded document", - "input": "expand-0013-in.jsonld", - "expect": "expand-0013-out.jsonld" + "input": "expand/0013-in.jsonld", + "expect": "expand/0013-out.jsonld" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@set of @value objects with keyword aliases", "purpose": "Expanding aliased @set and @value", - "input": "expand-0014-in.jsonld", - "expect": "expand-0014-out.jsonld" + "input": "expand/0014-in.jsonld", + "expect": "expand/0014-out.jsonld" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "collapse set of sets, keep empty lists", "purpose": "An array of multiple @set nodes are collapsed into a single array", - "input": "expand-0015-in.jsonld", - "expect": "expand-0015-out.jsonld" + "input": "expand/0015-in.jsonld", + "expect": "expand/0015-out.jsonld" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "context reset", "purpose": "Setting @context to null within an embedded object resets back to initial context state", - "input": "expand-0016-in.jsonld", - "expect": "expand-0016-out.jsonld" + "input": "expand/0016-in.jsonld", + "expect": "expand/0016-out.jsonld" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@graph and @id aliased", "purpose": "Expanding with @graph and @id aliases", - "input": "expand-0017-in.jsonld", - "expect": "expand-0017-out.jsonld" + "input": "expand/0017-in.jsonld", + "expect": "expand/0017-out.jsonld" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "override default @language", "purpose": "override default @language in terms; only language-tag strings", - "input": "expand-0018-in.jsonld", - "expect": "expand-0018-out.jsonld" + "input": "expand/0018-in.jsonld", + "expect": "expand/0018-out.jsonld" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "remove @value = null", "purpose": "Expanding a value of null removes the value", - "input": "expand-0019-in.jsonld", - "expect": "expand-0019-out.jsonld" + "input": "expand/0019-in.jsonld", + "expect": "expand/0019-out.jsonld" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "do not remove @graph if not at top-level", "purpose": "@graph used under a node is retained", - "input": "expand-0020-in.jsonld", - "expect": "expand-0020-out.jsonld" + "input": "expand/0020-in.jsonld", + "expect": "expand/0020-out.jsonld" }, { "@id": "#t0021", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "do not remove @graph at top-level if not only property", "purpose": "@graph used at the top level is retained if there are other properties", - "input": "expand-0021-in.jsonld", - "expect": "expand-0021-out.jsonld" + "input": "expand/0021-in.jsonld", + "expect": "expand/0021-out.jsonld" }, { "@id": "#t0022", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "expand value with default language", "purpose": "Expanding with a default language applies that language to string values", - "input": "expand-0022-in.jsonld", - "expect": "expand-0022-out.jsonld" + "input": "expand/0022-in.jsonld", + "expect": "expand/0022-out.jsonld" }, { "@id": "#t0023", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expanding list/set with coercion", "purpose": "Expanding lists and sets with properties having coercion coerces list/set values", - "input": "expand-0023-in.jsonld", - "expect": "expand-0023-out.jsonld" + "input": "expand/0023-in.jsonld", + "expect": "expand/0023-out.jsonld" }, { "@id": "#t0024", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Multiple contexts", "purpose": "Tests that contexts in an array are merged", - "input": "expand-0024-in.jsonld", - "expect": "expand-0024-out.jsonld" + "input": "expand/0024-in.jsonld", + "expect": "expand/0024-out.jsonld" }, { "@id": "#t0025", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Problematic IRI expansion tests", "purpose": "Expanding different kinds of terms and Compact IRIs", - "input": "expand-0025-in.jsonld", - "expect": "expand-0025-out.jsonld" + "input": "expand/0025-in.jsonld", + "expect": "expand/0025-out.jsonld" }, { "@id": "#t0026", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Term definition with @id: @type", "purpose": "Expanding term mapping to @type uses @type syntax", - "input": "expand-0026-in.jsonld", - "expect": "expand-0026-out.jsonld" + "input": "expand/0026-in.jsonld", + "expect": "expand/0026-out.jsonld", + "option": {"specVersion": "json-ld-1.0"} }, { "@id": "#t0027", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Duplicate values in @list and @set", "purpose": "Duplicate values in @list and @set are not merged", - "input": "expand-0027-in.jsonld", - "expect": "expand-0027-out.jsonld" + "input": "expand/0027-in.jsonld", + "expect": "expand/0027-out.jsonld" }, { "@id": "#t0028", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Use @vocab in properties and @type but not in @id", "purpose": "@vocab is used to compact properties and @type, but is not used for @id", - "input": "expand-0028-in.jsonld", - "expect": "expand-0028-out.jsonld" + "input": "expand/0028-in.jsonld", + "expect": "expand/0028-out.jsonld" }, { "@id": "#t0029", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Relative IRIs", "purpose": "@base is used to compact @id; test with different relative IRIs", - "input": "expand-0029-in.jsonld", - "expect": "expand-0029-out.jsonld" + "input": "expand/0029-in.jsonld", + "expect": "expand/0029-out.jsonld" }, { "@id": "#t0030", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Language maps", "purpose": "Language Maps expand values to include @language", - "input": "expand-0030-in.jsonld", - "expect": "expand-0030-out.jsonld" + "input": "expand/0030-in.jsonld", + "expect": "expand/0030-out.jsonld" }, { "@id": "#t0031", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "type-coercion of native types", "purpose": "Expanding native types with type coercion adds the coerced type to an expanded value representation and retains the native value representation", - "input": "expand-0031-in.jsonld", - "expect": "expand-0031-out.jsonld" + "input": "expand/0031-in.jsonld", + "expect": "expand/0031-out.jsonld" }, { "@id": "#t0032", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Null term and @vocab", "purpose": "Mapping a term to null decouples it from @vocab", - "input": "expand-0032-in.jsonld", - "expect": "expand-0032-out.jsonld" + "input": "expand/0032-in.jsonld", + "expect": "expand/0032-out.jsonld" }, { "@id": "#t0033", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Using @vocab with with type-coercion", "purpose": "Verifies that terms can be defined using @vocab", - "input": "expand-0033-in.jsonld", - "expect": "expand-0033-out.jsonld" + "input": "expand/0033-in.jsonld", + "expect": "expand/0033-out.jsonld" }, { "@id": "#t0034", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Multiple properties expanding to the same IRI", "purpose": "Verifies multiple values from separate terms are deterministically made multiple values of the IRI associated with the terms", - "input": "expand-0034-in.jsonld", - "expect": "expand-0034-out.jsonld" + "input": "expand/0034-in.jsonld", + "expect": "expand/0034-out.jsonld" }, { "@id": "#t0035", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Language maps with @vocab, default language, and colliding property", "purpose": "Pathological tests of language maps", - "input": "expand-0035-in.jsonld", - "expect": "expand-0035-out.jsonld" + "input": "expand/0035-in.jsonld", + "expect": "expand/0035-out.jsonld" }, { "@id": "#t0036", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expanding @index", "purpose": "Expanding index maps for terms defined with @container: @index", - "input": "expand-0036-in.jsonld", - "expect": "expand-0036-out.jsonld" + "input": "expand/0036-in.jsonld", + "expect": "expand/0036-out.jsonld" }, { "@id": "#t0037", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expanding @reverse", "purpose": "Expanding @reverse keeps @reverse", - "input": "expand-0037-in.jsonld", - "expect": "expand-0037-out.jsonld" + "input": "expand/0037-in.jsonld", + "expect": "expand/0037-out.jsonld" }, { "@id": "#t0038", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expanding blank node labels", "purpose": "Blank nodes are not relabeled during expansion", - "input": "expand-0038-in.jsonld", - "expect": "expand-0038-out.jsonld" + "option": {"specVersion": "json-ld-1.0"}, + "input": "expand/0038-in.jsonld", + "expect": "expand/0038-out.jsonld" }, { "@id": "#t0039", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Using terms in a reverse-maps", "purpose": "Terms within @reverse are expanded", - "input": "expand-0039-in.jsonld", - "expect": "expand-0039-out.jsonld" + "input": "expand/0039-in.jsonld", + "expect": "expand/0039-out.jsonld" }, { "@id": "#t0040", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "language and index expansion on non-objects", "purpose": "Only invoke language and index map expansion if the value is a JSON object", - "input": "expand-0040-in.jsonld", - "expect": "expand-0040-out.jsonld" + "input": "expand/0040-in.jsonld", + "expect": "expand/0040-out.jsonld" }, { "@id": "#t0041", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "@language: null", "name": "@language: null resets the default language", - "input": "expand-0041-in.jsonld", - "expect": "expand-0041-out.jsonld" + "input": "expand/0041-in.jsonld", + "expect": "expand/0041-out.jsonld" }, { "@id": "#t0042", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Reverse properties", "purpose": "Expanding terms defined as reverse properties uses @reverse in expanded document", - "input": "expand-0042-in.jsonld", - "expect": "expand-0042-out.jsonld" + "input": "expand/0042-in.jsonld", + "expect": "expand/0042-out.jsonld" }, { "@id": "#t0043", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Using reverse properties inside a @reverse-container", "purpose": "Expanding a reverse property within a @reverse undoes both reversals", - "input": "expand-0043-in.jsonld", - "expect": "expand-0043-out.jsonld" + "input": "expand/0043-in.jsonld", + "expect": "expand/0043-out.jsonld" }, { "@id": "#t0044", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Index maps with language mappings", "purpose": "Ensure index maps use language mapping", - "input": "expand-0044-in.jsonld", - "expect": "expand-0044-out.jsonld" + "input": "expand/0044-in.jsonld", + "expect": "expand/0044-out.jsonld" }, { "@id": "#t0045", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Top-level value objects", "purpose": "Expanding top-level value objects causes them to be removed", - "input": "expand-0045-in.jsonld", - "expect": "expand-0045-out.jsonld" + "input": "expand/0045-in.jsonld", + "expect": "expand/0045-out.jsonld" }, { "@id": "#t0046", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Free-floating nodes", "purpose": "Expanding free-floating nodes causes them to be removed", - "input": "expand-0046-in.jsonld", - "expect": "expand-0046-out.jsonld" + "input": "expand/0046-in.jsonld", + "expect": "expand/0046-out.jsonld" }, { "@id": "#t0047", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Free-floating values in sets and free-floating lists", "purpose": "Free-floating values in sets are removed, free-floating lists are removed completely", - "input": "expand-0047-in.jsonld", - "expect": "expand-0047-out.jsonld" + "input": "expand/0047-in.jsonld", + "expect": "expand/0047-out.jsonld" }, { "@id": "#t0048", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Terms are ignored in @id", "purpose": "Values of @id are not expanded as terms", - "input": "expand-0048-in.jsonld", - "expect": "expand-0048-out.jsonld" + "input": "expand/0048-in.jsonld", + "expect": "expand/0048-out.jsonld" }, { "@id": "#t0049", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "String values of reverse properties", "purpose": "String values of a reverse property with @type: @id are treated as IRIs", - "input": "expand-0049-in.jsonld", - "expect": "expand-0049-out.jsonld" + "input": "expand/0049-in.jsonld", + "expect": "expand/0049-out.jsonld" }, { "@id": "#t0050", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Term definitions with prefix separate from prefix definitions", "purpose": "Term definitions using compact IRIs don't inherit the definitions of the prefix", - "input": "expand-0050-in.jsonld", - "expect": "expand-0050-out.jsonld" + "input": "expand/0050-in.jsonld", + "expect": "expand/0050-out.jsonld" }, { "@id": "#t0051", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expansion of keyword aliases in term definitions", "purpose": "Expanding terms which are keyword aliases", - "input": "expand-0051-in.jsonld", - "expect": "expand-0051-out.jsonld" + "input": "expand/0051-in.jsonld", + "expect": "expand/0051-out.jsonld" }, { "@id": "#t0052", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@vocab-relative IRIs in term definitions", "purpose": "If @vocab is defined, term definitions are expanded relative to @vocab", - "input": "expand-0052-in.jsonld", - "expect": "expand-0052-out.jsonld" + "input": "expand/0052-in.jsonld", + "expect": "expand/0052-out.jsonld" }, { "@id": "#t0053", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expand absolute IRI with @type: @vocab", "purpose": "Expanding values of properties of @type: @vocab does not further expand absolute IRIs", - "input": "expand-0053-in.jsonld", - "expect": "expand-0053-out.jsonld" + "input": "expand/0053-in.jsonld", + "expect": "expand/0053-out.jsonld" }, { "@id": "#t0054", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expand term with @type: @vocab", "purpose": "Expanding values of properties of @type: @vocab does not expand term values", - "input": "expand-0054-in.jsonld", - "expect": "expand-0054-out.jsonld" + "input": "expand/0054-in.jsonld", + "expect": "expand/0054-out.jsonld" }, { "@id": "#t0055", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expand @vocab-relative term with @type: @vocab", "purpose": "Expanding values of properties of @type: @vocab expands relative IRIs using @vocab", - "input": "expand-0055-in.jsonld", - "expect": "expand-0055-out.jsonld" + "input": "expand/0055-in.jsonld", + "expect": "expand/0055-out.jsonld" }, { "@id": "#t0056", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Use terms with @type: @vocab but not with @type: @id", "purpose": "Checks that expansion uses appropriate base depending on term definition having @type @id or @vocab", - "input": "expand-0056-in.jsonld", - "expect": "expand-0056-out.jsonld" + "input": "expand/0056-in.jsonld", + "expect": "expand/0056-out.jsonld" }, { "@id": "#t0057", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expand relative IRI with @type: @vocab", "purpose": "Relative values of terms with @type: @vocab expand relative to @vocab", - "input": "expand-0057-in.jsonld", - "expect": "expand-0057-out.jsonld" + "input": "expand/0057-in.jsonld", + "expect": "expand/0057-out.jsonld" }, { "@id": "#t0058", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Expand compact IRI with @type: @vocab", "purpose": "Compact IRIs are expanded normally even if term has @type: @vocab", - "input": "expand-0058-in.jsonld", - "expect": "expand-0058-out.jsonld" + "input": "expand/0058-in.jsonld", + "expect": "expand/0058-out.jsonld" }, { "@id": "#t0059", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Reset @vocab by setting it to null", "purpose": "Setting @vocab to null removes a previous definition", - "input": "expand-0059-in.jsonld", - "expect": "expand-0059-out.jsonld" + "input": "expand/0059-in.jsonld", + "expect": "expand/0059-out.jsonld" }, { "@id": "#t0060", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Overwrite document base with @base and reset it again", "purpose": "Setting @base to an IRI and then resetting it to nil", - "input": "expand-0060-in.jsonld", - "expect": "expand-0060-out.jsonld" + "input": "expand/0060-in.jsonld", + "expect": "expand/0060-out.jsonld" }, { "@id": "#t0061", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Coercing native types to arbitrary datatypes", "purpose": "Expanding native types when coercing to arbitrary datatypes", - "input": "expand-0061-in.jsonld", - "expect": "expand-0061-out.jsonld" + "input": "expand/0061-in.jsonld", + "expect": "expand/0061-out.jsonld" }, { "@id": "#t0062", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Various relative IRIs with with @base", "purpose": "Pathological relative IRIs", - "input": "expand-0062-in.jsonld", - "expect": "expand-0062-out.jsonld" + "input": "expand/0062-in.jsonld", + "expect": "expand/0062-out.jsonld" }, { "@id": "#t0063", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Reverse property and index container", "purpose": "Expaning reverse properties with an index-container", - "input": "expand-0063-in.jsonld", - "expect": "expand-0063-out.jsonld" + "input": "expand/0063-in.jsonld", + "expect": "expand/0063-out.jsonld" }, { "@id": "#t0064", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "bnode values of reverse properties", "purpose": "Expand reverse property whose values are unlabeled blank nodes", - "input": "expand-0064-in.jsonld", - "expect": "expand-0064-out.jsonld" + "input": "expand/0064-in.jsonld", + "expect": "expand/0064-out.jsonld" }, { "@id": "#t0065", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Drop unmapped keys in reverse map", "purpose": "Keys that are not mapped to an IRI in a reverse-map are dropped", - "input": "expand-0065-in.jsonld", - "expect": "expand-0065-out.jsonld" + "input": "expand/0065-in.jsonld", + "expect": "expand/0065-out.jsonld" }, { "@id": "#t0066", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Reverse-map keys with @vocab", "purpose": "Expand uses @vocab to expand keys in reverse-maps", - "input": "expand-0066-in.jsonld", - "expect": "expand-0066-out.jsonld" + "input": "expand/0066-in.jsonld", + "expect": "expand/0066-out.jsonld" }, { "@id": "#t0067", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "prefix://suffix not a compact IRI", "purpose": "prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes", - "input": "expand-0067-in.jsonld", - "expect": "expand-0067-out.jsonld" + "input": "expand/0067-in.jsonld", + "expect": "expand/0067-out.jsonld" }, { "@id": "#t0068", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "_:suffix values are not a compact IRI", "purpose": "prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore", - "input": "expand-0068-in.jsonld", - "expect": "expand-0068-out.jsonld" + "input": "expand/0068-in.jsonld", + "expect": "expand/0068-out.jsonld" }, { "@id": "#t0069", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Compact IRI as term with type mapping", "purpose": "Redefine compact IRI to define type mapping using the compact IRI itself as value of @id", - "input": "expand-0069-in.jsonld", - "expect": "expand-0069-out.jsonld" + "input": "expand/0069-in.jsonld", + "expect": "expand/0069-out.jsonld" }, { "@id": "#t0070", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Compact IRI as term defined using equivalent compact IRI", "purpose": "Redefine compact IRI to define type mapping using the compact IRI itself as string value", - "input": "expand-0070-in.jsonld", - "expect": "expand-0070-out.jsonld" + "input": "expand/0070-in.jsonld", + "expect": "expand/0070-out.jsonld" }, { "@id": "#t0071", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Redefine terms looking like compact IRIs", "purpose": "Term definitions may look like compact IRIs", - "input": "expand-0071-in.jsonld", - "expect": "expand-0071-out.jsonld" + "input": "expand/0071-in.jsonld", + "expect": "expand/0071-out.jsonld", + "option": {"specVersion": "json-ld-1.0"} }, { "@id": "#t0072", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Redefine term using @vocab, not itself", "purpose": "Redefining a term as itself when @vocab is defined uses @vocab, not previous term definition", - "input": "expand-0072-in.jsonld", - "expect": "expand-0072-out.jsonld" + "input": "expand/0072-in.jsonld", + "expect": "expand/0072-out.jsonld" }, { "@id": "#t0073", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@context not first property", "purpose": "Objects are unordered, so serialized node definition containing @context may have @context at the end of the node definition", - "input": "expand-0073-in.jsonld", - "expect": "expand-0073-out.jsonld" + "input": "expand/0073-in.jsonld", + "expect": "expand/0073-out.jsonld" }, { "@id": "#t0074", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@id not first property", "purpose": "Objects are unordered, so serialized node definition containing @id may have @id at the end of the node definition", - "input": "expand-0074-in.jsonld", - "expect": "expand-0074-out.jsonld" + "input": "expand/0074-in.jsonld", + "expect": "expand/0074-out.jsonld" }, { "@id": "#t0075", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "@vocab as blank node identifier", "purpose": "Use @vocab to map all properties to blank node identifiers", - "input": "expand-0075-in.jsonld", - "expect": "expand-0075-out.jsonld" + "option": {"processingMode": "json-ld-1.0"}, + "input": "expand/0075-in.jsonld", + "expect": "expand/0075-out.jsonld" }, { "@id": "#t0076", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -539,18 +542,1835 @@ "option": { "base": "http://example/base/" }, - "input": "expand-0076-in.jsonld", - "expect": "expand-0076-out.jsonld" + "input": "expand/0076-in.jsonld", + "expect": "expand/0076-out.jsonld" }, { "@id": "#t0077", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "expandContext option", "purpose": "Use of the expandContext option to expand the input document", "option": { - "expandContext": "expand-0077-context.jsonld" + "expandContext": "0077-context.jsonld" }, - "input": "expand-0077-in.jsonld", - "expect": "expand-0077-out.jsonld" + "input": "expand/0077-in.jsonld", + "expect": "expand/0077-out.jsonld" + }, { + "@id": "#t0078", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "multiple reverse properties", + "purpose": "Use of multiple reverse properties", + "input": "expand/0078-in.jsonld", + "expect": "expand/0078-out.jsonld" + }, { + "@id": "#t0079", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand @graph container", + "purpose": "Use of @graph containers", + "input": "expand/0079-in.jsonld", + "expect": "expand/0079-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0080", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @set] container", + "purpose": "Use of [@graph, @set] containers", + "input": "expand/0080-in.jsonld", + "expect": "expand/0080-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0081", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Does not create an @graph container if value is a graph", + "purpose": "Don't double-expand an already expanded graph", + "input": "expand/0081-in.jsonld", + "expect": "expand/0081-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0082", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @index] container", + "purpose": "Use of @graph containers with @index", + "input": "expand/0082-in.jsonld", + "expect": "expand/0082-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0083", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @index, @set] container", + "purpose": "Use of @graph containers with @index and @set", + "input": "expand/0083-in.jsonld", + "expect": "expand/0083-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0084", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Do not expand [@graph, @index] container if value is a graph", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "expand/0084-in.jsonld", + "expect": "expand/0084-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0085", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @id] container", + "purpose": "Use of @graph containers with @id", + "input": "expand/0085-in.jsonld", + "expect": "expand/0085-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0086", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @id, @set] container", + "purpose": "Use of @graph containers with @id and @set", + "input": "expand/0086-in.jsonld", + "expect": "expand/0086-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0087", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Do not expand [@graph, @id] container if value is a graph", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "expand/0087-in.jsonld", + "expect": "expand/0087-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0088", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Do not expand native values to IRIs", + "purpose": "Value Expansion does not expand native values, such as booleans, to a node object", + "input": "expand/0088-in.jsonld", + "expect": "expand/0088-out.jsonld" + }, { + "@id": "#t0089", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "empty @base applied to the base option", + "purpose": "Use of an empty @base is applied to the base option", + "option": { + "base": "http://example/base/" + }, + "input": "expand/0089-in.jsonld", + "expect": "expand/0089-out.jsonld" + }, { + "@id": "#t0090", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "relative @base overrides base option and document location", + "purpose": "Use of a relative @base overrides base option and document location", + "option": { + "base": "http://example/base/" + }, + "input": "expand/0090-in.jsonld", + "expect": "expand/0090-out.jsonld" + }, { + "@id": "#t0091", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "relative and absolute @base overrides base option and document location", + "purpose": "Use of a relative and absolute @base overrides base option and document location", + "option": { + "base": "http://example/base/" + }, + "input": "expand/0091-in.jsonld", + "expect": "expand/0091-out.jsonld" + }, { + "@id": "#t0092", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Various relative IRIs as properties with with @vocab: ''", + "purpose": "Pathological relative property IRIs", + "input": "expand/0092-in.jsonld", + "expect": "expand/0092-out.jsonld" + }, { + "@id": "#t0093", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand @graph container (multiple objects)", + "purpose": "Use of @graph containers", + "input": "expand/0093-in.jsonld", + "expect": "expand/0093-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0094", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @set] container (multiple objects)", + "purpose": "Use of [@graph, @set] containers", + "input": "expand/0094-in.jsonld", + "expect": "expand/0094-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0095", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Does not create an @graph container if value is a graph (multiple objects)", + "purpose": "Don't double-expand an already expanded graph", + "input": "expand/0095-in.jsonld", + "expect": "expand/0095-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0096", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @index] container (multiple indexed objects)", + "purpose": "Use of @graph containers with @index", + "input": "expand/0096-in.jsonld", + "expect": "expand/0096-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0097", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @index, @set] container (multiple objects)", + "purpose": "Use of @graph containers with @index and @set", + "input": "expand/0097-in.jsonld", + "expect": "expand/0097-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0098", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Do not expand [@graph, @index] container if value is a graph (multiple objects)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "expand/0098-in.jsonld", + "expect": "expand/0098-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0099", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @id] container (multiple objects)", + "purpose": "Use of @graph containers with @id", + "input": "expand/0099-in.jsonld", + "expect": "expand/0099-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0100", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @id, @set] container (multiple objects)", + "purpose": "Use of @graph containers with @id and @set", + "input": "expand/0100-in.jsonld", + "expect": "expand/0100-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0101", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Do not expand [@graph, @id] container if value is a graph (multiple objects)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "expand/0101-in.jsonld", + "expect": "expand/0101-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0102", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Do not expand @graph container if value is a graph (multiple objects)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "expand/0102-in.jsonld", + "expect": "expand/0102-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0103", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Do not expand @graph container if value is a graph (multiple graphs)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "expand/0103-in.jsonld", + "expect": "expand/0103-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0104", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Does not create an @graph container if value is a graph (mixed graph and object)", + "purpose": "Don't double-expand an already expanded graph", + "input": "expand/0104-in.jsonld", + "expect": "expand/0104-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0105", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Do not expand [@graph, @index] container if value is a graph (mixed graph and object)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "expand/0105-in.jsonld", + "expect": "expand/0105-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0106", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Do not expand [@graph, @id] container if value is a graph (mixed graph and object)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "expand/0106-in.jsonld", + "expect": "expand/0106-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0107", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @index] container (indexes with multiple objects)", + "purpose": "Use of @graph containers with @index", + "input": "expand/0107-in.jsonld", + "expect": "expand/0107-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0108", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand [@graph, @id] container (multiple ids and objects)", + "purpose": "Use of @graph containers with @id", + "input": "expand/0108-in.jsonld", + "expect": "expand/0108-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#t0109", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "IRI expansion of fragments including ':'", + "purpose": "Do not treat as absolute IRIs values that look like compact IRIs if they're not absolute", + "input": "expand/0109-in.jsonld", + "expect": "expand/0109-out.jsonld" + }, { + "@id": "#t0110", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Various relative IRIs as properties with with relative @vocab", + "purpose": "Pathological relative property IRIs", + "input": "expand/0110-in.jsonld", + "expect": "expand/0110-out.jsonld" + }, { + "@id": "#t0111", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Various relative IRIs as properties with with relative @vocab itself relative to an existing vocabulary base", + "purpose": "Pathological relative property IRIs", + "input": "expand/0111-in.jsonld", + "expect": "expand/0111-out.jsonld" + }, { + "@id": "#t0112", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Various relative IRIs as properties with with relative @vocab relative to another relative vocabulary base", + "purpose": "Pathological relative property IRIs", + "input": "expand/0112-in.jsonld", + "expect": "expand/0112-out.jsonld" + }, { + "@id": "#t0113", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "context with JavaScript Object property names", + "purpose": "Expand with context including JavaScript Object property names", + "input": "expand/0113-in.jsonld", + "expect": "expand/0113-out.jsonld" + }, { + "@id": "#tc001", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "adding new term", + "purpose": "Expansion using a scoped context uses term scope for selecting proper term", + "input": "expand/c001-in.jsonld", + "expect": "expand/c001-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc002", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "overriding a term", + "purpose": "Expansion using a scoped context uses term scope for selecting proper term", + "input": "expand/c002-in.jsonld", + "expect": "expand/c002-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc003", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "property and value with different terms mapping to the same expanded property", + "purpose": "Expansion using a scoped context uses term scope for selecting proper term", + "input": "expand/c003-in.jsonld", + "expect": "expand/c003-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc004", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "deep @context affects nested nodes", + "purpose": "Expansion using a scoped context uses term scope for selecting proper term", + "input": "expand/c004-in.jsonld", + "expect": "expand/c004-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc005", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "scoped context layers on intemediate contexts", + "purpose": "Expansion using a scoped context uses term scope for selecting proper term", + "input": "expand/c005-in.jsonld", + "expect": "expand/c005-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc006", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "adding new term", + "purpose": "scoped context on @type", + "input": "expand/c006-in.jsonld", + "expect": "expand/c006-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc007", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "overriding a term", + "purpose": "scoped context on @type", + "input": "expand/c007-in.jsonld", + "expect": "expand/c007-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc008", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "alias of @type", + "purpose": "scoped context on @type", + "input": "expand/c008-in.jsonld", + "expect": "expand/c008-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc009", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "deep @type-scoped @context does NOT affect nested nodes", + "purpose": "scoped context on @type", + "input": "expand/c009-in.jsonld", + "expect": "expand/c009-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc010", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "scoped context layers on intemediate contexts", + "purpose": "scoped context on @type", + "input": "expand/c010-in.jsonld", + "expect": "expand/c010-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc011", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "orders @type terms when applying scoped contexts", + "purpose": "scoped context on @type", + "input": "expand/c011-in.jsonld", + "expect": "expand/c011-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc012", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "deep property-term scoped @context in @type-scoped @context affects nested nodes", + "purpose": "scoped context on @type", + "input": "expand/c012-in.jsonld", + "expect": "expand/c012-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc013", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type maps use scoped context from type index and not scoped context from containing", + "purpose": "scoped context on @type", + "input": "expand/c013-in.jsonld", + "expect": "expand/c013-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc014", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type-scoped context nullification", + "purpose": "type-scoped context nullification", + "input": "expand/c014-in.jsonld", + "expect": "expand/c014-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc015", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type-scoped base", + "purpose": "type-scoped base", + "input": "expand/c015-in.jsonld", + "expect": "expand/c015-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc016", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type-scoped vocab", + "purpose": "type-scoped vocab", + "input": "expand/c016-in.jsonld", + "expect": "expand/c016-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc017", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "multiple type-scoped contexts are properly reverted", + "purpose": "multiple type-scoped contexts are property reverted", + "input": "expand/c017-in.jsonld", + "expect": "expand/c017-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc018", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "multiple type-scoped types resolved against previous context", + "purpose": "multiple type-scoped types resolved against previous context", + "input": "expand/c018-in.jsonld", + "expect": "expand/c018-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc019", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type-scoped context with multiple property scoped terms", + "purpose": "type-scoped context with multiple property scoped terms", + "input": "expand/c019-in.jsonld", + "expect": "expand/c019-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc020", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type-scoped value", + "purpose": "type-scoped value", + "input": "expand/c020-in.jsonld", + "expect": "expand/c020-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc021", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type-scoped value mix", + "purpose": "type-scoped value mix", + "input": "expand/c021-in.jsonld", + "expect": "expand/c021-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc022", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type-scoped property-scoped contexts including @type:@vocab", + "purpose": "type-scoped property-scoped contexts including @type:@vocab", + "input": "expand/c022-in.jsonld", + "expect": "expand/c022-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc023", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "composed type-scoped property-scoped contexts including @type:@vocab", + "purpose": "composed type-scoped property-scoped contexts including @type:@vocab", + "input": "expand/c023-in.jsonld", + "expect": "expand/c023-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc024", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type-scoped + property-scoped + values evaluates against previous context", + "purpose": "type-scoped + property-scoped + values evaluates against previous context", + "input": "expand/c024-in.jsonld", + "expect": "expand/c024-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tc025", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type-scoped + graph container", + "purpose": "type-scoped + graph container", + "input": "expand/c025-in.jsonld", + "expect": "expand/c025-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#te001", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Keywords cannot be aliased to other keywords", + "purpose": "Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword", + "input": "expand/e001-in.jsonld", + "expect": "keyword redefinition" + }, { + "@id": "#te002", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "A context may not include itself recursively (direct)", + "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself", + "input": "expand/e002-in.jsonld", + "expect": "recursive context inclusion", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#te003", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "A context may not include itself recursively (indirect)", + "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself indirectly", + "input": "expand/e003-in.jsonld", + "expect": "recursive context inclusion", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#te004", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Error dereferencing a remote context", + "purpose": "Verifies that an exception is raised on expansion when a context dereference results in an error", + "input": "expand/e004-in.jsonld", + "expect": "loading remote context failed" + }, { + "@id": "#te005", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid remote context", + "purpose": "Verifies that an exception is raised on expansion when a remote context is not an object containing @context", + "input": "expand/e005-in.jsonld", + "expect": "invalid remote context", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te006", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid local context", + "purpose": "Verifies that an exception is raised on expansion when a context is not a string or object", + "input": "expand/e006-in.jsonld", + "expect": "invalid local context" + }, { + "@id": "#te007", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid base IRI", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @base", + "input": "expand/e007-in.jsonld", + "expect": "invalid base IRI" + }, { + "@id": "#te008", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid vocab mapping", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @vocab mapping", + "input": "expand/e008-in.jsonld", + "expect": "invalid vocab mapping" + }, { + "@id": "#te009", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid default language", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @language", + "input": "expand/e009-in.jsonld", + "expect": "invalid default language" + }, { + "@id": "#te010", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Cyclic IRI mapping", + "purpose": "Verifies that an exception is raised on expansion when a cyclic IRI mapping is found", + "input": "expand/e010-in.jsonld", + "expect": "cyclic IRI mapping" + }, { + "@id": "#te011", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid term definition", + "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", + "input": "expand/e011-in.jsonld", + "expect": "invalid term definition" + }, { + "@id": "#te012", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid type mapping (not a string)", + "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", + "input": "expand/e012-in.jsonld", + "expect": "invalid type mapping" + }, { + "@id": "#te013", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid type mapping (not absolute IRI)", + "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", + "input": "expand/e013-in.jsonld", + "expect": "invalid type mapping" + }, { + "@id": "#te014", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid reverse property (contains @id)", + "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", + "input": "expand/e014-in.jsonld", + "expect": "invalid reverse property" + }, { + "@id": "#te015", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid IRI mapping (@reverse not a string)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "expand/e015-in.jsonld", + "expect": "invalid IRI mapping" + }, { + "@id": "#te016", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid IRI mapping (not an absolute IRI)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "expand/e016-in.jsonld", + "expect": "invalid IRI mapping" + }, { + "@id": "#te017", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid reverse property (invalid @container)", + "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", + "input": "expand/e017-in.jsonld", + "expect": "invalid reverse property" + }, { + "@id": "#te018", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid IRI mapping (@id not a string)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "expand/e018-in.jsonld", + "expect": "invalid IRI mapping" + }, { + "@id": "#te019", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid keyword alias", + "purpose": "Verifies that an exception is raised on expansion when a invalid keyword alias is found", + "input": "expand/e019-in.jsonld", + "expect": "invalid keyword alias" + }, { + "@id": "#te020", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid IRI mapping (no vocab mapping)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "expand/e020-in.jsonld", + "expect": "invalid IRI mapping" + }, { + "@id": "#te021", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid container mapping", + "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", + "input": "expand/e021-in.jsonld", + "expect": "invalid container mapping", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} + }, { + "@id": "#te022", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid language mapping", + "purpose": "Verifies that an exception is raised on expansion when a invalid language mapping is found", + "input": "expand/e022-in.jsonld", + "expect": "invalid language mapping" + }, { + "@id": "#te023", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid IRI mapping (relative IRI in @type)", + "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", + "input": "expand/e023-in.jsonld", + "expect": "invalid type mapping" + }, { + "@id": "#te024", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "List of lists (from array)", + "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", + "input": "expand/e024-in.jsonld", + "expect": "list of lists", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#te025", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid reverse property map", + "purpose": "Verifies that an exception is raised in Expansion when a invalid reverse property map is found", + "input": "expand/e025-in.jsonld", + "expect": "invalid reverse property map" + }, { + "@id": "#te026", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Colliding keywords", + "purpose": "Verifies that an exception is raised in Expansion when colliding keywords are found", + "input": "expand/e026-in.jsonld", + "expect": "colliding keywords" + }, { + "@id": "#te027", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid @id value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid @id value is found", + "input": "expand/e027-in.jsonld", + "expect": "invalid @id value" + }, { + "@id": "#te028", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid type value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid type value is found", + "input": "expand/e028-in.jsonld", + "expect": "invalid type value" + }, { + "@id": "#te029", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid value object value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object value is found", + "input": "expand/e029-in.jsonld", + "expect": "invalid value object value" + }, { + "@id": "#te030", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid language-tagged string", + "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged string value is found", + "input": "expand/e030-in.jsonld", + "expect": "invalid language-tagged string" + }, { + "@id": "#te031", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid @index value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid @index value value is found", + "input": "expand/e031-in.jsonld", + "expect": "invalid @index value" + }, { + "@id": "#te032", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "List of lists (from array)", + "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", + "input": "expand/e032-in.jsonld", + "expect": "list of lists", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#te033", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid @reverse value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid @reverse value is found", + "input": "expand/e033-in.jsonld", + "expect": "invalid @reverse value" + }, { + "@id": "#te034", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid reverse property value (in @reverse)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", + "input": "expand/e034-in.jsonld", + "expect": "invalid reverse property value" + }, { + "@id": "#te035", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid language map value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid language map value is found", + "input": "expand/e035-in.jsonld", + "expect": "invalid language map value" + }, { + "@id": "#te036", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid reverse property value (through coercion)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", + "input": "expand/e036-in.jsonld", + "expect": "invalid reverse property value" + }, { + "@id": "#te037", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid value object (unexpected keyword)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", + "input": "expand/e037-in.jsonld", + "expect": "invalid value object" + }, { + "@id": "#te038", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid value object (@type and @language)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", + "input": "expand/e038-in.jsonld", + "expect": "invalid value object" + }, { + "@id": "#te039", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid language-tagged value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged value is found", + "input": "expand/e039-in.jsonld", + "expect": "invalid language-tagged value" + }, { + "@id": "#te040", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid typed value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid typed value is found", + "input": "expand/e040-in.jsonld", + "expect": "invalid typed value" + }, { + "@id": "#te041", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid set or list object", + "purpose": "Verifies that an exception is raised in Expansion when an invalid set or list object is found", + "input": "expand/e041-in.jsonld", + "expect": "invalid set or list object" + }, { + "@id": "#te042", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Keywords may not be redefined", + "purpose": "Verifies that an exception is raised on expansion when processing an invalid context attempting to define @container on a keyword", + "input": "expand/e042-in.jsonld", + "expect": "keyword redefinition" + }, { + "@id": "#te043", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Term definition with @id: @type", + "purpose": "Expanding term mapping to @type uses @type syntax now illegal", + "input": "expand/e043-in.jsonld", + "expect": "invalid IRI mapping", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te044", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Redefine terms looking like compact IRIs", + "purpose": "Term definitions may look like compact IRIs, but must be consistent.", + "input": "expand/e044-in.jsonld", + "expect": "invalid IRI mapping", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tec01", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid keyword in term definition", + "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", + "input": "expand/ec01-in.jsonld", + "expect": "invalid term definition", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tem01", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid container mapping", + "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", + "input": "expand/em01-in.jsonld", + "expect": "invalid container mapping", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#ten01", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "@nest MUST NOT have a string value", + "purpose": "container: @nest", + "input": "expand/en01-in.jsonld", + "expect": "invalid @nest value", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#ten02", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "@nest MUST NOT have a boolen value", + "purpose": "Transparent Nesting", + "input": "expand/en02-in.jsonld", + "expect": "invalid @nest value", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#ten03", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "@nest MUST NOT have a numeric value", + "purpose": "Transparent Nesting", + "input": "expand/en03-in.jsonld", + "expect": "invalid @nest value", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#ten04", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "@nest MUST NOT have a value object value", + "purpose": "Transparent Nesting", + "input": "expand/en04-in.jsonld", + "expect": "invalid @nest value", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#ten05", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "does not allow a keyword other than @nest for the value of @nest", + "purpose": "Transparent Nesting", + "input": "expand/en05-in.jsonld", + "expect": "invalid @nest value", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#ten06", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "does not allow @nest with @reverse", + "purpose": "Transparent Nesting", + "input": "expand/en06-in.jsonld", + "expect": "invalid reverse property", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tep01", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Processing mode is implicitly json-ld-1.0", + "purpose": "If not specified using processingMode, processing mode is taken as json-ld-1.0", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/ep01-in.jsonld", + "expect": "invalid container mapping" + }, { + "@id": "#tep02", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "processingMode json-ld-1.0 conflicts with @version: 1.1", + "purpose": "If not specified using processingMode, processing mode is taken as json-ld-1.0", + "input": "expand/ep02-in.jsonld", + "expect": "processing mode conflict", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tep03", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "@version must be 1.1", + "purpose": "If @version is specified, it must be 1.1", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/ep03-in.jsonld", + "expect": "invalid @version value" + }, { + "@id": "#tes01", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Using an array value for @context is illegal in JSON-LD 1.0", + "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", + "input": "expand/es01-in.jsonld", + "expect": "invalid container mapping", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tes02", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Mapping @container: [@list, @set] is invalid", + "purpose": "Testing legal combinations of @set with other container values", + "input": "expand/es02-in.jsonld", + "expect": "invalid container mapping", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#th001", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "expand/h001-in.html", + "expect": "expand/h001-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th002", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands first embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "expand/h002-in.html", + "expect": "expand/h002-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th003", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands targeted JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "expand/h003-in.html#second", + "expect": "expand/h003-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th004", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands all embedded JSON-LD script elements with extractAllScripts option", + "purpose": "Tests embedded JSON-LD in HTML extracting all elements", + "input": "expand/h004-in.html", + "expect": "expand/h004-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#th005", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands multiple embedded JSON-LD script elements where one is an array", + "purpose": "Tests embedded JSON-LD in HTML extracting all elements with array", + "input": "expand/h005-in.html", + "expect": "expand/h005-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#th006", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands as empty with no embedded JSON-LD script elements", + "purpose": "Tests embedded JSON-LD in HTML when none exist", + "input": "expand/h006-in.html", + "expect": "expand/h006-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th007", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands as empty with no embedded JSON-LD script elements and extractAllScripts", + "purpose": "Tests embedded JSON-LD in HTML when none exist extracting all elements", + "input": "expand/h007-in.html", + "expect": "expand/h007-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#th010", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands embedded JSON-LD script element with HTML character references", + "purpose": "Tests embedded JSON-LD in HTML with character references", + "input": "expand/h010-in.html", + "expect": "expand/h010-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th011", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Errors if no element found at target", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier that doesn't exist", + "input": "expand/h011-in.html#third", + "expect": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th012", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Errors if targeted element is not a script element", + "purpose": "Tests embedded JSON-LD in HTML which isn't a script element", + "input": "expand/h012-in.html#first", + "expect": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th013", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Errors if targeted element does not have type application/ld+json", + "purpose": "Tests embedded JSON-LD in HTML with wrong type", + "input": "expand/h013-in.html#first", + "expect": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th014", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Errors if uncommented script text contains comment", + "purpose": "Tests embedded JSON-LD in HTML with comments leftover", + "input": "expand/h014-in.html", + "expect": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th015", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Errors if end comment missing", + "purpose": "Tests embedded JSON-LD in HTML with unballanced comments", + "input": "expand/h015-in.html", + "expect": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th016", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Errors if start comment missing", + "purpose": "Tests embedded JSON-LD in HTML with unballanced comments", + "input": "expand/h016-in.html", + "expect": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th017", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Errors if uncommented script is not valid JSON", + "purpose": "Tests embedded JSON-LD in HTML which is invalid JSON", + "input": "expand/h017-in.html", + "expect": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th018", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands embedded JSON-LD script element relative to document base", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "expand/h018-in.html", + "expect": "expand/h018-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th019", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands embedded JSON-LD script element relative to base option", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "expand/h019-in.html", + "expect": "expand/h019-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} + }, { + "@id": "#th020", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands embedded JSON-LD script element relative to HTML base", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "expand/h020-in.html", + "expect": "expand/h020-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} + }, { + "@id": "#th021", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands embedded JSON-LD script element relative to relative HTML base", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "expand/h021-in.html", + "expect": "expand/h021-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} + }, { + "@id": "#th022", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands targeted JSON-LD script element with fragment and HTML base", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "expand/h022-in.html#second", + "expect": "expand/h022-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#thc01", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands document using an HTML context", + "purpose": "Tests extracting a context from an HTML document.", + "input": "expand/hc01-in.jsonld", + "expect": "expand/hc01-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#thc02", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands document using an HTML context with a fragment identifier", + "purpose": "Tests extracting a context from an HTML document with script identified by fragment identifier.", + "input": "expand/hc02-in.jsonld", + "expect": "expand/hc02-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#thc03", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands document using an HTML context with preference to context profile", + "purpose": "Tests extracting a context from an HTML document, skipping other contexts.", + "input": "expand/hc03-in.jsonld", + "expect": "expand/hc03-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#thc04", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands document using an HTML context with expandContext", + "purpose": "Tests extracting a context from an HTML document, using expandContext API option.", + "input": "expand/hc04-in.jsonld", + "expect": "expand/hc04-out.jsonld", + "option": {"expandContext": "hc04-context.html", "specVersion": "json-ld-1.1"} + }, { + "@id": "#thc05", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Errors if given an HTML file for a context where no context script element is found", + "purpose": "Verifies that an exception is raised on expansion when a remote context is an HTML file but does not contain a script element which is an object containing @context", + "input": "expand/hc05-in.jsonld", + "expect": "invalid remote context" + }, { + "@id": "#tjs01", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (boolean true)", + "purpose": "Tests expanding property with @type @json to a JSON literal (boolean true).", + "input": "expand/js01-in.jsonld", + "expect": "expand/js01-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs02", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (boolean false)", + "purpose": "Tests expanding property with @type @json to a JSON literal (boolean false).", + "input": "expand/js02-in.jsonld", + "expect": "expand/js02-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs03", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (double)", + "purpose": "Tests expanding property with @type @json to a JSON literal (double).", + "input": "expand/js03-in.jsonld", + "expect": "expand/js03-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs04", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (double-zero)", + "purpose": "Tests expanding property with @type @json to a JSON literal (double-zero).", + "input": "expand/js04-in.jsonld", + "expect": "expand/js04-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs05", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (integer)", + "purpose": "Tests expanding property with @type @json to a JSON literal (integer).", + "input": "expand/js05-in.jsonld", + "expect": "expand/js05-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs06", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (object)", + "purpose": "Tests expanding property with @type @json to a JSON literal (object).", + "input": "expand/js06-in.jsonld", + "expect": "expand/js06-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs07", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (array)", + "purpose": "Tests expanding property with @type @json to a JSON literal (array).", + "input": "expand/js07-in.jsonld", + "expect": "expand/js07-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs08", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal without expanding contents", + "purpose": "Tests expanding JSON literal does not expand terms inside json.", + "input": "expand/js08-in.jsonld", + "expect": "expand/js08-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs09", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal aleady in expanded form", + "purpose": "Tests expanding JSON literal in expanded form.", + "input": "expand/js09-in.jsonld", + "expect": "expand/js09-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs10", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal aleady in expanded form with aliased keys", + "purpose": "Tests expanding JSON literal in expanded form with aliased keys in value object.", + "input": "expand/js10-in.jsonld", + "expect": "expand/js10-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm001", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Adds @id to object not having an @id", + "purpose": "Expansion using @container: @id", + "input": "expand/m001-in.jsonld", + "expect": "expand/m001-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm002", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Retains @id in object already having an @id", + "purpose": "Expansion using @container: @id", + "input": "expand/m002-in.jsonld", + "expect": "expand/m002-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm003", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Adds @type to object not having an @type", + "purpose": "Expansion using @container: @type", + "input": "expand/m003-in.jsonld", + "expect": "expand/m003-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm004", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Prepends @type in object already having an @type", + "purpose": "Expansion using @container: @type", + "input": "expand/m004-in.jsonld", + "expect": "expand/m004-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm005", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Adds expanded @id to object", + "purpose": "Expansion using @container: @id", + "input": "expand/m005-in.jsonld", + "expect": "expand/m005-out.jsonld", + "option": {"base": "http://example.org/", "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm006", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Adds vocabulary expanded @type to object", + "purpose": "Expansion using @container: @type", + "input": "expand/m006-in.jsonld", + "expect": "expand/m006-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm007", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Adds document expanded @type to object", + "purpose": "Expansion using @container: @type", + "input": "expand/m007-in.jsonld", + "expect": "expand/m007-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm008", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "When type is in a type map", + "purpose": "scoped context on @type", + "input": "expand/m008-in.jsonld", + "expect": "expand/m008-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm009", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "language map with @none", + "purpose": "index on @language", + "input": "expand/m009-in.jsonld", + "expect": "expand/m009-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm010", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "language map with alias of @none", + "purpose": "index on @language", + "input": "expand/m010-in.jsonld", + "expect": "expand/m010-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm011", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "id map with @none", + "purpose": "index on @id", + "input": "expand/m011-in.jsonld", + "expect": "expand/m011-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm012", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type map with alias of @none", + "purpose": "index on @type", + "input": "expand/m012-in.jsonld", + "expect": "expand/m012-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm013", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "index map with @none", + "purpose": "index on @graph and @index", + "input": "expand/m013-in.jsonld", + "expect": "expand/m013-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm014", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "index map with alias @none", + "purpose": "index on @graph and @index", + "input": "expand/m014-in.jsonld", + "expect": "expand/m014-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm015", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "index map with alias @none", + "purpose": "index on @graph and @index", + "input": "expand/m015-in.jsonld", + "expect": "expand/m015-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm016", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "index map with alias @none", + "purpose": "index on @graph and @index", + "input": "expand/m016-in.jsonld", + "expect": "expand/m016-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn001", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands input using @nest", + "purpose": "Expansion using @nest", + "input": "expand/n001-in.jsonld", + "expect": "expand/n001-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn002", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expands input using aliased @nest", + "purpose": "Expansion using @nest", + "input": "expand/n002-in.jsonld", + "expect": "expand/n002-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn003", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Appends nested values when property at base and nested", + "purpose": "Expansion using @nest", + "input": "expand/n003-in.jsonld", + "expect": "expand/n003-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn004", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Appends nested values from all @nest aliases in term order", + "purpose": "Expansion using @nest", + "input": "expand/n004-in.jsonld", + "expect": "expand/n004-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn005", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Nested nested containers", + "purpose": "Expansion using @nest", + "input": "expand/n005-in.jsonld", + "expect": "expand/n005-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn006", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Arrays of nested values", + "purpose": "Expansion using @nest", + "input": "expand/n006-in.jsonld", + "expect": "expand/n006-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tn007", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "A nest of arrays", + "purpose": "Expansion using @nest", + "input": "expand/n007-in.jsonld", + "expect": "expand/n007-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tp001", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@version may be specified after first context", + "purpose": "If processing mode is not set through API, it is set by the first context containing @version.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/p001-in.jsonld", + "expect": "expand/p001-out.jsonld" + }, { + "@id": "#tp002", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@version setting [1.0, 1.1, 1.0]", + "purpose": "If processing mode is not set through API, it is set by the first context containing @version.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/p002-in.jsonld", + "expect": "expand/p002-out.jsonld" + }, { + "@id": "#tp003", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@version setting [1.1, 1.0]", + "purpose": "If processing mode is not set through API, it is set by the first context containing @version.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/p003-in.jsonld", + "expect": "expand/p003-out.jsonld" + }, { + "@id": "#tp004", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@version setting [1.1, 1.0, 1.1]", + "purpose": "If processing mode is not set through API, it is set by the first context containing @version.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/p004-in.jsonld", + "expect": "expand/p004-out.jsonld" + }, { + "@id": "#tpi01", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "error if @version is not json-ld-1.1 for property-valued index", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi01-in.jsonld", + "expect": "invalid term definition" + }, { + "@id": "#tpi02", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "error if @container does not include @index for property-valued index", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi02-in.jsonld", + "expect": "invalid term definition" + }, { + "@id": "#tpi03", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "error if @index is a keyword for property-valued index", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi03-in.jsonld", + "expect": "invalid term definition" + }, { + "@id": "#tpi04", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "error if @index is not a string for property-valued index", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi04-in.jsonld", + "expect": "invalid term definition" + }, { + "@id": "#tpi05", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "error if attempting to add property to value object for property-valued index", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi05-in.jsonld", + "expect": "invalid value object" + }, { + "@id": "#tpi06", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "property-valued index expands to property value, instead of @index (value)", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi06-in.jsonld", + "expect": "expand/pi06-out.jsonld" + }, { + "@id": "#tpi07", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "property-valued index appends to property value, instead of @index (value)", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi07-in.jsonld", + "expect": "expand/pi07-out.jsonld" + }, { + "@id": "#tpi08", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "property-valued index expands to property value, instead of @index (node)", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi08-in.jsonld", + "expect": "expand/pi08-out.jsonld" + }, { + "@id": "#tpi09", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "property-valued index appends to property value, instead of @index (node)", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi09-in.jsonld", + "expect": "expand/pi09-out.jsonld" + }, { + "@id": "#tpi10", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "property-valued index does not output property for @none", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi10-in.jsonld", + "expect": "expand/pi10-out.jsonld" + }, { + "@id": "#tpi11", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "property-valued index adds property to graph object", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pi11-in.jsonld", + "expect": "expand/pi11-out.jsonld" + }, { + "@id": "#tl001", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Language map with null value", + "purpose": "A language map may have a null value, which is ignored", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/l001-in.jsonld", + "expect": "expand/l001-out.jsonld" + }, { + "@id": "#tli01", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@list containing @list", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li01-in.jsonld", + "expect": "expand/li01-out.jsonld" + }, { + "@id": "#tli02", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@list containing empty @list", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li02-in.jsonld", + "expect": "expand/li02-out.jsonld" + }, { + "@id": "#tli03", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@list containing @list (with coercion)", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li03-in.jsonld", + "expect": "expand/li03-out.jsonld" + }, { + "@id": "#tli04", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@list containing empty @list (with coercion)", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li04-in.jsonld", + "expect": "expand/li04-out.jsonld" + }, { + "@id": "#tli05", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing an array", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li05-in.jsonld", + "expect": "expand/li05-out.jsonld" + }, { + "@id": "#tli06", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing an empty array", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li06-in.jsonld", + "expect": "expand/li06-out.jsonld" + }, { + "@id": "#tli07", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing deep arrays", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li07-in.jsonld", + "expect": "expand/li07-out.jsonld" + }, { + "@id": "#tli08", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing deep empty arrays", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li08-in.jsonld", + "expect": "expand/li08-out.jsonld" + }, { + "@id": "#tli09", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing multiple lists", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li09-in.jsonld", + "expect": "expand/li09-out.jsonld" + }, { + "@id": "#tli10", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing mixed list values", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li10-in.jsonld", + "expect": "expand/li10-out.jsonld" + }, { + "@id": "#tpr01", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Protect a term", + "purpose": "Check error when overriding a protected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr01-in.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr02", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Set a term to not be protected", + "purpose": "A term with @protected: false is not protected.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr02-in.jsonld", + "expect": "expand/pr02-out.jsonld" + }, { + "@id": "#tpr03", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Protect all terms in context", + "purpose": "A protected context protects all term definitions.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr03-in.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr04", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Do not protect term with @protected: false", + "purpose": "A protected context does not protect terms with @protected: false.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr04-in.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr05", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Clear active context with protected terms from an embedded context", + "purpose": "The Active context be set to null from an embedded context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr05-in.jsonld", + "expect": "invalid context nullification" + }, { + "@id": "#tpr06", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Clear active context of protected terms from a term.", + "purpose": "The Active context may be set to null from a scoped context of a term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr06-in.jsonld", + "expect": "expand/pr06-out.jsonld" + }, { + "@id": "#tpr08", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Term with protected scoped context.", + "purpose": "A scoped context can protect terms.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr08-in.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr09", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Attempt to redefine term in other protected context.", + "purpose": "A protected term cannot redefine another protected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr09-in.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr10", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Simple protected and unprotected terms.", + "purpose": "Simple protected and unprotected terms.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr10-in.jsonld", + "expect": "expand/pr10-out.jsonld" + }, { + "@id": "#tpr11", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Fail to override protected term.", + "purpose": "Fail to override protected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr11-in.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr12", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Scoped context fail to override protected term.", + "purpose": "Scoped context fail to override protected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr12-in.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr13", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Override unprotected term.", + "purpose": "Override unprotected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr13-in.jsonld", + "expect": "expand/pr13-out.jsonld" + }, { + "@id": "#tpr14", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Clear protection with null context.", + "purpose": "Clear protection with null context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr14-in.jsonld", + "expect": "expand/pr14-out.jsonld" + }, { + "@id": "#tpr15", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Clear protection with array with null context", + "purpose": "Clear protection with array with null context", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr15-in.jsonld", + "expect": "expand/pr15-out.jsonld" + }, { + "@id": "#tpr16", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Override protected terms after null.", + "purpose": "Override protected terms after null.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr16-in.jsonld", + "expect": "expand/pr16-out.jsonld" + }, { + "@id": "#tpr17", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Fail to override protected terms with type.", + "purpose": "Fail to override protected terms with type.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr17-in.jsonld", + "expect": "invalid context nullification" + }, { + "@id": "#tpr18", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Fail to override protected terms with type+null+ctx.", + "purpose": "Fail to override protected terms with type+null+ctx.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr18-in.jsonld", + "expect": "invalid context nullification" + }, { + "@id": "#tpr19", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Mix of protected and unprotected terms.", + "purpose": "Mix of protected and unprotected terms.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr19-in.jsonld", + "expect": "expand/pr19-out.jsonld" + }, { + "@id": "#tpr20", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Fail with mix of protected and unprotected terms with type+null+ctx.", + "purpose": "Fail with mix of protected and unprotected terms with type+null+ctx.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr20-in.jsonld", + "expect": "invalid context nullification" + }, { + "@id": "#tpr21", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Fail with mix of protected and unprotected terms with type+null.", + "purpose": "Fail with mix of protected and unprotected terms with type+null.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr21-in.jsonld", + "expect": "invalid context nullification" + }, { + "@id": "#tpr22", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Check legal overriding of type-scoped protected term from nested node.", + "purpose": "Check legal overriding of type-scoped protected term from nested node.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr22-in.jsonld", + "expect": "expand/pr22-out.jsonld" + }, { + "@id": "#tpr23", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Allows redefinition of protected alias term with same definition.", + "purpose": "Allows redefinition of protected alias term with same definition.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr23-in.jsonld", + "expect": "expand/pr23-out.jsonld" + }, { + "@id": "#tpr24", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Allows redefinition of protected prefix term with same definition.", + "purpose": "Allows redefinition of protected prefix term with same definition.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr24-in.jsonld", + "expect": "expand/pr24-out.jsonld" + }, { + "@id": "#tpr25", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Allows redefinition of terms with scoped contexts using same definitions.", + "purpose": "Allows redefinition of terms with scoped contexts using same definitions.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr25-in.jsonld", + "expect": "expand/pr25-out.jsonld" + }, { + "@id": "#tpr26", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Fails on redefinition of terms with scoped contexts using different definitions.", + "purpose": "Fails on redefinition of terms with scoped contexts using different definitions.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr26-in.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr27", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Allows redefinition of protected alias term with same definition modulo protected flag.", + "purpose": "Allows redefinition of protected alias term with same definition modulo protected flag.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr27-in.jsonld", + "expect": "expand/pr27-out.jsonld" + }, { + "@id": "#tpr28", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Fails if trying to redefine a protected null term.", + "purpose": "A protected term with a null IRI mapping cannot be redefined.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr28-in.jsonld", + "expect": "protected term redefinition" + }, { + "@id": "#tpr29", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Does not expand a Compact IRI using a non-prefix term.", + "purpose": "Expansion of Compact IRIs considers if the term can be used as a prefix.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr29-in.jsonld", + "expect": "expand/pr29-out.jsonld" + }, { + "@id": "#ttn01", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "@type: @none is illegal in 1.0.", + "purpose": "@type: @none is illegal in json-ld-1.0.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/tn01-in.jsonld", + "expect": "invalid type mapping" + }, { + "@id": "#ttn02", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@type: @none expands strings as value objects", + "purpose": "@type: @none leaves inputs other than strings alone", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/tn02-in.jsonld", + "expect": "expand/tn02-out.jsonld" } ] } diff --git a/core/src/test/resources/json-ld.org/expand-0001-in.jsonld b/core/src/test/resources/json-ld.org/expand/0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0001-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0001-out.jsonld b/core/src/test/resources/json-ld.org/expand/0001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0001-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0002-in.jsonld b/core/src/test/resources/json-ld.org/expand/0002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0002-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0002-out.jsonld b/core/src/test/resources/json-ld.org/expand/0002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0002-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0003-in.jsonld b/core/src/test/resources/json-ld.org/expand/0003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0003-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0003-out.jsonld b/core/src/test/resources/json-ld.org/expand/0003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0003-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0004-in.jsonld b/core/src/test/resources/json-ld.org/expand/0004-in.jsonld similarity index 94% rename from core/src/test/resources/json-ld.org/flatten-0004-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0004-in.jsonld index 5768520b..8499bfa0 100644 --- a/core/src/test/resources/json-ld.org/flatten-0004-in.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0004-in.jsonld @@ -13,7 +13,7 @@ "http://example.org/list1": { "@list": [ null ] }, "http://example.org/list2": { "@list": [ {"@value": null} ] }, "http://example.org/set1": { "@set": [ ] }, - "http://example.org/set1": { "@set": [ null ] }, + "http://example.org/set2": { "@set": [ null ] }, "http://example.org/set3": [ ], "http://example.org/set4": [ null ], "http://example.org/set5": "one item", diff --git a/core/src/test/resources/json-ld.org/expand-0004-out.jsonld b/core/src/test/resources/json-ld.org/expand/0004-out.jsonld similarity index 94% rename from core/src/test/resources/json-ld.org/expand-0004-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0004-out.jsonld index e5df965d..2911bd4a 100644 --- a/core/src/test/resources/json-ld.org/expand-0004-out.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0004-out.jsonld @@ -7,7 +7,7 @@ "http://example.org/list1": [ { "@list": [ ] } ], "http://example.org/list2": [ { "@list": [ ] } ], "http://example.org/set1": [ ], - "http://example.org/set1": [ ], + "http://example.org/set2": [ ], "http://example.org/set3": [ ], "http://example.org/set4": [ ], "http://example.org/set5": [ {"@value": "one item"} ], diff --git a/core/src/test/resources/json-ld.org/expand-0005-in.jsonld b/core/src/test/resources/json-ld.org/expand/0005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0005-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0005-out.jsonld b/core/src/test/resources/json-ld.org/expand/0005-out.jsonld similarity index 86% rename from core/src/test/resources/json-ld.org/expand-0005-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0005-out.jsonld index c5db2a24..a273f90f 100644 --- a/core/src/test/resources/json-ld.org/expand-0005-out.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0005-out.jsonld @@ -1,5 +1,5 @@ [{ - "@id": "http://json-ld.org/test-suite/tests/expand-0005-in.jsonld#me", + "@id": "https://w3c.github.io/json-ld-api/tests/expand/0005-in.jsonld#me", "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/bob#me", diff --git a/core/src/test/resources/json-ld.org/expand-0006-in.jsonld b/core/src/test/resources/json-ld.org/expand/0006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0006-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0006-out.jsonld b/core/src/test/resources/json-ld.org/expand/0006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0006-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0007-in.jsonld b/core/src/test/resources/json-ld.org/expand/0007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0007-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0007-out.jsonld b/core/src/test/resources/json-ld.org/expand/0007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0007-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0008-in.jsonld b/core/src/test/resources/json-ld.org/expand/0008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0008-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0008-out.jsonld b/core/src/test/resources/json-ld.org/expand/0008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0008-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0009-in.jsonld b/core/src/test/resources/json-ld.org/expand/0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0009-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0009-out.jsonld b/core/src/test/resources/json-ld.org/expand/0009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0009-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0010-in.jsonld b/core/src/test/resources/json-ld.org/expand/0010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0010-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0010-out.jsonld b/core/src/test/resources/json-ld.org/expand/0010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0010-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0051-in.jsonld b/core/src/test/resources/json-ld.org/expand/0011-in.jsonld similarity index 77% rename from core/src/test/resources/json-ld.org/toRdf-0051-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0011-in.jsonld index 15815597..fa90d97d 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0051-in.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0011-in.jsonld @@ -1,6 +1,6 @@ { "@context": { - "dc": "http://purl.org/dc/elements/1.1/", + "dc11": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" @@ -8,6 +8,6 @@ "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#book", - "dc:title": "Title", + "dc11:title": "Title", "ex:contains": "http://example.org/test#chapter" } \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand-0011-out.jsonld b/core/src/test/resources/json-ld.org/expand/0011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0011-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0011-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0012-in.jsonld b/core/src/test/resources/json-ld.org/expand/0012-in.jsonld similarity index 80% rename from core/src/test/resources/json-ld.org/flatten-0012-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0012-in.jsonld index d081e7fb..ebda5732 100644 --- a/core/src/test/resources/json-ld.org/flatten-0012-in.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0012-in.jsonld @@ -1,6 +1,6 @@ { "@context": { - "dc": "http://purl.org/dc/elements/1.1/", + "dc11": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": { "@type": "@id" @@ -14,8 +14,8 @@ "@graph": [ { "@id": "http://example.org/test#chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" + "dc11:description": "Fun", + "dc11:title": "Chapter One" }, { "@id": "http://example.org/test#jane", @@ -30,8 +30,8 @@ "@id": "http://example.org/test#library", "ex:contains": { "@id": "http://example.org/test#book", - "dc:contributor": "Writer", - "dc:title": "My Book", + "dc11:contributor": "Writer", + "dc11:title": "My Book", "ex:contains": "http://example.org/test#chapter" } } diff --git a/core/src/test/resources/json-ld.org/expand-0012-out.jsonld b/core/src/test/resources/json-ld.org/expand/0012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0012-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0013-in.jsonld b/core/src/test/resources/json-ld.org/expand/0013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0013-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0013-out.jsonld b/core/src/test/resources/json-ld.org/expand/0013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0013-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0054-in.jsonld b/core/src/test/resources/json-ld.org/expand/0014-in.jsonld similarity index 94% rename from core/src/test/resources/json-ld.org/toRdf-0054-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0014-in.jsonld index ba913ff2..f10b39a5 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0054-in.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0014-in.jsonld @@ -13,7 +13,7 @@ "set": "@set", "value": "@value", "type": "@type", - "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" } + "xsd": "http://www.w3.org/2001/XMLSchema#" }, "property1": { "uri": "ex:example2", diff --git a/core/src/test/resources/json-ld.org/expand-0014-out.jsonld b/core/src/test/resources/json-ld.org/expand/0014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0014-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0015-in.jsonld b/core/src/test/resources/json-ld.org/expand/0015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0015-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0015-out.jsonld b/core/src/test/resources/json-ld.org/expand/0015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0015-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0016-in.jsonld b/core/src/test/resources/json-ld.org/expand/0016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0016-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0016-out.jsonld b/core/src/test/resources/json-ld.org/expand/0016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0016-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0017-in.jsonld b/core/src/test/resources/json-ld.org/expand/0017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0017-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0017-out.jsonld b/core/src/test/resources/json-ld.org/expand/0017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0017-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0018-in.jsonld b/core/src/test/resources/json-ld.org/expand/0018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0018-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0018-out.jsonld b/core/src/test/resources/json-ld.org/expand/0018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0018-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0019-in.jsonld b/core/src/test/resources/json-ld.org/expand/0019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0019-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0019-out.jsonld b/core/src/test/resources/json-ld.org/expand/0019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0019-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0020-in.jsonld b/core/src/test/resources/json-ld.org/expand/0020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0020-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0020-out.jsonld b/core/src/test/resources/json-ld.org/expand/0020-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0020-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0020-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0021-in.jsonld b/core/src/test/resources/json-ld.org/expand/0021-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0021-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0021-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0021-out.jsonld b/core/src/test/resources/json-ld.org/expand/0021-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0021-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0021-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0022-in.jsonld b/core/src/test/resources/json-ld.org/expand/0022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0022-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0022-out.jsonld b/core/src/test/resources/json-ld.org/expand/0022-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0022-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0022-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0023-in.jsonld b/core/src/test/resources/json-ld.org/expand/0023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0023-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0023-out.jsonld b/core/src/test/resources/json-ld.org/expand/0023-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0023-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0023-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0024-in.jsonld b/core/src/test/resources/json-ld.org/expand/0024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0024-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0024-out.jsonld b/core/src/test/resources/json-ld.org/expand/0024-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0024-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0024-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0025-in.jsonld b/core/src/test/resources/json-ld.org/expand/0025-in.jsonld similarity index 80% rename from core/src/test/resources/json-ld.org/expand-0025-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0025-in.jsonld index 426de362..2cd0d48e 100644 --- a/core/src/test/resources/json-ld.org/expand-0025-in.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0025-in.jsonld @@ -1,7 +1,7 @@ { "@context": { "foo": "http://example.com/foo/", - "foo:bar": "http://example.com/bar", + "foo:bar": "http://example.com/foo/bar", "bar": {"@id": "foo:bar", "@type": "@id"}, "_": "http://example.com/underscore/" }, diff --git a/core/src/test/resources/json-ld.org/expand-0025-out.jsonld b/core/src/test/resources/json-ld.org/expand/0025-out.jsonld similarity index 72% rename from core/src/test/resources/json-ld.org/expand-0025-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0025-out.jsonld index 61e1278a..eea75af1 100644 --- a/core/src/test/resources/json-ld.org/expand-0025-out.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0025-out.jsonld @@ -1,7 +1,7 @@ [{ "@type": [ "http://example.com/foo/", - "http://example.com/bar", + "http://example.com/foo/bar", "http://example.com/underscore/" ] }] diff --git a/core/src/test/resources/json-ld.org/expand-0026-in.jsonld b/core/src/test/resources/json-ld.org/expand/0026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0026-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0026-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0026-out.jsonld b/core/src/test/resources/json-ld.org/expand/0026-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0026-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0026-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0027-in.jsonld b/core/src/test/resources/json-ld.org/expand/0027-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0027-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0027-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0027-out.jsonld b/core/src/test/resources/json-ld.org/expand/0027-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0027-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0027-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0028-in.jsonld b/core/src/test/resources/json-ld.org/expand/0028-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0028-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0028-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0028-out.jsonld b/core/src/test/resources/json-ld.org/expand/0028-out.jsonld similarity index 76% rename from core/src/test/resources/json-ld.org/expand-0028-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0028-out.jsonld index e030e443..bd4e612f 100644 --- a/core/src/test/resources/json-ld.org/expand-0028-out.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0028-out.jsonld @@ -1,6 +1,6 @@ [ { - "@id": "http://json-ld.org/test-suite/tests/example1", + "@id": "https://w3c.github.io/json-ld-api/tests/expand/example1", "@type": [ "http://example.org/vocab#test" ], "http://example.org/vocab#date": [ { @@ -10,7 +10,7 @@ ], "http://example.org/vocab#embed": [ { - "@id": "http://json-ld.org/test-suite/tests/example2", + "@id": "https://w3c.github.io/json-ld-api/tests/expand/example2", "http://example.org/vocab#expandedDate": [ { "@value": "2012-08-01T00:00:00Z", diff --git a/core/src/test/resources/json-ld.org/flatten-0029-in.jsonld b/core/src/test/resources/json-ld.org/expand/0029-in.jsonld similarity index 89% rename from core/src/test/resources/json-ld.org/flatten-0029-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0029-in.jsonld index 08cdde33..dd425bda 100644 --- a/core/src/test/resources/json-ld.org/flatten-0029-in.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0029-in.jsonld @@ -10,7 +10,7 @@ "./", "../", "../parent", - "../../parent-parent-eq-root", + "../../../parent-parent-eq-root", "../../../../../still-root", "../.././.././../../too-many-dots", "/absolute", @@ -23,7 +23,7 @@ "./", "../", "../parent", - "../../parent-parent-eq-root", + "../../../parent-parent-eq-root", "./../../../useless/../../../still-root", "../.././.././../../too-many-dots", "/absolute", diff --git a/core/src/test/resources/json-ld.org/expand/0029-out.jsonld b/core/src/test/resources/json-ld.org/expand/0029-out.jsonld new file mode 100644 index 00000000..641cc79f --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0029-out.jsonld @@ -0,0 +1,35 @@ +[ + { + "@id": "https://w3c.github.io/json-ld-api/tests/expand/relativeIris", + "@type": [ + "https://w3c.github.io/json-ld-api/tests/expand/link", + "https://w3c.github.io/json-ld-api/tests/expand/0029-in.jsonld#fragment-works", + "https://w3c.github.io/json-ld-api/tests/expand/0029-in.jsonld?query=works", + "https://w3c.github.io/json-ld-api/tests/expand/", + "https://w3c.github.io/json-ld-api/tests/", + "https://w3c.github.io/json-ld-api/tests/parent", + "https://w3c.github.io/parent-parent-eq-root", + "https://w3c.github.io/still-root", + "https://w3c.github.io/too-many-dots", + "https://w3c.github.io/absolute", + "https://example.org/scheme-relative" + ], + "http://www.example.com/link": [ + { + "@list": [ + {"@id": "https://w3c.github.io/json-ld-api/tests/expand/link"}, + {"@id": "https://w3c.github.io/json-ld-api/tests/expand/0029-in.jsonld#fragment-works"}, + {"@id": "https://w3c.github.io/json-ld-api/tests/expand/0029-in.jsonld?query=works"}, + {"@id": "https://w3c.github.io/json-ld-api/tests/expand/"}, + {"@id": "https://w3c.github.io/json-ld-api/tests/"}, + {"@id": "https://w3c.github.io/json-ld-api/tests/parent"}, + {"@id": "https://w3c.github.io/parent-parent-eq-root"}, + {"@id": "https://w3c.github.io/still-root"}, + {"@id": "https://w3c.github.io/too-many-dots"}, + {"@id": "https://w3c.github.io/absolute"}, + {"@id": "https://example.org/scheme-relative"} + ] + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand-0030-in.jsonld b/core/src/test/resources/json-ld.org/expand/0030-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0030-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0030-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0030-out.jsonld b/core/src/test/resources/json-ld.org/expand/0030-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0030-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0030-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0031-in.jsonld b/core/src/test/resources/json-ld.org/expand/0031-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0031-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0031-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0031-out.jsonld b/core/src/test/resources/json-ld.org/expand/0031-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0031-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0031-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0032-in.jsonld b/core/src/test/resources/json-ld.org/expand/0032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0032-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0032-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0032-out.jsonld b/core/src/test/resources/json-ld.org/expand/0032-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0032-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0032-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0033-in.jsonld b/core/src/test/resources/json-ld.org/expand/0033-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0033-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0033-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0033-out.jsonld b/core/src/test/resources/json-ld.org/expand/0033-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0033-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0033-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0034-in.jsonld b/core/src/test/resources/json-ld.org/expand/0034-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0034-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0034-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0034-out.jsonld b/core/src/test/resources/json-ld.org/expand/0034-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0034-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0034-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0035-in.jsonld b/core/src/test/resources/json-ld.org/expand/0035-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0035-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0035-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0035-out.jsonld b/core/src/test/resources/json-ld.org/expand/0035-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0035-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0035-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0036-in.jsonld b/core/src/test/resources/json-ld.org/expand/0036-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0036-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0036-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0036-out.jsonld b/core/src/test/resources/json-ld.org/expand/0036-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0036-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0036-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0037-in.jsonld b/core/src/test/resources/json-ld.org/expand/0037-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0037-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0037-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0037-out.jsonld b/core/src/test/resources/json-ld.org/expand/0037-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0037-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0037-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0038-in.jsonld b/core/src/test/resources/json-ld.org/expand/0038-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0038-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0038-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0038-out.jsonld b/core/src/test/resources/json-ld.org/expand/0038-out.jsonld similarity index 91% rename from core/src/test/resources/json-ld.org/expand-0038-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0038-out.jsonld index c09d2a11..328591b9 100644 --- a/core/src/test/resources/json-ld.org/expand-0038-out.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0038-out.jsonld @@ -46,7 +46,7 @@ "@id": "_:termAppendedToBlankNode" }, { - "@id": "http://json-ld.org/test-suite/tests/relativeIri" + "@id": "https://w3c.github.io/json-ld-api/tests/expand/relativeIri" }, { "@id": "_:term" diff --git a/core/src/test/resources/json-ld.org/expand-0039-in.jsonld b/core/src/test/resources/json-ld.org/expand/0039-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0039-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0039-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0039-out.jsonld b/core/src/test/resources/json-ld.org/expand/0039-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0039-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0039-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0040-in.jsonld b/core/src/test/resources/json-ld.org/expand/0040-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0040-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0040-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0040-out.jsonld b/core/src/test/resources/json-ld.org/expand/0040-out.jsonld similarity index 77% rename from core/src/test/resources/json-ld.org/expand-0040-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0040-out.jsonld index 1b990b23..ce40ea19 100644 --- a/core/src/test/resources/json-ld.org/expand-0040-out.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0040-out.jsonld @@ -16,7 +16,7 @@ "@value": "indexes" }, { - "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject" + "@id": "https://w3c.github.io/json-ld-api/tests/expand/asTheValueIsntAnObject" } ] } diff --git a/core/src/test/resources/json-ld.org/expand-0041-in.jsonld b/core/src/test/resources/json-ld.org/expand/0041-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0041-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0041-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0041-out.jsonld b/core/src/test/resources/json-ld.org/expand/0041-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0041-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0041-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0042-in.jsonld b/core/src/test/resources/json-ld.org/expand/0042-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0042-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0042-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0042-out.jsonld b/core/src/test/resources/json-ld.org/expand/0042-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0042-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0042-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0043-in.jsonld b/core/src/test/resources/json-ld.org/expand/0043-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0043-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0043-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0043-out.jsonld b/core/src/test/resources/json-ld.org/expand/0043-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0043-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0043-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0044-in.jsonld b/core/src/test/resources/json-ld.org/expand/0044-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0044-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0044-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0044-out.jsonld b/core/src/test/resources/json-ld.org/expand/0044-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0044-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0044-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0045-in.jsonld b/core/src/test/resources/json-ld.org/expand/0045-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0045-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0045-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0045-out.jsonld b/core/src/test/resources/json-ld.org/expand/0045-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0045-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0045-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0046-in.jsonld b/core/src/test/resources/json-ld.org/expand/0046-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0046-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0046-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0046-out.jsonld b/core/src/test/resources/json-ld.org/expand/0046-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0046-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0046-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0047-in.jsonld b/core/src/test/resources/json-ld.org/expand/0047-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0047-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0047-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0047-out.jsonld b/core/src/test/resources/json-ld.org/expand/0047-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0047-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0047-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0045-context.jsonld b/core/src/test/resources/json-ld.org/expand/0048-in.jsonld similarity index 90% rename from core/src/test/resources/json-ld.org/compact-0045-context.jsonld rename to core/src/test/resources/json-ld.org/expand/0048-in.jsonld index 005f5e16..5854b8a0 100644 --- a/core/src/test/resources/json-ld.org/compact-0045-context.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0048-in.jsonld @@ -1,7 +1,7 @@ { "@context": { "term": "http://example.com/terms-are-not-considered-in-id", - "compact-iris": "http://example.com/compact-iris-", + "compact-iris": "http://example.com/compact-iris#", "property": "http://example.com/property", "@vocab": "http://example.org/vocab-is-not-considered-for-id" }, diff --git a/core/src/test/resources/json-ld.org/expand-0048-out.jsonld b/core/src/test/resources/json-ld.org/expand/0048-out.jsonld similarity index 65% rename from core/src/test/resources/json-ld.org/expand-0048-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0048-out.jsonld index 990d67b3..da0a5bac 100644 --- a/core/src/test/resources/json-ld.org/expand-0048-out.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0048-out.jsonld @@ -1,15 +1,15 @@ [ { - "@id": "http://json-ld.org/test-suite/tests/term", + "@id": "https://w3c.github.io/json-ld-api/tests/expand/term", "http://example.com/property": [ { - "@id": "http://example.com/compact-iris-are-considered", + "@id": "http://example.com/compact-iris#are-considered", "http://example.com/property": [ { "@value": "@id supports the following values: relative, absolute, and compact IRIs" } ] }, { - "@id": "http://json-ld.org/test-suite/parent-node", + "@id": "https://w3c.github.io/json-ld-api/tests/parent-node", "http://example.com/property": [ { "@value": "relative IRIs get resolved against the document's base IRI" } ] diff --git a/core/src/test/resources/json-ld.org/expand-0049-in.jsonld b/core/src/test/resources/json-ld.org/expand/0049-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0049-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0049-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0049-out.jsonld b/core/src/test/resources/json-ld.org/expand/0049-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0049-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0049-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0050-in.jsonld b/core/src/test/resources/json-ld.org/expand/0050-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0050-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0050-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0050-out.jsonld b/core/src/test/resources/json-ld.org/expand/0050-out.jsonld new file mode 100644 index 00000000..adc001e3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0050-out.jsonld @@ -0,0 +1,6 @@ +[ + { + "http://example.com/issue/": [ { "@id": "https://w3c.github.io/issue/1" } ], + "http://example.com/issue/raisedBy": [ { "@value": "Markus" } ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand-0051-in.jsonld b/core/src/test/resources/json-ld.org/expand/0051-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0051-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0051-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0051-out.jsonld b/core/src/test/resources/json-ld.org/expand/0051-out.jsonld similarity index 62% rename from core/src/test/resources/json-ld.org/expand-0051-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0051-out.jsonld index 04ea07e9..c0a226fe 100644 --- a/core/src/test/resources/json-ld.org/expand-0051-out.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0051-out.jsonld @@ -2,5 +2,5 @@ "http://example.com/property": [{ "@value": "ok" }], - "@id": "http://json-ld.org/issue/1" + "@id": "https://w3c.github.io/issue/1" }] diff --git a/core/src/test/resources/json-ld.org/expand-0052-in.jsonld b/core/src/test/resources/json-ld.org/expand/0052-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0052-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0052-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0052-out.jsonld b/core/src/test/resources/json-ld.org/expand/0052-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0052-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0052-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0053-in.jsonld b/core/src/test/resources/json-ld.org/expand/0053-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0053-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0053-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0053-out.jsonld b/core/src/test/resources/json-ld.org/expand/0053-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0053-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0053-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0054-in.jsonld b/core/src/test/resources/json-ld.org/expand/0054-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0054-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0054-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0054-out.jsonld b/core/src/test/resources/json-ld.org/expand/0054-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0054-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0054-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0055-in.jsonld b/core/src/test/resources/json-ld.org/expand/0055-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0055-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0055-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0055-out.jsonld b/core/src/test/resources/json-ld.org/expand/0055-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0055-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0055-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0056-in.jsonld b/core/src/test/resources/json-ld.org/expand/0056-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0056-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0056-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0056-out.jsonld b/core/src/test/resources/json-ld.org/expand/0056-out.jsonld similarity index 67% rename from core/src/test/resources/json-ld.org/expand-0056-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0056-out.jsonld index 2b81bbb6..d7e7a6d5 100644 --- a/core/src/test/resources/json-ld.org/expand-0056-out.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0056-out.jsonld @@ -2,7 +2,7 @@ { "@id": "http://me.markus-lanthaler.com/", "http://xmlns.com/foaf/0.1/homepage": [ { "@id": "http://www.markus-lanthaler.com/" } ], - "http://example.com/link": [ { "@id": "http://json-ld.org/test-suite/tests/relative-iri" } ], + "http://example.com/link": [ { "@id": "https://w3c.github.io/json-ld-api/tests/expand/relative-iri" } ], "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] } ] diff --git a/core/src/test/resources/json-ld.org/expand-0057-in.jsonld b/core/src/test/resources/json-ld.org/expand/0057-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0057-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0057-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0057-out.jsonld b/core/src/test/resources/json-ld.org/expand/0057-out.jsonld new file mode 100644 index 00000000..71ab8336 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0057-out.jsonld @@ -0,0 +1,5 @@ +[ + { + "http://example.org/term": [ { "@id": "https://w3c.github.io/json-ld-api/tests/expand/not-a-term-thus-a-relative-IRI" } ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand-0058-in.jsonld b/core/src/test/resources/json-ld.org/expand/0058-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0058-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0058-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0058-out.jsonld b/core/src/test/resources/json-ld.org/expand/0058-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0058-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0058-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0059-in.jsonld b/core/src/test/resources/json-ld.org/expand/0059-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0059-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0059-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0059-out.jsonld b/core/src/test/resources/json-ld.org/expand/0059-out.jsonld new file mode 100644 index 00000000..a0365cde --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0059-out.jsonld @@ -0,0 +1,13 @@ +[ + { + "@id": "https://w3c.github.io/json-ld-api/tests/expand/example-with-vocab", + "@type": [ "http://example.org/vocab#vocab-prefixed" ], + "http://example.org/vocab#embed": [ + { + "@id": "https://w3c.github.io/json-ld-api/tests/expand/example-vocab-reset", + "@type": [ "https://w3c.github.io/json-ld-api/tests/expand/document-relative" ] + } + ], + "http://example.org/vocab#property": [ { "@value": "property expanded using @vocab" } ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand-0060-in.jsonld b/core/src/test/resources/json-ld.org/expand/0060-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0060-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0060-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0060-out.jsonld b/core/src/test/resources/json-ld.org/expand/0060-out.jsonld similarity index 58% rename from core/src/test/resources/json-ld.org/expand-0060-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0060-out.jsonld index 4cac4e38..4b387d3e 100644 --- a/core/src/test/resources/json-ld.org/expand-0060-out.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0060-out.jsonld @@ -1,15 +1,15 @@ [ { - "@id": "http://json-ld.org/test-suite/document-relative", - "@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ], + "@id": "https://w3c.github.io/json-ld-api/tests/document-relative", + "@type": [ "https://w3c.github.io/json-ld-api/tests/expand/0060-in.jsonld#document-relative" ], "http://example.com/vocab#property": [ { "@id": "http://example.org/document-base-overwritten", "@type": [ "http://example.org/test/#document-base-overwritten" ], "http://example.com/vocab#property": [ { - "@id": "http://json-ld.org/test-suite/document-relative", - "@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ] + "@id": "https://w3c.github.io/json-ld-api/tests/document-relative", + "@type": [ "https://w3c.github.io/json-ld-api/tests/expand/0060-in.jsonld#document-relative" ] }, { "@id": "../document-relative", diff --git a/core/src/test/resources/json-ld.org/expand-0061-in.jsonld b/core/src/test/resources/json-ld.org/expand/0061-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0061-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0061-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0061-out.jsonld b/core/src/test/resources/json-ld.org/expand/0061-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0061-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0061-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0062-in.jsonld b/core/src/test/resources/json-ld.org/expand/0062-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0062-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0062-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0062-out.jsonld b/core/src/test/resources/json-ld.org/expand/0062-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0062-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0062-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0063-in.jsonld b/core/src/test/resources/json-ld.org/expand/0063-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0063-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0063-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0063-out.jsonld b/core/src/test/resources/json-ld.org/expand/0063-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0063-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0063-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0064-in.jsonld b/core/src/test/resources/json-ld.org/expand/0064-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0064-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0064-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0064-out.jsonld b/core/src/test/resources/json-ld.org/expand/0064-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0064-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0064-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0065-in.jsonld b/core/src/test/resources/json-ld.org/expand/0065-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0065-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0065-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0065-out.jsonld b/core/src/test/resources/json-ld.org/expand/0065-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0065-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0065-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0066-in.jsonld b/core/src/test/resources/json-ld.org/expand/0066-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0066-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0066-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact-0037-in.jsonld b/core/src/test/resources/json-ld.org/expand/0066-out.jsonld similarity index 86% rename from core/src/test/resources/json-ld.org/compact-0037-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0066-out.jsonld index ca350a2e..4db1a0e8 100644 --- a/core/src/test/resources/json-ld.org/compact-0037-in.jsonld +++ b/core/src/test/resources/json-ld.org/expand/0066-out.jsonld @@ -10,7 +10,7 @@ ], "http://example.com/vocab/noTerm": [ { - "@id": "http://json-ld.org/test-suite/tests/relative-node", + "@id": "https://w3c.github.io/json-ld-api/tests/expand/relative-node", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Compact keys using @vocab" } ] } ] diff --git a/core/src/test/resources/json-ld.org/expand-0067-in.jsonld b/core/src/test/resources/json-ld.org/expand/0067-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0067-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0067-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0067-out.jsonld b/core/src/test/resources/json-ld.org/expand/0067-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0067-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0067-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0068-in.jsonld b/core/src/test/resources/json-ld.org/expand/0068-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0068-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0068-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0068-out.jsonld b/core/src/test/resources/json-ld.org/expand/0068-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0068-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0068-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0069-in.jsonld b/core/src/test/resources/json-ld.org/expand/0069-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0069-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0069-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0069-out.jsonld b/core/src/test/resources/json-ld.org/expand/0069-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0069-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0069-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0070-in.jsonld b/core/src/test/resources/json-ld.org/expand/0070-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0070-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0070-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0070-out.jsonld b/core/src/test/resources/json-ld.org/expand/0070-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0070-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0070-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0071-in.jsonld b/core/src/test/resources/json-ld.org/expand/0071-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0071-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0071-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0071-out.jsonld b/core/src/test/resources/json-ld.org/expand/0071-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0071-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0071-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0072-in.jsonld b/core/src/test/resources/json-ld.org/expand/0072-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0072-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0072-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0072-out.jsonld b/core/src/test/resources/json-ld.org/expand/0072-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0072-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0072-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0073-in.jsonld b/core/src/test/resources/json-ld.org/expand/0073-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0073-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0073-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0073-out.jsonld b/core/src/test/resources/json-ld.org/expand/0073-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0073-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0073-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0074-in.jsonld b/core/src/test/resources/json-ld.org/expand/0074-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0074-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0074-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0074-out.jsonld b/core/src/test/resources/json-ld.org/expand/0074-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0074-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0074-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0075-in.jsonld b/core/src/test/resources/json-ld.org/expand/0075-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0075-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0075-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0075-out.jsonld b/core/src/test/resources/json-ld.org/expand/0075-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0075-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0075-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0076-in.jsonld b/core/src/test/resources/json-ld.org/expand/0076-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0076-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0076-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0076-out.jsonld b/core/src/test/resources/json-ld.org/expand/0076-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0076-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0076-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0077-context.jsonld b/core/src/test/resources/json-ld.org/expand/0077-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0077-context.jsonld rename to core/src/test/resources/json-ld.org/expand/0077-context.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0077-in.jsonld b/core/src/test/resources/json-ld.org/expand/0077-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0077-in.jsonld rename to core/src/test/resources/json-ld.org/expand/0077-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0077-out.jsonld b/core/src/test/resources/json-ld.org/expand/0077-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0077-out.jsonld rename to core/src/test/resources/json-ld.org/expand/0077-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0078-in.jsonld b/core/src/test/resources/json-ld.org/expand/0078-in.jsonld new file mode 100644 index 00000000..0a0cf729 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0078-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "name": "http://example.com/vocab#name", + "children": { "@reverse": "http://example.com/vocab#parent" }, + "pets": { "@reverse": "http://example.com/vocab#owner" } + }, + "@id": "#homer", + "name": "Homer", + "children": [ + { + "@id": "#bart", + "name": "Bart" + }, + { + "@id": "#lisa", + "name": "Lisa" + } + ], + "pets": [ + { + "@id": "#snowball-ii", + "name": "Snowball II" + }, + { + "@id": "#santas-little-helper", + "name": "Santa's Little Helper" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/expand/0078-out.jsonld b/core/src/test/resources/json-ld.org/expand/0078-out.jsonld new file mode 100644 index 00000000..0c3a9e6b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0078-out.jsonld @@ -0,0 +1,26 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/expand/0078-in.jsonld#homer", + "@reverse": { + "http://example.com/vocab#parent": [ + { + "@id": "https://w3c.github.io/json-ld-api/tests/expand/0078-in.jsonld#bart", + "http://example.com/vocab#name": [ { "@value": "Bart" } ] + }, + { + "@id": "https://w3c.github.io/json-ld-api/tests/expand/0078-in.jsonld#lisa", + "http://example.com/vocab#name": [ { "@value": "Lisa" } ] + } + ], + "http://example.com/vocab#owner": [ + { + "@id": "https://w3c.github.io/json-ld-api/tests/expand/0078-in.jsonld#snowball-ii", + "http://example.com/vocab#name": [ { "@value": "Snowball II" } ] + }, + { + "@id": "https://w3c.github.io/json-ld-api/tests/expand/0078-in.jsonld#santas-little-helper", + "http://example.com/vocab#name": [ { "@value": "Santa's Little Helper" } ] + } + ] + }, + "http://example.com/vocab#name": [ { "@value": "Homer" } ] +}] diff --git a/core/src/test/resources/json-ld.org/expand/0079-in.jsonld b/core/src/test/resources/json-ld.org/expand/0079-in.jsonld new file mode 100644 index 00000000..8514ced2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0079-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": { + "value": "x" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/0079-out.jsonld b/core/src/test/resources/json-ld.org/expand/0079-out.jsonld new file mode 100644 index 00000000..37166247 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0079-out.jsonld @@ -0,0 +1,9 @@ +[{ + "foo:input": [{ + "@graph": [{ + "foo:value": [{ + "@value": "x" + }] + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/0080-in.jsonld b/core/src/test/resources/json-ld.org/expand/0080-in.jsonld new file mode 100644 index 00000000..098f8684 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0080-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }] +} diff --git a/core/src/test/resources/json-ld.org/expand/0080-out.jsonld b/core/src/test/resources/json-ld.org/expand/0080-out.jsonld new file mode 100644 index 00000000..37166247 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0080-out.jsonld @@ -0,0 +1,9 @@ +[{ + "foo:input": [{ + "@graph": [{ + "foo:value": [{ + "@value": "x" + }] + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/0081-in.jsonld b/core/src/test/resources/json-ld.org/expand/0081-in.jsonld new file mode 100644 index 00000000..d1742979 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0081-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": { + "@graph": { + "value": "x" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0081-out.jsonld b/core/src/test/resources/json-ld.org/expand/0081-out.jsonld new file mode 100644 index 00000000..e01c12ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0081-out.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0082-in.jsonld b/core/src/test/resources/json-ld.org/expand/0082-in.jsonld new file mode 100644 index 00000000..83d3182b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0082-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0082-out.jsonld b/core/src/test/resources/json-ld.org/expand/0082-out.jsonld new file mode 100644 index 00000000..dfc5b0aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0082-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0083-in.jsonld b/core/src/test/resources/json-ld.org/expand/0083-in.jsonld new file mode 100644 index 00000000..71f8a50f --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0083-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index", "@set"]} + }, + "input": { + "g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0083-out.jsonld b/core/src/test/resources/json-ld.org/expand/0083-out.jsonld new file mode 100644 index 00000000..dfc5b0aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0083-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0084-in.jsonld b/core/src/test/resources/json-ld.org/expand/0084-in.jsonld new file mode 100644 index 00000000..0026a778 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0084-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": { + "@graph": { + "value": "x" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0084-out.jsonld b/core/src/test/resources/json-ld.org/expand/0084-out.jsonld new file mode 100644 index 00000000..dfc5b0aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0084-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0085-in.jsonld b/core/src/test/resources/json-ld.org/expand/0085-in.jsonld new file mode 100644 index 00000000..3cd17bc2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0085-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0085-out.jsonld b/core/src/test/resources/json-ld.org/expand/0085-out.jsonld new file mode 100644 index 00000000..7cb99fca --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0085-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0086-in.jsonld b/core/src/test/resources/json-ld.org/expand/0086-in.jsonld new file mode 100644 index 00000000..27ea6de7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0086-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id", "@set"]} + }, + "input": { + "http://example.com/g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0086-out.jsonld b/core/src/test/resources/json-ld.org/expand/0086-out.jsonld new file mode 100644 index 00000000..7cb99fca --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0086-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0087-in.jsonld b/core/src/test/resources/json-ld.org/expand/0087-in.jsonld new file mode 100644 index 00000000..aa994f30 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0087-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": { + "@graph": { + "value": "x" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0087-out.jsonld b/core/src/test/resources/json-ld.org/expand/0087-out.jsonld new file mode 100644 index 00000000..7cb99fca --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0087-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0088-in.jsonld b/core/src/test/resources/json-ld.org/expand/0088-in.jsonld new file mode 100644 index 00000000..c0c20a1a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0088-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "@base": "http://example.com/", + "coerceId": {"@type": "@id"}, + "coerceVocab": {"@type": "@vocab"} + }, + "coerceDefault": ["string", true, false, 0, 1], + "coerceId": ["string", true, false, 0, 1], + "coerceVocab": ["string", true, false, 0, 1] +} diff --git a/core/src/test/resources/json-ld.org/expand/0088-out.jsonld b/core/src/test/resources/json-ld.org/expand/0088-out.jsonld new file mode 100644 index 00000000..650d292d --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0088-out.jsonld @@ -0,0 +1,25 @@ +[ + { + "http://example.org/coerceDefault": [ + {"@value": "string"}, + {"@value": true}, + {"@value": false}, + {"@value": 0}, + {"@value": 1} + ], + "http://example.org/coerceId": [ + {"@id": "http://example.com/string"}, + {"@value": true}, + {"@value": false}, + {"@value": 0}, + {"@value": 1} + ], + "http://example.org/coerceVocab": [ + {"@id": "http://example.org/string"}, + {"@value": true}, + {"@value": false}, + {"@value": 0}, + {"@value": 1} + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0089-in.jsonld b/core/src/test/resources/json-ld.org/expand/0089-in.jsonld new file mode 100644 index 00000000..7a6dcd8d --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0089-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@base": "" + }, + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld.org/expand/0089-out.jsonld b/core/src/test/resources/json-ld.org/expand/0089-out.jsonld new file mode 100644 index 00000000..9e0896bc --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0089-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example/base/relative-iri", + "http://prop": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld.org/expand/0090-in.jsonld b/core/src/test/resources/json-ld.org/expand/0090-in.jsonld new file mode 100644 index 00000000..0853f89e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0090-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@base": ".." + }, + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld.org/expand/0090-out.jsonld b/core/src/test/resources/json-ld.org/expand/0090-out.jsonld new file mode 100644 index 00000000..29938598 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0090-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example/relative-iri", + "http://prop": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld.org/expand/0091-in.jsonld b/core/src/test/resources/json-ld.org/expand/0091-in.jsonld new file mode 100644 index 00000000..bad0f06b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0091-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [{ + "@base": "http://foo.bar/./baz/" + }, { + "@base": "example/" + }], + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld.org/expand/0091-out.jsonld b/core/src/test/resources/json-ld.org/expand/0091-out.jsonld new file mode 100644 index 00000000..638d6ee7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0091-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://foo.bar/baz/example/relative-iri", + "http://prop": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld.org/expand/0092-in.jsonld b/core/src/test/resources/json-ld.org/expand/0092-in.jsonld new file mode 100644 index 00000000..d7ed55e1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0092-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "" + }, + "@id": "relativePropertyIris", + "link": "link", + "#fragment-works": "#fragment-works", + "?query=works": "?query=works", + "./": "./", + "../": "../", + "../parent": "../parent", + "../../parent-parent-eq-root": "../../parent-parent-eq-root", + "../../../../../still-root": "../../../../../still-root", + "../.././.././../../too-many-dots": "../.././.././../../too-many-dots", + "/absolute": "/absolute", + "//example.org/scheme-relative": "//example.org/scheme-relative" +} diff --git a/core/src/test/resources/json-ld.org/expand/0092-out.jsonld b/core/src/test/resources/json-ld.org/expand/0092-out.jsonld new file mode 100644 index 00000000..a8540122 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0092-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/some/deep/directory/and/file/relativePropertyIris", + "http://example.com/some/deep/directory/and/file/#fragment-works": [{"@value": "#fragment-works"}], + "http://example.com/some/deep/directory/and/file/../": [{"@value": "../"}], + "http://example.com/some/deep/directory/and/file/../../../../../still-root": [{"@value": "../../../../../still-root"}], + "http://example.com/some/deep/directory/and/file/../.././.././../../too-many-dots": [{"@value": "../.././.././../../too-many-dots"}], + "http://example.com/some/deep/directory/and/file/../../parent-parent-eq-root": [{"@value": "../../parent-parent-eq-root"}], + "http://example.com/some/deep/directory/and/file/../parent": [{"@value": "../parent"}], + "http://example.com/some/deep/directory/and/file/./": [{"@value": "./"}], + "http://example.com/some/deep/directory/and/file///example.org/scheme-relative": [{"@value": "//example.org/scheme-relative"}], + "http://example.com/some/deep/directory/and/file//absolute": [{"@value": "/absolute"}], + "http://example.com/some/deep/directory/and/file/?query=works": [{"@value": "?query=works"}], + "http://example.com/some/deep/directory/and/file/link": [{"@value": "link"}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0093-in.jsonld b/core/src/test/resources/json-ld.org/expand/0093-in.jsonld new file mode 100644 index 00000000..b32c0949 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0093-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }, { + "value": "y" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0093-out.jsonld b/core/src/test/resources/json-ld.org/expand/0093-out.jsonld new file mode 100644 index 00000000..5e4e5bd9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0093-out.jsonld @@ -0,0 +1,15 @@ +[{ + "foo:input": [{ + "@graph": [{ + "foo:value": [{ + "@value": "x" + }] + }] + }, { + "@graph": [{ + "foo:value": [{ + "@value": "y" + }] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0094-in.jsonld b/core/src/test/resources/json-ld.org/expand/0094-in.jsonld new file mode 100644 index 00000000..2e0dc624 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0094-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }, { + "value": "y" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0094-out.jsonld b/core/src/test/resources/json-ld.org/expand/0094-out.jsonld new file mode 100644 index 00000000..5e4e5bd9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0094-out.jsonld @@ -0,0 +1,15 @@ +[{ + "foo:input": [{ + "@graph": [{ + "foo:value": [{ + "@value": "x" + }] + }] + }, { + "@graph": [{ + "foo:value": [{ + "@value": "y" + }] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0095-in.jsonld b/core/src/test/resources/json-ld.org/expand/0095-in.jsonld new file mode 100644 index 00000000..bf1c0824 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0095-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": [{ + "@graph": { + "value": "x" + } + }, { + "@graph": { + "value": "y" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0095-out.jsonld b/core/src/test/resources/json-ld.org/expand/0095-out.jsonld new file mode 100644 index 00000000..96f34845 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0095-out.jsonld @@ -0,0 +1,11 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0096-in.jsonld b/core/src/test/resources/json-ld.org/expand/0096-in.jsonld new file mode 100644 index 00000000..4c7c6f45 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0096-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": {"value": "x"}, + "g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0096-out.jsonld b/core/src/test/resources/json-ld.org/expand/0096-out.jsonld new file mode 100644 index 00000000..6788bb49 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0096-out.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0097-in.jsonld b/core/src/test/resources/json-ld.org/expand/0097-in.jsonld new file mode 100644 index 00000000..dc5b9003 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0097-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index", "@set"]} + }, + "input": { + "g1": {"value": "x"}, + "g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0097-out.jsonld b/core/src/test/resources/json-ld.org/expand/0097-out.jsonld new file mode 100644 index 00000000..6788bb49 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0097-out.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0098-in.jsonld b/core/src/test/resources/json-ld.org/expand/0098-in.jsonld new file mode 100644 index 00000000..27ae04b7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0098-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": {"@graph": {"value": "x"}}, + "g2": {"@graph": {"value": "y"}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0098-out.jsonld b/core/src/test/resources/json-ld.org/expand/0098-out.jsonld new file mode 100644 index 00000000..6788bb49 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0098-out.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0099-in.jsonld b/core/src/test/resources/json-ld.org/expand/0099-in.jsonld new file mode 100644 index 00000000..0010e0aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0099-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": {"value": "x"}, + "http://example.com/g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0099-out.jsonld b/core/src/test/resources/json-ld.org/expand/0099-out.jsonld new file mode 100644 index 00000000..45ce037e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0099-out.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@id": "http://example.com/g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0100-in.jsonld b/core/src/test/resources/json-ld.org/expand/0100-in.jsonld new file mode 100644 index 00000000..43d3528f --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0100-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id", "@set"]} + }, + "input": { + "http://example.com/g1": {"value": "x"}, + "http://example.com/g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0100-out.jsonld b/core/src/test/resources/json-ld.org/expand/0100-out.jsonld new file mode 100644 index 00000000..45ce037e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0100-out.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@id": "http://example.com/g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0101-in.jsonld b/core/src/test/resources/json-ld.org/expand/0101-in.jsonld new file mode 100644 index 00000000..cf605565 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0101-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": { + "@graph": { + "value": "x" + } + }, + "http://example.com/g2": { + "@graph": { + "value": "y" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0101-out.jsonld b/core/src/test/resources/json-ld.org/expand/0101-out.jsonld new file mode 100644 index 00000000..45ce037e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0101-out.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@id": "http://example.com/g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0102-in.jsonld b/core/src/test/resources/json-ld.org/expand/0102-in.jsonld new file mode 100644 index 00000000..cac7b7f6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0102-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": { + "@graph": [{ + "value": "x" + }, { + "value": "y" + }] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0102-out.jsonld b/core/src/test/resources/json-ld.org/expand/0102-out.jsonld new file mode 100644 index 00000000..ebd80838 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0102-out.jsonld @@ -0,0 +1,9 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }, { + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0103-in.jsonld b/core/src/test/resources/json-ld.org/expand/0103-in.jsonld new file mode 100644 index 00000000..bf1c0824 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0103-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": [{ + "@graph": { + "value": "x" + } + }, { + "@graph": { + "value": "y" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0103-out.jsonld b/core/src/test/resources/json-ld.org/expand/0103-out.jsonld new file mode 100644 index 00000000..96f34845 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0103-out.jsonld @@ -0,0 +1,11 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0104-in.jsonld b/core/src/test/resources/json-ld.org/expand/0104-in.jsonld new file mode 100644 index 00000000..7e8d19c3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0104-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": [ + {"@graph": {"value": "x"}}, + {"value": "y"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0104-out.jsonld b/core/src/test/resources/json-ld.org/expand/0104-out.jsonld new file mode 100644 index 00000000..96f34845 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0104-out.jsonld @@ -0,0 +1,11 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0105-in.jsonld b/core/src/test/resources/json-ld.org/expand/0105-in.jsonld new file mode 100644 index 00000000..bcad0c63 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0105-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": [{"@graph": {"value": "x"}}, {"value": "y"}], + "g2": [{"@graph": {"value": "a"}}, {"value": "b"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0105-out.jsonld b/core/src/test/resources/json-ld.org/expand/0105-out.jsonld new file mode 100644 index 00000000..27d2cd88 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0105-out.jsonld @@ -0,0 +1,23 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "a"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "b"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0106-in.jsonld b/core/src/test/resources/json-ld.org/expand/0106-in.jsonld new file mode 100644 index 00000000..cf605565 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0106-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": { + "@graph": { + "value": "x" + } + }, + "http://example.com/g2": { + "@graph": { + "value": "y" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0106-out.jsonld b/core/src/test/resources/json-ld.org/expand/0106-out.jsonld new file mode 100644 index 00000000..45ce037e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0106-out.jsonld @@ -0,0 +1,13 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@id": "http://example.com/g2", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0107-in.jsonld b/core/src/test/resources/json-ld.org/expand/0107-in.jsonld new file mode 100644 index 00000000..3e1c5afa --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0107-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": [{"value": "x"}, {"value": "y"}], + "g2": [{"value": "a"}, {"value": "b"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0107-out.jsonld b/core/src/test/resources/json-ld.org/expand/0107-out.jsonld new file mode 100644 index 00000000..27d2cd88 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0107-out.jsonld @@ -0,0 +1,23 @@ +[{ + "http://example.org/input": [{ + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@index": "g1", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "a"}] + }] + }, { + "@index": "g2", + "@graph": [{ + "http://example.org/value": [{"@value": "b"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0108-in.jsonld b/core/src/test/resources/json-ld.org/expand/0108-in.jsonld new file mode 100644 index 00000000..182c031d --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0108-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": [{"value": "x"}, {"value": "y"}], + "http://example.com/g2": [{"value": "a"}, {"value": "b"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0108-out.jsonld b/core/src/test/resources/json-ld.org/expand/0108-out.jsonld new file mode 100644 index 00000000..a11e1d72 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0108-out.jsonld @@ -0,0 +1,23 @@ +[{ + "http://example.org/input": [{ + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }, { + "@id": "http://example.com/g1", + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + }, { + "@id": "http://example.com/g2", + "@graph": [{ + "http://example.org/value": [{"@value": "a"}] + }] + }, { + "@id": "http://example.com/g2", + "@graph": [{ + "http://example.org/value": [{"@value": "b"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0109-in.jsonld b/core/src/test/resources/json-ld.org/expand/0109-in.jsonld new file mode 100644 index 00000000..7fa22658 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0109-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@base": "https://ex.org/", + "u": {"@id": "urn:u:", "@type": "@id"} + }, + "u": ["#Test", "#Test:2"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0109-out.jsonld b/core/src/test/resources/json-ld.org/expand/0109-out.jsonld new file mode 100644 index 00000000..3a632e05 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0109-out.jsonld @@ -0,0 +1,6 @@ +[{ + "urn:u:": [ + {"@id": "https://ex.org/#Test"}, + {"@id": "https://ex.org/#Test:2"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0110-in.jsonld b/core/src/test/resources/json-ld.org/expand/0110-in.jsonld new file mode 100644 index 00000000..a6f1e676 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0110-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "/relative" + }, + "@id": "relativePropertyIris", + "link": "link", + "#fragment-works": "#fragment-works", + "?query=works": "?query=works", + "./": "./", + "../": "../", + "../parent": "../parent", + "../../parent-parent-eq-root": "../../parent-parent-eq-root", + "../../../../../still-root": "../../../../../still-root", + "../.././.././../../too-many-dots": "../.././.././../../too-many-dots", + "/absolute": "/absolute", + "//example.org/scheme-relative": "//example.org/scheme-relative" +} diff --git a/core/src/test/resources/json-ld.org/expand/0110-out.jsonld b/core/src/test/resources/json-ld.org/expand/0110-out.jsonld new file mode 100644 index 00000000..c93ab5ea --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0110-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/some/deep/directory/and/file/relativePropertyIris", + "http://example.com/relative#fragment-works": [{"@value": "#fragment-works"}], + "http://example.com/relative../": [{"@value": "../"}], + "http://example.com/relative../../../../../still-root": [{"@value": "../../../../../still-root"}], + "http://example.com/relative../.././.././../../too-many-dots": [{"@value": "../.././.././../../too-many-dots"}], + "http://example.com/relative../../parent-parent-eq-root": [{"@value": "../../parent-parent-eq-root"}], + "http://example.com/relative../parent": [{"@value": "../parent"}], + "http://example.com/relative./": [{"@value": "./"}], + "http://example.com/relative//example.org/scheme-relative": [{"@value": "//example.org/scheme-relative"}], + "http://example.com/relative/absolute": [{"@value": "/absolute"}], + "http://example.com/relative?query=works": [{"@value": "?query=works"}], + "http://example.com/relativelink": [{"@value": "link"}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0111-in.jsonld b/core/src/test/resources/json-ld.org/expand/0111-in.jsonld new file mode 100644 index 00000000..5a0a1178 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0111-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": [{ + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "http://example.com/vocabulary/" + }, { + "@vocab": "./rel2#" + }], + "@id": "relativePropertyIris", + "link": "link", + "#fragment-works": "#fragment-works", + "?query=works": "?query=works", + "./": "./", + "../": "../", + "../parent": "../parent", + "../../parent-parent-eq-root": "../../parent-parent-eq-root", + "../../../../../still-root": "../../../../../still-root", + "../.././.././../../too-many-dots": "../.././.././../../too-many-dots", + "/absolute": "/absolute", + "//example.org/scheme-relative": "//example.org/scheme-relative" +} diff --git a/core/src/test/resources/json-ld.org/expand/0111-out.jsonld b/core/src/test/resources/json-ld.org/expand/0111-out.jsonld new file mode 100644 index 00000000..8febce3b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0111-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/some/deep/directory/and/file/relativePropertyIris", + "http://example.com/vocabulary/./rel2##fragment-works": [{"@value": "#fragment-works"}], + "http://example.com/vocabulary/./rel2#../": [{"@value": "../"}], + "http://example.com/vocabulary/./rel2#../../../../../still-root": [{"@value": "../../../../../still-root"}], + "http://example.com/vocabulary/./rel2#../.././.././../../too-many-dots": [{"@value": "../.././.././../../too-many-dots"}], + "http://example.com/vocabulary/./rel2#../../parent-parent-eq-root": [{"@value": "../../parent-parent-eq-root"}], + "http://example.com/vocabulary/./rel2#../parent": [{"@value": "../parent"}], + "http://example.com/vocabulary/./rel2#./": [{"@value": "./"}], + "http://example.com/vocabulary/./rel2#//example.org/scheme-relative": [{"@value": "//example.org/scheme-relative"}], + "http://example.com/vocabulary/./rel2#/absolute": [{"@value": "/absolute"}], + "http://example.com/vocabulary/./rel2#?query=works": [{"@value": "?query=works"}], + "http://example.com/vocabulary/./rel2#link": [{"@value": "link"}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0112-in.jsonld b/core/src/test/resources/json-ld.org/expand/0112-in.jsonld new file mode 100644 index 00000000..273eebdd --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0112-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": [{ + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "/rel1" + }, { + "@vocab": "./rel2#" + }], + "@id": "relativePropertyIris", + "link": "link", + "#fragment-works": "#fragment-works", + "?query=works": "?query=works", + "./": "./", + "../": "../", + "../parent": "../parent", + "../../parent-parent-eq-root": "../../parent-parent-eq-root", + "../../../../../still-root": "../../../../../still-root", + "../.././.././../../too-many-dots": "../.././.././../../too-many-dots", + "/absolute": "/absolute", + "//example.org/scheme-relative": "//example.org/scheme-relative" +} diff --git a/core/src/test/resources/json-ld.org/expand/0112-out.jsonld b/core/src/test/resources/json-ld.org/expand/0112-out.jsonld new file mode 100644 index 00000000..07fe15c4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0112-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/some/deep/directory/and/file/relativePropertyIris", + "http://example.com/rel1./rel2##fragment-works": [{"@value": "#fragment-works"}], + "http://example.com/rel1./rel2#../": [{"@value": "../"}], + "http://example.com/rel1./rel2#../../../../../still-root": [{"@value": "../../../../../still-root"}], + "http://example.com/rel1./rel2#../.././.././../../too-many-dots": [{"@value": "../.././.././../../too-many-dots"}], + "http://example.com/rel1./rel2#../../parent-parent-eq-root": [{"@value": "../../parent-parent-eq-root"}], + "http://example.com/rel1./rel2#../parent": [{"@value": "../parent"}], + "http://example.com/rel1./rel2#./": [{"@value": "./"}], + "http://example.com/rel1./rel2#//example.org/scheme-relative": [{"@value": "//example.org/scheme-relative"}], + "http://example.com/rel1./rel2#/absolute": [{"@value": "/absolute"}], + "http://example.com/rel1./rel2#?query=works": [{"@value": "?query=works"}], + "http://example.com/rel1./rel2#link": [{"@value": "link"}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0113-in.jsonld b/core/src/test/resources/json-ld.org/expand/0113-in.jsonld new file mode 100644 index 00000000..0e26a9df --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0113-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "valueOf": "http://example.org/valueOf", + "toString": "http://example.org/toString" + }, + "valueOf": "first", + "toString": "second" +} diff --git a/core/src/test/resources/json-ld.org/expand/0113-out.jsonld b/core/src/test/resources/json-ld.org/expand/0113-out.jsonld new file mode 100644 index 00000000..7f7af084 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/0113-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "http://example.org/toString": [ + { + "@value": "second" + } + ], + "http://example.org/valueOf": [ + { + "@value": "first" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/c001-in.jsonld b/core/src/test/resources/json-ld.org/expand/c001-in.jsonld new file mode 100644 index 00000000..04c51209 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c001-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"bar": "http://example.org/bar"}} + }, + "foo": { + "bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c001-out.jsonld b/core/src/test/resources/json-ld.org/expand/c001-out.jsonld new file mode 100644 index 00000000..122c864a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c001-out.jsonld @@ -0,0 +1,5 @@ +[ + { + "http://example/foo": [{"http://example.org/bar": [{"@value": "baz"}]}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c002-in.jsonld b/core/src/test/resources/json-ld.org/expand/c002-in.jsonld new file mode 100644 index 00000000..8121cf37 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c002-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"bar": {"@type": "@id"}}}, + "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} + }, + "foo": { + "bar": "http://example/baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c002-out.jsonld b/core/src/test/resources/json-ld.org/expand/c002-out.jsonld new file mode 100644 index 00000000..acd651e0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c002-out.jsonld @@ -0,0 +1,5 @@ +[ + { + "http://example/foo": [{"http://example/bar": [{"@id": "http://example/baz"}]}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c003-in.jsonld b/core/src/test/resources/json-ld.org/expand/c003-in.jsonld new file mode 100644 index 00000000..447ded33 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c003-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"Bar": {"@id": "bar"}}} + }, + "foo": { + "Bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c003-out.jsonld b/core/src/test/resources/json-ld.org/expand/c003-out.jsonld new file mode 100644 index 00000000..020f7a7f --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c003-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "http://example/foo": [{ + "http://example/bar": [ + {"@value": "baz"} + ]} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c004-in.jsonld b/core/src/test/resources/json-ld.org/expand/c004-in.jsonld new file mode 100644 index 00000000..c9e450bf --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c004-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"baz": {"@type": "@vocab"}}} + }, + "foo": { + "bar": { + "baz": "buzz" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c004-out.jsonld b/core/src/test/resources/json-ld.org/expand/c004-out.jsonld new file mode 100644 index 00000000..c5ae41df --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c004-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "http://example/foo": [{ + "http://example/bar": [{ + "http://example/baz": [{"@id": "http://example/buzz"}] + }] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c005-in.jsonld b/core/src/test/resources/json-ld.org/expand/c005-in.jsonld new file mode 100644 index 00000000..faab3202 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c005-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example/", + "b": {"@context": {"c": "http://example.org/c"}} + }, + "a": { + "@context": {"@vocab": "http://example.com/"}, + "b": { + "a": "A in example.com", + "c": "C in example.org" + }, + "c": "C in example.com" + }, + "c": "C in example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c005-out.jsonld b/core/src/test/resources/json-ld.org/expand/c005-out.jsonld new file mode 100644 index 00000000..b46a9280 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c005-out.jsonld @@ -0,0 +1,10 @@ +[{ + "http://example/a": [{ + "http://example.com/c": [{"@value": "C in example.com"}], + "http://example/b": [{ + "http://example.com/a": [{"@value": "A in example.com"}], + "http://example.org/c": [{"@value": "C in example.org"}] + }] + }], + "http://example/c": [{"@value": "C in example"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c006-in.jsonld b/core/src/test/resources/json-ld.org/expand/c006-in.jsonld new file mode 100644 index 00000000..757aeaa1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c006-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"bar": "http://example.org/bar"}} + }, + "a": {"@type": "Foo", "bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c006-out.jsonld b/core/src/test/resources/json-ld.org/expand/c006-out.jsonld new file mode 100644 index 00000000..16baea77 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c006-out.jsonld @@ -0,0 +1,8 @@ +[ + { + "http://example/a": [{ + "@type": ["http://example/Foo"], + "http://example.org/bar": [{"@value": "baz"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c007-in.jsonld b/core/src/test/resources/json-ld.org/expand/c007-in.jsonld new file mode 100644 index 00000000..05c9f1d6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c007-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"bar": {"@type": "@id"}}}, + "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} + }, + "a": {"@type": "Foo", "bar": "http://example/baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c007-out.jsonld b/core/src/test/resources/json-ld.org/expand/c007-out.jsonld new file mode 100644 index 00000000..c173b894 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c007-out.jsonld @@ -0,0 +1,8 @@ +[ + { + "http://example/a": [{ + "@type": ["http://example/Foo"], + "http://example/bar": [{"@id": "http://example/baz"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c008-in.jsonld b/core/src/test/resources/json-ld.org/expand/c008-in.jsonld new file mode 100644 index 00000000..e0b472b1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c008-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "type": "@type", + "Foo": {"@context": {"bar": "http://example.org/bar"}} + }, + "a": {"type": "Foo", "bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c008-out.jsonld b/core/src/test/resources/json-ld.org/expand/c008-out.jsonld new file mode 100644 index 00000000..16baea77 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c008-out.jsonld @@ -0,0 +1,8 @@ +[ + { + "http://example/a": [{ + "@type": ["http://example/Foo"], + "http://example.org/bar": [{"@value": "baz"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c009-in.jsonld b/core/src/test/resources/json-ld.org/expand/c009-in.jsonld new file mode 100644 index 00000000..c2b6d110 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c009-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"baz": {"@type": "@vocab"}}} + }, + "@type": "Foo", + "bar": {"baz": "buzz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c009-out.jsonld b/core/src/test/resources/json-ld.org/expand/c009-out.jsonld new file mode 100644 index 00000000..457f891c --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c009-out.jsonld @@ -0,0 +1,8 @@ +[ + { + "@type": ["http://example/Foo"], + "http://example/bar": [{ + "http://example/baz": [{"@value": "buzz"}] + }] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/c010-in.jsonld b/core/src/test/resources/json-ld.org/expand/c010-in.jsonld new file mode 100644 index 00000000..809997b5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c010-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example/", + "B": {"@context": {"c": "http://example.org/c"}} + }, + "a": { + "@context": {"@vocab": "http://example.com/"}, + "@type": "B", + "a": "A in example.com", + "c": "C in example.org" + }, + "c": "C in example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c010-out.jsonld b/core/src/test/resources/json-ld.org/expand/c010-out.jsonld new file mode 100644 index 00000000..1057b0ad --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c010-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example/a": [{ + "@type": ["http://example/B"], + "http://example.com/a": [{"@value": "A in example.com"}], + "http://example.org/c": [{"@value": "C in example.org"}] + }], + "http://example/c": [{"@value": "C in example"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c011-in.jsonld b/core/src/test/resources/json-ld.org/expand/c011-in.jsonld new file mode 100644 index 00000000..c57c55eb --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c011-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "t1": {"@context": {"foo": {"@id": "http://example.com/foo"}}}, + "t2": {"@context": {"foo": {"@id": "http://example.org/foo", "@type": "@id"}}} + }, + "@type": ["t2", "t1"], + "foo": "urn:bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c011-out.jsonld b/core/src/test/resources/json-ld.org/expand/c011-out.jsonld new file mode 100644 index 00000000..a702942a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c011-out.jsonld @@ -0,0 +1,6 @@ +[{ + "@type": ["http://example/t2", "http://example/t1"], + "http://example.org/foo": [ + {"@id": "urn:bar"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c012-in.jsonld b/core/src/test/resources/json-ld.org/expand/c012-in.jsonld new file mode 100644 index 00000000..bba1c9bf --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c012-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": { + "@context": { + "bar": { + "@context": { + "baz": {"@type": "@vocab"} + } + } + } + } + }, + "@type": "Foo", + "bar": {"baz": "buzz"} +} diff --git a/core/src/test/resources/json-ld.org/expand/c012-out.jsonld b/core/src/test/resources/json-ld.org/expand/c012-out.jsonld new file mode 100644 index 00000000..8ff196e6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c012-out.jsonld @@ -0,0 +1,8 @@ +[ + { + "@type": ["http://example/Foo"], + "http://example/bar": [{ + "http://example/baz": [{"@id": "http://example/buzz"}] + }] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/c013-in.jsonld b/core/src/test/resources/json-ld.org/expand/c013-in.jsonld new file mode 100644 index 00000000..63c4a0c5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c013-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "@vocab": "http://example/", + "prop": {"@container": "@index"}, + "foo": "http://example/base-foo", + "Outer": { + "@context": { + "prop": { + "@id": "http://example/outer-prop", + "@container": "@type" + } + } + }, + "Inner": {"@context": {"foo": "http://example/inner-foo"}} + }, + "@type": "Outer", + "prop": { + "Inner": { + "prop": { + "index": { + "@id": "http://example/inner-with-index", + "foo": "inner-foo" + } + } + } + }, + "foo": "base-foo" +} diff --git a/core/src/test/resources/json-ld.org/expand/c013-out.jsonld b/core/src/test/resources/json-ld.org/expand/c013-out.jsonld new file mode 100644 index 00000000..a57f9394 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c013-out.jsonld @@ -0,0 +1,12 @@ +[{ + "@type": ["http://example/Outer"], + "http://example/base-foo": [{"@value": "base-foo"}], + "http://example/outer-prop": [{ + "@type": ["http://example/Inner"], + "http://example/prop": [{ + "@id": "http://example/inner-with-index", + "@index": "index", + "http://example/inner-foo": [{"@value": "inner-foo"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/c014-in.jsonld b/core/src/test/resources/json-ld.org/expand/c014-in.jsonld new file mode 100644 index 00000000..d89e3012 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c014-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": "http://example/foo", + "Type": { + "@context": [ + null + ] + } + }, + "foo": "will-exist", + "p": { + "@type": "Type", + "foo": "will-not-exist" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c014-out.jsonld b/core/src/test/resources/json-ld.org/expand/c014-out.jsonld new file mode 100644 index 00000000..5a68fc26 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c014-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example/foo": [{ + "@value": "will-exist" + }], + "http://example/p": [{ + "@type": ["http://example/Type"] + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c015-in.jsonld b/core/src/test/resources/json-ld.org/expand/c015-in.jsonld new file mode 100644 index 00000000..83bb63d5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c015-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@base": "http://example/base-base", + "@vocab": "http://example/", + "foo": "http://example/foo", + "Type": { + "@context": { + "@base": "http://example/typed-base" + } + } + }, + "@id": "#base-id", + "p": { + "@id": "#typed-id", + "@type": "Type", + "subjectReference": { + "@id": "#subject-reference-id" + }, + "nestedNode": { + "@id": "#nested-id", + "foo": "bar" + } + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c015-out.jsonld b/core/src/test/resources/json-ld.org/expand/c015-out.jsonld new file mode 100644 index 00000000..2f3427a5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c015-out.jsonld @@ -0,0 +1,16 @@ +[{ + "@id": "http://example/base-base#base-id", + "http://example/p": [{ + "@id": "http://example/typed-base#typed-id", + "@type": ["http://example/Type"], + "http://example/subjectReference": [{ + "@id": "http://example/typed-base#subject-reference-id" + }], + "http://example/nestedNode": [{ + "@id": "http://example/base-base#nested-id", + "http://example/foo": [{ + "@value": "bar" + }] + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c016-in.jsonld b/core/src/test/resources/json-ld.org/expand/c016-in.jsonld new file mode 100644 index 00000000..2f1186ff --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c016-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "Type": { + "@context": { + "@vocab": "http://example.com/" + } + } + }, + "foo": "org", + "p": { + "@type": "Type", + "foo": "com", + "nested": { + "nested-prop": "org" + } + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c016-out.jsonld b/core/src/test/resources/json-ld.org/expand/c016-out.jsonld new file mode 100644 index 00000000..37bc728a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c016-out.jsonld @@ -0,0 +1,16 @@ +[{ + "http://example.org/foo": [{ + "@value": "org" + }], + "http://example.org/p": [{ + "@type": ["http://example.org/Type"], + "http://example.com/foo": [{ + "@value": "com" + }], + "http://example.com/nested": [{ + "http://example.org/nested-prop": [{ + "@value": "org" + }] + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c017-in.jsonld b/core/src/test/resources/json-ld.org/expand/c017-in.jsonld new file mode 100644 index 00000000..be32133c --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c017-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@vocab": "http://example/", + "Bar": { + "@context": [ + { + "prop": "http://example/bar-prop" + } + ] + }, + "Foo": { + "@context": [ + { + "prop": "http://example/foo-prop" + } + ] + } + }, + "@type": ["Foo", "Bar"], + "prop": "foo", + "nested": { + "prop": "vocab" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c017-out.jsonld b/core/src/test/resources/json-ld.org/expand/c017-out.jsonld new file mode 100644 index 00000000..7e7e49d9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c017-out.jsonld @@ -0,0 +1,14 @@ +[{ + "@type": [ + "http://example/Foo", + "http://example/Bar" + ], + "http://example/foo-prop": [{ + "@value": "foo" + }], + "http://example/nested": [{ + "http://example/prop": [{ + "@value": "vocab" + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c018-in.jsonld b/core/src/test/resources/json-ld.org/expand/c018-in.jsonld new file mode 100644 index 00000000..b8fbd43d --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c018-in.jsonld @@ -0,0 +1,26 @@ +{ + "@context": { + "@vocab": "http://example/", + "Bar": { + "@context": [ + null, + { + "prop": "http://example/bar-prop" + } + ] + }, + "Foo": { + "@context": [ + null, + { + "prop": "http://example/foo-prop" + } + ] + } + }, + "@type": ["Foo", "Bar"], + "prop": "foo", + "nested": { + "prop": "will-not-exist" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c018-out.jsonld b/core/src/test/resources/json-ld.org/expand/c018-out.jsonld new file mode 100644 index 00000000..ee0c79e1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c018-out.jsonld @@ -0,0 +1,11 @@ +[{ + "@type": [ + "http://example/Foo", + "http://example/Bar" + ], + "http://example/foo-prop": [ + { + "@value": "foo" + } + ] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c019-in.jsonld b/core/src/test/resources/json-ld.org/expand/c019-in.jsonld new file mode 100644 index 00000000..418c9cbe --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c019-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "@vocab": "http://example/", + "prop": "http://example/base-prop", + "Type": { + "@context": { + "foo": { + "@context": { + "prop": "http://example/foo-prop" + } + }, + "bar": { + "@context": { + "prop": "http://example/bar-prop" + } + } + } + } + }, + "@type": "Type", + "foo": { + "prop": "foo" + }, + "bar": { + "prop": "bar" + }, + "baz": { + "prop": "baz" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c019-out.jsonld b/core/src/test/resources/json-ld.org/expand/c019-out.jsonld new file mode 100644 index 00000000..3d25ead3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c019-out.jsonld @@ -0,0 +1,26 @@ +[{ + "@type": [ + "http://example/Type" + ], + "http://example/foo": [{ + "http://example/foo-prop": [ + { + "@value": "foo" + } + ] + }], + "http://example/bar": [{ + "http://example/bar-prop": [ + { + "@value": "bar" + } + ] + }], + "http://example/baz": [{ + "http://example/base-prop": [ + { + "@value": "baz" + } + ] + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c020-in.jsonld b/core/src/test/resources/json-ld.org/expand/c020-in.jsonld new file mode 100644 index 00000000..e504c397 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c020-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example/", + "type": "@type", + "Type": { + "@context": { + "value": "@value" + } + } + }, + "type": "Type", + "v": { + "value": "value", + "type": "value-type" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c020-out.jsonld b/core/src/test/resources/json-ld.org/expand/c020-out.jsonld new file mode 100644 index 00000000..483b9ef0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c020-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@type": ["http://example/Type"], + "http://example/v": [{ + "@type": "http://example/value-type", + "@value": "value" + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c021-in.jsonld b/core/src/test/resources/json-ld.org/expand/c021-in.jsonld new file mode 100644 index 00000000..99d78bee --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c021-in.jsonld @@ -0,0 +1,34 @@ +{ + "@context": { + "@vocab": "ex:", + "type": "@type", + "prop": "ex:untyped", + "Type": { + "@context": { + "prop": "ex:typed", + "value": "@value" + } + } + }, + "prop": { + "type": "Type", + "prop": [ + "v1", + { + "value": "v2" + }, + { + "@value": "v3" + }, + { + "prop": [ + "v4", + { + "type": "Type", + "prop": "v5" + } + ] + } + ] + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c021-out.jsonld b/core/src/test/resources/json-ld.org/expand/c021-out.jsonld new file mode 100644 index 00000000..c3f097e8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c021-out.jsonld @@ -0,0 +1,19 @@ +[{ + "ex:untyped": [{ + "@type": ["ex:Type"], + "ex:typed": [{ + "@value": "v1" + }, { + "@value": "v2" + }, { + "@value": "v3" + }, { + "ex:untyped": [{ + "@value": "v4" + }, { + "@type": ["ex:Type"], + "ex:typed": [{"@value": "v5"}] + }] + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c022-in.jsonld b/core/src/test/resources/json-ld.org/expand/c022-in.jsonld new file mode 100644 index 00000000..c5ef4a2e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c022-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "@vocab": "ex:", + "Type": { + "@context": { + "foo": { + "@id": "ex:foo", + "@type": "@vocab", + "@context": { + "@version": 1.1, + "Foo": "ex:Foo", + "Bar": "ex:Bar" + } + } + } + } + }, + "@type": "Type", + "foo": "Bar" +} diff --git a/core/src/test/resources/json-ld.org/expand/c022-out.jsonld b/core/src/test/resources/json-ld.org/expand/c022-out.jsonld new file mode 100644 index 00000000..d77a5f5a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c022-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@type": ["ex:Type"], + "ex:foo": [{"@id": "ex:Bar"}] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c023-in.jsonld b/core/src/test/resources/json-ld.org/expand/c023-in.jsonld new file mode 100644 index 00000000..94272f95 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c023-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "@version": 1.1, + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": "ex:nested" + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "@version": 1.1, + "foo": { + "@id": "ex:foo", + "@type": "@vocab", + "@context": { + "Foo": "ex:Foo" + } + } + } + } + }, + "@type": "Outer", + "nested": { + "@type": "Inner", + "foo": "Foo" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c023-out.jsonld b/core/src/test/resources/json-ld.org/expand/c023-out.jsonld new file mode 100644 index 00000000..3e47445a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c023-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@type": ["ex:Outer"], + "ex:nested": [{ + "@type": ["ex:Inner"], + "ex:foo": [{"@id": "ex:Foo"}] + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c024-in.jsonld b/core/src/test/resources/json-ld.org/expand/c024-in.jsonld new file mode 100644 index 00000000..9fe803fa --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c024-in.jsonld @@ -0,0 +1,40 @@ +{ + "@context": { + "@version": 1.1, + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": "ex:nested" + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "@version": 1.1, + "val": "@value", + "foo": { + "@id": "ex:foo", + "@container": "@set", + "@type": "ex:Number", + "@context": { + "value": "@value" + } + }, + "bar": { + "@id": "ex:bar", + "@container": "@set", + "@type": "@id", + "@context": { + "@base": "http://example/" + } + } + } + } + }, + "@type": "Outer", + "nested": { + "@type": "Inner", + "foo": [{"value": "1"}, "2"], + "bar": [{"@id": "a"}, "b"] + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c024-out.jsonld b/core/src/test/resources/json-ld.org/expand/c024-out.jsonld new file mode 100644 index 00000000..ef901dbd --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c024-out.jsonld @@ -0,0 +1,14 @@ +[{ + "@type": ["ex:Outer"], + "ex:nested": [{ + "@type": ["ex:Inner"], + "ex:foo": [ + {"@value": "1"}, + {"@type": "ex:Number", "@value": "2"} + ], + "ex:bar": [ + {"@id": "http://example/a"}, + {"@id": "http://example/b"} + ] + }] +}] diff --git a/core/src/test/resources/json-ld.org/expand/c025-in.jsonld b/core/src/test/resources/json-ld.org/expand/c025-in.jsonld new file mode 100644 index 00000000..aa9b1fc7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c025-in.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "@version": 1.1, + "type": "@type", + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": { + "@id": "ex:nested", + "@type": "@id", + "@container": "@graph" + } + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "foo": "ex:foo" + } + } + }, + "type": "Outer", + "nested": { + "type": "Inner", + "foo": "bar" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/c025-out.jsonld b/core/src/test/resources/json-ld.org/expand/c025-out.jsonld new file mode 100644 index 00000000..d8246465 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/c025-out.jsonld @@ -0,0 +1,9 @@ +[{ + "@type": ["ex:Outer"], + "ex:nested": [{ + "@graph": [{ + "@type": ["ex:Inner"], + "ex:foo": [{"@value": "bar"}] + }] + }] +}] diff --git a/core/src/test/resources/json-ld.org/error-0001-in.jsonld b/core/src/test/resources/json-ld.org/expand/e001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0001-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0002-in.jsonld b/core/src/test/resources/json-ld.org/expand/e002-in.jsonld similarity index 53% rename from core/src/test/resources/json-ld.org/error-0002-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e002-in.jsonld index 627ade3b..0cc72d0a 100644 --- a/core/src/test/resources/json-ld.org/error-0002-in.jsonld +++ b/core/src/test/resources/json-ld.org/expand/e002-in.jsonld @@ -1,4 +1,4 @@ { - "@context": "error-0002-in.jsonld", + "@context": "e002-in.jsonld", "@id": "http://example/test#example" } diff --git a/core/src/test/resources/json-ld.org/error-0003-in.jsonld b/core/src/test/resources/json-ld.org/expand/e003-in.jsonld similarity index 52% rename from core/src/test/resources/json-ld.org/error-0003-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e003-in.jsonld index 976b42e0..fb3fbb3a 100644 --- a/core/src/test/resources/json-ld.org/error-0003-in.jsonld +++ b/core/src/test/resources/json-ld.org/expand/e003-in.jsonld @@ -1,4 +1,4 @@ { - "@context": "error-0003-ctx.jsonld", + "@context": "e003-in.jsonld", "@id": "http://example/test#example" } diff --git a/core/src/test/resources/json-ld.org/error-0004-in.jsonld b/core/src/test/resources/json-ld.org/expand/e004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0004-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0005-in.jsonld b/core/src/test/resources/json-ld.org/expand/e005-in.jsonld similarity index 54% rename from core/src/test/resources/json-ld.org/error-0005-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e005-in.jsonld index 78e6430b..0ff70012 100644 --- a/core/src/test/resources/json-ld.org/error-0005-in.jsonld +++ b/core/src/test/resources/json-ld.org/expand/e005-in.jsonld @@ -1,4 +1,4 @@ [{ - "@context": "error-0005-in.jsonld", + "@context": "e005-in.jsonld", "@id": "http://example/test#example" }] diff --git a/core/src/test/resources/json-ld.org/error-0006-in.jsonld b/core/src/test/resources/json-ld.org/expand/e006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0006-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0007-in.jsonld b/core/src/test/resources/json-ld.org/expand/e007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0007-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0008-in.jsonld b/core/src/test/resources/json-ld.org/expand/e008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0008-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0009-in.jsonld b/core/src/test/resources/json-ld.org/expand/e009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0009-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0010-in.jsonld b/core/src/test/resources/json-ld.org/expand/e010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0010-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0011-in.jsonld b/core/src/test/resources/json-ld.org/expand/e011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0011-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e011-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0012-in.jsonld b/core/src/test/resources/json-ld.org/expand/e012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0012-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e012-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0013-in.jsonld b/core/src/test/resources/json-ld.org/expand/e013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0013-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0014-in.jsonld b/core/src/test/resources/json-ld.org/expand/e014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0014-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0015-in.jsonld b/core/src/test/resources/json-ld.org/expand/e015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0015-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0016-in.jsonld b/core/src/test/resources/json-ld.org/expand/e016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0016-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0017-in.jsonld b/core/src/test/resources/json-ld.org/expand/e017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0017-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0018-in.jsonld b/core/src/test/resources/json-ld.org/expand/e018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0018-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0019-in.jsonld b/core/src/test/resources/json-ld.org/expand/e019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0019-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0020-in.jsonld b/core/src/test/resources/json-ld.org/expand/e020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0020-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0021-in.jsonld b/core/src/test/resources/json-ld.org/expand/e021-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0021-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e021-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0022-in.jsonld b/core/src/test/resources/json-ld.org/expand/e022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0022-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0023-in.jsonld b/core/src/test/resources/json-ld.org/expand/e023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0023-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0024-in.jsonld b/core/src/test/resources/json-ld.org/expand/e024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0024-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0025-in.jsonld b/core/src/test/resources/json-ld.org/expand/e025-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0025-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e025-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0026-in.jsonld b/core/src/test/resources/json-ld.org/expand/e026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0026-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e026-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0027-in.jsonld b/core/src/test/resources/json-ld.org/expand/e027-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0027-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e027-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0028-in.jsonld b/core/src/test/resources/json-ld.org/expand/e028-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0028-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e028-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0029-in.jsonld b/core/src/test/resources/json-ld.org/expand/e029-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0029-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e029-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0030-in.jsonld b/core/src/test/resources/json-ld.org/expand/e030-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0030-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e030-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0031-in.jsonld b/core/src/test/resources/json-ld.org/expand/e031-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0031-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e031-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0032-in.jsonld b/core/src/test/resources/json-ld.org/expand/e032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0032-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e032-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0033-in.jsonld b/core/src/test/resources/json-ld.org/expand/e033-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0033-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e033-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0034-in.jsonld b/core/src/test/resources/json-ld.org/expand/e034-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0034-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e034-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0035-in.jsonld b/core/src/test/resources/json-ld.org/expand/e035-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0035-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e035-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0036-in.jsonld b/core/src/test/resources/json-ld.org/expand/e036-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0036-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e036-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0037-in.jsonld b/core/src/test/resources/json-ld.org/expand/e037-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0037-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e037-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0038-in.jsonld b/core/src/test/resources/json-ld.org/expand/e038-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0038-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e038-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0039-in.jsonld b/core/src/test/resources/json-ld.org/expand/e039-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0039-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e039-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0040-in.jsonld b/core/src/test/resources/json-ld.org/expand/e040-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0040-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e040-in.jsonld diff --git a/core/src/test/resources/json-ld.org/error-0041-in.jsonld b/core/src/test/resources/json-ld.org/expand/e041-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0041-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e041-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-e042-in.jsonld b/core/src/test/resources/json-ld.org/expand/e042-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-e042-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e042-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0026-in.jsonld b/core/src/test/resources/json-ld.org/expand/e043-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0026-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e043-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e044-in.jsonld b/core/src/test/resources/json-ld.org/expand/e044-in.jsonld new file mode 100644 index 00000000..257bd312 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/e044-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "v:term": "v:somethingElse", + "v:termId": { "@id": "v:somethingElseId" } + } + ], + "v:term": "value of v:term", + "v:termId": "value of v:termId" +} diff --git a/core/src/test/resources/json-ld.org/toRdf-0111-in.jsonld b/core/src/test/resources/json-ld.org/expand/e045-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0111-in.jsonld rename to core/src/test/resources/json-ld.org/expand/e045-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/ec01-in.jsonld b/core/src/test/resources/json-ld.org/expand/ec01-in.jsonld new file mode 100644 index 00000000..6ea8d9a1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/ec01-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/", "@index": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/em01-in.jsonld b/core/src/test/resources/json-ld.org/expand/em01-in.jsonld new file mode 100644 index 00000000..ea465394 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/em01-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@container": "@context"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/en01-in.jsonld b/core/src/test/resources/json-ld.org/expand/en01-in.jsonld new file mode 100644 index 00000000..81408e66 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/en01-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@nest": "This should generate an error" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/en02-in.jsonld b/core/src/test/resources/json-ld.org/expand/en02-in.jsonld new file mode 100644 index 00000000..7af5e3b4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/en02-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@nest": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/en03-in.jsonld b/core/src/test/resources/json-ld.org/expand/en03-in.jsonld new file mode 100644 index 00000000..91d33886 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/en03-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@nest": 1 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/en04-in.jsonld b/core/src/test/resources/json-ld.org/expand/en04-in.jsonld new file mode 100644 index 00000000..11e246a3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/en04-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@nest": {"@value": "This should generate an error"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/en05-in.jsonld b/core/src/test/resources/json-ld.org/expand/en05-in.jsonld new file mode 100644 index 00000000..a33791ca --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/en05-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@nest": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/en06-in.jsonld b/core/src/test/resources/json-ld.org/expand/en06-in.jsonld new file mode 100644 index 00000000..3015c7af --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/en06-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": {"@reverse": "http://example/term", "@nest": "@nest"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/ep01-in.jsonld b/core/src/test/resources/json-ld.org/expand/ep01-in.jsonld new file mode 100644 index 00000000..81a736c7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/ep01-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "http://example.org/foo": {"label": "Object with @id "}, + "_:bar": {"label": "Object with @id _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/ep02-in.jsonld b/core/src/test/resources/json-ld.org/expand/ep02-in.jsonld new file mode 100644 index 00000000..4caa4695 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/ep02-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@version": 1.1 + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/ep03-in.jsonld b/core/src/test/resources/json-ld.org/expand/ep03-in.jsonld new file mode 100644 index 00000000..63c70f63 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/ep03-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@version": 1.0 + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/es01-in.jsonld b/core/src/test/resources/json-ld.org/expand/es01-in.jsonld new file mode 100644 index 00000000..d014b483 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/es01-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@container": ["@set"]} + }, + "@id": "http://example/test#example", + "term": "foo" +} diff --git a/core/src/test/resources/json-ld.org/expand/es02-in.jsonld b/core/src/test/resources/json-ld.org/expand/es02-in.jsonld new file mode 100644 index 00000000..d71e3eb6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/es02-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@container": ["@list", "@set"]} + }, + "@id": "http://example/test#example", + "term": "foo" +} diff --git a/core/src/test/resources/json-ld.org/expand/h001-in.html b/core/src/test/resources/json-ld.org/expand/h001-in.html new file mode 100644 index 00000000..57328e38 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h001-in.html @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h001-out.jsonld b/core/src/test/resources/json-ld.org/expand/h001-out.jsonld new file mode 100644 index 00000000..e793da70 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h001-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@value": "bar"}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h002-in.html b/core/src/test/resources/json-ld.org/expand/h002-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h002-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h002-out.jsonld b/core/src/test/resources/json-ld.org/expand/h002-out.jsonld new file mode 100644 index 00000000..e793da70 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h002-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@value": "bar"}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h003-in.html b/core/src/test/resources/json-ld.org/expand/h003-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h003-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h003-out.jsonld b/core/src/test/resources/json-ld.org/expand/h003-out.jsonld new file mode 100644 index 00000000..83d36929 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h003-out.jsonld @@ -0,0 +1,4 @@ +[ + {"http://example.com/foo": [{"@value": "foo"}]}, + {"http://example.com/bar": [{"@value": "bar"}]} +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h004-in.html b/core/src/test/resources/json-ld.org/expand/h004-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h004-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h004-out.jsonld b/core/src/test/resources/json-ld.org/expand/h004-out.jsonld new file mode 100644 index 00000000..58be8a87 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h004-out.jsonld @@ -0,0 +1,10 @@ +[ + {"http://example.com/foo": [{"@list": [{"@value": "bar"}]}]}, + { + "@graph": [{ + "http://example.com/foo": [{"@value": "foo"}] + }, { + "http://example.com/bar": [{"@value": "bar"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h005-in.html b/core/src/test/resources/json-ld.org/expand/h005-in.html new file mode 100644 index 00000000..1c07a03f --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h005-in.html @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h005-out.jsonld b/core/src/test/resources/json-ld.org/expand/h005-out.jsonld new file mode 100644 index 00000000..602ce014 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h005-out.jsonld @@ -0,0 +1,5 @@ +[ + {"http://example.com/foo": [{"@list": [{"@value": "bar"}]}]}, + {"http://example.com/foo": [{"@value": "foo"}]}, + {"http://example.com/bar": [{"@value": "bar"}]} +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h006-in.html b/core/src/test/resources/json-ld.org/expand/h006-in.html new file mode 100644 index 00000000..4301ea4d --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h006-in.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h006-out.jsonld b/core/src/test/resources/json-ld.org/expand/h006-out.jsonld new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h006-out.jsonld @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h007-in.html b/core/src/test/resources/json-ld.org/expand/h007-in.html new file mode 100644 index 00000000..4301ea4d --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h007-in.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h007-out.jsonld b/core/src/test/resources/json-ld.org/expand/h007-out.jsonld new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h007-out.jsonld @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h008-in.html b/core/src/test/resources/json-ld.org/expand/h008-in.html new file mode 100644 index 00000000..178034ab --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h008-in.html @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h008-out.jsonld b/core/src/test/resources/json-ld.org/expand/h008-out.jsonld new file mode 100644 index 00000000..e793da70 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h008-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@value": "bar"}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h009-in.html b/core/src/test/resources/json-ld.org/expand/h009-in.html new file mode 100644 index 00000000..1a85b642 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h009-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h009-out.jsonld b/core/src/test/resources/json-ld.org/expand/h009-out.jsonld new file mode 100644 index 00000000..44cc49c8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h009-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/comment-start": [{"@value": ""}], + "http://example/script-start": [{"@value": ""}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h010-in.html b/core/src/test/resources/json-ld.org/expand/h010-in.html new file mode 100644 index 00000000..384ea36e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h010-in.html @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h010-out.jsonld b/core/src/test/resources/json-ld.org/expand/h010-out.jsonld new file mode 100644 index 00000000..f7b5a0ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h010-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example/foo": [{"@value": "<&>"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h011-in.html b/core/src/test/resources/json-ld.org/expand/h011-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h011-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h012-in.html b/core/src/test/resources/json-ld.org/expand/h012-in.html new file mode 100644 index 00000000..7700c932 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h012-in.html @@ -0,0 +1,12 @@ + + +
+    {
+      "@context": {
+        "foo": {"@id": "http://example.com/foo", "@container": "@list"}
+      },
+      "foo": [{"@value": "bar"}]
+    }
+    
+ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h013-in.html b/core/src/test/resources/json-ld.org/expand/h013-in.html new file mode 100644 index 00000000..4e0d64a4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h013-in.html @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h014-in.html b/core/src/test/resources/json-ld.org/expand/h014-in.html new file mode 100644 index 00000000..ceeeff8b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h014-in.html @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h015-in.html b/core/src/test/resources/json-ld.org/expand/h015-in.html new file mode 100644 index 00000000..eb0e188a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h015-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h016-in.html b/core/src/test/resources/json-ld.org/expand/h016-in.html new file mode 100644 index 00000000..1bc35a18 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h016-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h017-in.html b/core/src/test/resources/json-ld.org/expand/h017-in.html new file mode 100644 index 00000000..90a0e2f6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h017-in.html @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h018-in.html b/core/src/test/resources/json-ld.org/expand/h018-in.html new file mode 100644 index 00000000..8a644238 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h018-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h018-out.jsonld b/core/src/test/resources/json-ld.org/expand/h018-out.jsonld new file mode 100644 index 00000000..7bf2e224 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h018-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/expand/h018-in.html", + "http://example.com/foo": [{"@value": "bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h019-in.html b/core/src/test/resources/json-ld.org/expand/h019-in.html new file mode 100644 index 00000000..8a644238 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h019-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h019-out.jsonld b/core/src/test/resources/json-ld.org/expand/h019-out.jsonld new file mode 100644 index 00000000..1617d64f --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h019-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://a.example.com/doc", + "http://example.com/foo": [{"@value": "bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h020-in.html b/core/src/test/resources/json-ld.org/expand/h020-in.html new file mode 100644 index 00000000..c7fdfb1b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h020-in.html @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h020-out.jsonld b/core/src/test/resources/json-ld.org/expand/h020-out.jsonld new file mode 100644 index 00000000..f309cd84 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h020-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://a.example.com/base", + "http://example.com/foo": [{"@value": "bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h021-in.html b/core/src/test/resources/json-ld.org/expand/h021-in.html new file mode 100644 index 00000000..25b5e3cf --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h021-in.html @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h021-out.jsonld b/core/src/test/resources/json-ld.org/expand/h021-out.jsonld new file mode 100644 index 00000000..f309cd84 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h021-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://a.example.com/base", + "http://example.com/foo": [{"@value": "bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h022-in.html b/core/src/test/resources/json-ld.org/expand/h022-in.html new file mode 100644 index 00000000..0d18ab9d --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h022-in.html @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/h022-out.jsonld b/core/src/test/resources/json-ld.org/expand/h022-out.jsonld new file mode 100644 index 00000000..bbfd82eb --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/h022-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://a.example.com/base", + "http://example.com/bar": [{"@value": "foo"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc01-context.html b/core/src/test/resources/json-ld.org/expand/hc01-context.html new file mode 100644 index 00000000..dbce5571 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc01-context.html @@ -0,0 +1,17 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc01-in.jsonld b/core/src/test/resources/json-ld.org/expand/hc01-in.jsonld new file mode 100644 index 00000000..5cc87215 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc01-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": "hc01-context.html", + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld.org/expand/hc01-out.jsonld b/core/src/test/resources/json-ld.org/expand/hc01-out.jsonld new file mode 100644 index 00000000..cc8e658e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc01-out.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": [{"@value": "v1"}], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [{"@value": 4}], + "http://example.com/term5": [{"@value": 50}, {"@value": 51}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc02-context.html b/core/src/test/resources/json-ld.org/expand/hc02-context.html new file mode 100644 index 00000000..a17483b7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc02-context.html @@ -0,0 +1,25 @@ + + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc02-in.jsonld b/core/src/test/resources/json-ld.org/expand/hc02-in.jsonld new file mode 100644 index 00000000..2eb65be9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc02-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": "hc02-context.html#context", + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld.org/expand/hc02-out.jsonld b/core/src/test/resources/json-ld.org/expand/hc02-out.jsonld new file mode 100644 index 00000000..cc8e658e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc02-out.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": [{"@value": "v1"}], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [{"@value": 4}], + "http://example.com/term5": [{"@value": 50}, {"@value": 51}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc03-context.html b/core/src/test/resources/json-ld.org/expand/hc03-context.html new file mode 100644 index 00000000..58c70b17 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc03-context.html @@ -0,0 +1,25 @@ + + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc03-in.jsonld b/core/src/test/resources/json-ld.org/expand/hc03-in.jsonld new file mode 100644 index 00000000..c3dc5f26 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc03-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": "hc03-context.html#context", + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld.org/expand/hc03-out.jsonld b/core/src/test/resources/json-ld.org/expand/hc03-out.jsonld new file mode 100644 index 00000000..cc8e658e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc03-out.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": [{"@value": "v1"}], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [{"@value": 4}], + "http://example.com/term5": [{"@value": 50}, {"@value": 51}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc04-context.html b/core/src/test/resources/json-ld.org/expand/hc04-context.html new file mode 100644 index 00000000..58c70b17 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc04-context.html @@ -0,0 +1,25 @@ + + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc04-in.jsonld b/core/src/test/resources/json-ld.org/expand/hc04-in.jsonld new file mode 100644 index 00000000..5c5741fd --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc04-in.jsonld @@ -0,0 +1,9 @@ +{ + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld.org/expand/hc04-out.jsonld b/core/src/test/resources/json-ld.org/expand/hc04-out.jsonld new file mode 100644 index 00000000..cc8e658e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc04-out.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": [{"@value": "v1"}], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [{"@value": 4}], + "http://example.com/term5": [{"@value": 50}, {"@value": 51}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc05-context.html b/core/src/test/resources/json-ld.org/expand/hc05-context.html new file mode 100644 index 00000000..695ba830 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc05-context.html @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc05-in.jsonld b/core/src/test/resources/json-ld.org/expand/hc05-in.jsonld new file mode 100644 index 00000000..74838954 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/hc05-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": "hc05-context.html", + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld.org/expand/js01-in.jsonld b/core/src/test/resources/json-ld.org/expand/js01-in.jsonld new file mode 100644 index 00000000..ace09383 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js01-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#bool", "@type": "@json"} + }, + "e": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js01-out.jsonld b/core/src/test/resources/json-ld.org/expand/js01-out.jsonld new file mode 100644 index 00000000..642709fd --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js01-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#bool": [{"@value": true, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js02-in.jsonld b/core/src/test/resources/json-ld.org/expand/js02-in.jsonld new file mode 100644 index 00000000..65f32bf2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js02-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#bool", "@type": "@json"} + }, + "e": false +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js02-out.jsonld b/core/src/test/resources/json-ld.org/expand/js02-out.jsonld new file mode 100644 index 00000000..640d3d29 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js02-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#bool": [{"@value": false, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js03-in.jsonld b/core/src/test/resources/json-ld.org/expand/js03-in.jsonld new file mode 100644 index 00000000..3f98c4fc --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js03-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#double", "@type": "@json"} + }, + "e": 1.23 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js03-out.jsonld b/core/src/test/resources/json-ld.org/expand/js03-out.jsonld new file mode 100644 index 00000000..060691ac --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js03-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#double": [{"@value": 1.23, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js04-in.jsonld b/core/src/test/resources/json-ld.org/expand/js04-in.jsonld new file mode 100644 index 00000000..dfd129c8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js04-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#double", "@type": "@json"} + }, + "e": 0.0e0 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js04-out.jsonld b/core/src/test/resources/json-ld.org/expand/js04-out.jsonld new file mode 100644 index 00000000..278b08f0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js04-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#double": [{"@value": 0.0e0, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js05-in.jsonld b/core/src/test/resources/json-ld.org/expand/js05-in.jsonld new file mode 100644 index 00000000..22702493 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js05-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#integer", "@type": "@json"} + }, + "e": 123 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js05-out.jsonld b/core/src/test/resources/json-ld.org/expand/js05-out.jsonld new file mode 100644 index 00000000..364fc8ff --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js05-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#integer": [{"@value": 123, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js06-in.jsonld b/core/src/test/resources/json-ld.org/expand/js06-in.jsonld new file mode 100644 index 00000000..b0c57352 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js06-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#object", "@type": "@json"} + }, + "e": {"foo": "bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js06-out.jsonld b/core/src/test/resources/json-ld.org/expand/js06-out.jsonld new file mode 100644 index 00000000..c9df2866 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js06-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js07-in.jsonld b/core/src/test/resources/json-ld.org/expand/js07-in.jsonld new file mode 100644 index 00000000..8caa6c9f --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js07-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#array", "@type": "@json"} + }, + "e": [{"foo": "bar"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js07-out.jsonld b/core/src/test/resources/json-ld.org/expand/js07-out.jsonld new file mode 100644 index 00000000..d0b1b28e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js07-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#array": [{"@value": [{"foo": "bar"}], "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js08-in.jsonld b/core/src/test/resources/json-ld.org/expand/js08-in.jsonld new file mode 100644 index 00000000..837a69a4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js08-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#array", "@type": "@json"} + }, + "e": [{"e": "bar"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js08-out.jsonld b/core/src/test/resources/json-ld.org/expand/js08-out.jsonld new file mode 100644 index 00000000..a20f5d8e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js08-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#array": [{"@value": [{"e": "bar"}], "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js09-in.jsonld b/core/src/test/resources/json-ld.org/expand/js09-in.jsonld new file mode 100644 index 00000000..cc9820a5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js09-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js09-out.jsonld b/core/src/test/resources/json-ld.org/expand/js09-out.jsonld new file mode 100644 index 00000000..c9df2866 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js09-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js10-in.jsonld b/core/src/test/resources/json-ld.org/expand/js10-in.jsonld new file mode 100644 index 00000000..e40669f3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js10-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@version": 1.1, "value": "@value", "type": "@type", "json": "@json"}, + "http://example.org/vocab#object": [{"value": {"foo": "bar"}, "type": "json"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/js10-out.jsonld b/core/src/test/resources/json-ld.org/expand/js10-out.jsonld new file mode 100644 index 00000000..c9df2866 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/js10-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/l001-in.jsonld b/core/src/test/resources/json-ld.org/expand/l001-in.jsonld new file mode 100644 index 00000000..6f4bd00b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/l001-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": null, + "de": [ "Die Königin", null ] + } +} diff --git a/core/src/test/resources/json-ld.org/expand/l001-out.jsonld b/core/src/test/resources/json-ld.org/expand/l001-out.jsonld new file mode 100644 index 00000000..09860adc --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/l001-out.jsonld @@ -0,0 +1,12 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": + [ + { + "@value": "Die Königin", + "@language": "de" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/li01-in.jsonld b/core/src/test/resources/json-ld.org/expand/li01-in.jsonld new file mode 100644 index 00000000..75ec1a87 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li01-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.com/foo": {"@list": [{"@list": ["baz"]}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li01-out.jsonld b/core/src/test/resources/json-ld.org/expand/li01-out.jsonld new file mode 100644 index 00000000..998c20a6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li01-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": [{"@value": "baz"}]}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li02-in.jsonld b/core/src/test/resources/json-ld.org/expand/li02-in.jsonld new file mode 100644 index 00000000..4be9f2e8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li02-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.com/foo": {"@list": [{"@list": []}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li02-out.jsonld b/core/src/test/resources/json-ld.org/expand/li02-out.jsonld new file mode 100644 index 00000000..e7737504 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li02-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": []}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li03-in.jsonld b/core/src/test/resources/json-ld.org/expand/li03-in.jsonld new file mode 100644 index 00000000..f5e78e4d --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li03-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [{"@list": ["baz"]}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li03-out.jsonld b/core/src/test/resources/json-ld.org/expand/li03-out.jsonld new file mode 100644 index 00000000..998c20a6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li03-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": [{"@value": "baz"}]}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li04-in.jsonld b/core/src/test/resources/json-ld.org/expand/li04-in.jsonld new file mode 100644 index 00000000..437398a9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li04-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [{"@list": []}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li04-out.jsonld b/core/src/test/resources/json-ld.org/expand/li04-out.jsonld new file mode 100644 index 00000000..e7737504 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li04-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": []}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li05-in.jsonld b/core/src/test/resources/json-ld.org/expand/li05-in.jsonld new file mode 100644 index 00000000..e38ec8ce --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li05-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [["baz"]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li05-out.jsonld b/core/src/test/resources/json-ld.org/expand/li05-out.jsonld new file mode 100644 index 00000000..998c20a6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li05-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": [{"@value": "baz"}]}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li06-in.jsonld b/core/src/test/resources/json-ld.org/expand/li06-in.jsonld new file mode 100644 index 00000000..81c8b23e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li06-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [[]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li06-out.jsonld b/core/src/test/resources/json-ld.org/expand/li06-out.jsonld new file mode 100644 index 00000000..e7737504 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li06-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": []}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li07-in.jsonld b/core/src/test/resources/json-ld.org/expand/li07-in.jsonld new file mode 100644 index 00000000..e01353af --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li07-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [[["baz"]]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li07-out.jsonld b/core/src/test/resources/json-ld.org/expand/li07-out.jsonld new file mode 100644 index 00000000..329a79c9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li07-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": [{"@list": [{"@value": "baz"}]}]}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li08-in.jsonld b/core/src/test/resources/json-ld.org/expand/li08-in.jsonld new file mode 100644 index 00000000..b14f5623 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li08-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [[[]]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li08-out.jsonld b/core/src/test/resources/json-ld.org/expand/li08-out.jsonld new file mode 100644 index 00000000..0b125baf --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li08-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": [{"@list": []}]}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li09-in.jsonld b/core/src/test/resources/json-ld.org/expand/li09-in.jsonld new file mode 100644 index 00000000..58aea4aa --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li09-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [["a"], ["b"]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li09-out.jsonld b/core/src/test/resources/json-ld.org/expand/li09-out.jsonld new file mode 100644 index 00000000..bb6227d1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li09-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.com/foo": [{"@list": [ + {"@list": [{"@value": "a"}]}, + {"@list": [{"@value": "b"}]} + ]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li10-in.jsonld b/core/src/test/resources/json-ld.org/expand/li10-in.jsonld new file mode 100644 index 00000000..b1db13b1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li10-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [["a"], "b"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li10-out.jsonld b/core/src/test/resources/json-ld.org/expand/li10-out.jsonld new file mode 100644 index 00000000..1d5c3bed --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/li10-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.com/foo": [{"@list": [ + {"@list": [{"@value": "a"}]}, + {"@value": "b"} + ]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m001-in.jsonld b/core/src/test/resources/json-ld.org/expand/m001-in.jsonld new file mode 100644 index 00000000..81a736c7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m001-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "http://example.org/foo": {"label": "Object with @id "}, + "_:bar": {"label": "Object with @id _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m001-out.jsonld b/core/src/test/resources/json-ld.org/expand/m001-out.jsonld new file mode 100644 index 00000000..c44d5e63 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m001-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/idmap": [ + {"http://example/label": [{"@value": "Object with @id _:bar"}], "@id": "_:bar"}, + {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m002-in.jsonld b/core/src/test/resources/json-ld.org/expand/m002-in.jsonld new file mode 100644 index 00000000..1134f16b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m002-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "http://example.org/foo": {"@id": "http://example.org/bar", "label": "Object with @id "}, + "_:bar": {"@id": "_:foo", "label": "Object with @id _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m002-out.jsonld b/core/src/test/resources/json-ld.org/expand/m002-out.jsonld new file mode 100644 index 00000000..274bb8c7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m002-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/idmap": [ + {"@id": "_:foo", "http://example/label": [{"@value": "Object with @id _:bar"}]}, + {"@id": "http://example.org/bar", "http://example/label": [{"@value": "Object with @id "}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m003-in.jsonld b/core/src/test/resources/json-ld.org/expand/m003-in.jsonld new file mode 100644 index 00000000..f79d87a6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m003-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + }, + "typemap": { + "http://example.org/foo": {"label": "Object with @type "}, + "_:bar": {"label": "Object with @type _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m003-out.jsonld b/core/src/test/resources/json-ld.org/expand/m003-out.jsonld new file mode 100644 index 00000000..ecdfc449 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m003-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/typemap": [ + {"http://example/label": [{"@value": "Object with @type _:bar"}], "@type": ["_:bar"]}, + {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example.org/foo"]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m004-in.jsonld b/core/src/test/resources/json-ld.org/expand/m004-in.jsonld new file mode 100644 index 00000000..b75a0ff8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m004-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + }, + "typemap": { + "http://example.org/foo": {"@type": "http://example.org/bar", "label": "Object with @type "}, + "_:bar": {"@type": "_:foo", "label": "Object with @type _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m004-out.jsonld b/core/src/test/resources/json-ld.org/expand/m004-out.jsonld new file mode 100644 index 00000000..f35a9a88 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m004-out.jsonld @@ -0,0 +1,12 @@ +[{ + "http://example/typemap": [ + { + "@type": ["_:bar", "_:foo"], + "http://example/label": [{"@value": "Object with @type _:bar"}] + }, + { + "@type": ["http://example.org/foo", "http://example.org/bar"], + "http://example/label": [{"@value": "Object with @type "}] + } + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m005-in.jsonld b/core/src/test/resources/json-ld.org/expand/m005-in.jsonld new file mode 100644 index 00000000..e7de76b9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m005-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "foo": {"label": "Object with @id "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m005-out.jsonld b/core/src/test/resources/json-ld.org/expand/m005-out.jsonld new file mode 100644 index 00000000..fe15d637 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m005-out.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/idmap": [ + {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m006-in.jsonld b/core/src/test/resources/json-ld.org/expand/m006-in.jsonld new file mode 100644 index 00000000..ce359b45 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m006-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + }, + "typemap": { + "Foo": {"label": "Object with @type "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m006-out.jsonld b/core/src/test/resources/json-ld.org/expand/m006-out.jsonld new file mode 100644 index 00000000..a6cfccfe --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m006-out.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/typemap": [ + {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example/Foo"]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m007-in.jsonld b/core/src/test/resources/json-ld.org/expand/m007-in.jsonld new file mode 100644 index 00000000..a660b729 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m007-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"}, + "label": "http://example/label" + }, + "typemap": { + "Foo": {"label": "Object with @type "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m007-out.jsonld b/core/src/test/resources/json-ld.org/expand/m007-out.jsonld new file mode 100644 index 00000000..a6cfccfe --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m007-out.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/typemap": [ + {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example/Foo"]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m008-in.jsonld b/core/src/test/resources/json-ld.org/expand/m008-in.jsonld new file mode 100644 index 00000000..3e48d6e6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m008-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"}, + "Type": {"@context": {"a": "http://example.org/a"}} + }, + "typemap": { + "Type": {"a": "Object with @type "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m008-out.jsonld b/core/src/test/resources/json-ld.org/expand/m008-out.jsonld new file mode 100644 index 00000000..e1da44ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m008-out.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example/typemap": [ + {"http://example.org/a": [{"@value": "Object with @type "}], "@type": ["http://example/Type"]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m009-in.jsonld b/core/src/test/resources/json-ld.org/expand/m009-in.jsonld new file mode 100644 index 00000000..510a5700 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m009-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ], + "@none": "The Queen" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m009-out.jsonld b/core/src/test/resources/json-ld.org/expand/m009-out.jsonld new file mode 100644 index 00000000..94293f57 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m009-out.jsonld @@ -0,0 +1,11 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "The Queen"}, + {"@value": "Die Königin", "@language": "de"}, + {"@value": "Ihre Majestät", "@language": "de"}, + {"@value": "The Queen", "@language": "en"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m010-in.jsonld b/core/src/test/resources/json-ld.org/expand/m010-in.jsonld new file mode 100644 index 00000000..adc8cac3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m010-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + }, + "none": "@none" + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ], + "none": "The Queen" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m010-out.jsonld b/core/src/test/resources/json-ld.org/expand/m010-out.jsonld new file mode 100644 index 00000000..9295bdb4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m010-out.jsonld @@ -0,0 +1,11 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "Die Königin", "@language": "de"}, + {"@value": "Ihre Majestät", "@language": "de"}, + {"@value": "The Queen", "@language": "en"}, + {"@value": "The Queen"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m011-in.jsonld b/core/src/test/resources/json-ld.org/expand/m011-in.jsonld new file mode 100644 index 00000000..a8ba3723 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m011-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"}, + "none": "@none" + }, + "idmap": { + "@none": {"label": "Object with no @id"}, + "none": {"label": "Another object with no @id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m011-out.jsonld b/core/src/test/resources/json-ld.org/expand/m011-out.jsonld new file mode 100644 index 00000000..1e0160ea --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m011-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/idmap": [ + {"http://example/label": [{"@value": "Object with no @id"}]}, + {"http://example/label": [{"@value": "Another object with no @id"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m012-in.jsonld b/core/src/test/resources/json-ld.org/expand/m012-in.jsonld new file mode 100644 index 00000000..c8bbe0f7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m012-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"}, + "none": "@none" + }, + "typemap": { + "@none": {"label": "Object with no @type"}, + "none": {"label": "Another object with no @type"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m012-out.jsonld b/core/src/test/resources/json-ld.org/expand/m012-out.jsonld new file mode 100644 index 00000000..2c62979f --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m012-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/typemap": [ + {"http://example/label": [{"@value": "Object with no @type"}]}, + {"http://example/label": [{"@value": "Another object with no @type"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m013-in.jsonld b/core/src/test/resources/json-ld.org/expand/m013-in.jsonld new file mode 100644 index 00000000..545c8c30 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m013-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "@none": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m013-out.jsonld b/core/src/test/resources/json-ld.org/expand/m013-out.jsonld new file mode 100644 index 00000000..e01c12ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m013-out.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m014-in.jsonld b/core/src/test/resources/json-ld.org/expand/m014-in.jsonld new file mode 100644 index 00000000..a1e454b2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m014-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]}, + "none": "@none" + }, + "input": { + "none": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m014-out.jsonld b/core/src/test/resources/json-ld.org/expand/m014-out.jsonld new file mode 100644 index 00000000..e01c12ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m014-out.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m015-in.jsonld b/core/src/test/resources/json-ld.org/expand/m015-in.jsonld new file mode 100644 index 00000000..6594c8d6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m015-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "@none": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m015-out.jsonld b/core/src/test/resources/json-ld.org/expand/m015-out.jsonld new file mode 100644 index 00000000..e01c12ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m015-out.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m016-in.jsonld b/core/src/test/resources/json-ld.org/expand/m016-in.jsonld new file mode 100644 index 00000000..13234db1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m016-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]}, + "none": "@none" + }, + "input": { + "none": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/m016-out.jsonld b/core/src/test/resources/json-ld.org/expand/m016-out.jsonld new file mode 100644 index 00000000..e01c12ee --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/m016-out.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/input": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n001-in.jsonld b/core/src/test/resources/json-ld.org/expand/n001-in.jsonld new file mode 100644 index 00000000..f0743058 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n001-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "p1": "v1", + "@nest": { + "p2": "v2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n001-out.jsonld b/core/src/test/resources/json-ld.org/expand/n001-out.jsonld new file mode 100644 index 00000000..c0373456 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n001-out.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [{"@value": "v2"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n002-in.jsonld b/core/src/test/resources/json-ld.org/expand/n002-in.jsonld new file mode 100644 index 00000000..36e57b95 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n002-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest" + }, + "p1": "v1", + "nest": { + "p2": "v2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n002-out.jsonld b/core/src/test/resources/json-ld.org/expand/n002-out.jsonld new file mode 100644 index 00000000..c0373456 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n002-out.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [{"@value": "v2"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n003-in.jsonld b/core/src/test/resources/json-ld.org/expand/n003-in.jsonld new file mode 100644 index 00000000..c1ec9022 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n003-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest" + }, + "p1": "v1", + "nest": { + "p2": "v3" + }, + "p2": "v2" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n003-out.jsonld b/core/src/test/resources/json-ld.org/expand/n003-out.jsonld new file mode 100644 index 00000000..c8fc8de2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n003-out.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [ + {"@value": "v2"}, + {"@value": "v3"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n004-in.jsonld b/core/src/test/resources/json-ld.org/expand/n004-in.jsonld new file mode 100644 index 00000000..eeffff0a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n004-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest1": "@nest", + "nest2": "@nest" + }, + "p1": "v1", + "nest2": { + "p2": "v4" + }, + "p2": "v2", + "nest1": { + "p2": "v3" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n004-out.jsonld b/core/src/test/resources/json-ld.org/expand/n004-out.jsonld new file mode 100644 index 00000000..90e1950b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n004-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [ + {"@value": "v2"}, + {"@value": "v3"}, + {"@value": "v4"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n005-in.jsonld b/core/src/test/resources/json-ld.org/expand/n005-in.jsonld new file mode 100644 index 00000000..a9f39497 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n005-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/" + }, + "p1": "v1", + "@nest": { + "p2": "v3", + "@nest": { + "p2": "v4" + } + }, + "p2": "v2" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n005-out.jsonld b/core/src/test/resources/json-ld.org/expand/n005-out.jsonld new file mode 100644 index 00000000..90e1950b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n005-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [ + {"@value": "v2"}, + {"@value": "v3"}, + {"@value": "v4"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n006-in.jsonld b/core/src/test/resources/json-ld.org/expand/n006-in.jsonld new file mode 100644 index 00000000..9b02d605 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n006-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest" + }, + "p1": "v1", + "nest": { + "p2": ["v4", "v5"] + }, + "p2": ["v2", "v3"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n006-out.jsonld b/core/src/test/resources/json-ld.org/expand/n006-out.jsonld new file mode 100644 index 00000000..d5c10407 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n006-out.jsonld @@ -0,0 +1,9 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [ + {"@value": "v2"}, + {"@value": "v3"}, + {"@value": "v4"}, + {"@value": "v5"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n007-in.jsonld b/core/src/test/resources/json-ld.org/expand/n007-in.jsonld new file mode 100644 index 00000000..aa9e8468 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n007-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest" + }, + "p1": "v1", + "nest": [{ + "p2": "v4" + }, { + "p2": "v5" + }], + "p2": ["v2", "v3"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/n007-out.jsonld b/core/src/test/resources/json-ld.org/expand/n007-out.jsonld new file mode 100644 index 00000000..d5c10407 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/n007-out.jsonld @@ -0,0 +1,9 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [ + {"@value": "v2"}, + {"@value": "v3"}, + {"@value": "v4"}, + {"@value": "v5"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/p001-in.jsonld b/core/src/test/resources/json-ld.org/expand/p001-in.jsonld new file mode 100644 index 00000000..5820b1c8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/p001-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": [ + {"@vocab": "http://example/"}, + {"@version": 1.1, "a": {"@type": "@id"}} + ], + "a": "http://example.org/foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/p001-out.jsonld b/core/src/test/resources/json-ld.org/expand/p001-out.jsonld new file mode 100644 index 00000000..d6a85b74 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/p001-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example/a": [{"@id": "http://example.org/foo"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/p002-in.jsonld b/core/src/test/resources/json-ld.org/expand/p002-in.jsonld new file mode 100644 index 00000000..c221cf91 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/p002-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [ + {"@vocab": "http://example/"}, + {"@version": 1.1, "a": {"@type": "@id"}}, + {"b": {"@type": "@id"}} + ], + "a": "http://example.org/foo", + "b": "http://example.org/bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/p002-out.jsonld b/core/src/test/resources/json-ld.org/expand/p002-out.jsonld new file mode 100644 index 00000000..e38a93bb --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/p002-out.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example/a": [{"@id": "http://example.org/foo"}], + "http://example/b": [{"@id": "http://example.org/bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/p003-in.jsonld b/core/src/test/resources/json-ld.org/expand/p003-in.jsonld new file mode 100644 index 00000000..e50ad3c4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/p003-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": [ + {"@version": 1.1, "a": {"@id": "http://example/a", "@type": "@id"}}, + {"@vocab": "http://example/", "b": {"@type": "@id"}} + ], + "a": "http://example.org/foo", + "b": "http://example.org/bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/p003-out.jsonld b/core/src/test/resources/json-ld.org/expand/p003-out.jsonld new file mode 100644 index 00000000..e38a93bb --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/p003-out.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example/a": [{"@id": "http://example.org/foo"}], + "http://example/b": [{"@id": "http://example.org/bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/p004-in.jsonld b/core/src/test/resources/json-ld.org/expand/p004-in.jsonld new file mode 100644 index 00000000..f458decf --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/p004-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [ + {"@version": 1.1, "a": {"@id": "http://example/a", "@type": "@id"}}, + {"@vocab": "http://example/"}, + {"@version": 1.1, "b": {"@type": "@id"}} + ], + "a": "http://example.org/foo", + "b": "http://example.org/bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/p004-out.jsonld b/core/src/test/resources/json-ld.org/expand/p004-out.jsonld new file mode 100644 index 00000000..e38a93bb --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/p004-out.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example/a": [{"@id": "http://example.org/foo"}], + "http://example/b": [{"@id": "http://example.org/bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi01-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi01-in.jsonld new file mode 100644 index 00000000..50e86117 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi01-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "container": {"@container": "@index", "@index": "prop"} + }, + "@id": "http://example.com/annotationsTest", + "container": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi02-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi02-in.jsonld new file mode 100644 index 00000000..45f7b965 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi02-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "container": {"@index": "prop"} + }, + "@id": "http://example.com/annotationsTest", + "container": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi03-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi03-in.jsonld new file mode 100644 index 00000000..d0803e11 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi03-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "container": { + "@id": "http://example.com/container", + "@container": "@index", + "@index": "@index" + } + }, + "@id": "http://example.com/annotationsTest", + "container": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi04-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi04-in.jsonld new file mode 100644 index 00000000..e30adb37 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi04-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "container": { + "@id": "http://example.com/container", + "@container": "@index", + "@index": true + } + }, + "@id": "http://example.com/annotationsTest", + "container": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi05-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi05-in.jsonld new file mode 100644 index 00000000..e9325a44 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi05-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "container": { + "@id": "http://example.com/container", + "@container": "@index", + "@index": "prop" + } + }, + "@id": "http://example.com/annotationsTest", + "container": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi06-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi06-in.jsonld new file mode 100644 index 00000000..c57f9382 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi06-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + }, + "@id": "article", + "author": { + "regular": "person/1", + "guest": ["person/2", "person/3"] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi06-out.jsonld b/core/src/test/resources/json-ld.org/expand/pi06-out.jsonld new file mode 100644 index 00000000..7bd1df81 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi06-out.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/2", "http://example.com/prop": [{"@value": "guest"}]}, + {"@id": "http://example.com/person/3", "http://example.com/prop": [{"@value": "guest"}]}, + {"@id": "http://example.com/person/1", "http://example.com/prop": [{"@value": "regular"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi07-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi07-in.jsonld new file mode 100644 index 00000000..e05de77c --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi07-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + }, + "@id": "article", + "author": { + "regular": {"@id": "person/1", "http://example.com/prop": "foo"}, + "guest": [ + {"@id": "person/2", "prop": "foo"}, + {"@id": "person/3", "prop": "foo"} + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi07-out.jsonld b/core/src/test/resources/json-ld.org/expand/pi07-out.jsonld new file mode 100644 index 00000000..b8fb6b17 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi07-out.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/2", "http://example.com/prop": [{"@value": "guest"}, {"@value": "foo"}]}, + {"@id": "http://example.com/person/3", "http://example.com/prop": [{"@value": "guest"}, {"@value": "foo"}]}, + {"@id": "http://example.com/person/1", "http://example.com/prop": [{"@value": "regular"}, {"@value": "foo"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi08-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi08-in.jsonld new file mode 100644 index 00000000..17b42ddd --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi08-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"}, + "prop": {"@type": "@vocab"} + }, + "@id": "http://example.com/article", + "author": { + "regular": "person/1", + "guest": ["person/2", "person/3"] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi08-out.jsonld b/core/src/test/resources/json-ld.org/expand/pi08-out.jsonld new file mode 100644 index 00000000..ed4bb030 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi08-out.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/2", "http://example.com/prop": [{"@id": "http://example.com/guest"}]}, + {"@id": "http://example.com/person/3", "http://example.com/prop": [{"@id": "http://example.com/guest"}]}, + {"@id": "http://example.com/person/1", "http://example.com/prop": [{"@id": "http://example.com/regular"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi09-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi09-in.jsonld new file mode 100644 index 00000000..5811c345 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi09-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"}, + "prop": {"@type": "@vocab"} + }, + "@id": "http://example.com/article", + "author": { + "regular": {"@id": "person/1", "prop": "foo"}, + "guest": [ + {"@id": "person/2", "prop": "foo"}, + {"@id": "person/3", "prop": "foo"} + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi09-out.jsonld b/core/src/test/resources/json-ld.org/expand/pi09-out.jsonld new file mode 100644 index 00000000..a4556ede --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi09-out.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/2", "http://example.com/prop": [{"@id": "http://example.com/guest"}, {"@id": "http://example.com/foo"}]}, + {"@id": "http://example.com/person/3", "http://example.com/prop": [{"@id": "http://example.com/guest"}, {"@id": "http://example.com/foo"}]}, + {"@id": "http://example.com/person/1", "http://example.com/prop": [{"@id": "http://example.com/regular"}, {"@id": "http://example.com/foo"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi10-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi10-in.jsonld new file mode 100644 index 00000000..a62aba22 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi10-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"}, + "prop": {"@type": "@vocab"} + }, + "@id": "http://example.com/article", + "author": { + "@none": {"@id": "person/1"}, + "guest": [ + {"@id": "person/2"}, + {"@id": "person/3"} + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi10-out.jsonld b/core/src/test/resources/json-ld.org/expand/pi10-out.jsonld new file mode 100644 index 00000000..22faa368 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi10-out.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/author": [ + {"@id": "http://example.com/person/1"}, + {"@id": "http://example.com/person/2", "http://example.com/prop": [{"@id": "http://example.com/guest"}]}, + {"@id": "http://example.com/person/3", "http://example.com/prop": [{"@id": "http://example.com/guest"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi11-in.jsonld b/core/src/test/resources/json-ld.org/expand/pi11-in.jsonld new file mode 100644 index 00000000..e3dd902a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi11-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"], "@index": "prop"} + }, + "input": { + "g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pi11-out.jsonld b/core/src/test/resources/json-ld.org/expand/pi11-out.jsonld new file mode 100644 index 00000000..c67c64bd --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pi11-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/input": [{ + "http://example.org/prop": [{"@value": "g1"}], + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/pr01-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr01-in.jsonld new file mode 100644 index 00000000..049d4cf6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr01-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "protected": { + "@protected": true + } + }, + "protected": { + "@context": { + "protected": "http://example.com/something-else" + }, + "protected": "error / property http://example.com/protected" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr02-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr02-in.jsonld new file mode 100644 index 00000000..22fe4a86 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr02-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "protected": { + "@protected": true + }, + "unprotected": { + "@protected": false + } + }, + "protected": true, + "unprotected": true, + "scope": { + "@context": { + "unprotected": "http://example.com/something-else" + }, + "unprotected": "property http://example.com/something-else" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr02-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr02-out.jsonld new file mode 100644 index 00000000..bb498495 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr02-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "http://example.com/protected": [{"@value": true}], + "http://example.com/unprotected": [{"@value": true}], + "http://example.com/scope": [{ + "http://example.com/something-else": [{"@value": "property http://example.com/something-else"}] + }] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/pr03-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr03-in.jsonld new file mode 100644 index 00000000..c0a8aa2a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr03-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "@protected": true, + "protected1": { + "@id": "http://example.com/protected1" + }, + "protected2": { + "@id": "http://example.com/protected2" + } + }, + "protected1": { + "@context": { + "protected1": "http://example.com/something-else", + "protected2": "http://example.com/something-else" + }, + "protected1": "error / property http://example.com/protected1", + "protected2": "error / property http://example.com/protected2" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr04-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr04-in.jsonld new file mode 100644 index 00000000..5adc5228 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr04-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "@protected": true, + "protected": { + "@id": "http://example.com/protected" + }, + "unprotected": { + "@id": "http://example.com/unprotected", "@protected": false + } + }, + "protected": { + "@context": { + "protected": "http://example.com/something-else1", + "unprotected": "http://example.com/something-else2" + }, + "protected": "error / property http://example.com/protected", + "unprotected": "property http://example.com/something-else2" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr05-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr05-in.jsonld new file mode 100644 index 00000000..a7ccf05d --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr05-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "@protected": true, + "protected": {"@language": null} + }, + "protected": { + "@context": [ + null, + { + "@vocab": "http://something-else/" + } + ], + "protected": "error / property http://example.com/protected" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr06-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr06-in.jsonld new file mode 100644 index 00000000..df894594 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr06-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "@protected": true, + "protected": { + "@type": "@id" + }, + "unprotected": { + "@protected": false, + "@context": null + } + }, + "unprotected": { + "protected": "not expanded, as protected is not a defined term" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr06-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr06-out.jsonld new file mode 100644 index 00000000..121aee43 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr06-out.jsonld @@ -0,0 +1,5 @@ +[ + { + "http://example.com/unprotected": [{}] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/pr08-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr08-in.jsonld new file mode 100644 index 00000000..357c5cee --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr08-in.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "protected": { + "@protected": false + }, + "scope1": { + "@protected": false, + "@context": { + "protected": { + "@id": "http://example.com/something-else" + } + } + }, + "scope2": { + "@protected": true, + "@context": { + "protected": { + "@protected": true + } + } + } + }, + "protected": false, + "scope1": { + "@context": { + "protected": "http://example.com/another-thing" + }, + "protected": "property http://example.com/another-thing" + }, + "scope2": { + "@context": { + "protected": "http://example.com/another-thing" + }, + "protected": "error / property http://example.com/protected" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr09-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr09-in.jsonld new file mode 100644 index 00000000..29895ff3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr09-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "http://example.org/protected1", + "protected2": "http://example.org/protected2" + }, + "protected2": { + "@context": { + "protected1": "http://example.org/something-else" + }, + "protected1": "error / property http://example.org/protected1" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr10-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr10-in.jsonld new file mode 100644 index 00000000..a8933fe3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr10-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "protected": { + "@id": "ex:protected", + "@protected": true + }, + "unprotected": "ex:unprotected" + }, + "protected": "p === ex:protected", + "unprotected": { + "protected": "p === ex:protected" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr10-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr10-out.jsonld new file mode 100644 index 00000000..3f10151e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr10-out.jsonld @@ -0,0 +1,18 @@ +[ + { + "ex:protected": [ + { + "@value": "p === ex:protected" + } + ], + "ex:unprotected": [ + { + "ex:protected": [ + { + "@value": "p === ex:protected" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/pr11-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr11-in.jsonld new file mode 100644 index 00000000..de185630 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr11-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "protected": { + "@id": "ex:protected", + "@protected": true + }, + "unprotected": "ex:unprotected" + }, + "protected": "p === ex:protected", + "unprotected": { + "@context": { + "protected": "ex:protected2" + }, + "protected": "p === ex:protected" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr12-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr12-in.jsonld new file mode 100644 index 00000000..2dc30da6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr12-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": "ex:protected2" + }, + "protected1": "p === ex:protected1", + "protected2": { + "@context": { + "protected1": "ex:protected1:error" + }, + "protected1": "error / p === ex:protected1" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr13-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr13-in.jsonld new file mode 100644 index 00000000..6f8ff006 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr13-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected": "ex:protected", + "unprotected": { + "@id": "ex:unprotected1", + "@protected": false + } + }, + "protected": { + "@context": { + "unprotected": "ex:unprotected2" + }, + "unprotected": "p === ex:unprotected2" + }, + "unprotected": "p === ex:unprotected1" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr13-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr13-out.jsonld new file mode 100644 index 00000000..256cc41a --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr13-out.jsonld @@ -0,0 +1,18 @@ +[ + { + "ex:protected": [ + { + "ex:unprotected2": [ + { + "@value": "p === ex:unprotected2" + } + ] + } + ], + "ex:unprotected1": [ + { + "@value": "p === ex:unprotected1" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/pr14-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr14-in.jsonld new file mode 100644 index 00000000..e88b9ef2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr14-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": { + "@id": "ex:protected2", + "@context": null + } + }, + "protected1": "p === ex:protected1", + "protected2": { + "@context": { + "protected1": "ex:protected3" + }, + "protected1": "p === ex:protected3" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr14-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr14-out.jsonld new file mode 100644 index 00000000..52c399e9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr14-out.jsonld @@ -0,0 +1,18 @@ +[ + { + "ex:protected1": [ + { + "@value": "p === ex:protected1" + } + ], + "ex:protected2": [ + { + "ex:protected3": [ + { + "@value": "p === ex:protected3" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/pr15-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr15-in.jsonld new file mode 100644 index 00000000..d0cf99b1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr15-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": { + "@id": "ex:protected2", + "@context": [ + null + ] + } + }, + "protected1": "p === ex:protected1", + "protected2": { + "@context": { + "protected1": "ex:protected3" + }, + "protected1": "p === ex:protected3" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr15-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr15-out.jsonld new file mode 100644 index 00000000..52c399e9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr15-out.jsonld @@ -0,0 +1,18 @@ +[ + { + "ex:protected1": [ + { + "@value": "p === ex:protected1" + } + ], + "ex:protected2": [ + { + "ex:protected3": [ + { + "@value": "p === ex:protected3" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/pr16-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr16-in.jsonld new file mode 100644 index 00000000..61946e01 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr16-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": { + "@id": "ex:protected2", + "@context": [ + null, + { + "protected1": "ex:protected3", + "unprotected": "ex:unprotected2" + } + ] + }, + "unprotected": { + "@protected": false, + "@id": "ex:unprotected1" + } + }, + "protected1": "p === ex:protected1", + "protected2": { + "@context": { + "protected1": "ex:protected3" + }, + "protected1": "p === ex:protected3", + "unprotected": "p === ex:unprotected2" + }, + "unprotected": "p === ex:unprotected1" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr16-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr16-out.jsonld new file mode 100644 index 00000000..264b8360 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr16-out.jsonld @@ -0,0 +1,28 @@ +[ + { + "ex:protected1": [ + { + "@value": "p === ex:protected1" + } + ], + "ex:protected2": [ + { + "ex:protected3": [ + { + "@value": "p === ex:protected3" + } + ], + "ex:unprotected2": [ + { + "@value": "p === ex:unprotected2" + } + ] + } + ], + "ex:unprotected1": [ + { + "@value": "p === ex:unprotected1" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/pr17-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr17-in.jsonld new file mode 100644 index 00000000..e2300354 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr17-in.jsonld @@ -0,0 +1,22 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": "ex:protected2", + "Protected": { + "@id": "ex:Protected", + "@context": [ + null + ] + } + }, + "protected1": "p === protected1", + "protected2": { + "@context": { + "unprotected": "ex:unprotected" + }, + "@type": "Protected", + "unprotected": "error / omitted" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr18-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr18-in.jsonld new file mode 100644 index 00000000..a6648cd6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr18-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected": "ex:protected1", + "Protected": { + "@id": "ex:Protected", + "@context": [ + null, + { + "protected": "ex:protected2" + } + ] + } + }, + "@type": "Protected", + "protected": "error / p === ex:protected1" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr19-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr19-in.jsonld new file mode 100644 index 00000000..e418cb12 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr19-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": { + "@id": "ex:protected2", + "@context": [ + null, + { + "protected1": "ex:protected3" + } + ] + }, + "unprotected": { + "@protected": false, + "@id": "ex:unprotected1" + } + }, + "protected1": "p === ex:protected1", + "protected2": { + "@context": { + "protected1": "ex:protected3" + }, + "protected1": "p === ex:protected3", + "unprotected": "p === ex:unprotected2" + }, + "unprotected": "p === ex:unprotected1" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr19-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr19-out.jsonld new file mode 100644 index 00000000..0bca9e1b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr19-out.jsonld @@ -0,0 +1,23 @@ +[ + { + "ex:protected1": [ + { + "@value": "p === ex:protected1" + } + ], + "ex:protected2": [ + { + "ex:protected3": [ + { + "@value": "p === ex:protected3" + } + ] + } + ], + "ex:unprotected1": [ + { + "@value": "p === ex:unprotected1" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/pr20-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr20-in.jsonld new file mode 100644 index 00000000..69edf670 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr20-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "Protected": { + "@id": "ex:Protected", + "@context": [ + null, + { + "protected1": "ex:protected2", + "unprotected": "ex:unprotected2" + } + ] + }, + "unprotected": { + "@protected": false, + "@id": "ex:unprotected1" + } + }, + "@type": "Protected", + "protected1": "error / p === ex:protected1", + "unprotected": "p === ex:unprotected2" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr21-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr21-in.jsonld new file mode 100644 index 00000000..3be7f54f --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr21-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected": "ex:protected", + "Protected": { + "@id": "ex:Protected", + "@context": [ + null + ] + }, + "unprotected": { + "@protected": false, + "@id": "ex:unprotected" + } + }, + "@type": "Protected", + "protected": "error / p === ex:protected", + "unprotected": "missing" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr22-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr22-in.jsonld new file mode 100644 index 00000000..7cd17cb8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr22-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "@vocab": "http://example.com/", + "Parent": {"@context": {"@protected": true, "foo": {"@type": "@id"}}} + }, { + "@version": 1.1, + "@protected": true, + "Child": {"@context": {"@protected": true, "foo": {"@type": "@id"}}} + }], + "@type": "Parent", + "foo": { + "@type": "Child", + "foo": "http://example.com/test" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr22-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr22-out.jsonld new file mode 100644 index 00000000..4e97b905 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr22-out.jsonld @@ -0,0 +1,20 @@ +[ + { + "@type": [ + "http://example.com/Parent" + ], + "http://example.com/foo": [ + { + "@type": [ + "http://example.com/Child" + ], + "http://example.com/foo": [ + { + "@id": "http://example.com/test" + } + ] + } + ] + } +] + diff --git a/core/src/test/resources/json-ld.org/expand/pr23-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr23-in.jsonld new file mode 100644 index 00000000..23f525f3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr23-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type" + }, { + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type" + }], + "id": "http://example/id", + "type": "http://example/type" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr23-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr23-out.jsonld new file mode 100644 index 00000000..b8fdbb80 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr23-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "@id": "http://example/id", + "@type": [ + "http://example/type" + ] + } +] + diff --git a/core/src/test/resources/json-ld.org/expand/pr24-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr24-in.jsonld new file mode 100644 index 00000000..ed5af3b3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr24-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "foo": "http://example/foo#" + }, { + "@version": 1.1, + "@protected": true, + "foo": "http://example/foo#" + }], + "foo:bar": "foobar" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr24-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr24-out.jsonld new file mode 100644 index 00000000..0698413c --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr24-out.jsonld @@ -0,0 +1,8 @@ +[ + { + "http://example/foo#bar": [{ + "@value": "foobar" + }] + } +] + diff --git a/core/src/test/resources/json-ld.org/expand/pr25-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr25-in.jsonld new file mode 100644 index 00000000..02fffd68 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr25-in.jsonld @@ -0,0 +1,141 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type", + "foo": { + "@id": "http://example/foo", + "@container": ["@graph", "@set"] + }, + "bar": { + "@id": "http://example/bar", + "@type": "@id", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Bar": { + "@id": "http://example/Bar", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + }, { + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type", + "foo": { + "@id": "http://example/foo", + "@container": ["@graph", "@set"] + }, + "bar": { + "@id": "http://example/bar", + "@type": "@id", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Bar": { + "@id": "http://example/Bar", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + }], + "type": "Bar", + "foo": [{ + "bar": "http://example/" + }], + "bar-1": { + "bar-2": { + "type": "Foo", + "bar-2": "bar-2" + } + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr25-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr25-out.jsonld new file mode 100644 index 00000000..0eff6fac --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr25-out.jsonld @@ -0,0 +1,23 @@ +[ + { + "@type": [ + "http://example/Bar" + ], + "http://example/foo": [{ + "@graph": [{ + "http://example/bar": [{ + "@id": "http://example/" + }] + }] + }], + "http://example/bar-1": [{ + "http://example/bar-2": [{ + "@type": ["http://example/Foo"], + "http://example/bar-2": [{ + "@value": "bar-2" + }] + }] + }] + } +] + diff --git a/core/src/test/resources/json-ld.org/expand/pr26-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr26-in.jsonld new file mode 100644 index 00000000..28f02147 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr26-in.jsonld @@ -0,0 +1,136 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type", + "foo": { + "@id": "http://example/foo", + "@container": ["@graph", "@set"] + }, + "bar": { + "@id": "http://example/bar", + "@type": "@id", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Bar": { + "@id": "http://example/Bar", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + }, { + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type", + "foo": { + "@id": "http://example/foo", + "@container": ["@graph", "@set"] + }, + "bar": { + "@id": "http://example/bar", + "@type": "@id", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Bar": { + "@id": "http://example/Bar", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Foo": { + "@id": "http://example/Foo" + } + }], + "type": "Bar", + "foo": [{ + "bar": "http://example/" + }], + "bar-1": { + "bar-2": { + "type": "Foo", + "bar-2": "bar-2" + } + } +} diff --git a/core/src/test/resources/json-ld.org/expand/pr27-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr27-in.jsonld new file mode 100644 index 00000000..27d54470 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr27-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type" + }, { + "@version": 1.1, + "id": "@id", + "type": "@type" + }], + "id": "http://example/id", + "type": "http://example/type" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr27-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr27-out.jsonld new file mode 100644 index 00000000..b8fdbb80 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr27-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "@id": "http://example/id", + "@type": [ + "http://example/type" + ] + } +] + diff --git a/core/src/test/resources/json-ld.org/expand/pr28-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr28-in.jsonld new file mode 100644 index 00000000..f883af3b --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr28-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "term": null + }, { + "@version": 1.1, + "term": {"@id": "http://example.com/term"} + }], + "term": "undefined" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr29-in.jsonld b/core/src/test/resources/json-ld.org/expand/pr29-in.jsonld new file mode 100644 index 00000000..e49e6c69 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr29-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "tag": {"@id": "http://example.org/ns/tag/", "@prefix": false} + }, + "tag:champin.net,2019:prop": "This is not treated as a Compact IRI", + "tag": "tricky" +} diff --git a/core/src/test/resources/json-ld.org/expand/pr29-out.jsonld b/core/src/test/resources/json-ld.org/expand/pr29-out.jsonld new file mode 100644 index 00000000..fe204c1d --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/pr29-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "http://example.org/ns/tag/": [ + { + "@value": "tricky" + } + ] + }, + { + "tag:champin.net,2019:prop": [ + { + "@value": "This is not treated as a Compact IRI" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/tn01-in.jsonld b/core/src/test/resources/json-ld.org/expand/tn01-in.jsonld new file mode 100644 index 00000000..5e83158e --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/tn01-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "xsd": "http://www.w3.org/2001/XMLSchema#", + "notype": {"@id": "http://example.com/notype", "@type": "@none"} + }, + "notype": [ + "string", + true, + false, + 1, + 10.0, + {"@value": "plain"}, + {"@value": true, "@type": "xsd:boolean"}, + {"@value": "english", "@language": "en"}, + {"@value": "2018-02-17", "@type": "xsd:date"}, + {"@id": "http://example.com/iri"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/tn02-in.jsonld b/core/src/test/resources/json-ld.org/expand/tn02-in.jsonld new file mode 100644 index 00000000..79c40761 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/tn02-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "@version": 1.1, + "xsd": "http://www.w3.org/2001/XMLSchema#", + "notype": {"@id": "http://example.com/notype", "@type": "@none"} + }, + "notype": [ + "string", + true, + false, + 1, + 10.0, + {"@value": "plain"}, + {"@value": true, "@type": "xsd:boolean"}, + {"@value": "english", "@language": "en"}, + {"@value": "2018-02-17", "@type": "xsd:date"}, + {"@id": "http://example.com/iri"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/tn02-out.jsonld b/core/src/test/resources/json-ld.org/expand/tn02-out.jsonld new file mode 100644 index 00000000..2398cf62 --- /dev/null +++ b/core/src/test/resources/json-ld.org/expand/tn02-out.jsonld @@ -0,0 +1,14 @@ +[{ + "http://example.com/notype": [ + {"@value": "string"}, + {"@value": true}, + {"@value": false}, + {"@value": 1}, + {"@value": 10.0}, + {"@value": "plain"}, + {"@value": true, "@type": "http://www.w3.org/2001/XMLSchema#boolean"}, + {"@value": "english", "@language": "en"}, + {"@value": "2018-02-17", "@type": "http://www.w3.org/2001/XMLSchema#date"}, + {"@id": "http://example.com/iri"} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten-0004-out.jsonld b/core/src/test/resources/json-ld.org/flatten-0004-out.jsonld deleted file mode 100644 index e1675517..00000000 --- a/core/src/test/resources/json-ld.org/flatten-0004-out.jsonld +++ /dev/null @@ -1,66 +0,0 @@ -[ - { - "@id": "http://example.org/id", - "http://example.com/mylist1": [ - { - "@list": [ - - ] - } - ], - "http://example.com/mylist2": [ - { - "@list": [ - { - "@value": "one item" - } - ] - } - ], - "http://example.com/myset2": [ - - ], - "http://example.com/myset3": [ - { - "@value": "v1" - } - ], - "http://example.org/list1": [ - { - "@list": [ - - ] - } - ], - "http://example.org/list2": [ - { - "@list": [ - - ] - } - ], - "http://example.org/property": [ - { - "@list": [ - { - "@value": "one item" - } - ] - } - ], - "http://example.org/set1": [ - - ], - "http://example.org/set3": [ - - ], - "http://example.org/set4": [ - - ], - "http://example.org/set5": [ - { - "@value": "one item" - } - ] - } -] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten-0029-out.jsonld b/core/src/test/resources/json-ld.org/flatten-0029-out.jsonld deleted file mode 100644 index 13b5aea5..00000000 --- a/core/src/test/resources/json-ld.org/flatten-0029-out.jsonld +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "@id": "http://json-ld.org/test-suite/tests/relativeIris", - "@type": [ - "http://json-ld.org/test-suite/tests/link", - "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld#fragment-works", - "http://json-ld.org/test-suite/tests/flatten-0029-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" - ], - "http://www.example.com/link": [ - { - "@list": [ - { - "@id": "http://json-ld.org/test-suite/tests/link" - }, - { - "@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/" - }, - { - "@id": "http://json-ld.org/test-suite/" - }, - { - "@id": "http://json-ld.org/test-suite/parent" - }, - { - "@id": "http://json-ld.org/parent-parent-eq-root" - }, - { - "@id": "http://json-ld.org/still-root" - }, - { - "@id": "http://json-ld.org/too-many-dots" - }, - { - "@id": "http://json-ld.org/absolute" - }, - { - "@id": "http://example.org/scheme-relative" - } - ] - } - ] - } -] diff --git a/core/src/test/resources/json-ld.org/flatten-0043-out.jsonld b/core/src/test/resources/json-ld.org/flatten-0043-out.jsonld deleted file mode 100644 index 7b9417c9..00000000 --- a/core/src/test/resources/json-ld.org/flatten-0043-out.jsonld +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld", - "http://example/sequence": [ - {"@list": [{"@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld#t0001"}]} - ] - }, - { - "@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld#t0001", - "http://example/input": [ - {"@id": "http://json-ld.org/test-suite/tests/error-expand-0001-in.jsonld"} - ], - "http://example/name": [ - {"@value": "Keywords cannot be aliased to other keywords"} - ] - } -] diff --git a/core/src/test/resources/json-ld.org/flatten-manifest.jsonld b/core/src/test/resources/json-ld.org/flatten-manifest.jsonld index cea88ae5..5872b947 100644 --- a/core/src/test/resources/json-ld.org/flatten-manifest.jsonld +++ b/core/src/test/resources/json-ld.org/flatten-manifest.jsonld @@ -1,312 +1,308 @@ { - "@context": "http://json-ld.org/test-suite/context.jsonld", + "@context": "context.jsonld", "@id": "", "@type": "mf:Manifest", "name": "Flattening", "description": "JSON-LD flattening tests use object comparison.", - "baseIri": "http://json-ld.org/test-suite/tests/", + "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "drop free-floating nodes", "purpose": "Flattening drops unreferenced nodes having only @id", - "input": "flatten-0001-in.jsonld", - "expect": "flatten-0001-out.jsonld" + "input": "flatten/0001-in.jsonld", + "expect": "flatten/0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "basic", "purpose": "Flattening terms with different types of values", - "input": "flatten-0002-in.jsonld", - "expect": "flatten-0002-out.jsonld" + "input": "flatten/0002-in.jsonld", + "expect": "flatten/0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "drop null and unmapped properties", "purpose": "Verifies that null values and unmapped properties are removed from expanded output", - "input": "flatten-0003-in.jsonld", - "expect": "flatten-0003-out.jsonld" + "input": "flatten/0003-in.jsonld", + "expect": "flatten/0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "optimize @set, keep empty arrays", "purpose": "Uses of @set are removed in expansion; values of @set, or just plain values which are empty arrays are retained", - "input": "flatten-0004-in.jsonld", - "expect": "flatten-0004-out.jsonld" + "input": "flatten/0004-in.jsonld", + "expect": "flatten/0004-out.jsonld" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "do not expand aliased @id/@type", "purpose": "If a keyword is aliased, it is not used when flattening", - "input": "flatten-0005-in.jsonld", - "expect": "flatten-0005-out.jsonld" + "input": "flatten/0005-in.jsonld", + "expect": "flatten/0005-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "alias keywords", "purpose": "Aliased keywords expand in resulting document", - "input": "flatten-0006-in.jsonld", - "expect": "flatten-0006-out.jsonld" + "input": "flatten/0006-in.jsonld", + "expect": "flatten/0006-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "date type-coercion", "purpose": "Expand strings to expanded value with @type: xsd:dateTime", - "input": "flatten-0007-in.jsonld", - "expect": "flatten-0007-out.jsonld" + "input": "flatten/0007-in.jsonld", + "expect": "flatten/0007-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "@value with @language", "purpose": "Keep expanded values with @language, drop non-conforming value objects containing just @language", - "input": "flatten-0008-in.jsonld", - "expect": "flatten-0008-out.jsonld" + "input": "flatten/0008-in.jsonld", + "expect": "flatten/0008-out.jsonld" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "@graph with terms", "purpose": "Use of @graph to contain multiple nodes within array", - "input": "flatten-0009-in.jsonld", - "expect": "flatten-0009-out.jsonld" + "input": "flatten/0009-in.jsonld", + "expect": "flatten/0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "native types", "purpose": "Flattening native scalar retains native scalar within expanded value", - "input": "flatten-0010-in.jsonld", - "expect": "flatten-0010-out.jsonld" + "input": "flatten/0010-in.jsonld", + "expect": "flatten/0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "coerced @id", "purpose": "A value of a property with @type: @id coercion expands to a node reference", - "input": "flatten-0011-in.jsonld", - "expect": "flatten-0011-out.jsonld" + "input": "flatten/0011-in.jsonld", + "expect": "flatten/0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "@graph with embed", "purpose": "Flattening objects containing chained objects flattens all objects", - "input": "flatten-0012-in.jsonld", - "expect": "flatten-0012-out.jsonld" + "input": "flatten/0012-in.jsonld", + "expect": "flatten/0012-out.jsonld" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "flatten already expanded", "purpose": "Flattening an expanded/flattened document maintains input document", - "input": "flatten-0013-in.jsonld", - "expect": "flatten-0013-out.jsonld" + "input": "flatten/0013-in.jsonld", + "expect": "flatten/0013-out.jsonld" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "@set of @value objects with keyword aliases", "purpose": "Flattening aliased @set and @value", - "input": "flatten-0014-in.jsonld", - "expect": "flatten-0014-out.jsonld" + "input": "flatten/0014-in.jsonld", + "expect": "flatten/0014-out.jsonld", + "option": {"specVersion": "json-ld-1.0"} }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "collapse set of sets, keep empty lists", "purpose": "An array of multiple @set nodes are collapsed into a single array", - "input": "flatten-0015-in.jsonld", - "expect": "flatten-0015-out.jsonld" + "input": "flatten/0015-in.jsonld", + "expect": "flatten/0015-out.jsonld" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "context reset", "purpose": "Setting @context to null within an embedded object resets back to initial context state", - "input": "flatten-0016-in.jsonld", - "expect": "flatten-0016-out.jsonld" + "input": "flatten/0016-in.jsonld", + "expect": "flatten/0016-out.jsonld" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "@graph and @id aliased", "purpose": "Flattening with @graph and @id aliases", - "input": "flatten-0017-in.jsonld", - "expect": "flatten-0017-out.jsonld" + "input": "flatten/0017-in.jsonld", + "expect": "flatten/0017-out.jsonld" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "override default @language", "purpose": "override default @language in terms; only language-tag strings", - "input": "flatten-0018-in.jsonld", - "expect": "flatten-0018-out.jsonld" + "input": "flatten/0018-in.jsonld", + "expect": "flatten/0018-out.jsonld" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "remove @value = null", "purpose": "Flattening a value of null removes the value", - "input": "flatten-0019-in.jsonld", - "expect": "flatten-0019-out.jsonld" + "input": "flatten/0019-in.jsonld", + "expect": "flatten/0019-out.jsonld" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "do not remove @graph if not at top-level", "purpose": "@graph used under a node is retained", - "input": "flatten-0020-in.jsonld", - "expect": "flatten-0020-out.jsonld" + "input": "flatten/0020-in.jsonld", + "expect": "flatten/0020-out.jsonld" }, { "@id": "#t0021", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "do not remove @graph at top-level if not only property", "purpose": "@graph used at the top level is retained if there are other properties", - "input": "flatten-0021-in.jsonld", - "expect": "flatten-0021-out.jsonld" + "input": "flatten/0021-in.jsonld", + "expect": "flatten/0021-out.jsonld" }, { "@id": "#t0022", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "flatten value with default language", "purpose": "Flattening with a default language applies that language to string values", - "input": "flatten-0022-in.jsonld", - "expect": "flatten-0022-out.jsonld" + "input": "flatten/0022-in.jsonld", + "expect": "flatten/0022-out.jsonld" }, { "@id": "#t0023", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Flattening list/set with coercion", "purpose": "Flattening lists and sets with properties having coercion coerces list/set values", - "input": "flatten-0023-in.jsonld", - "expect": "flatten-0023-out.jsonld" + "input": "flatten/0023-in.jsonld", + "expect": "flatten/0023-out.jsonld" }, { "@id": "#t0024", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Multiple contexts", "purpose": "Tests that contexts in an array are merged", - "input": "flatten-0024-in.jsonld", - "expect": "flatten-0024-out.jsonld" + "input": "flatten/0024-in.jsonld", + "expect": "flatten/0024-out.jsonld" }, { "@id": "#t0025", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Problematic IRI flattening tests", "purpose": "Flattening different kinds of terms and Compact IRIs", - "input": "flatten-0025-in.jsonld", - "expect": "flatten-0025-out.jsonld" + "input": "flatten/0025-in.jsonld", + "expect": "flatten/0025-out.jsonld" }, { "@id": "#t0026", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Term definition with @id: @type", "purpose": "Flattening term mapping to @type uses @type syntax", - "input": "flatten-0026-in.jsonld", - "expect": "flatten-0026-out.jsonld" + "input": "flatten/0026-in.jsonld", + "expect": "flatten/0026-out.jsonld", + "option": {"specVersion": "json-ld-1.0"} }, { "@id": "#t0027", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Duplicate values in @list and @set", "purpose": "Duplicate values in @list and @set are not merged", - "input": "flatten-0027-in.jsonld", - "expect": "flatten-0027-out.jsonld" + "input": "flatten/0027-in.jsonld", + "expect": "flatten/0027-out.jsonld" }, { "@id": "#t0028", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Use @vocab in properties and @type but not in @id", "purpose": "@vocab is used to compact properties and @type, but is not used for @id", - "input": "flatten-0028-in.jsonld", - "expect": "flatten-0028-out.jsonld" - }, { - "@id": "#t0029", - "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], - "name": "Relative IRIs", - "purpose": "@base is used to compact @id; test with different relative IRIs", - "input": "flatten-0029-in.jsonld", - "expect": "flatten-0029-out.jsonld" + "input": "flatten/0028-in.jsonld", + "expect": "flatten/0028-out.jsonld" }, { "@id": "#t0030", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Language maps", "purpose": "Language Maps expand values to include @language", - "input": "flatten-0030-in.jsonld", - "expect": "flatten-0030-out.jsonld" + "input": "flatten/0030-in.jsonld", + "expect": "flatten/0030-out.jsonld" }, { "@id": "#t0031", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "type-coercion of native types", "purpose": "Flattening native types with type coercion adds the coerced type to an expanded value representation and retains the native value representation", - "input": "flatten-0031-in.jsonld", - "expect": "flatten-0031-out.jsonld" + "input": "flatten/0031-in.jsonld", + "expect": "flatten/0031-out.jsonld" }, { "@id": "#t0032", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Null term and @vocab", "purpose": "Mapping a term to null decouples it from @vocab", - "input": "flatten-0032-in.jsonld", - "expect": "flatten-0032-out.jsonld" + "input": "flatten/0032-in.jsonld", + "expect": "flatten/0032-out.jsonld" }, { "@id": "#t0033", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Using @vocab with with type-coercion", "purpose": "Verifies that terms can be defined using @vocab", - "input": "flatten-0033-in.jsonld", - "expect": "flatten-0033-out.jsonld" + "input": "flatten/0033-in.jsonld", + "expect": "flatten/0033-out.jsonld" }, { "@id": "#t0034", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Multiple properties expanding to the same IRI", "purpose": "Verifies multiple values from separate terms are deterministically made multiple values of the IRI associated with the terms", - "input": "flatten-0034-in.jsonld", - "expect": "flatten-0034-out.jsonld" + "input": "flatten/0034-in.jsonld", + "expect": "flatten/0034-out.jsonld" }, { "@id": "#t0035", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Language maps with @vocab, default language, and colliding property", "purpose": "Pathological tests of language maps", - "input": "flatten-0035-in.jsonld", - "expect": "flatten-0035-out.jsonld" + "input": "flatten/0035-in.jsonld", + "expect": "flatten/0035-out.jsonld" }, { "@id": "#t0036", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Flattening @index", "purpose": "Flattening index maps for terms defined with @container: @index", - "input": "flatten-0036-in.jsonld", - "expect": "flatten-0036-out.jsonld" + "input": "flatten/0036-in.jsonld", + "expect": "flatten/0036-out.jsonld" }, { "@id": "#t0037", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Flattening reverse properties", "purpose": "Flattening @reverse keeps @reverse", - "input": "flatten-0037-in.jsonld", - "expect": "flatten-0037-out.jsonld" + "input": "flatten/0037-in.jsonld", + "expect": "flatten/0037-out.jsonld" }, { "@id": "#t0038", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Flattening blank node labels", "purpose": "Blank nodes are not relabeled during expansion", - "input": "flatten-0038-in.jsonld", - "expect": "flatten-0038-out.jsonld" + "option": {"specVersion": "json-ld-1.0"}, + "input": "flatten/0038-in.jsonld", + "expect": "flatten/0038-out.jsonld" }, { "@id": "#t0039", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Using terms in a reverse-maps", "purpose": "Terms within @reverse are expanded", - "input": "flatten-0039-in.jsonld", - "expect": "flatten-0039-out.jsonld" + "input": "flatten/0039-in.jsonld", + "expect": "flatten/0039-out.jsonld" }, { "@id": "#t0040", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "language and index expansion on non-objects", "purpose": "Only invoke language and index map expansion if the value is a JSON object", - "input": "flatten-0040-in.jsonld", - "expect": "flatten-0040-out.jsonld" + "input": "flatten/0040-in.jsonld", + "expect": "flatten/0040-out.jsonld" }, { "@id": "#t0041", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Free-floating sets and lists", "purpose": "Free-floating values in sets are removed, free-floating lists are removed completely", - "input": "flatten-0041-in.jsonld", - "expect": "flatten-0041-out.jsonld" + "input": "flatten/0041-in.jsonld", + "expect": "flatten/0041-out.jsonld" }, { "@id": "#t0042", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "List objects not equivalent", "purpose": "Lists objects are implicit unlabeled blank nodes and thus never equivalent", - "input": "flatten-0042-in.jsonld", - "expect": "flatten-0042-out.jsonld" + "input": "flatten/0042-in.jsonld", + "expect": "flatten/0042-out.jsonld" }, { "@id": "#t0043", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Sample test manifest extract", "purpose": "Flatten a test manifest", - "input": "flatten-0043-in.jsonld", - "expect": "flatten-0043-out.jsonld" + "input": "flatten/0043-in.jsonld", + "expect": "flatten/0043-out.jsonld" }, { "@id": "#t0044", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], @@ -315,16 +311,113 @@ "option": { "compactArrays": false }, - "input": "flatten-0044-in.jsonld", - "context": "flatten-0044-context.jsonld", - "expect": "flatten-0044-out.jsonld" + "input": "flatten/0044-in.jsonld", + "context": "flatten/0044-context.jsonld", + "expect": "flatten/0044-out.jsonld" }, { "@id": "#t0045", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], "name": "Blank nodes with reverse properties", "purpose": "Proper (re-)labeling of blank nodes if used with reverse properties.", - "input": "flatten-0045-in.jsonld", - "expect": "flatten-0045-out.jsonld" + "input": "flatten/0045-in.jsonld", + "expect": "flatten/0045-out.jsonld" + }, { + "@id": "#t0046", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Empty string as identifier", + "purpose": "Usage of empty strings in identifiers needs special care when constructing the node map.", + "input": "flatten/0046-in.jsonld", + "expect": "flatten/0046-out.jsonld" + }, { + "@id": "#t0047", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Flatten using relative fragment identifier properly joins to base", + "purpose": "Compacting a relative round-trips", + "option": {"base": "http://example.org/"}, + "input": "flatten/0047-in.jsonld", + "expect": "flatten/0047-out.jsonld" + }, { + "@id": "#t0048", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "@list with embedded object", + "purpose": "Node definitions contained within lists are flattend to top level.", + "input": "flatten/0048-in.jsonld", + "expect": "flatten/0048-out.jsonld" + }, { + "@id": "#t0049", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "context with JavaScript Object property names", + "purpose": "Flatten with context including JavaScript Object property names", + "input": "flatten/0049-in.jsonld", + "expect": "flatten/0049-out.jsonld" + }, { + "@id": "#te001", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Conflicting indexes", + "purpose": "Verifies that an exception is raised in Flattening when conflicting indexes are found", + "option": {"specVersion": "json-ld-1.1"}, + "input": "flatten/e001-in.jsonld", + "expect": "conflicting indexes" + }, { + "@id": "#th001", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Flattens embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "flatten/h001-in.html", + "context": "flatten/h001-context.jsonld", + "expect": "flatten/h001-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th002", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Flattens first embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "flatten/h002-in.html", + "context": "flatten/h002-context.jsonld", + "expect": "flatten/h002-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": false} + }, { + "@id": "#th003", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Flattens targeted JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "flatten/h003-in.html#second", + "context": "flatten/h003-context.jsonld", + "expect": "flatten/h003-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th004", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Flattens all script elements by default", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "flatten/h004-in.html", + "context": "flatten/h004-context.jsonld", + "expect": "flatten/h004-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli01", + "@type": [ "jld:PositiveEvaluationTest", "jld:FlattenTest" ], + "name": "@list containing an deep list", + "purpose": "Lists of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "flatten/li01-in.jsonld", + "expect": "flatten/li01-out.jsonld" + }, { + "@id": "#tli02", + "@type": [ "jld:PositiveEvaluationTest", "jld:FlattenTest" ], + "name": "@list containing empty @list", + "purpose": "Lists of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "flatten/li02-in.jsonld", + "expect": "flatten/li02-out.jsonld" + }, { + "@id": "#tli03", + "@type": [ "jld:PositiveEvaluationTest", "jld:FlattenTest" ], + "name": "@list containing mixed list values", + "purpose": "Lists of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "flatten/li03-in.jsonld", + "expect": "flatten/li03-out.jsonld" } ] } diff --git a/core/src/test/resources/json-ld.org/flatten-0001-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0001-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0001-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0001-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0002-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0002-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0002-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0002-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0003-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0003-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0003-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0003-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0004-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0004-in.jsonld similarity index 94% rename from core/src/test/resources/json-ld.org/expand-0004-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0004-in.jsonld index 5768520b..8499bfa0 100644 --- a/core/src/test/resources/json-ld.org/expand-0004-in.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0004-in.jsonld @@ -13,7 +13,7 @@ "http://example.org/list1": { "@list": [ null ] }, "http://example.org/list2": { "@list": [ {"@value": null} ] }, "http://example.org/set1": { "@set": [ ] }, - "http://example.org/set1": { "@set": [ null ] }, + "http://example.org/set2": { "@set": [ null ] }, "http://example.org/set3": [ ], "http://example.org/set4": [ null ], "http://example.org/set5": "one item", diff --git a/core/src/test/resources/json-ld.org/flatten/0004-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0004-out.jsonld new file mode 100644 index 00000000..3e7c9947 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/0004-out.jsonld @@ -0,0 +1,25 @@ +[ + { + "@id": "http://example.org/id", + "http://example.com/mylist1": [{"@list": []}], + "http://example.com/mylist2": [ + { + "@list": [{"@value": "one item"}] + } + ], + "http://example.com/myset2": [], + "http://example.com/myset3": [{"@value": "v1"}], + "http://example.org/list1": [{"@list": []}], + "http://example.org/list2": [{"@list": []}], + "http://example.org/property": [ + { + "@list": [{"@value": "one item"}] + } + ], + "http://example.org/set1": [], + "http://example.org/set2": [], + "http://example.org/set3": [], + "http://example.org/set4": [], + "http://example.org/set5": [{"@value": "one item"}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten-0005-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0005-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0005-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0005-out.jsonld similarity index 91% rename from core/src/test/resources/json-ld.org/flatten-0005-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0005-out.jsonld index 04e92a42..07b0bd48 100644 --- a/core/src/test/resources/json-ld.org/flatten-0005-out.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0005-out.jsonld @@ -26,7 +26,7 @@ ] }, { - "@id": "http://json-ld.org/test-suite/tests/flatten-0005-in.jsonld#me", + "@id": "https://w3c.github.io/json-ld-api/tests/flatten/0005-in.jsonld#me", "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/bob#me" diff --git a/core/src/test/resources/json-ld.org/flatten-0006-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0006-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0006-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0006-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0007-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0007-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0007-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0007-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0008-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0008-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0008-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0008-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0009-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0009-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0009-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0009-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0010-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0010-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0010-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0010-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0011-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0011-in.jsonld similarity index 77% rename from core/src/test/resources/json-ld.org/flatten-0011-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0011-in.jsonld index 15815597..fa90d97d 100644 --- a/core/src/test/resources/json-ld.org/flatten-0011-in.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0011-in.jsonld @@ -1,6 +1,6 @@ { "@context": { - "dc": "http://purl.org/dc/elements/1.1/", + "dc11": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" @@ -8,6 +8,6 @@ "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#book", - "dc:title": "Title", + "dc11:title": "Title", "ex:contains": "http://example.org/test#chapter" } \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten-0011-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0011-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0011-out.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0052-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0012-in.jsonld similarity index 80% rename from core/src/test/resources/json-ld.org/toRdf-0052-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0012-in.jsonld index d081e7fb..ebda5732 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0052-in.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0012-in.jsonld @@ -1,6 +1,6 @@ { "@context": { - "dc": "http://purl.org/dc/elements/1.1/", + "dc11": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": { "@type": "@id" @@ -14,8 +14,8 @@ "@graph": [ { "@id": "http://example.org/test#chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" + "dc11:description": "Fun", + "dc11:title": "Chapter One" }, { "@id": "http://example.org/test#jane", @@ -30,8 +30,8 @@ "@id": "http://example.org/test#library", "ex:contains": { "@id": "http://example.org/test#book", - "dc:contributor": "Writer", - "dc:title": "My Book", + "dc11:contributor": "Writer", + "dc11:title": "My Book", "ex:contains": "http://example.org/test#chapter" } } diff --git a/core/src/test/resources/json-ld.org/flatten-0012-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0012-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0013-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0013-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0013-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0013-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-0014-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-0014-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0014-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0014-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0015-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0015-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0015-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0015-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0016-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0016-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0016-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0016-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0017-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0017-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0017-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0017-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0018-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0018-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0018-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0018-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0019-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0019-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0019-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0019-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0020-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0020-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0020-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0020-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0020-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0020-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0021-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0021-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0021-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0021-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0021-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0021-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0021-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0021-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0022-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0022-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0022-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0022-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0022-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0022-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0023-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0023-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0023-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0023-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0023-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0023-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0024-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0024-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0024-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0024-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0024-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0024-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0025-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0025-in.jsonld similarity index 80% rename from core/src/test/resources/json-ld.org/flatten-0025-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0025-in.jsonld index de45eb4c..276851f6 100644 --- a/core/src/test/resources/json-ld.org/flatten-0025-in.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0025-in.jsonld @@ -1,7 +1,7 @@ { "@context": { "foo": "http://example.com/foo/", - "foo:bar": "http://example.com/bar", + "foo:bar": "http://example.com/foo/bar", "bar": {"@id": "foo:bar", "@type": "@id"}, "_": "http://example.com/underscore/" }, diff --git a/core/src/test/resources/json-ld.org/flatten-0025-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0025-out.jsonld similarity index 78% rename from core/src/test/resources/json-ld.org/flatten-0025-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0025-out.jsonld index 3617a3e4..cc9881d9 100644 --- a/core/src/test/resources/json-ld.org/flatten-0025-out.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0025-out.jsonld @@ -3,7 +3,7 @@ "@id": "_:b0", "@type": [ "http://example.com/foo/", - "http://example.com/bar", + "http://example.com/foo/bar", "http://example.com/underscore/" ] } diff --git a/core/src/test/resources/json-ld.org/toRdf-0066-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0066-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0026-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0026-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0026-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0026-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0026-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0027-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0027-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0027-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0027-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0027-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0027-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0027-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0027-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0028-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0028-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0028-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0028-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0028-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0028-out.jsonld similarity index 71% rename from core/src/test/resources/json-ld.org/flatten-0028-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0028-out.jsonld index cc95a31c..8e4cab76 100644 --- a/core/src/test/resources/json-ld.org/flatten-0028-out.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0028-out.jsonld @@ -1,6 +1,6 @@ [ { - "@id": "http://json-ld.org/test-suite/tests/example1", + "@id": "https://w3c.github.io/json-ld-api/tests/flatten/example1", "@type": [ "http://example.org/vocab#test" ], @@ -12,12 +12,12 @@ ], "http://example.org/vocab#embed": [ { - "@id": "http://json-ld.org/test-suite/tests/example2" + "@id": "https://w3c.github.io/json-ld-api/tests/flatten/example2" } ] }, { - "@id": "http://json-ld.org/test-suite/tests/example2", + "@id": "https://w3c.github.io/json-ld-api/tests/flatten/example2", "http://example.org/vocab#expandedDate": [ { "@type": "http://example.org/vocab#dateTime", diff --git a/core/src/test/resources/json-ld.org/flatten-0030-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0030-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0030-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0030-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0030-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0030-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0030-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0030-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0031-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0031-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0031-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0031-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0031-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0031-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0031-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0031-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0032-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0032-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0032-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0032-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0032-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0032-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0032-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0033-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0033-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0033-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0033-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0033-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0033-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0033-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0033-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0034-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0034-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0034-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0034-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0034-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0034-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0034-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0034-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0035-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0035-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0035-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0035-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0035-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0035-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0035-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0035-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0036-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0036-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0036-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0036-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0036-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0036-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0036-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0036-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0037-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0037-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0037-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0037-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0037-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0037-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0037-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0037-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0038-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0038-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0038-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0038-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0038-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0038-out.jsonld similarity index 89% rename from core/src/test/resources/json-ld.org/flatten-0038-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0038-out.jsonld index 015a684d..c473598e 100644 --- a/core/src/test/resources/json-ld.org/flatten-0038-out.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0038-out.jsonld @@ -21,7 +21,7 @@ "@id": "_:b3" }, { - "@id": "http://json-ld.org/test-suite/tests/relativeIri" + "@id": "https://w3c.github.io/json-ld-api/tests/flatten/relativeIri" } ] }, diff --git a/core/src/test/resources/json-ld.org/flatten-0039-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0039-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0039-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0039-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0039-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0039-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0039-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0039-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0040-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0040-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0040-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0040-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0040-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0040-out.jsonld similarity index 80% rename from core/src/test/resources/json-ld.org/flatten-0040-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0040-out.jsonld index 23a4e44f..bea4691d 100644 --- a/core/src/test/resources/json-ld.org/flatten-0040-out.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0040-out.jsonld @@ -9,7 +9,7 @@ "@value": "indexes" }, { - "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject" + "@id": "https://w3c.github.io/json-ld-api/tests/flatten/asTheValueIsntAnObject" } ], "http://example.com/vocab/label": [ diff --git a/core/src/test/resources/json-ld.org/flatten-0041-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0041-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0041-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0041-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0041-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0041-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0041-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0041-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0042-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0042-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0042-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0042-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0042-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0042-out.jsonld similarity index 70% rename from core/src/test/resources/json-ld.org/flatten-0042-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0042-out.jsonld index f667f8a8..6d0c41f6 100644 --- a/core/src/test/resources/json-ld.org/flatten-0042-out.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0042-out.jsonld @@ -1,6 +1,6 @@ [ { - "@id": "http://json-ld.org/test-suite/tests/list-equivalence-test", + "@id": "https://w3c.github.io/json-ld-api/tests/flatten/list-equivalence-test", "http://example.com/list": [ { "@list": [ { "@value": "1" }, { "@value": "2" } ] diff --git a/core/src/test/resources/json-ld.org/flatten-0043-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0043-in.jsonld similarity index 71% rename from core/src/test/resources/json-ld.org/flatten-0043-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0043-in.jsonld index a143cbe9..bdcb3ebd 100644 --- a/core/src/test/resources/json-ld.org/flatten-0043-in.jsonld +++ b/core/src/test/resources/json-ld.org/flatten/0043-in.jsonld @@ -4,7 +4,7 @@ { "@id": "#t0001", "http://example/name": "Keywords cannot be aliased to other keywords", - "http://example/input": {"@id": "error-expand-0001-in.jsonld"} + "http://example/input": {"@id": "0001-in.jsonld"} } ]} } diff --git a/core/src/test/resources/json-ld.org/flatten/0043-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0043-out.jsonld new file mode 100644 index 00000000..bcaacf8a --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/0043-out.jsonld @@ -0,0 +1,17 @@ +[ + { + "@id": "https://w3c.github.io/json-ld-api/tests/flatten/0043-in.jsonld", + "http://example/sequence": [ + {"@list": [{"@id": "https://w3c.github.io/json-ld-api/tests/flatten/0043-in.jsonld#t0001"}]} + ] + }, + { + "@id": "https://w3c.github.io/json-ld-api/tests/flatten/0043-in.jsonld#t0001", + "http://example/input": [ + {"@id": "https://w3c.github.io/json-ld-api/tests/flatten/0001-in.jsonld"} + ], + "http://example/name": [ + {"@value": "Keywords cannot be aliased to other keywords"} + ] + } +] diff --git a/core/src/test/resources/json-ld.org/flatten-0044-context.jsonld b/core/src/test/resources/json-ld.org/flatten/0044-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0044-context.jsonld rename to core/src/test/resources/json-ld.org/flatten/0044-context.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0044-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0044-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0044-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0044-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0044-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0044-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0044-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0044-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0045-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0045-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0045-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/0045-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-0045-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0045-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0045-out.jsonld rename to core/src/test/resources/json-ld.org/flatten/0045-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0046-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0046-in.jsonld new file mode 100644 index 00000000..87b32f49 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/0046-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@base": null + }, + "@id": "", + "http://example.com/foo": "bar", + "@graph": [ + { + "@id": "", + "http://example.com/baz": "bam" + }, + { + "@id": "0", + "http://example.com/baaaaaz": "baaaam" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/flatten/0046-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0046-out.jsonld new file mode 100644 index 00000000..6268e047 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/0046-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "", + "http://example.com/foo": [ { "@value": "bar" } ], + "@graph": [ + { + "@id": "", + "http://example.com/baz": [ { "@value": "bam" } ] + }, + { + "@id": "0", + "http://example.com/baaaaaz": [ { "@value": "baaaam" } ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/flatten/0047-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0047-in.jsonld new file mode 100644 index 00000000..c81b9842 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/0047-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@base": "http://example.com/", + "iot": "http://example.com/core/#" + }, + "iot:associated": { "@id": "#Light" } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/0047-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0047-out.jsonld new file mode 100644 index 00000000..461d7fe3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/0047-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "_:b0", + "http://example.com/core/#associated": [ + { + "@id": "http://example.com/#Light" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/0048-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0048-in.jsonld new file mode 100644 index 00000000..26b14249 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/0048-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.com/foo": [{ + "@list": [{ + "@id": "http://example.com/baz", + "http://example.com/bar": "buz"} + ]} + ]} +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/0048-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0048-out.jsonld new file mode 100644 index 00000000..f3ede2ef --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/0048-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "_:b0", + "http://example.com/foo": [{ + "@list": [ + { + "@id": "http://example.com/baz" + } + ] + }] + }, + { + "@id": "http://example.com/baz", + "http://example.com/bar": [{"@value": "buz"}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/0049-in.jsonld b/core/src/test/resources/json-ld.org/flatten/0049-in.jsonld new file mode 100644 index 00000000..4f679fd3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/0049-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "valueOf": "http://example.org/valueOf", + "toString": "http://example.org/toString" + }, + "@id": "ex:test", + "valueOf": "first", + "toString": "second" +} diff --git a/core/src/test/resources/json-ld.org/flatten/0049-out.jsonld b/core/src/test/resources/json-ld.org/flatten/0049-out.jsonld new file mode 100644 index 00000000..af6d36de --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/0049-out.jsonld @@ -0,0 +1,15 @@ +[ + { + "@id": "ex:test", + "http://example.org/valueOf": [ + { + "@value": "first" + } + ], + "http://example.org/toString": [ + { + "@value": "second" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/error-0043-in.jsonld b/core/src/test/resources/json-ld.org/flatten/e001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/error-0043-in.jsonld rename to core/src/test/resources/json-ld.org/flatten/e001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/h001-context.jsonld b/core/src/test/resources/json-ld.org/flatten/h001-context.jsonld new file mode 100644 index 00000000..c9ee5d89 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h001-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h001-in.html b/core/src/test/resources/json-ld.org/flatten/h001-in.html new file mode 100644 index 00000000..57328e38 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h001-in.html @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h001-out.jsonld b/core/src/test/resources/json-ld.org/flatten/h001-out.jsonld new file mode 100644 index 00000000..b62c9ff4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h001-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "@graph": [{"@id": "_:b0","foo": ["bar"]} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h002-context.jsonld b/core/src/test/resources/json-ld.org/flatten/h002-context.jsonld new file mode 100644 index 00000000..c9ee5d89 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h002-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h002-in.html b/core/src/test/resources/json-ld.org/flatten/h002-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h002-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h002-out.jsonld b/core/src/test/resources/json-ld.org/flatten/h002-out.jsonld new file mode 100644 index 00000000..b62c9ff4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h002-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "@graph": [{"@id": "_:b0","foo": ["bar"]} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h003-context.jsonld b/core/src/test/resources/json-ld.org/flatten/h003-context.jsonld new file mode 100644 index 00000000..bd58ee54 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h003-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"ex": "http://example.com/"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h003-in.html b/core/src/test/resources/json-ld.org/flatten/h003-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h003-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h003-out.jsonld b/core/src/test/resources/json-ld.org/flatten/h003-out.jsonld new file mode 100644 index 00000000..cd0c43e1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h003-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.com/"}, + "@graph": [ + {"@id": "_:b0", "ex:foo": "foo"}, + {"@id": "_:b1", "ex:bar": "bar"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h004-context.jsonld b/core/src/test/resources/json-ld.org/flatten/h004-context.jsonld new file mode 100644 index 00000000..c68c329c --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h004-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "ex": "http://example.com/", + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h004-in.html b/core/src/test/resources/json-ld.org/flatten/h004-in.html new file mode 100644 index 00000000..cfac7160 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h004-in.html @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h004-out.jsonld b/core/src/test/resources/json-ld.org/flatten/h004-out.jsonld new file mode 100644 index 00000000..e0315dd2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/h004-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "ex": "http://example.com/", + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "@graph": [ + {"@id": "_:b0", "foo": ["bar"]}, + {"@id": "_:b1", "ex:foo": "foo"}, + {"@id": "_:b2", "ex:bar": "bar"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/li01-in.jsonld b/core/src/test/resources/json-ld.org/flatten/li01-in.jsonld new file mode 100644 index 00000000..329a79c9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/li01-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@list": [{"@list": [{"@value": "baz"}]}]}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/li01-out.jsonld b/core/src/test/resources/json-ld.org/flatten/li01-out.jsonld new file mode 100644 index 00000000..131f9b3a --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/li01-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "_:b0", + "http://example.com/foo": [{"@list": [{"@list": [{"@list": [{"@value": "baz"}]}]}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/li02-in.jsonld b/core/src/test/resources/json-ld.org/flatten/li02-in.jsonld new file mode 100644 index 00000000..4be9f2e8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/li02-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.com/foo": {"@list": [{"@list": []}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/li02-out.jsonld b/core/src/test/resources/json-ld.org/flatten/li02-out.jsonld new file mode 100644 index 00000000..80abdac0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/li02-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "_:b0", + "http://example.com/foo": [{"@list": [{"@list": []}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/li03-in.jsonld b/core/src/test/resources/json-ld.org/flatten/li03-in.jsonld new file mode 100644 index 00000000..96afcbaa --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/li03-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [ + [{"@id": "http://example/a", "@type": "http://example/Bar"}], + {"@id": "http://example/b", "@type": "http://example/Baz"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/li03-out.jsonld b/core/src/test/resources/json-ld.org/flatten/li03-out.jsonld new file mode 100644 index 00000000..155ccd8c --- /dev/null +++ b/core/src/test/resources/json-ld.org/flatten/li03-out.jsonld @@ -0,0 +1,19 @@ +[{ + "@id": "_:b0", + "http://example.com/foo": [{"@list": [ + {"@list": [{"@id": "http://example/a"}]}, + {"@id": "http://example/b"} + ]}] +}, +{ + "@id": "http://example/a", + "@type": [ + "http://example/Bar" + ] +}, +{ + "@id": "http://example/b", + "@type": [ + "http://example/Baz" + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0001-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0001-frame.jsonld deleted file mode 100644 index 16faf5bb..00000000 --- a/core/src/test/resources/json-ld.org/frame-0001-frame.jsonld +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@type": "ex:Library", - "ex:contains": { - "@type": "ex:Book", - "ex:contains": { - "@type": "ex:Chapter" - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0001-in.jsonld b/core/src/test/resources/json-ld.org/frame-0001-in.jsonld deleted file mode 100644 index dcc2dfab..00000000 --- a/core/src/test/resources/json-ld.org/frame-0001-in.jsonld +++ /dev/null @@ -1,27 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": "http://example.org/test#book" - }, - { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": "http://example.org/test#chapter" - }, - { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0001-out.jsonld b/core/src/test/resources/json-ld.org/frame-0001-out.jsonld deleted file mode 100644 index c2be4d27..00000000 --- a/core/src/test/resources/json-ld.org/frame-0001-out.jsonld +++ /dev/null @@ -1,22 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@graph": [{ - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - } - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0002-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0002-frame.jsonld deleted file mode 100644 index 16faf5bb..00000000 --- a/core/src/test/resources/json-ld.org/frame-0002-frame.jsonld +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@type": "ex:Library", - "ex:contains": { - "@type": "ex:Book", - "ex:contains": { - "@type": "ex:Chapter" - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0002-in.jsonld b/core/src/test/resources/json-ld.org/frame-0002-in.jsonld deleted file mode 100644 index ba0b5b1b..00000000 --- a/core/src/test/resources/json-ld.org/frame-0002-in.jsonld +++ /dev/null @@ -1,28 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": "http://example.org/test#book" - }, - { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": "http://example.org/test#chapter" - }, - { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One", - "ex:act": "ex:ActOne" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0002-out.jsonld b/core/src/test/resources/json-ld.org/frame-0002-out.jsonld deleted file mode 100644 index db497ada..00000000 --- a/core/src/test/resources/json-ld.org/frame-0002-out.jsonld +++ /dev/null @@ -1,23 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@graph": [{ - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One", - "ex:act": "ex:ActOne" - } - } - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0003-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0003-frame.jsonld deleted file mode 100644 index 9da49cf2..00000000 --- a/core/src/test/resources/json-ld.org/frame-0003-frame.jsonld +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@type": "ex:DoesNotExist" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0003-in.jsonld b/core/src/test/resources/json-ld.org/frame-0003-in.jsonld deleted file mode 100644 index aef9e876..00000000 --- a/core/src/test/resources/json-ld.org/frame-0003-in.jsonld +++ /dev/null @@ -1,29 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": "http://example.org/test#book" - }, - { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": "http://example.org/test#chapter" - }, - { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0003-out.jsonld b/core/src/test/resources/json-ld.org/frame-0003-out.jsonld deleted file mode 100644 index dde98f3d..00000000 --- a/core/src/test/resources/json-ld.org/frame-0003-out.jsonld +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@graph": [] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0004-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0004-frame.jsonld deleted file mode 100644 index 8954e01f..00000000 --- a/core/src/test/resources/json-ld.org/frame-0004-frame.jsonld +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": {"@type": "@id"} - }, - "@type": "ex:Library" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0004-in.jsonld b/core/src/test/resources/json-ld.org/frame-0004-in.jsonld deleted file mode 100644 index dcc2dfab..00000000 --- a/core/src/test/resources/json-ld.org/frame-0004-in.jsonld +++ /dev/null @@ -1,27 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": "http://example.org/test#book" - }, - { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": "http://example.org/test#chapter" - }, - { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0004-out.jsonld b/core/src/test/resources/json-ld.org/frame-0004-out.jsonld deleted file mode 100644 index 8b780018..00000000 --- a/core/src/test/resources/json-ld.org/frame-0004-out.jsonld +++ /dev/null @@ -1,23 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": {"@type": "@id"} - }, - "@graph": [{ - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - } - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0005-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0005-frame.jsonld deleted file mode 100644 index df6e66e6..00000000 --- a/core/src/test/resources/json-ld.org/frame-0005-frame.jsonld +++ /dev/null @@ -1,19 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@explicit": true, - "@type": "ex:Library", - "ex:contains": { - "@explicit": true, - "@type": "ex:Book", - "dc:title": {}, - "ex:contains": { - "@explicit": true, - "@type": "ex:Chapter", - "dc:title": {}, - "ex:null": {} - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0005-in.jsonld b/core/src/test/resources/json-ld.org/frame-0005-in.jsonld deleted file mode 100644 index aef9e876..00000000 --- a/core/src/test/resources/json-ld.org/frame-0005-in.jsonld +++ /dev/null @@ -1,29 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": "http://example.org/test#book" - }, - { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": "http://example.org/test#chapter" - }, - { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0005-out.jsonld b/core/src/test/resources/json-ld.org/frame-0005-out.jsonld deleted file mode 100644 index 279d8168..00000000 --- a/core/src/test/resources/json-ld.org/frame-0005-out.jsonld +++ /dev/null @@ -1,21 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@graph": [{ - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:title": "My Book", - "ex:contains": { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:title": "Chapter One", - "ex:null": null - } - } - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0006-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0006-frame.jsonld deleted file mode 100644 index 16faf5bb..00000000 --- a/core/src/test/resources/json-ld.org/frame-0006-frame.jsonld +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@type": "ex:Library", - "ex:contains": { - "@type": "ex:Book", - "ex:contains": { - "@type": "ex:Chapter" - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0006-in.jsonld b/core/src/test/resources/json-ld.org/frame-0006-in.jsonld deleted file mode 100644 index 7a1294bd..00000000 --- a/core/src/test/resources/json-ld.org/frame-0006-in.jsonld +++ /dev/null @@ -1,30 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": { - "@type": "@id" - }, - "xsd": "http://www.w3.org/2001/XMLSchema#" - }, - "@graph": [ - { - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": "http://example.org/test#book" - }, - { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": "http://example.org/test#chapter" - }, - { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0006-out.jsonld b/core/src/test/resources/json-ld.org/frame-0006-out.jsonld deleted file mode 100644 index c2be4d27..00000000 --- a/core/src/test/resources/json-ld.org/frame-0006-out.jsonld +++ /dev/null @@ -1,22 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@graph": [{ - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - } - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0007-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0007-frame.jsonld deleted file mode 100644 index 16faf5bb..00000000 --- a/core/src/test/resources/json-ld.org/frame-0007-frame.jsonld +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@type": "ex:Library", - "ex:contains": { - "@type": "ex:Book", - "ex:contains": { - "@type": "ex:Chapter" - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0007-in.jsonld b/core/src/test/resources/json-ld.org/frame-0007-in.jsonld deleted file mode 100644 index 04580d2d..00000000 --- a/core/src/test/resources/json-ld.org/frame-0007-in.jsonld +++ /dev/null @@ -1,32 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "http://example.org/test/#library", - "@type": [ - "ex:Library", - "ex:Building" - ], - "ex:contains": "http://example.org/test#book" - }, - { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": "http://example.org/test#chapter" - }, - { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0007-out.jsonld b/core/src/test/resources/json-ld.org/frame-0007-out.jsonld deleted file mode 100644 index 76af6190..00000000 --- a/core/src/test/resources/json-ld.org/frame-0007-out.jsonld +++ /dev/null @@ -1,25 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@graph": [{ - "@id": "http://example.org/test/#library", - "@type": [ - "ex:Library", - "ex:Building" - ], - "ex:contains": { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - } - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0008-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0008-frame.jsonld deleted file mode 100644 index 8dfff9d8..00000000 --- a/core/src/test/resources/json-ld.org/frame-0008-frame.jsonld +++ /dev/null @@ -1,14 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:embedded": {"@container": "@set"}, - "ex:literal": {"@container": "@set"}, - "ex:mixed": {"@container": "@set"}, - "ex:single": {"@container": "@set"} - }, - "@type": "ex:Example", - "ex:embedded": {}, - "ex:literal": {}, - "ex:mixed": {"@embed": false}, - "ex:single": {} -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0008-in.jsonld b/core/src/test/resources/json-ld.org/frame-0008-in.jsonld deleted file mode 100644 index de162963..00000000 --- a/core/src/test/resources/json-ld.org/frame-0008-in.jsonld +++ /dev/null @@ -1,38 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@graph": [ - { - "@id": "http://example.org/test/#example", - "@type": "ex:Example", - "ex:embedded": { - "@id": "http://example.org/test#subject1" - }, - "ex:literal": [ - "str1", - "str2", - "str3" - ], - "ex:mixed": [ - { - "@id": "http://example.org/test#iri1" - }, - "literal1", - { - "@id": "http://example.org/test#iri2" - }, - "literal2", - { - "@id": "http://example.org/test#subject2", - "ex:prop": "property" - } - ], - "ex:single": "single" - }, - { - "@id": "http://example.org/test#subject1", - "ex:prop": "property" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0008-out.jsonld b/core/src/test/resources/json-ld.org/frame-0008-out.jsonld deleted file mode 100644 index c4acd177..00000000 --- a/core/src/test/resources/json-ld.org/frame-0008-out.jsonld +++ /dev/null @@ -1,40 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:embedded": {"@container": "@set"}, - "ex:literal": {"@container": "@set"}, - "ex:mixed": {"@container": "@set"}, - "ex:single": {"@container": "@set"} - }, - "@graph": [{ - "@id": "http://example.org/test/#example", - "@type": "ex:Example", - "ex:embedded": [ - { - "@id": "http://example.org/test#subject1", - "ex:prop": "property" - } - ], - "ex:literal": [ - "str1", - "str2", - "str3" - ], - "ex:mixed": [ - { - "@id": "http://example.org/test#iri1" - }, - "literal1", - { - "@id": "http://example.org/test#iri2" - }, - "literal2", - { - "@id": "http://example.org/test#subject2" - } - ], - "ex:single": [ - "single" - ] - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0009-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0009-frame.jsonld deleted file mode 100644 index 13524dac..00000000 --- a/core/src/test/resources/json-ld.org/frame-0009-frame.jsonld +++ /dev/null @@ -1,24 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:p7": {"@container": "@set"} - }, - "@type": "ex:Example1", - "ex:p2": { - "@default": "custom-default" - }, - "ex:p3": { - "@default": 3 - }, - "ex:p4": { - "@omitDefault": true - }, - "ex:p5": {}, - "ex:p6": { - "@type": "ex:Example2", - "ex:p3": { - "@default": 4 - } - }, - "ex:p7": {"@type": "ex:Example3"} -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0009-in.jsonld b/core/src/test/resources/json-ld.org/frame-0009-in.jsonld deleted file mode 100644 index bf63f48b..00000000 --- a/core/src/test/resources/json-ld.org/frame-0009-in.jsonld +++ /dev/null @@ -1,19 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@graph": [ - { - "@id": "http://example.org/test/#example1", - "@type": "ex:Example1", - "ex:p1": "non-default", - "ex:p6": { - "@id": "http://example.org/test/#example2" - } - }, - { - "@id": "http://example.org/test/#example2", - "@type": "ex:Example2" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0009-out.jsonld b/core/src/test/resources/json-ld.org/frame-0009-out.jsonld deleted file mode 100644 index 0d6eaa46..00000000 --- a/core/src/test/resources/json-ld.org/frame-0009-out.jsonld +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:p7": {"@container": "@set"} - }, - "@graph": [{ - "@id": "http://example.org/test/#example1", - "@type": "ex:Example1", - "ex:p1": "non-default", - "ex:p2": "custom-default", - "ex:p3": 3, - "ex:p5": null, - "ex:p6": { - "@id": "http://example.org/test/#example2", - "@type": "ex:Example2", - "ex:p3": 4 - }, - "ex:p7": [] - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0010-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0010-frame.jsonld deleted file mode 100644 index a6cea2b2..00000000 --- a/core/src/test/resources/json-ld.org/frame-0010-frame.jsonld +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/terms/", - "dc:creator": { - "@type": "@id" - }, - "foaf": "http://xmlns.com/foaf/0.1/", - "ps": "http://purl.org/payswarm#" - }, - "@id": "http://example.com/asset", - "@type": "ps:Asset", - "dc:creator": {} -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0010-in.jsonld b/core/src/test/resources/json-ld.org/frame-0010-in.jsonld deleted file mode 100644 index ecc4cdb7..00000000 --- a/core/src/test/resources/json-ld.org/frame-0010-in.jsonld +++ /dev/null @@ -1,15 +0,0 @@ -{ - "@context": { - "dc0": "http://purl.org/dc/terms/", - "dc:creator": { - "@type": "@id" - }, - "foaf": "http://xmlns.com/foaf/0.1/", - "ps": "http://purl.org/payswarm#" - }, - "@id": "http://example.com/asset", - "@type": "ps:Asset", - "dc:creator": { - "foaf:name": "John Doe" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0010-out.jsonld b/core/src/test/resources/json-ld.org/frame-0010-out.jsonld deleted file mode 100644 index 0c5bbf72..00000000 --- a/core/src/test/resources/json-ld.org/frame-0010-out.jsonld +++ /dev/null @@ -1,18 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/terms/", - "dc:creator": { - "@type": "@id" - }, - "foaf": "http://xmlns.com/foaf/0.1/", - "ps": "http://purl.org/payswarm#" - }, - "@graph": [{ - "@id": "http://example.com/asset", - "@type": "ps:Asset", - "dc:creator": { - "@id": "_:b0", - "foaf:name": "John Doe" - } - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0011-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0011-frame.jsonld deleted file mode 100644 index c219d400..00000000 --- a/core/src/test/resources/json-ld.org/frame-0011-frame.jsonld +++ /dev/null @@ -1,12 +0,0 @@ -{ - "@context": { - "ex": "http://www.example.com/#" - }, - "@type": "ex:Thing", - "ex:embed": { - "@embed": true - }, - "ex:noembed": { - "@embed": false - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0011-in.jsonld b/core/src/test/resources/json-ld.org/frame-0011-in.jsonld deleted file mode 100644 index d5df9e32..00000000 --- a/core/src/test/resources/json-ld.org/frame-0011-in.jsonld +++ /dev/null @@ -1,15 +0,0 @@ -{ - "@context": { - "ex": "http://www.example.com/#" - }, - "@id": "ex:subject", - "@type": "ex:Thing", - "ex:embed": { - "@id": "ex:embedded", - "ex:title": "Embedded" - }, - "ex:noembed": { - "@id": "ex:notembedded", - "ex:title": "Not Embedded" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0011-out.jsonld b/core/src/test/resources/json-ld.org/frame-0011-out.jsonld deleted file mode 100644 index 358ab54c..00000000 --- a/core/src/test/resources/json-ld.org/frame-0011-out.jsonld +++ /dev/null @@ -1,16 +0,0 @@ -{ - "@context": { - "ex": "http://www.example.com/#" - }, - "@graph": [{ - "@id": "ex:subject", - "@type": "ex:Thing", - "ex:embed": { - "@id": "ex:embedded", - "ex:title": "Embedded" - }, - "ex:noembed": { - "@id": "ex:notembedded" - } - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0012-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0012-frame.jsonld deleted file mode 100644 index e82a7b4e..00000000 --- a/core/src/test/resources/json-ld.org/frame-0012-frame.jsonld +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@context": { - "sp": "http://smartplatforms.org/terms#" - }, - "@type": ["sp:Medication", "sp:Fulfillment"], - "sp:hasFulfillment": {"@omitDefault": true, "@embed": false}, - "sp:hasMedication": {"@omitDefault": true, "@embed": false} -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0012-in.jsonld b/core/src/test/resources/json-ld.org/frame-0012-in.jsonld deleted file mode 100644 index 9b0d0edf..00000000 --- a/core/src/test/resources/json-ld.org/frame-0012-in.jsonld +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@graph": [ - { - "@id": "http://example.org/med-1", - "@type": "http://smartplatforms.org/terms#Medication", - "http://smartplatforms.org/terms#hasFulfillment": { - "@id": "http://example.org/fill-1" - }, - "http://smartplatforms.org/terms#label": "Lisinopril" - }, - { - "@id": "http://example.org/fill-1", - "@type": "http://smartplatforms.org/terms#Fulfillment", - "http://smartplatforms.org/terms#hasMedication": { - "@id": "http://example.org/med-1" - }, - "http://smartplatforms.org/terms#label": "30 pills on 2/2/2011" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0012-out.jsonld b/core/src/test/resources/json-ld.org/frame-0012-out.jsonld deleted file mode 100644 index 2f14f160..00000000 --- a/core/src/test/resources/json-ld.org/frame-0012-out.jsonld +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@context": { - "sp": "http://smartplatforms.org/terms#" - }, - "@graph": [{ - "@id": "http://example.org/fill-1", - "@type": "sp:Fulfillment", - "sp:hasMedication": { - "@id": "http://example.org/med-1" - }, - "sp:label": "30 pills on 2/2/2011" - }, { - "@id": "http://example.org/med-1", - "@type": "sp:Medication", - "sp:hasFulfillment": { - "@id": "http://example.org/fill-1" - }, - "sp:label": "Lisinopril" - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0013-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0013-frame.jsonld deleted file mode 100644 index e08311af..00000000 --- a/core/src/test/resources/json-ld.org/frame-0013-frame.jsonld +++ /dev/null @@ -1,5 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0013-in.jsonld b/core/src/test/resources/json-ld.org/frame-0013-in.jsonld deleted file mode 100644 index eee483e7..00000000 --- a/core/src/test/resources/json-ld.org/frame-0013-in.jsonld +++ /dev/null @@ -1,21 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/" - }, - "@graph": [ - { - "@id": "ex:looker", - "ex:canSee": [ - { - "@id": "ex:forgotten" - }, - { - "@id": "ex:spotted" - } - ] - }, - { - "@id": "ex:spotted" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0013-out.jsonld b/core/src/test/resources/json-ld.org/frame-0013-out.jsonld deleted file mode 100644 index 21f45221..00000000 --- a/core/src/test/resources/json-ld.org/frame-0013-out.jsonld +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/" - }, - "@graph": [{ - "@id": "ex:forgotten" - }, { - "@id": "ex:looker", - "ex:canSee": [ - { - "@id": "ex:forgotten" - }, - { - "@id": "ex:spotted" - } - ] - }, { - "@id": "ex:spotted" - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0014-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0014-frame.jsonld deleted file mode 100644 index a2e7f4be..00000000 --- a/core/src/test/resources/json-ld.org/frame-0014-frame.jsonld +++ /dev/null @@ -1,6 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/" - }, - "@type": ["ex:Node"] -} diff --git a/core/src/test/resources/json-ld.org/frame-0014-in.jsonld b/core/src/test/resources/json-ld.org/frame-0014-in.jsonld deleted file mode 100644 index b4f8ed8a..00000000 --- a/core/src/test/resources/json-ld.org/frame-0014-in.jsonld +++ /dev/null @@ -1,14 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/" - }, - "@id": "ex:a", - "@type": "ex:Node", - "ex:sees": { - "@id": "ex:b", - "@type": "ex:Node", - "ex:sees": { - "ex:remember_me": "This value should not disappear." - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0014-out.jsonld b/core/src/test/resources/json-ld.org/frame-0014-out.jsonld deleted file mode 100644 index 38c0b146..00000000 --- a/core/src/test/resources/json-ld.org/frame-0014-out.jsonld +++ /dev/null @@ -1,24 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/" - }, - "@graph": [{ - "@id": "ex:a", - "@type": "ex:Node", - "ex:sees": { - "@id": "ex:b", - "@type": "ex:Node", - "ex:sees": { - "@id": "_:b0", - "ex:remember_me": "This value should not disappear." - } - } - }, { - "@id": "ex:b", - "@type": "ex:Node", - "ex:sees": { - "@id": "_:b0", - "ex:remember_me": "This value should not disappear." - } - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0015-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0015-frame.jsonld deleted file mode 100644 index 04223492..00000000 --- a/core/src/test/resources/json-ld.org/frame-0015-frame.jsonld +++ /dev/null @@ -1,93 +0,0 @@ -{ - "@context": { - "api": "http://smartplatforms.org/terms/api#", - "dcterms": "http://purl.org/dc/terms/", - "foaf": "http://xmlns.com/foaf/0.1/", - "owl": "http://www.w3.org/2002/07/owl#", - "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "sp": "http://smartplatforms.org/terms#", - "sp:abnormalInterpretation": {"@type": "@id"}, - "sp:address": {"@type": "@id"}, - "sp:alertLevel": {"@type": "@id"}, - "sp:allergicReaction": {"@type": "@id"}, - "sp:allergyExclusionName": {"@type": "@id"}, - "sp:belongsTo": {"@type": "@id"}, - "sp:bloodPressure": {"@type": "@id"}, - "sp:bodyMassIndex": {"@type": "@id"}, - "sp:bodyPosition": {"@type": "@id"}, - "sp:bodySite": {"@type": "@id"}, - "sp:category": {"@type": "@id"}, - "sp:code": {"@type": "@id"}, - "sp:created": {"@type": "@id"}, - "sp:denominator": {"@type": "@id"}, - "sp:diastolic": {"@type": "@id"}, - "sp:drugAllergen": {"@type": "@id"}, - "sp:drugClass": {"@type": "@id"}, - "sp:drugClassAllergen": {"@type": "@id"}, - "sp:drugName": {"@type": "@id"}, - "sp:encounter": {"@type": "@id"}, - "sp:encounterType": {"@type": "@id"}, - "sp:facility": {"@type": "@id"}, - "sp:foodAllergen": {"@type": "@id"}, - "sp:frequency": {"@type": "@id"}, - "sp:fulfillment": {"@type": "@id"}, - "sp:hasStatement": {"@type": "@id"}, - "sp:heartRate": {"@type": "@id"}, - "sp:height": {"@type": "@id"}, - "sp:labName": {"@type": "@id"}, - "sp:labResult": {"@type": "@id"}, - "sp:labSpecimenCollected": {"@type": "@id"}, - "sp:labStatus": {"@type": "@id"}, - "sp:maximum": {"@type": "@id"}, - "sp:medicalRecordNumber": {"@type": "@id"}, - "sp:medication": {"@type": "@id"}, - "sp:method": {"@type": "@id"}, - "sp:minimum": {"@type": "@id"}, - "sp:narrativeResult": {"@type": "@id"}, - "sp:nominalResult": {"@type": "@id"}, - "sp:nonCriticalRange": {"@type": "@id"}, - "sp:normalRange": {"@type": "@id"}, - "sp:numerator": {"@type": "@id"}, - "sp:ordinalResult": {"@type": "@id"}, - "sp:organization": {"@type": "@id"}, - "sp:oxygenSaturation": {"@type": "@id"}, - "sp:participant": {"@type": "@id"}, - "sp:person": {"@type": "@id"}, - "sp:pharmacy": {"@type": "@id"}, - "sp:problemName": {"@type": "@id"}, - "sp:provenance": {"@type": "@id"}, - "sp:provider": {"@type": "@id"}, - "sp:quantitativeResult": {"@type": "@id"}, - "sp:quantity": {"@type": "@id"}, - "sp:quantityDispensed": {"@type": "@id"}, - "sp:respiratoryRate": {"@type": "@id"}, - "sp:severity": {"@type": "@id"}, - "sp:specimenCollected": {"@type": "@id"}, - "sp:systolic": {"@type": "@id"}, - "sp:temperature": {"@type": "@id"}, - "sp:translationFidelity": {"@type": "@id"}, - "sp:valueAndUnit": {"@type": "@id"}, - "sp:vitalName": {"@type": "@id"}, - "sp:weight": {"@type": "@id"}, - "spcode": "http://smartplatforms.org/terms/codes/", - "vcard": "http://www.w3.org/2006/vcard/ns#", - "vcard:adr": {"@type": "@id"}, - "vcard:n": {"@type": "@id"}, - "vcard:tel": {"@type": "@id"} - }, - "@type": [ - "sp:Statement", - "sp:Fulfillment", - "sp:Alert", - "sp:AllergyExclusion", - "sp:Demographics", - "sp:Problem", - "sp:Medication", - "sp:VitalSigns", - "sp:MedicalRecord", - "sp:LabResult", - "sp:Allergy", - "sp:Encounter" - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0015-in.jsonld b/core/src/test/resources/json-ld.org/frame-0015-in.jsonld deleted file mode 100644 index fce8c8cc..00000000 --- a/core/src/test/resources/json-ld.org/frame-0015-in.jsonld +++ /dev/null @@ -1,70 +0,0 @@ -[ - { - "@id": "http://localhost:7000/records/999888", - "@type": "http://smartplatforms.org/terms#MedicalRecord" - }, - { - "@id": "http://localhost:7000/records/999888", - "http://smartplatforms.org/terms#hasStatement": { - "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6" - } - }, - { - "@id": "_:uDkkVEva509", - "@type": "http://smartplatforms.org/terms#VitalSign" - }, - { - "@id": "_:uDkkVEva509", - "http://smartplatforms.org/terms#vitalName": { - "@id": "_:uDkkVEva510" - } - }, - { - "@id": "_:uDkkVEva509", - "http://smartplatforms.org/terms#value": "111.226458141" - }, - { - "@id": "_:uDkkVEva509", - "http://smartplatforms.org/terms#unit": "mm[Hg]" - }, - { - "@id": "_:uDkkVEva508", - "@type": "http://smartplatforms.org/terms#BloodPressure" - }, - { - "@id": "_:uDkkVEva508", - "http://smartplatforms.org/terms#systolic": { - "@id": "_:uDkkVEva509" - } - }, - { - "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", - "http://smartplatforms.org/terms#bloodPressure": { - "@id": "_:uDkkVEva508" - } - }, - { - "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", - "@type": "http://smartplatforms.org/terms#VitalSigns" - }, - { - "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", - "http://smartplatforms.org/terms#belongsTo": { - "@id": "http://localhost:7000/records/999888" - } - }, - { - "@id": "_:uDkkVEva510", - "http://purl.org/dc/terms/title": "Systolic blood pressure" - }, - { - "@id": "_:uDkkVEva510", - "@type": "http://smartplatforms.org/terms#CodedValue" - }, - { - "@id": "_:uDkkVEva510", - "http://smartplatforms.org/terms#code": { - "@id": "http://loinc.org/codes/8480-6" - } - } -] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0015-out.jsonld b/core/src/test/resources/json-ld.org/frame-0015-out.jsonld deleted file mode 100644 index ae70a26b..00000000 --- a/core/src/test/resources/json-ld.org/frame-0015-out.jsonld +++ /dev/null @@ -1,128 +0,0 @@ -{ - "@context": { - "api": "http://smartplatforms.org/terms/api#", - "dcterms": "http://purl.org/dc/terms/", - "foaf": "http://xmlns.com/foaf/0.1/", - "owl": "http://www.w3.org/2002/07/owl#", - "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", - "rdfs": "http://www.w3.org/2000/01/rdf-schema#", - "sp": "http://smartplatforms.org/terms#", - "sp:abnormalInterpretation": {"@type": "@id"}, - "sp:address": {"@type": "@id"}, - "sp:alertLevel": {"@type": "@id"}, - "sp:allergicReaction": {"@type": "@id"}, - "sp:allergyExclusionName": {"@type": "@id"}, - "sp:belongsTo": {"@type": "@id"}, - "sp:bloodPressure": {"@type": "@id"}, - "sp:bodyMassIndex": {"@type": "@id"}, - "sp:bodyPosition": {"@type": "@id"}, - "sp:bodySite": {"@type": "@id"}, - "sp:category": {"@type": "@id"}, - "sp:code": {"@type": "@id"}, - "sp:created": {"@type": "@id"}, - "sp:denominator": {"@type": "@id"}, - "sp:diastolic": {"@type": "@id"}, - "sp:drugAllergen": {"@type": "@id"}, - "sp:drugClass": {"@type": "@id"}, - "sp:drugClassAllergen": {"@type": "@id"}, - "sp:drugName": {"@type": "@id"}, - "sp:encounter": {"@type": "@id"}, - "sp:encounterType": {"@type": "@id"}, - "sp:facility": {"@type": "@id"}, - "sp:foodAllergen": {"@type": "@id"}, - "sp:frequency": {"@type": "@id"}, - "sp:fulfillment": {"@type": "@id"}, - "sp:hasStatement": {"@type": "@id"}, - "sp:heartRate": {"@type": "@id"}, - "sp:height": {"@type": "@id"}, - "sp:labName": {"@type": "@id"}, - "sp:labResult": {"@type": "@id"}, - "sp:labSpecimenCollected": {"@type": "@id"}, - "sp:labStatus": {"@type": "@id"}, - "sp:maximum": {"@type": "@id"}, - "sp:medicalRecordNumber": {"@type": "@id"}, - "sp:medication": {"@type": "@id"}, - "sp:method": {"@type": "@id"}, - "sp:minimum": {"@type": "@id"}, - "sp:narrativeResult": {"@type": "@id"}, - "sp:nominalResult": {"@type": "@id"}, - "sp:nonCriticalRange": {"@type": "@id"}, - "sp:normalRange": {"@type": "@id"}, - "sp:numerator": {"@type": "@id"}, - "sp:ordinalResult": {"@type": "@id"}, - "sp:organization": {"@type": "@id"}, - "sp:oxygenSaturation": {"@type": "@id"}, - "sp:participant": {"@type": "@id"}, - "sp:person": {"@type": "@id"}, - "sp:pharmacy": {"@type": "@id"}, - "sp:problemName": {"@type": "@id"}, - "sp:provenance": {"@type": "@id"}, - "sp:provider": {"@type": "@id"}, - "sp:quantitativeResult": {"@type": "@id"}, - "sp:quantity": {"@type": "@id"}, - "sp:quantityDispensed": {"@type": "@id"}, - "sp:respiratoryRate": {"@type": "@id"}, - "sp:severity": {"@type": "@id"}, - "sp:specimenCollected": {"@type": "@id"}, - "sp:systolic": {"@type": "@id"}, - "sp:temperature": {"@type": "@id"}, - "sp:translationFidelity": {"@type": "@id"}, - "sp:valueAndUnit": {"@type": "@id"}, - "sp:vitalName": {"@type": "@id"}, - "sp:weight": {"@type": "@id"}, - "spcode": "http://smartplatforms.org/terms/codes/", - "vcard": "http://www.w3.org/2006/vcard/ns#", - "vcard:adr": {"@type": "@id"}, - "vcard:n": {"@type": "@id"}, - "vcard:tel": {"@type": "@id"} - }, - "@graph": [{ - "@id": "http://localhost:7000/records/999888", - "@type": "sp:MedicalRecord", - "sp:hasStatement": { - "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", - "@type": "sp:VitalSigns", - "sp:belongsTo": "http://localhost:7000/records/999888", - "sp:bloodPressure": { - "@id": "_:b2", - "@type": "sp:BloodPressure", - "sp:systolic": { - "@id": "_:b0", - "@type": "sp:VitalSign", - "sp:vitalName": { - "@id": "_:b1", - "dcterms:title": "Systolic blood pressure", - "@type": "sp:CodedValue", - "sp:code": "http://loinc.org/codes/8480-6" - }, - "sp:value": "111.226458141", - "sp:unit": "mm[Hg]" - } - } - } - }, { - "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", - "@type": "sp:VitalSigns", - "sp:belongsTo": { - "@id": "http://localhost:7000/records/999888", - "@type": "sp:MedicalRecord", - "sp:hasStatement": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6" - }, - "sp:bloodPressure": { - "@id": "_:b2", - "@type": "sp:BloodPressure", - "sp:systolic": { - "@id": "_:b0", - "@type": "sp:VitalSign", - "sp:unit": "mm[Hg]", - "sp:value": "111.226458141", - "sp:vitalName": { - "@id": "_:b1", - "@type": "sp:CodedValue", - "dcterms:title": "Systolic blood pressure", - "sp:code": "http://loinc.org/codes/8480-6" - } - } - } - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0016-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0016-frame.jsonld deleted file mode 100644 index 7d71898f..00000000 --- a/core/src/test/resources/json-ld.org/frame-0016-frame.jsonld +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@type": {}, - "ex:contains": {} -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0016-in.jsonld b/core/src/test/resources/json-ld.org/frame-0016-in.jsonld deleted file mode 100644 index b997852a..00000000 --- a/core/src/test/resources/json-ld.org/frame-0016-in.jsonld +++ /dev/null @@ -1,19 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": "http://example.org/test#untyped" - }, - { - "@id": "http://example.org/test#untyped", - "dc:contributor": "Writer", - "dc:title": "My Book" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0016-out.jsonld b/core/src/test/resources/json-ld.org/frame-0016-out.jsonld deleted file mode 100644 index f4ecd87e..00000000 --- a/core/src/test/resources/json-ld.org/frame-0016-out.jsonld +++ /dev/null @@ -1,15 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@graph": [{ - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/test#untyped", - "dc:contributor": "Writer", - "dc:title": "My Book" - } - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0017-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0017-frame.jsonld deleted file mode 100644 index 16faf5bb..00000000 --- a/core/src/test/resources/json-ld.org/frame-0017-frame.jsonld +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@type": "ex:Library", - "ex:contains": { - "@type": "ex:Book", - "ex:contains": { - "@type": "ex:Chapter" - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0017-in.jsonld b/core/src/test/resources/json-ld.org/frame-0017-in.jsonld deleted file mode 100644 index 5c3ab141..00000000 --- a/core/src/test/resources/json-ld.org/frame-0017-in.jsonld +++ /dev/null @@ -1,21 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": {"@type": "@id"} - }, - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0017-out.jsonld b/core/src/test/resources/json-ld.org/frame-0017-out.jsonld deleted file mode 100644 index c2be4d27..00000000 --- a/core/src/test/resources/json-ld.org/frame-0017-out.jsonld +++ /dev/null @@ -1,22 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@graph": [{ - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - } - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0018-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0018-frame.jsonld deleted file mode 100644 index 3cbce277..00000000 --- a/core/src/test/resources/json-ld.org/frame-0018-frame.jsonld +++ /dev/null @@ -1,4 +0,0 @@ -{ - "@type": ["http://example.org/vocab#Library"], - "http://example.org/vocab#contains": [{}] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0018-in.jsonld b/core/src/test/resources/json-ld.org/frame-0018-in.jsonld deleted file mode 100644 index b402b5b3..00000000 --- a/core/src/test/resources/json-ld.org/frame-0018-in.jsonld +++ /dev/null @@ -1,16 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:contains": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": "http://example.org/test#book" - }, - { - "@id": "http://example.org/test#book" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0018-out.jsonld b/core/src/test/resources/json-ld.org/frame-0018-out.jsonld deleted file mode 100644 index 2337696b..00000000 --- a/core/src/test/resources/json-ld.org/frame-0018-out.jsonld +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@graph": [{ - "@id": "http://example.org/test/#library", - "@type": "http://example.org/vocab#Library", - "http://example.org/vocab#contains": {"@id": "http://example.org/test#book"} - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0019-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0019-frame.jsonld deleted file mode 100644 index 632cdfbb..00000000 --- a/core/src/test/resources/json-ld.org/frame-0019-frame.jsonld +++ /dev/null @@ -1,6 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/terms#" - }, - "@type": "ex:Node" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0019-in.jsonld b/core/src/test/resources/json-ld.org/frame-0019-in.jsonld deleted file mode 100644 index f04ff658..00000000 --- a/core/src/test/resources/json-ld.org/frame-0019-in.jsonld +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/terms#", - "ex:sees": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "ex:node1", - "@type": "ex:Node", - "ex:sees": "ex:node2", - "ex:color": "blue" - }, { - "@id": "ex:node2", - "@type": "ex:Node", - "ex:sees": "ex:node1", - "ex:color": "red" - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0019-out.jsonld b/core/src/test/resources/json-ld.org/frame-0019-out.jsonld deleted file mode 100644 index 7902bcad..00000000 --- a/core/src/test/resources/json-ld.org/frame-0019-out.jsonld +++ /dev/null @@ -1,30 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/terms#" - }, - "@graph": [{ - "@id": "ex:node1", - "@type": "ex:Node", - "ex:color": "blue", - "ex:sees": { - "@id": "ex:node2", - "@type": "ex:Node", - "ex:sees": { - "@id": "ex:node1" - }, - "ex:color": "red" - } - }, { - "@id": "ex:node2", - "@type": "ex:Node", - "ex:color": "red", - "ex:sees": { - "@id": "ex:node1", - "@type": "ex:Node", - "ex:sees": { - "@id": "ex:node2" - }, - "ex:color": "blue" - } - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0020-in.jsonld b/core/src/test/resources/json-ld.org/frame-0020-in.jsonld deleted file mode 100644 index 606195c3..00000000 --- a/core/src/test/resources/json-ld.org/frame-0020-in.jsonld +++ /dev/null @@ -1,34 +0,0 @@ -{ - "@context": { - "name": "http://rdf.data-vocabulary.org/#name", - "ingredient": "http://rdf.data-vocabulary.org/#ingredients", - "yield": "http://rdf.data-vocabulary.org/#yield", - "instructions": "http://rdf.data-vocabulary.org/#instructions", - "step": { - "@id": "http://rdf.data-vocabulary.org/#step", - "@type": "xsd:integer" - }, - "description": "http://rdf.data-vocabulary.org/#description", - "xsd": "http://www.w3.org/2001/XMLSchema#" - }, - "name": "Mojito", - "ingredient": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], - "yield": "1 cocktail", - "instructions": [ - { - "step": 1, - "description": "Crush lime juice, mint and sugar together in glass." - }, { - "step": 2, - "description": "Fill glass to top with ice cubes." - }, { - "step": 3, - "description": "Pour white rum over ice." - }, { - "step": 4, - "description": "Fill the rest of glass with club soda, stir." - }, { - "step": 5, - "description": "Garnish with a lime wedge." - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0020-out.jsonld b/core/src/test/resources/json-ld.org/frame-0020-out.jsonld deleted file mode 100644 index fa1ef500..00000000 --- a/core/src/test/resources/json-ld.org/frame-0020-out.jsonld +++ /dev/null @@ -1,80 +0,0 @@ -{ - "@graph": [ - { - "@id": "_:b0", - "http://rdf.data-vocabulary.org/#ingredients": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], - "http://rdf.data-vocabulary.org/#instructions": [{ - "@id": "_:b1", - "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 1 - } - }, { - "@id": "_:b2", - "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 2 - } - }, { - "@id": "_:b3", - "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 3 - } - }, { - "@id": "_:b4", - "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 4 - } - }, { - "@id": "_:b5", - "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 5 - } - }], - "http://rdf.data-vocabulary.org/#name": "Mojito", - "http://rdf.data-vocabulary.org/#yield": "1 cocktail" - }, { - "@id": "_:b1", - "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 1 - } - }, { - "@id": "_:b2", - "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 2 - } - }, { - "@id": "_:b3", - "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 3 - } - }, { - "@id": "_:b4", - "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 4 - } - }, { - "@id": "_:b5", - "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 5 - } - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0021-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0021-frame.jsonld deleted file mode 100644 index 32bfc6a6..00000000 --- a/core/src/test/resources/json-ld.org/frame-0021-frame.jsonld +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:list": {"@container": "@list"} - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0021-in.jsonld b/core/src/test/resources/json-ld.org/frame-0021-in.jsonld deleted file mode 100644 index ccb878c3..00000000 --- a/core/src/test/resources/json-ld.org/frame-0021-in.jsonld +++ /dev/null @@ -1,32 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "xsd": "http://www.w3.org/2001/XMLSchema#", - "ex:contains": { - "@type": "@id" - }, - "ex:list": {"@container": "@list"} - }, - "@graph": [ - { - "@id": "_:Book", - "dc:title": "Book type" - }, { - "@id": "http://example.org/library", - "@type": "ex:Library", - "ex:contains": "http://example.org/library/the-republic" - }, { - "@id": "http://example.org/library/the-republic", - "@type": "_:Book", - "dc:creator": "Plato", - "dc:title": "The Republic", - "ex:contains": "http://example.org/library/the-republic#introduction" - }, { - "@id": "http://example.org/library/the-republic#introduction", - "@type": "ex:Chapter", - "dc:description": "An introductory chapter on The Republic.", - "dc:title": "The Introduction", - "ex:list": [1, 2, 3, 4, 4, 4, 5] - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0021-out.jsonld b/core/src/test/resources/json-ld.org/frame-0021-out.jsonld deleted file mode 100644 index a5e67d43..00000000 --- a/core/src/test/resources/json-ld.org/frame-0021-out.jsonld +++ /dev/null @@ -1,46 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:list": {"@container": "@list"} - }, - "@graph": [ - { - "@id": "_:b0", - "dc:title": "Book type" - }, { - "@id": "http://example.org/library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/library/the-republic", - "@type": "_:b0", - "dc:creator": "Plato", - "dc:title": "The Republic", - "ex:contains": { - "@id": "http://example.org/library/the-republic#introduction", - "@type": "ex:Chapter", - "dc:description": "An introductory chapter on The Republic.", - "dc:title": "The Introduction", - "ex:list": [1, 2, 3, 4, 4, 4, 5] - } - } - }, { - "@id": "http://example.org/library/the-republic", - "@type": "_:b0", - "ex:contains": { - "@id": "http://example.org/library/the-republic#introduction", - "@type": "ex:Chapter", - "dc:description": "An introductory chapter on The Republic.", - "dc:title": "The Introduction", - "ex:list": [1, 2, 3, 4, 4, 4, 5] - }, - "dc:creator": "Plato", - "dc:title": "The Republic" - }, { - "@id": "http://example.org/library/the-republic#introduction", - "@type": "ex:Chapter", - "dc:description": "An introductory chapter on The Republic.", - "ex:list": [1, 2, 3, 4, 4, 4, 5], - "dc:title": "The Introduction" - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0022-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0022-frame.jsonld deleted file mode 100644 index dc15b5fd..00000000 --- a/core/src/test/resources/json-ld.org/frame-0022-frame.jsonld +++ /dev/null @@ -1,4 +0,0 @@ -{ - "@context": {"ex": "http://example.org/"}, - "@id": "ex:Sub1" -} diff --git a/core/src/test/resources/json-ld.org/frame-0022-in.jsonld b/core/src/test/resources/json-ld.org/frame-0022-in.jsonld deleted file mode 100644 index 3e9969a6..00000000 --- a/core/src/test/resources/json-ld.org/frame-0022-in.jsonld +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@context": {"ex": "http://example.org/"}, - "@graph": [{ - "@id": "ex:Sub1", - "@type": "ex:Type1" - }, { - "@id": "ex:Sub2", - "@type": "ex:Type2" - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0022-out.jsonld b/core/src/test/resources/json-ld.org/frame-0022-out.jsonld deleted file mode 100644 index ef560bfc..00000000 --- a/core/src/test/resources/json-ld.org/frame-0022-out.jsonld +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@context": {"ex": "http://example.org/"}, - "@graph": [{ - "@id": "ex:Sub1", - "@type": "ex:Type1" - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-0030-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0030-frame.jsonld deleted file mode 100644 index 415e2b8f..00000000 --- a/core/src/test/resources/json-ld.org/frame-0030-frame.jsonld +++ /dev/null @@ -1,12 +0,0 @@ -{ - "@context": { - "ex": "http://www.example.com/#" - }, - "@type": "ex:Thing", - "ex:embed": { - "@embed": "@always" - }, - "ex:noembed": { - "@embed": "@never" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0030-in.jsonld b/core/src/test/resources/json-ld.org/frame-0030-in.jsonld deleted file mode 100644 index d5df9e32..00000000 --- a/core/src/test/resources/json-ld.org/frame-0030-in.jsonld +++ /dev/null @@ -1,15 +0,0 @@ -{ - "@context": { - "ex": "http://www.example.com/#" - }, - "@id": "ex:subject", - "@type": "ex:Thing", - "ex:embed": { - "@id": "ex:embedded", - "ex:title": "Embedded" - }, - "ex:noembed": { - "@id": "ex:notembedded", - "ex:title": "Not Embedded" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0030-out.jsonld b/core/src/test/resources/json-ld.org/frame-0030-out.jsonld deleted file mode 100644 index 358ab54c..00000000 --- a/core/src/test/resources/json-ld.org/frame-0030-out.jsonld +++ /dev/null @@ -1,16 +0,0 @@ -{ - "@context": { - "ex": "http://www.example.com/#" - }, - "@graph": [{ - "@id": "ex:subject", - "@type": "ex:Thing", - "ex:embed": { - "@id": "ex:embedded", - "ex:title": "Embedded" - }, - "ex:noembed": { - "@id": "ex:notembedded" - } - }] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0046-frame.jsonld b/core/src/test/resources/json-ld.org/frame-0046-frame.jsonld deleted file mode 100644 index edd59d96..00000000 --- a/core/src/test/resources/json-ld.org/frame-0046-frame.jsonld +++ /dev/null @@ -1,4 +0,0 @@ -{ - "@context": {"@vocab": "urn:"}, - "@type": "Class" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-0046-in.jsonld b/core/src/test/resources/json-ld.org/frame-0046-in.jsonld deleted file mode 100644 index a092c9da..00000000 --- a/core/src/test/resources/json-ld.org/frame-0046-in.jsonld +++ /dev/null @@ -1,11 +0,0 @@ -{ - "@context": {"@vocab": "urn:"}, - "@id": "urn:id-1", - "@type": "Class", - "preserve": { - "@graph": { - "@id": "urn:id-2", - "term": "data" - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-g001-frame.jsonld b/core/src/test/resources/json-ld.org/frame-g001-frame.jsonld deleted file mode 100644 index 16faf5bb..00000000 --- a/core/src/test/resources/json-ld.org/frame-g001-frame.jsonld +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@type": "ex:Library", - "ex:contains": { - "@type": "ex:Book", - "ex:contains": { - "@type": "ex:Chapter" - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-g001-in.jsonld b/core/src/test/resources/json-ld.org/frame-g001-in.jsonld deleted file mode 100644 index dcc2dfab..00000000 --- a/core/src/test/resources/json-ld.org/frame-g001-in.jsonld +++ /dev/null @@ -1,27 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": "http://example.org/test#book" - }, - { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": "http://example.org/test#chapter" - }, - { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-g001-out.jsonld b/core/src/test/resources/json-ld.org/frame-g001-out.jsonld deleted file mode 100644 index 54356959..00000000 --- a/core/src/test/resources/json-ld.org/frame-g001-out.jsonld +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#" - }, - "@id": "http://example.org/test/#library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/test#book", - "@type": "ex:Book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": { - "@id": "http://example.org/test#chapter", - "@type": "ex:Chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-manifest.jsonld b/core/src/test/resources/json-ld.org/frame-manifest.jsonld deleted file mode 100644 index 03df4284..00000000 --- a/core/src/test/resources/json-ld.org/frame-manifest.jsonld +++ /dev/null @@ -1,222 +0,0 @@ -{ - "@context": "http://json-ld.org/test-suite/context.jsonld", - "@id": "", - "@type": "mf:Manifest", - "name": "Framing", - "description": "JSON-LD framing tests use object comparison.", - "baseIri": "http://json-ld.org/test-suite/tests/", - "sequence": [{ - "@id": "#t0001", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "simple", - "input": "frame-0001-in.jsonld", - "frame": "frame-0001-frame.jsonld", - "expect": "frame-0001-out.jsonld" - }, { - "@id": "#t0002", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "reframe w/extra CURIE value", - "input": "frame-0002-in.jsonld", - "frame": "frame-0002-frame.jsonld", - "expect": "frame-0002-out.jsonld" - }, { - "@id": "#t0003", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "reframe (null)", - "input": "frame-0003-in.jsonld", - "frame": "frame-0003-frame.jsonld", - "expect": "frame-0003-out.jsonld" - }, { - "@id": "#t0004", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "reframe (type)", - "input": "frame-0004-in.jsonld", - "frame": "frame-0004-frame.jsonld", - "expect": "frame-0004-out.jsonld" - }, { - "@id": "#t0005", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "reframe (explicit)", - "input": "frame-0005-in.jsonld", - "frame": "frame-0005-frame.jsonld", - "expect": "frame-0005-out.jsonld" - }, { - "@id": "#t0006", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "reframe (non-explicit)", - "input": "frame-0006-in.jsonld", - "frame": "frame-0006-frame.jsonld", - "expect": "frame-0006-out.jsonld" - }, { - "@id": "#t0007", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "input has multiple types", - "input": "frame-0007-in.jsonld", - "frame": "frame-0007-frame.jsonld", - "expect": "frame-0007-out.jsonld" - }, { - "@id": "#t0008", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "array framing cases", - "input": "frame-0008-in.jsonld", - "frame": "frame-0008-frame.jsonld", - "expect": "frame-0008-out.jsonld" - }, { - "@id": "#t0009", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "default value", - "input": "frame-0009-in.jsonld", - "frame": "frame-0009-frame.jsonld", - "expect": "frame-0009-out.jsonld" - }, { - "@id": "#t0010", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "property CURIE conflict", - "input": "frame-0010-in.jsonld", - "frame": "frame-0010-frame.jsonld", - "expect": "frame-0010-out.jsonld" - }, { - "@id": "#t0011", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "@embed", - "input": "frame-0011-in.jsonld", - "frame": "frame-0011-frame.jsonld", - "expect": "frame-0011-out.jsonld" - }, { - "@id": "#t0012", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Array frame", - "input": "frame-0012-in.jsonld", - "frame": "frame-0012-frame.jsonld", - "expect": "frame-0012-out.jsonld" - }, { - "@id": "#t0013", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Replace existing embed", - "input": "frame-0013-in.jsonld", - "frame": "frame-0013-frame.jsonld", - "expect": "frame-0013-out.jsonld" - }, { - "@id": "#t0014", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Replace existing embed on 2nd pass", - "input": "frame-0014-in.jsonld", - "frame": "frame-0014-frame.jsonld", - "expect": "frame-0014-out.jsonld" - }, { - "@id": "#t0015", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Replace deeply-nested embed", - "input": "frame-0015-in.jsonld", - "frame": "frame-0015-frame.jsonld", - "expect": "frame-0015-out.jsonld" - }, { - "@id": "#t0016", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Use @type in ducktype filter", - "input": "frame-0016-in.jsonld", - "frame": "frame-0016-frame.jsonld", - "expect": "frame-0016-out.jsonld" - }, { - "@id": "#t0017", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Non-flat input", - "input": "frame-0017-in.jsonld", - "frame": "frame-0017-frame.jsonld", - "expect": "frame-0017-out.jsonld" - }, { - "@id": "#t0018", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "no frame @context but @graph output", - "input": "frame-0018-in.jsonld", - "frame": "frame-0018-frame.jsonld", - "expect": "frame-0018-out.jsonld" - }, { - "@id": "#t0019", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Resources can be re-embedded again in each top-level frame match", - "input": "frame-0019-in.jsonld", - "frame": "frame-0019-frame.jsonld", - "expect": "frame-0019-out.jsonld" - }, { - "@id": "#t0020", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Blank nodes in an array", - "input": "frame-0020-in.jsonld", - "frame": "frame-0020-frame.jsonld", - "expect": "frame-0020-out.jsonld" - }, { - "@id": "#t0021", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Blank nodes in @type", - "input": "frame-0021-in.jsonld", - "frame": "frame-0021-frame.jsonld", - "expect": "frame-0021-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} - } , { - "@id": "#t0022", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Default inside sets", - "input": "frame-0022-in.jsonld", - "frame": "frame-0022-frame.jsonld", - "expect": "frame-0022-out.jsonld" - } , { - "@id": "#t0030", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "@embed", - "input": "frame-0030-in.jsonld", - "frame": "frame-0030-frame.jsonld", - "expect": "frame-0030-out.jsonld" - }, { - "@id": "#tg001", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Library framing example with @graph and omitGraph is true.", - "purpose": "Basic example used in playground and spec examples.", - "input": "frame-g001-in.jsonld", - "frame": "frame-g001-frame.jsonld", - "expect": "frame-g001-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "omitGraph": true} - }, { - "@id": "#tp010", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Property CURIE conflict (prune bnodes)", - "purpose": "(Not really framing) A term looking like a CURIE becomes a CURIE when framing/compacting if defined as such in frame/context.", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, - "input": "frame-0010-in.jsonld", - "frame": "frame-0010-frame.jsonld", - "expect": "frame-p010-out.jsonld" - }, { - "@id": "#tp020", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Blank nodes in an array (prune bnodes)", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, - "input": "frame-0020-in.jsonld", - "frame": "frame-0020-frame.jsonld", - "expect": "frame-p020-out.jsonld" - }, { - "@id": "#tp021", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Blank nodes in @type (prune bnodes)", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, - "input": "frame-0021-in.jsonld", - "frame": "frame-0021-frame.jsonld", - "expect": "frame-p021-out.jsonld" - }, { - "@id": "#tp046", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Merge graphs if no outer @graph is used (prune bnodes)", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, - "input": "frame-0046-in.jsonld", - "frame": "frame-0046-frame.jsonld", - "expect": "frame-p046-out.jsonld" - }, { - "@id": "#tp050", - "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], - "name": "Prune blank nodes with alias of @id", - "purpose": "If @id is aliased in a frame, an unreferenced blank node is still pruned.", - "input": "frame-p050-in.jsonld", - "frame": "frame-p050-frame.jsonld", - "expect": "frame-p050-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-p010-out.jsonld b/core/src/test/resources/json-ld.org/frame-p010-out.jsonld deleted file mode 100644 index 38077e48..00000000 --- a/core/src/test/resources/json-ld.org/frame-p010-out.jsonld +++ /dev/null @@ -1,15 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/terms/", - "dc:creator": { - "@type": "@id" - }, - "foaf": "http://xmlns.com/foaf/0.1/", - "ps": "http://purl.org/payswarm#" - }, - "@id": "http://example.com/asset", - "@type": "ps:Asset", - "dc:creator": { - "foaf:name": "John Doe" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-p020-out.jsonld b/core/src/test/resources/json-ld.org/frame-p020-out.jsonld deleted file mode 100644 index e9d42b94..00000000 --- a/core/src/test/resources/json-ld.org/frame-p020-out.jsonld +++ /dev/null @@ -1,79 +0,0 @@ -{ - "@graph": [ - { - "http://rdf.data-vocabulary.org/#ingredients": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], - "http://rdf.data-vocabulary.org/#instructions": [{ - "@id": "_:b1", - "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 1 - } - }, { - "@id": "_:b2", - "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 2 - } - }, { - "@id": "_:b3", - "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 3 - } - }, { - "@id": "_:b4", - "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 4 - } - }, { - "@id": "_:b5", - "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 5 - } - }], - "http://rdf.data-vocabulary.org/#name": "Mojito", - "http://rdf.data-vocabulary.org/#yield": "1 cocktail" - }, { - "@id": "_:b1", - "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 1 - } - }, { - "@id": "_:b2", - "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 2 - } - }, { - "@id": "_:b3", - "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 3 - } - }, { - "@id": "_:b4", - "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 4 - } - }, { - "@id": "_:b5", - "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", - "http://rdf.data-vocabulary.org/#step": { - "@type": "http://www.w3.org/2001/XMLSchema#integer", - "@value": 5 - } - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-p021-out.jsonld b/core/src/test/resources/json-ld.org/frame-p021-out.jsonld deleted file mode 100644 index a5e67d43..00000000 --- a/core/src/test/resources/json-ld.org/frame-p021-out.jsonld +++ /dev/null @@ -1,46 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:list": {"@container": "@list"} - }, - "@graph": [ - { - "@id": "_:b0", - "dc:title": "Book type" - }, { - "@id": "http://example.org/library", - "@type": "ex:Library", - "ex:contains": { - "@id": "http://example.org/library/the-republic", - "@type": "_:b0", - "dc:creator": "Plato", - "dc:title": "The Republic", - "ex:contains": { - "@id": "http://example.org/library/the-republic#introduction", - "@type": "ex:Chapter", - "dc:description": "An introductory chapter on The Republic.", - "dc:title": "The Introduction", - "ex:list": [1, 2, 3, 4, 4, 4, 5] - } - } - }, { - "@id": "http://example.org/library/the-republic", - "@type": "_:b0", - "ex:contains": { - "@id": "http://example.org/library/the-republic#introduction", - "@type": "ex:Chapter", - "dc:description": "An introductory chapter on The Republic.", - "dc:title": "The Introduction", - "ex:list": [1, 2, 3, 4, 4, 4, 5] - }, - "dc:creator": "Plato", - "dc:title": "The Republic" - }, { - "@id": "http://example.org/library/the-republic#introduction", - "@type": "ex:Chapter", - "dc:description": "An introductory chapter on The Republic.", - "ex:list": [1, 2, 3, 4, 4, 4, 5], - "dc:title": "The Introduction" - }] -} diff --git a/core/src/test/resources/json-ld.org/frame-p046-out.jsonld b/core/src/test/resources/json-ld.org/frame-p046-out.jsonld deleted file mode 100644 index 6d127277..00000000 --- a/core/src/test/resources/json-ld.org/frame-p046-out.jsonld +++ /dev/null @@ -1,6 +0,0 @@ -{ - "@context": {"@vocab": "urn:"}, - "@id": "urn:id-1", - "@type": "Class", - "preserve": {} -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-p050-in.jsonld b/core/src/test/resources/json-ld.org/frame-p050-in.jsonld deleted file mode 100644 index fc31face..00000000 --- a/core/src/test/resources/json-ld.org/frame-p050-in.jsonld +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@context": { - "@vocab": "http://example/", - "id": "@id" - }, - "id": "_:bnode0", - "name": "foo" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/frame-p050-out.jsonld b/core/src/test/resources/json-ld.org/frame-p050-out.jsonld deleted file mode 100644 index 75e0a23e..00000000 --- a/core/src/test/resources/json-ld.org/frame-p050-out.jsonld +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@context": { - "@vocab": "http://example/", - "id": "@id" - }, - "name": "foo" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf-0020-in.nq b/core/src/test/resources/json-ld.org/fromRdf-0020-in.nq deleted file mode 100644 index ce811f51..00000000 --- a/core/src/test/resources/json-ld.org/fromRdf-0020-in.nq +++ /dev/null @@ -1,7 +0,0 @@ - . - "myLabel" . - "2012-05-12"^^ . - . - "Plain" . - "2012-05-12"^^ . - "English"@en . diff --git a/core/src/test/resources/json-ld.org/fromRdf-0020-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf-0020-out.jsonld deleted file mode 100644 index 6f9d169f..00000000 --- a/core/src/test/resources/json-ld.org/fromRdf-0020-out.jsonld +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "@id": "http://example.com/Subj1", - "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : [{ - "@id": "http://example.com/Type" - }], - "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}], - "http://example.com/prop2": [ - {"@value": "Plain"}, - {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"}, - {"@value": "English", "@language": "en"} - ] - }, - { - "@id": "http://example.com/Type", - "http://www.w3.org/1999/02/22-rdf-syntax-ns#label": [{"@value": "myLabel"}], - "http://example.com/prop2": [{"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"}] - } -] diff --git a/core/src/test/resources/json-ld.org/fromRdf-manifest.jsonld b/core/src/test/resources/json-ld.org/fromRdf-manifest.jsonld index 6d9451bb..4a04c921 100644 --- a/core/src/test/resources/json-ld.org/fromRdf-manifest.jsonld +++ b/core/src/test/resources/json-ld.org/fromRdf-manifest.jsonld @@ -1,130 +1,131 @@ { - "@context": "http://json-ld.org/test-suite/context.jsonld", + "@context": "context.jsonld", "@id": "", "@type": "mf:Manifest", "name": "Transform RDF to JSON-LD", "description": "Transform RDF to JSON-LD tests take N-Quads input and use object comparison.", - "baseIri": "http://json-ld.org/test-suite/tests/", + "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Object Lists", "purpose": "Tests generation using different types of objects.", - "input": "fromRdf-0001-in.nq", - "expect": "fromRdf-0001-out.jsonld" + "input": "fromRdf/0001-in.nq", + "expect": "fromRdf/0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Native Types", "purpose": "Do not use native datatypes for xsd:boolean, xsd:integer, and xsd:double by default.", - "input": "fromRdf-0002-in.nq", - "expect": "fromRdf-0002-out.jsonld" + "input": "fromRdf/0002-in.nq", + "expect": "fromRdf/0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "BNodes and references", "purpose": "BNode name generation and references between resources.", - "input": "fromRdf-0003-in.nq", - "expect": "fromRdf-0003-out.jsonld" + "input": "fromRdf/0003-in.nq", + "expect": "fromRdf/0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Lists", "purpose": "Multiple lists with different types of element.", - "input": "fromRdf-0004-in.nq", - "expect": "fromRdf-0004-out.jsonld" + "input": "fromRdf/0004-in.nq", + "expect": "fromRdf/0004-out.jsonld" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Document with list", "purpose": "Uses a named graph containing a list.", - "input": "fromRdf-0005-in.nq", - "expect": "fromRdf-0005-out.jsonld" + "input": "fromRdf/0005-in.nq", + "expect": "fromRdf/0005-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Two graphs having same subject but different values", "purpose": "Ensure that properties and list elements aren't confused between graphs.", - "input": "fromRdf-0006-in.nq", - "expect": "fromRdf-0006-out.jsonld" + "input": "fromRdf/0006-in.nq", + "expect": "fromRdf/0006-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Graph with multiple named graphs", "purpose": "Testing @graph recursion.", - "input": "fromRdf-0007-in.nq", - "expect": "fromRdf-0007-out.jsonld" + "input": "fromRdf/0007-in.nq", + "expect": "fromRdf/0007-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List conversion", - "purpose": "Conversion of lists of lists (the triples in the input are only partially ordered on purpose", - "input": "fromRdf-0008-in.nq", - "expect": "fromRdf-0008-out.jsonld" + "purpose": "Conversion of lists of lists (the triples in the input are only partially ordered on purpose (1.0 semantics)", + "input": "fromRdf/0008-in.nq", + "expect": "fromRdf/0008-out.jsonld", + "option": {"specVersion": "json-ld-1.0"} }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List conversion with IRI nodes", "purpose": "Preserve IRI list nodes (i.e., not blank nodes) when converting to @list", - "input": "fromRdf-0009-in.nq", - "expect": "fromRdf-0009-out.jsonld" + "input": "fromRdf/0009-in.nq", + "expect": "fromRdf/0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern without rdf:nil", "purpose": "Do not convert lists that are not terminated by rdf:nil to @list.", - "input": "fromRdf-0010-in.nq", - "expect": "fromRdf-0010-out.jsonld" + "input": "fromRdf/0010-in.nq", + "expect": "fromRdf/0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with extra properties", "purpose": "If additional properties are associated to a list node, the list is only partially converted to @list.", - "input": "fromRdf-0011-in.nq", - "expect": "fromRdf-0011-out.jsonld" + "input": "fromRdf/0011-in.nq", + "expect": "fromRdf/0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with cycles", "purpose": "Detect lists containing cycles and do not convert them to @list.", - "input": "fromRdf-0012-in.nq", - "expect": "fromRdf-0012-out.jsonld" + "input": "fromRdf/0012-in.nq", + "expect": "fromRdf/0012-out.jsonld" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with multiple values of rdf:first", "purpose": "Do not convert list nodes to @list if nodes contain more than one value for rdf:first.", - "input": "fromRdf-0013-in.nq", - "expect": "fromRdf-0013-out.jsonld" + "input": "fromRdf/0013-in.nq", + "expect": "fromRdf/0013-out.jsonld" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with multiple values of rdf:rest", "purpose": "Do not convert list nodes to @list if nodes contain more than one value for rdf:rest.", - "input": "fromRdf-0014-in.nq", - "expect": "fromRdf-0014-out.jsonld" + "input": "fromRdf/0014-in.nq", + "expect": "fromRdf/0014-out.jsonld" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with IRI rdf:rest", "purpose": "Do not convert lists to @list if a list node's rdf:rest is an IRI.", - "input": "fromRdf-0015-in.nq", - "expect": "fromRdf-0015-out.jsonld" + "input": "fromRdf/0015-in.nq", + "expect": "fromRdf/0015-out.jsonld" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "List pattern with type rdf:List", "purpose": "List nodes may have a rdf:type rdf:List.", - "input": "fromRdf-0016-in.nq", - "expect": "fromRdf-0016-out.jsonld" + "input": "fromRdf/0016-in.nq", + "expect": "fromRdf/0016-out.jsonld" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], "name": "Remove duplicate triples", "purpose": "Equivalent triples are used only once", - "input": "fromRdf-0017-in.nq", - "expect": "fromRdf-0017-out.jsonld" + "input": "fromRdf/0017-in.nq", + "expect": "fromRdf/0017-out.jsonld" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], @@ -133,8 +134,8 @@ "option": { "useNativeTypes": true }, - "input": "fromRdf-0018-in.nq", - "expect": "fromRdf-0018-out.jsonld" + "input": "fromRdf/0018-in.nq", + "expect": "fromRdf/0018-out.jsonld" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], @@ -143,15 +144,137 @@ "option": { "useRdfType": true }, - "input": "fromRdf-0019-in.nq", - "expect": "fromRdf-0019-out.jsonld" + "input": "fromRdf/0019-in.nq", + "expect": "fromRdf/0019-out.jsonld" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], - "name": "rdf:type as an @id with values", - "purpose": "Tests the proper formatting of @type (even with useRdfType to false) into rdf:type when the object contains more triples.", - "input": "fromRdf-0020-in.nq", - "expect": "fromRdf-0020-out.jsonld" + "name": "list with node shared across graphs", + "purpose": "An otherwise conformant list with a node shared across different lists does not serialize using @list", + "input": "fromRdf/0020-in.nq", + "expect": "fromRdf/0020-out.jsonld" + }, { + "@id": "#t0021", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "list with node shared across graphs (same triple in different graphs)", + "purpose": "If a list node is used in different graphs, it isn't removed and converted to @list", + "input": "fromRdf/0021-in.nq", + "expect": "fromRdf/0021-out.jsonld" + }, { + "@id": "#t0022", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "list from duplicate triples", + "purpose": "Duplicate triples for a list node will not prevent @list from being properly generated", + "input": "fromRdf/0022-in.nq", + "expect": "fromRdf/0022-out.jsonld" + }, { + "@id": "#t0023", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "triple with RDF nil subject", + "purpose": "Test triple with RDF nil subject", + "input": "fromRdf/0023-in.nq", + "expect": "fromRdf/0023-out.jsonld" + }, { + "@id": "#t0024", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "multiple languages for same subject+property+value", + "purpose": "Uniqness of triples should include the value language", + "input": "fromRdf/0024-in.nq", + "expect": "fromRdf/0024-out.jsonld" + }, { + "@id": "#t0025", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "multiple types for same subject+property+value", + "purpose": "Uniqness of triples should include the value type", + "input": "fromRdf/0025-in.nq", + "expect": "fromRdf/0025-out.jsonld" + }, { + "@id": "#t0026", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "triple with rdf:first property and rdf:nil value", + "purpose": "Check list generation with rdf:first property and rdf:nil value.", + "input": "fromRdf/0026-in.nq", + "expect": "fromRdf/0026-out.jsonld" + }, { + "@id": "#tjs01", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "JSON literal (boolean true)", + "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (boolean true).", + "input": "fromRdf/js01-in.nq", + "expect": "fromRdf/js01-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs02", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "JSON literal (boolean false)", + "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (boolean false).", + "input": "fromRdf/js02-in.nq", + "expect": "fromRdf/js02-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs03", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "JSON literal (double)", + "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (double).", + "input": "fromRdf/js03-in.nq", + "expect": "fromRdf/js03-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs04", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "JSON literal (double-zero)", + "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (double-zero).", + "input": "fromRdf/js04-in.nq", + "expect": "fromRdf/js04-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs05", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "JSON literal (integer)", + "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (integer).", + "input": "fromRdf/js05-in.nq", + "expect": "fromRdf/js05-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs06", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "JSON literal (object)", + "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (object).", + "input": "fromRdf/js06-in.nq", + "expect": "fromRdf/js06-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs07", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "JSON literal (array)", + "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (array).", + "input": "fromRdf/js07-in.nq", + "expect": "fromRdf/js07-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tli01", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "@list containing empty @list", + "purpose": "List of lists", + "input": "fromRdf/li01-in.nq", + "expect": "fromRdf/li01-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli02", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "@list containing multiple lists", + "purpose": "List of lists", + "input": "fromRdf/li02-in.nq", + "expect": "fromRdf/li02-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli03", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "t0008 as interpreted for 1.1. ", + "purpose": "List of lists", + "input": "fromRdf/li02-in.nq", + "expect": "fromRdf/li02-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} } ] } diff --git a/core/src/test/resources/json-ld.org/fromRdf-0001-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0001-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0001-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0001-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0001-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0001-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0002-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0002-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0002-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0002-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0002-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0002-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0003-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0003-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0003-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0003-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0003-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0003-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0004-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0004-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0004-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0004-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0004-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0004-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0005-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0005-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0005-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0005-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0005-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0005-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0006-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0006-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0006-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0006-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0006-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0006-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0007-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0007-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0007-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0007-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0007-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0007-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0008-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0008-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0008-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0008-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0008-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0008-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0009-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0009-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0009-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0009-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0009-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0009-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0010-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0010-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0010-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0010-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0010-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0010-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0011-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0011-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0011-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0011-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0011-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0011-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0011-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0012-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0012-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0012-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0012-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0012-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0012-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0013-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0013-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0013-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0013-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0013-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0013-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0014-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0014-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0014-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0014-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0014-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0014-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0015-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0015-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0015-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0015-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0015-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0015-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0016-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0016-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0016-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0016-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0016-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0016-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0017-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0017-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0017-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0017-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0017-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0017-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0018-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0018-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0018-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0018-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0018-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0018-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-0019-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0019-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0019-in.nq rename to core/src/test/resources/json-ld.org/fromRdf/0019-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf-0019-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-0019-out.jsonld rename to core/src/test/resources/json-ld.org/fromRdf/0019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0020-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0020-in.nq new file mode 100644 index 00000000..dd715f3d --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0020-in.nq @@ -0,0 +1,6 @@ + _:z0 . +_:z0 "cell-A" . +_:z0 _:z1 . +_:z1 "cell-B" . +_:z1 . + _:z1 . diff --git a/core/src/test/resources/json-ld.org/fromRdf/0020-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0020-out.jsonld new file mode 100644 index 00000000..2c5e5ee1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0020-out.jsonld @@ -0,0 +1,30 @@ +[ + { + "@id": "http://www.example.com/G", + "@graph": [ + { + "@id": "_:z0", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "cell-A" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:z1" } ] + }, + { + "@id": "_:z1", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "cell-B" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@list": [] } ] + }, + { + "@id": "http://www.example.com/z", + "http://www.example.com/q": [ { "@id": "_:z0" } ] + } + ] + }, + { + "@id": "http://www.example.com/G1", + "@graph": [ + { + "@id": "http://www.example.com/x", + "http://www.example.com/p": [ { "@id": "_:z1" } ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/fromRdf/0021-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0021-in.nq new file mode 100644 index 00000000..ce770b64 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0021-in.nq @@ -0,0 +1,6 @@ + _:z0 . +_:z0 "cell-A" . +_:z0 _:z1 . +_:z1 "cell-B" . +_:z1 . + _:z0 . diff --git a/core/src/test/resources/json-ld.org/fromRdf/0021-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0021-out.jsonld new file mode 100644 index 00000000..2bfc7d35 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0021-out.jsonld @@ -0,0 +1,31 @@ +[ + { + "@id": "http://www.example.com/G", + "@graph": [ + { + "@id": "_:z0", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "cell-A" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ + { + "@list": [ + { "@value": "cell-B" } + ] + } + ] + }, + { + "@id": "http://www.example.com/z", + "http://www.example.com/q": [ { "@id": "_:z0" } ] + } + ] + }, + { + "@id": "http://www.example.com/G1", + "@graph": [ + { + "@id": "http://www.example.com/z", + "http://www.example.com/q": [ { "@id": "_:z0" } ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/fromRdf/0022-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0022-in.nq new file mode 100644 index 00000000..bb7c722b --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0022-in.nq @@ -0,0 +1,6 @@ + _:z0 . +_:z0 "cell-A" . +_:z0 _:z1 . +_:z1 "cell-B" . +_:z1 . + _:z0 . diff --git a/core/src/test/resources/json-ld.org/fromRdf/0022-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0022-out.jsonld new file mode 100644 index 00000000..503f2482 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0022-out.jsonld @@ -0,0 +1,22 @@ +[ + { + "@id": "http://www.example.com/G", + "@graph": [ + { + "@id": "http://www.example.com/z", + "http://www.example.com/q": [ + { + "@list": [ + { + "@value": "cell-A" + }, + { + "@value": "cell-B" + } + ] + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/fromRdf/0023-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0023-in.nq new file mode 100644 index 00000000..aa54881b --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0023-in.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/fromRdf/0023-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0023-out.jsonld new file mode 100644 index 00000000..3ecb939c --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0023-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#nil", + "http://example.com/foo": [ + { + "@id": "http://example.com/bar" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/fromRdf/0024-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0024-in.nq new file mode 100644 index 00000000..6ac8fd5c --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0024-in.nq @@ -0,0 +1,2 @@ + "test"@en . + "test"@fr . diff --git a/core/src/test/resources/json-ld.org/fromRdf/0024-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0024-out.jsonld new file mode 100644 index 00000000..4ff839cc --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0024-out.jsonld @@ -0,0 +1,15 @@ +[ + { + "@id": "http://example.com", + "http://example.com/label": [ + { + "@value": "test", + "@language": "en" + }, + { + "@value": "test", + "@language": "fr" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/fromRdf/0025-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0025-in.nq new file mode 100644 index 00000000..5988604a --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0025-in.nq @@ -0,0 +1,2 @@ + "test"^^ . + "test"^^ . diff --git a/core/src/test/resources/json-ld.org/fromRdf/0025-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0025-out.jsonld new file mode 100644 index 00000000..82be02f6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0025-out.jsonld @@ -0,0 +1,15 @@ +[ + { + "@id": "http://example.com", + "http://example.com/label": [ + { + "@value": "test", + "@type": "http://example.com/t1" + }, + { + "@value": "test", + "@type": "http://example.com/t2" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/fromRdf/0026-in.nq b/core/src/test/resources/json-ld.org/fromRdf/0026-in.nq new file mode 100644 index 00000000..f54e3608 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0026-in.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/fromRdf/0026-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/0026-out.jsonld new file mode 100644 index 00000000..dc8b9476 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/0026-out.jsonld @@ -0,0 +1,11 @@ +[ + { + "@id": "ex:s", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ + { + "@list": [] + } + ] + } +] + diff --git a/core/src/test/resources/json-ld.org/fromRdf/js01-in.nq b/core/src/test/resources/json-ld.org/fromRdf/js01-in.nq new file mode 100644 index 00000000..49b72920 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js01-in.nq @@ -0,0 +1 @@ + "true"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js01-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/js01-out.jsonld new file mode 100644 index 00000000..e5d59442 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js01-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.org/vocab#id", + "http://example.org/vocab#bool": [{"@value": true, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js02-in.nq b/core/src/test/resources/json-ld.org/fromRdf/js02-in.nq new file mode 100644 index 00000000..f88e0fa6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js02-in.nq @@ -0,0 +1 @@ + "false"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js02-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/js02-out.jsonld new file mode 100644 index 00000000..5e831a6c --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js02-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.org/vocab#id", + "http://example.org/vocab#bool": [{"@value": false, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js03-in.nq b/core/src/test/resources/json-ld.org/fromRdf/js03-in.nq new file mode 100644 index 00000000..83f070a5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js03-in.nq @@ -0,0 +1 @@ + "1.23"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js03-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/js03-out.jsonld new file mode 100644 index 00000000..19e3e095 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js03-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.org/vocab#id", + "http://example.org/vocab#double": [{"@value": 1.23E0, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js04-in.nq b/core/src/test/resources/json-ld.org/fromRdf/js04-in.nq new file mode 100644 index 00000000..cd8145ef --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js04-in.nq @@ -0,0 +1 @@ + "0"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js04-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/js04-out.jsonld new file mode 100644 index 00000000..d0171d50 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js04-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.org/vocab#id", + "http://example.org/vocab#double": [{"@value": 0, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js05-in.nq b/core/src/test/resources/json-ld.org/fromRdf/js05-in.nq new file mode 100644 index 00000000..063dda24 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js05-in.nq @@ -0,0 +1 @@ + "123"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js05-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/js05-out.jsonld new file mode 100644 index 00000000..438a44e1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js05-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.org/vocab#id", + "http://example.org/vocab#integer": [{"@value": 123, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js06-in.nq b/core/src/test/resources/json-ld.org/fromRdf/js06-in.nq new file mode 100644 index 00000000..498c22b0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js06-in.nq @@ -0,0 +1 @@ + "{\"foo\":\"bar\"}"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js06-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/js06-out.jsonld new file mode 100644 index 00000000..89844df5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js06-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.org/vocab#id", + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js07-in.nq b/core/src/test/resources/json-ld.org/fromRdf/js07-in.nq new file mode 100644 index 00000000..257f4b0a --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js07-in.nq @@ -0,0 +1 @@ + "[{\"foo\":\"bar\"}]"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/js07-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/js07-out.jsonld new file mode 100644 index 00000000..3233b0b9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/js07-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.org/vocab#id", + "http://example.org/vocab#array": [{"@value": [{"foo": "bar"}], "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/li01-in.nq b/core/src/test/resources/json-ld.org/fromRdf/li01-in.nq new file mode 100644 index 00000000..b7018119 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/li01-in.nq @@ -0,0 +1,3 @@ + _:l1 . +_:l1 . +_:l1 . diff --git a/core/src/test/resources/json-ld.org/fromRdf/li01-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/li01-out.jsonld new file mode 100644 index 00000000..df528914 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/li01-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.com/a", + "http://example.com/property": [{"@list": [{"@list": []}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/li02-in.nq b/core/src/test/resources/json-ld.org/fromRdf/li02-in.nq new file mode 100644 index 00000000..37244ae7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/li02-in.nq @@ -0,0 +1,9 @@ + _:l1 . +_:a "a" . +_:a . +_:b "b" . +_:b . +_:l1 _:a . +_:l1 _:l2 . +_:l2 _:b . +_:l2 . diff --git a/core/src/test/resources/json-ld.org/fromRdf/li02-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/li02-out.jsonld new file mode 100644 index 00000000..3f9e348c --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/li02-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "http://example.com/a", + "http://example.com/property": [{"@list": [ + {"@list": [{"@value": "a"}]}, + {"@list": [{"@value": "b"}]} + ]}] +}] diff --git a/core/src/test/resources/json-ld.org/fromRdf/li03-in.nq b/core/src/test/resources/json-ld.org/fromRdf/li03-in.nq new file mode 100644 index 00000000..878e33ed --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/li03-in.nq @@ -0,0 +1,28 @@ + _:outerlist . +_:outerlist _:lista . +_:outerlist _:b0 . + +_:lista "a1" . +_:lista _:a2 . +_:a2 "a2" . +_:a2 _:a3 . +_:a3 "a3" . +_:a3 . + +_:c0 _:c1 . +_:c0 . +_:c1 "c1" . +_:c1 _:c2 . +_:c2 "c2" . +_:c2 _:c3 . +_:c3 "c3" . +_:c3 . + +_:b0 _:b1 . +_:b0 _:c0 . +_:b1 "b1" . +_:b1 _:b2 . +_:b2 "b2" . +_:b2 _:b3 . +_:b3 "b3" . +_:b3 . diff --git a/core/src/test/resources/json-ld.org/fromRdf/li03-out.jsonld b/core/src/test/resources/json-ld.org/fromRdf/li03-out.jsonld new file mode 100644 index 00000000..3dff7bcf --- /dev/null +++ b/core/src/test/resources/json-ld.org/fromRdf/li03-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com", + "http://example.com/property": [ + { + "@list": [ + {"@list": [{"@value": "a1"}, {"@value": "a2"}, {"@value": "a3"}]}, + {"@list": [{"@value": "b1"}, {"@value": "b2"}, {"@value": "b3"}]}, + {"@list": [{"@value": "c1"}, {"@value": "c2"}, {"@value": "c3"}]} + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/manifest.jsonld b/core/src/test/resources/json-ld.org/manifest.jsonld new file mode 100644 index 00000000..fd7dfce2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/manifest.jsonld @@ -0,0 +1,15 @@ +{ + "@context": "context.jsonld", + "@id": "", + "@type": "mf:Manifest", + "name": "JSON-LD Test Suite", + "description": "This manifest loads additional manifests for specific behavior tests", + "sequence": [ + "compact-manifest.jsonld", + "expand-manifest.jsonld", + "flatten-manifest.jsonld", + "fromRdf-manifest.jsonld", + "remote-doc-manifest.jsonld", + "toRdf-manifest.jsonld" + ] +} diff --git a/core/src/test/resources/json-ld.org/mk_vocab.rb b/core/src/test/resources/json-ld.org/mk_vocab.rb new file mode 100755 index 00000000..402890a7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/mk_vocab.rb @@ -0,0 +1,34 @@ +#!/usr/bin/env ruby +# Generate vocab.jsonld and vocab.html from vocab.ttl and vocab_template. +# +# Generating vocab.jsonld is equivalent to running the following: +# +# jsonld --compact --context vocab_context.jsonld --input-format ttl vocab.ttl -o vocab.jsonld +require 'linkeddata' +require 'haml' + +File.open("vocab.jsonld", "w") do |f| + r = RDF::Repository.load("vocab.ttl") + JSON::LD::API.fromRDF(r, :useNativeTypes => true) do |expanded| + # Remove leading/trailing and multiple whitespace from rdf:comments + expanded.each do |o| + c = o[RDF::RDFS.comment.to_s].first['@value'] + o[RDF::RDFS.comment.to_s].first['@value'] = c.strip.gsub(/\s+/m, ' ') + end + JSON::LD::API.compact(expanded, File.open("vocab_context.jsonld")) do |compacted| + # Create vocab.jsonld + f.write(compacted.to_json(JSON::LD::JSON_STATE)) + + # Create vocab.html using vocab_template.haml and compacted vocabulary + template = File.read("vocab_template.haml") + + html = Haml::Engine.new(template, format: :html5).render(self, + ontology: compacted['@graph'].detect {|o| o['@id'] == "https://w3c.github.io/json-ld-api/tests/vocab#"}, + classes: compacted['@graph'].select {|o| o['@type'] == "rdfs:Class"}.sort_by {|o| o['rdfs:label']}, + properties: compacted['@graph'].select {|o| o['@type'] == "rdf:Property"}.sort_by {|o| o['rdfs:label']}, + source: compacted.to_json(JSON::LD::JSON_STATE) + ) + File.open("vocab.html", "w") {|fh| fh.write html} + end + end +end diff --git a/core/src/test/resources/json-ld.org/normalize-0001-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0001-in.jsonld deleted file mode 100644 index 39c66051..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0001-in.jsonld +++ /dev/null @@ -1,3 +0,0 @@ -{ - "@id": "http://example.org/test#example" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0002-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0002-in.jsonld deleted file mode 100644 index bdcb83cd..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0002-in.jsonld +++ /dev/null @@ -1,14 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@id": "http://example.org/test#example1", - "ex:p": [ - { - "@id": "http://example.org/test#example2" - }, - { - "@id": "http://example.org/test#example2" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0002-out.nq b/core/src/test/resources/json-ld.org/normalize-0002-out.nq deleted file mode 100644 index 529056c8..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0002-out.nq +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/core/src/test/resources/json-ld.org/normalize-0003-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0003-in.jsonld deleted file mode 100644 index efdc7a85..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0003-in.jsonld +++ /dev/null @@ -1,6 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@type": "ex:Foo" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0003-out.nq b/core/src/test/resources/json-ld.org/normalize-0003-out.nq deleted file mode 100644 index 5ca44444..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0003-out.nq +++ /dev/null @@ -1 +0,0 @@ -_:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0004-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0004-in.jsonld deleted file mode 100644 index b6d71c54..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0004-in.jsonld +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@type": "ex:Foo", - "ex:embed": { - "@id": "http://example.org/test#example" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0004-out.nq b/core/src/test/resources/json-ld.org/normalize-0004-out.nq deleted file mode 100644 index b8bc8314..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0004-out.nq +++ /dev/null @@ -1,2 +0,0 @@ -_:c14n0 . -_:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0005-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0005-in.jsonld deleted file mode 100644 index 28264b9d..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0005-in.jsonld +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@id": "http://example.org/test#example", - "@type": "ex:Foo", - "ex:embed": { - "@type": "ex:Bar" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0005-out.nq b/core/src/test/resources/json-ld.org/normalize-0005-out.nq deleted file mode 100644 index 695c23d2..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0005-out.nq +++ /dev/null @@ -1,3 +0,0 @@ - _:c14n0 . - . -_:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0006-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0006-in.jsonld deleted file mode 100644 index 122aa0bf..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0006-in.jsonld +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@id": "http://example.org/test#example", - "@type": [ - "ex:Foo", - "ex:Bar" - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0006-out.nq b/core/src/test/resources/json-ld.org/normalize-0006-out.nq deleted file mode 100644 index 6fdd06dc..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0006-out.nq +++ /dev/null @@ -1,2 +0,0 @@ - . - . diff --git a/core/src/test/resources/json-ld.org/normalize-0007-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0007-in.jsonld deleted file mode 100644 index 2740bc19..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0007-in.jsonld +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:foo": {"@type": "@id"} - }, - "@id": "http://example.org/test#example", - "@type": "ex:Foo", - "ex:foo": "ex:Bar" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0007-out.nq b/core/src/test/resources/json-ld.org/normalize-0007-out.nq deleted file mode 100644 index 95da1839..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0007-out.nq +++ /dev/null @@ -1,2 +0,0 @@ - . - . diff --git a/core/src/test/resources/json-ld.org/normalize-0008-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0008-in.jsonld deleted file mode 100644 index 311c34dc..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0008-in.jsonld +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@context": { - "dc": "http://purl.org/dc/elements/1.1/", - "ex": "http://example.org/vocab#", - "ex:contains": { - "@type": "@id" - } - }, - "@id": "http://example.org/test#library", - "ex:contains": { - "@id": "http://example.org/test#book", - "dc:contributor": "Writer", - "dc:title": "My Book", - "ex:contains": { - "@id": "http://example.org/test#chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" - } - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0008-out.nq b/core/src/test/resources/json-ld.org/normalize-0008-out.nq deleted file mode 100644 index 4f30f5e4..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0008-out.nq +++ /dev/null @@ -1,6 +0,0 @@ - . - "Writer" . - "My Book" . - "Fun" . - "Chapter One" . - . diff --git a/core/src/test/resources/json-ld.org/normalize-0010-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0010-in.jsonld deleted file mode 100644 index c71bc96b..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0010-in.jsonld +++ /dev/null @@ -1,11 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:validFrom": { - "@type": "xsd:dateTime" - }, - "xsd": "http://www.w3.org/2001/XMLSchema#" - }, - "@id": "http://example.org/test#example", - "ex:validFrom": "2011-01-25T00:00:00+0000" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0010-out.nq b/core/src/test/resources/json-ld.org/normalize-0010-out.nq deleted file mode 100644 index 91dd2e10..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0010-out.nq +++ /dev/null @@ -1 +0,0 @@ - "2011-01-25T00:00:00+0000"^^ . diff --git a/core/src/test/resources/json-ld.org/normalize-0011-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0011-in.jsonld deleted file mode 100644 index 4beabc9c..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0011-in.jsonld +++ /dev/null @@ -1,11 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:validFrom": { - "@type": "xsd:dateTime" - }, - "xsd": "http://www.w3.org/2001/XMLSchema#" - }, - "@id": "http://example.org/test#example", - "ex:validFrom": "2011-01-25T00:00:00Z" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0011-out.nq b/core/src/test/resources/json-ld.org/normalize-0011-out.nq deleted file mode 100644 index aeac7ab0..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0011-out.nq +++ /dev/null @@ -1 +0,0 @@ - "2011-01-25T00:00:00Z"^^ . diff --git a/core/src/test/resources/json-ld.org/normalize-0012-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0012-in.jsonld deleted file mode 100644 index 3c04439e..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0012-in.jsonld +++ /dev/null @@ -1,14 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:date": { - "@type": "xsd:dateTime" - }, - "xsd": "http://www.w3.org/2001/XMLSchema#" - }, - "@id": "http://example.org/test#example", - "ex:date": [ - "2011-01-25T00:00:00Z", - "2011-01-25T00:00:00Z" - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0012-out.nq b/core/src/test/resources/json-ld.org/normalize-0012-out.nq deleted file mode 100644 index e542c9fa..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0012-out.nq +++ /dev/null @@ -1 +0,0 @@ - "2011-01-25T00:00:00Z"^^ . diff --git a/core/src/test/resources/json-ld.org/normalize-0014-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0014-in.jsonld deleted file mode 100644 index 5025d958..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0014-in.jsonld +++ /dev/null @@ -1,9 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#" - }, - "@id": "http://example.org/test", - "e:bool": true, - "e:double": 1.23, - "e:int": 123 -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0014-out.nq b/core/src/test/resources/json-ld.org/normalize-0014-out.nq deleted file mode 100644 index 01da6612..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0014-out.nq +++ /dev/null @@ -1,3 +0,0 @@ - "true"^^ . - "1.23E0"^^ . - "123"^^ . diff --git a/core/src/test/resources/json-ld.org/normalize-0015-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0015-in.jsonld deleted file mode 100644 index 92775469..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0015-in.jsonld +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#" - }, - "@graph": [ - { - "@id": "e:A" - }, - { - "@id": "e:B" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0016-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0016-in.jsonld deleted file mode 100644 index 8b763814..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0016-in.jsonld +++ /dev/null @@ -1,15 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:B": {"@type": "@id"} - }, - "@id": "http://example.org/test", - "e:A": { - "@id": "_:b1" - }, - "e:B": "_:b1", - "e:embed": { - "@id": "_:b1", - "name": "foo" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0016-out.nq b/core/src/test/resources/json-ld.org/normalize-0016-out.nq deleted file mode 100644 index 7ea86396..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0016-out.nq +++ /dev/null @@ -1,3 +0,0 @@ - _:c14n0 . - _:c14n0 . - _:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0017-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0017-in.jsonld deleted file mode 100644 index 17fcbc6e..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0017-in.jsonld +++ /dev/null @@ -1,20 +0,0 @@ -[ - { - "@context": { - "e": "http://example.org/vocab#", - "e:B": { - "@type": "@id" - }, - "xsd": "http://www.w3.org/2001/XMLSchema#" - }, - "@id": "http://example.org/test", - "e:A": { - "@id": "_:b1" - }, - "e:B": "_:b1" - }, - { - "@id": "_:b1", - "name": "foo" - } -] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0017-out.nq b/core/src/test/resources/json-ld.org/normalize-0017-out.nq deleted file mode 100644 index 28a87ed6..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0017-out.nq +++ /dev/null @@ -1,2 +0,0 @@ - _:c14n0 . - _:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0018-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0018-in.jsonld deleted file mode 100644 index 99daa632..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0018-in.jsonld +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:self": {"@type": "@id"} - }, - "@id": "_:b0", - "e:self": "_:b0" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0018-out.nq b/core/src/test/resources/json-ld.org/normalize-0018-out.nq deleted file mode 100644 index a01a73a1..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0018-out.nq +++ /dev/null @@ -1 +0,0 @@ -_:c14n0 _:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0019-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0019-in.jsonld deleted file mode 100644 index 7644dbb5..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0019-in.jsonld +++ /dev/null @@ -1,16 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:self": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:b0", - "e:self": "_:b0" - }, - { - "@id": "_:b1", - "e:self": "_:b1" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0019-out.nq b/core/src/test/resources/json-ld.org/normalize-0019-out.nq deleted file mode 100644 index b617fa70..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0019-out.nq +++ /dev/null @@ -1,2 +0,0 @@ -_:c14n0 _:c14n0 . -_:c14n1 _:c14n1 . diff --git a/core/src/test/resources/json-ld.org/normalize-0020-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0020-in.jsonld deleted file mode 100644 index d2a53f39..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0020-in.jsonld +++ /dev/null @@ -1,26 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:A": {"@type": "@id"}, - "e:B": {"@type": "@id"}, - "e:next": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "e:test", - "e:A": "_:b1", - "e:B": "_:b2" - }, - { - "@id": "_:b1", - "e:next": "_:b3" - }, - { - "@id": "_:b2", - "e:next": "_:b3" - }, - { - "@id": "_:b3" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0020-out.nq b/core/src/test/resources/json-ld.org/normalize-0020-out.nq deleted file mode 100644 index 66ac3f5e..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0020-out.nq +++ /dev/null @@ -1,4 +0,0 @@ - _:c14n2 . - _:c14n1 . -_:c14n1 _:c14n0 . -_:c14n2 _:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0021-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0021-in.jsonld deleted file mode 100644 index 9a27f7b1..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0021-in.jsonld +++ /dev/null @@ -1,16 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:next": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:b1", - "e:next": "_:b2" - }, - { - "@id": "_:b2", - "e:next": "_:b1" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0021-out.nq b/core/src/test/resources/json-ld.org/normalize-0021-out.nq deleted file mode 100644 index d67d3872..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0021-out.nq +++ /dev/null @@ -1,2 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n1 _:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0022-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0022-in.jsonld deleted file mode 100644 index 5b3fd752..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0022-in.jsonld +++ /dev/null @@ -1,19 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:next": {"@type": "@id"}, - "e:prev": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:b1", - "e:next": "_:b2", - "e:prev": "_:b2" - }, - { - "@id": "_:b2", - "e:next": "_:b1", - "e:prev": "_:b1" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0022-out.nq b/core/src/test/resources/json-ld.org/normalize-0022-out.nq deleted file mode 100644 index 725618a5..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0022-out.nq +++ /dev/null @@ -1,4 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n1 . -_:c14n1 _:c14n0 . -_:c14n1 _:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0023-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0023-in.jsonld deleted file mode 100644 index 1f8f3993..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0023-in.jsonld +++ /dev/null @@ -1,20 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:next": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:b1", - "e:next": "_:b2" - }, - { - "@id": "_:b2", - "e:next": "_:b3" - }, - { - "@id": "_:b3", - "e:next": "_:b1" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0023-out.nq b/core/src/test/resources/json-ld.org/normalize-0023-out.nq deleted file mode 100644 index cbf821d0..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0023-out.nq +++ /dev/null @@ -1,3 +0,0 @@ -_:c14n0 _:c14n2 . -_:c14n1 _:c14n0 . -_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld.org/normalize-0024-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0024-in.jsonld deleted file mode 100644 index 8c18956d..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0024-in.jsonld +++ /dev/null @@ -1,28 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:next": { - "@type": "@id" - }, - "e:prev": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b1", - "e:next": "_:b2", - "e:prev": "_:b3" - }, - { - "@id": "_:b2", - "e:next": "_:b3", - "e:prev": "_:b1" - }, - { - "@id": "_:b3", - "e:next": "_:b1", - "e:prev": "_:b2" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0024-out.nq b/core/src/test/resources/json-ld.org/normalize-0024-out.nq deleted file mode 100644 index 6a6bf240..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0024-out.nq +++ /dev/null @@ -1,6 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n1 _:c14n2 . -_:c14n1 _:c14n0 . -_:c14n2 _:c14n0 . -_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld.org/normalize-0025-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0025-in.jsonld deleted file mode 100644 index c602fc7c..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0025-in.jsonld +++ /dev/null @@ -1,28 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:next": { - "@type": "@id" - }, - "e:prev": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b1", - "e:next": "_:b2", - "e:prev": "_:b3" - }, - { - "@id": "_:b3", - "e:next": "_:b1", - "e:prev": "_:b2" - }, - { - "@id": "_:b2", - "e:next": "_:b3", - "e:prev": "_:b1" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0025-out.nq b/core/src/test/resources/json-ld.org/normalize-0025-out.nq deleted file mode 100644 index 6a6bf240..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0025-out.nq +++ /dev/null @@ -1,6 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n1 _:c14n2 . -_:c14n1 _:c14n0 . -_:c14n2 _:c14n0 . -_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld.org/normalize-0026-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0026-in.jsonld deleted file mode 100644 index f2fb1baf..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0026-in.jsonld +++ /dev/null @@ -1,28 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:next": { - "@type": "@id" - }, - "e:prev": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b2", - "e:next": "_:b3", - "e:prev": "_:b1" - }, - { - "@id": "_:b1", - "e:next": "_:b2", - "e:prev": "_:b3" - }, - { - "@id": "_:b3", - "e:next": "_:b1", - "e:prev": "_:b2" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0026-out.nq b/core/src/test/resources/json-ld.org/normalize-0026-out.nq deleted file mode 100644 index 6a6bf240..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0026-out.nq +++ /dev/null @@ -1,6 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n1 _:c14n2 . -_:c14n1 _:c14n0 . -_:c14n2 _:c14n0 . -_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld.org/normalize-0027-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0027-in.jsonld deleted file mode 100644 index cb5b8e89..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0027-in.jsonld +++ /dev/null @@ -1,28 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:next": { - "@type": "@id" - }, - "e:prev": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b2", - "e:next": "_:b3", - "e:prev": "_:b1" - }, - { - "@id": "_:b3", - "e:next": "_:b1", - "e:prev": "_:b2" - }, - { - "@id": "_:b1", - "e:next": "_:b2", - "e:prev": "_:b3" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0027-out.nq b/core/src/test/resources/json-ld.org/normalize-0027-out.nq deleted file mode 100644 index 6a6bf240..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0027-out.nq +++ /dev/null @@ -1,6 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n1 _:c14n2 . -_:c14n1 _:c14n0 . -_:c14n2 _:c14n0 . -_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld.org/normalize-0028-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0028-in.jsonld deleted file mode 100644 index 078b76be..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0028-in.jsonld +++ /dev/null @@ -1,28 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:next": { - "@type": "@id" - }, - "e:prev": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b3", - "e:next": "_:b1", - "e:prev": "_:b2" - }, - { - "@id": "_:b2", - "e:next": "_:b3", - "e:prev": "_:b1" - }, - { - "@id": "_:b1", - "e:next": "_:b2", - "e:prev": "_:b3" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0028-out.nq b/core/src/test/resources/json-ld.org/normalize-0028-out.nq deleted file mode 100644 index 6a6bf240..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0028-out.nq +++ /dev/null @@ -1,6 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n1 _:c14n2 . -_:c14n1 _:c14n0 . -_:c14n2 _:c14n0 . -_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld.org/normalize-0029-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0029-in.jsonld deleted file mode 100644 index 5ed1ec2e..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0029-in.jsonld +++ /dev/null @@ -1,28 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:next": { - "@type": "@id" - }, - "e:prev": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b3", - "e:next": "_:b1", - "e:prev": "_:b2" - }, - { - "@id": "_:b1", - "e:next": "_:b2", - "e:prev": "_:b3" - }, - { - "@id": "_:b2", - "e:next": "_:b3", - "e:prev": "_:b1" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0029-out.nq b/core/src/test/resources/json-ld.org/normalize-0029-out.nq deleted file mode 100644 index 6a6bf240..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0029-out.nq +++ /dev/null @@ -1,6 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n1 _:c14n2 . -_:c14n1 _:c14n0 . -_:c14n2 _:c14n0 . -_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld.org/normalize-0030-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0030-in.jsonld deleted file mode 100644 index a75642e7..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0030-in.jsonld +++ /dev/null @@ -1,37 +0,0 @@ -{ - "@context": { - "e": "http://example.org/vocab#", - "e:A": { - "@type": "@id" - }, - "e:B": { - "@type": "@id" - }, - "e:C": { - "@type": "@id" - }, - "e:next": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "e:test", - "e:A": "_:b1", - "e:B": "_:b2", - "e:C": "_:b3" - }, - { - "@id": "_:b1", - "e:next": "_:b2" - }, - { - "@id": "_:b2", - "e:next": "_:b3" - }, - { - "@id": "_:b3", - "e:next": "_:b1" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0030-out.nq b/core/src/test/resources/json-ld.org/normalize-0030-out.nq deleted file mode 100644 index 554c7d8e..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0030-out.nq +++ /dev/null @@ -1,6 +0,0 @@ - _:c14n1 . - _:c14n2 . - _:c14n0 . -_:c14n0 _:c14n1 . -_:c14n1 _:c14n2 . -_:c14n2 _:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0031-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0031-in.jsonld deleted file mode 100644 index 5a05ec99..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0031-in.jsonld +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@id": "_:a", - "@type": "ex:Foo" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0031-out.nq b/core/src/test/resources/json-ld.org/normalize-0031-out.nq deleted file mode 100644 index 5ca44444..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0031-out.nq +++ /dev/null @@ -1 +0,0 @@ -_:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0032-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0032-in.jsonld deleted file mode 100644 index 2359444e..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0032-in.jsonld +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@id": "_:b", - "@type": "ex:Foo" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0032-out.nq b/core/src/test/resources/json-ld.org/normalize-0032-out.nq deleted file mode 100644 index 5ca44444..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0032-out.nq +++ /dev/null @@ -1 +0,0 @@ -_:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0033-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0033-in.jsonld deleted file mode 100644 index 9becb0b3..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0033-in.jsonld +++ /dev/null @@ -1,19 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@graph": [ - { - "@id": "_:a0", - "ex:prop": { - "@id": "_:a1" - } - }, - { - "@id": "_:b0", - "ex:prop": { - "@id": "_:b1" - } - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0033-out.nq b/core/src/test/resources/json-ld.org/normalize-0033-out.nq deleted file mode 100644 index 623996c5..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0033-out.nq +++ /dev/null @@ -1,2 +0,0 @@ -_:c14n1 _:c14n0 . -_:c14n3 _:c14n2 . diff --git a/core/src/test/resources/json-ld.org/normalize-0034-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0034-in.jsonld deleted file mode 100644 index 0a2a38a3..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0034-in.jsonld +++ /dev/null @@ -1,19 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@graph": [ - { - "@id": "_:b0", - "ex:prop": { - "@id": "_:b1" - } - }, - { - "@id": "_:a0", - "ex:prop": { - "@id": "_:a1" - } - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0034-out.nq b/core/src/test/resources/json-ld.org/normalize-0034-out.nq deleted file mode 100644 index 623996c5..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0034-out.nq +++ /dev/null @@ -1,2 +0,0 @@ -_:c14n1 _:c14n0 . -_:c14n3 _:c14n2 . diff --git a/core/src/test/resources/json-ld.org/normalize-0035-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0035-in.jsonld deleted file mode 100644 index fbde484f..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0035-in.jsonld +++ /dev/null @@ -1,26 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:p1": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:a1", - "ex:p1": "_:a3" - }, - { - "@id": "_:a2", - "ex:p1": "_:a4" - }, - { - "@id": "_:a3", - "ex:p2": "Foo" - }, - { - "@id": "_:a4", - "ex:p2": "Foo" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0035-out.nq b/core/src/test/resources/json-ld.org/normalize-0035-out.nq deleted file mode 100644 index eb561bf6..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0035-out.nq +++ /dev/null @@ -1,4 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n1 "Foo" . -_:c14n2 _:c14n3 . -_:c14n3 "Foo" . diff --git a/core/src/test/resources/json-ld.org/normalize-0036-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0036-in.jsonld deleted file mode 100644 index b9cb261e..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0036-in.jsonld +++ /dev/null @@ -1,26 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:p1": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:a1", - "ex:p1": "_:a4" - }, - { - "@id": "_:a2", - "ex:p1": "_:a3" - }, - { - "@id": "_:a3", - "ex:p2": "Foo" - }, - { - "@id": "_:a4", - "ex:p2": "Foo" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0036-out.nq b/core/src/test/resources/json-ld.org/normalize-0036-out.nq deleted file mode 100644 index eb561bf6..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0036-out.nq +++ /dev/null @@ -1,4 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n1 "Foo" . -_:c14n2 _:c14n3 . -_:c14n3 "Foo" . diff --git a/core/src/test/resources/json-ld.org/normalize-0037-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0037-in.jsonld deleted file mode 100644 index 8a871243..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0037-in.jsonld +++ /dev/null @@ -1,26 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:p1": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b1", - "ex:p1": "_:b4" - }, - { - "@id": "_:b2", - "ex:p1": "_:b3" - }, - { - "@id": "_:b3", - "ex:p2": "Foo" - }, - { - "@id": "_:b4", - "ex:p2": "Foo" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0037-out.nq b/core/src/test/resources/json-ld.org/normalize-0037-out.nq deleted file mode 100644 index eb561bf6..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0037-out.nq +++ /dev/null @@ -1,4 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n1 "Foo" . -_:c14n2 _:c14n3 . -_:c14n3 "Foo" . diff --git a/core/src/test/resources/json-ld.org/normalize-0038-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0038-in.jsonld deleted file mode 100644 index 41f76fd1..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0038-in.jsonld +++ /dev/null @@ -1,27 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:p1": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:a0", - "ex:p1": [ - "_:a1", - "_:a2" - ] - }, - { - "@id": "_:a1", - "ex:p1": "_:a3" - }, - { - "@id": "_:a2" - }, - { - "@id": "_:a3" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0038-out.nq b/core/src/test/resources/json-ld.org/normalize-0038-out.nq deleted file mode 100644 index b29dc042..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0038-out.nq +++ /dev/null @@ -1,3 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n1 _:c14n3 . diff --git a/core/src/test/resources/json-ld.org/normalize-0039-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0039-in.jsonld deleted file mode 100644 index bc0ca6c2..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0039-in.jsonld +++ /dev/null @@ -1,21 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:p1": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b0", - "ex:p1": [ - {}, - "_:b2" - ] - }, - { - "@id": "_:b2", - "ex:p1": {} - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0039-out.nq b/core/src/test/resources/json-ld.org/normalize-0039-out.nq deleted file mode 100644 index b29dc042..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0039-out.nq +++ /dev/null @@ -1,3 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n1 _:c14n3 . diff --git a/core/src/test/resources/json-ld.org/normalize-0040-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0040-in.jsonld deleted file mode 100644 index a8cf8703..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0040-in.jsonld +++ /dev/null @@ -1,32 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:p1": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b1", - "ex:p1": "_:b2" - }, - { - "@id": "_:b2", - "ex:p1": "_:b3" - }, - { - "@id": "_:b3" - }, - { - "@id": "_:c1", - "ex:p1": "_:c2" - }, - { - "@id": "_:c2", - "ex:p1": "_:c3" - }, - { - "@id": "_:c3" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0040-out.nq b/core/src/test/resources/json-ld.org/normalize-0040-out.nq deleted file mode 100644 index 69da9716..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0040-out.nq +++ /dev/null @@ -1,4 +0,0 @@ -_:c14n1 _:c14n0 . -_:c14n2 _:c14n1 . -_:c14n4 _:c14n3 . -_:c14n5 _:c14n4 . diff --git a/core/src/test/resources/json-ld.org/normalize-0041-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0041-in.jsonld deleted file mode 100644 index f182a931..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0041-in.jsonld +++ /dev/null @@ -1,32 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:p1": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b1", - "ex:p1": "_:b2" - }, - { - "@id": "_:b2", - "ex:p1": "_:b3" - }, - { - "@id": "_:b3" - }, - { - "@id": "_:b4", - "ex:p1": "_:b5" - }, - { - "@id": "_:b5", - "ex:p1": "_:b6" - }, - { - "@id": "_:b6" - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0041-out.nq b/core/src/test/resources/json-ld.org/normalize-0041-out.nq deleted file mode 100644 index 69da9716..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0041-out.nq +++ /dev/null @@ -1,4 +0,0 @@ -_:c14n1 _:c14n0 . -_:c14n2 _:c14n1 . -_:c14n4 _:c14n3 . -_:c14n5 _:c14n4 . diff --git a/core/src/test/resources/json-ld.org/normalize-0042-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0042-in.jsonld deleted file mode 100644 index de7357b3..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0042-in.jsonld +++ /dev/null @@ -1,26 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:p1": { - "@type": "@id" - } - }, - "@graph": [ - { - "@id": "_:b1", - "ex:p1": "_:b3" - }, - { - "@id": "_:b3", - "ex:p1": {} - }, - { - "@id": "_:b5", - "ex:p1": "_:b6" - }, - { - "@id": "_:b6", - "ex:p1": {} - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0042-out.nq b/core/src/test/resources/json-ld.org/normalize-0042-out.nq deleted file mode 100644 index 69da9716..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0042-out.nq +++ /dev/null @@ -1,4 +0,0 @@ -_:c14n1 _:c14n0 . -_:c14n2 _:c14n1 . -_:c14n4 _:c14n3 . -_:c14n5 _:c14n4 . diff --git a/core/src/test/resources/json-ld.org/normalize-0043-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0043-in.jsonld deleted file mode 100644 index 5ab536c4..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0043-in.jsonld +++ /dev/null @@ -1,10 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#" - }, - "@id": "http://example.org/test", - "ex:test": { - "@language": "en", - "@value": "test" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0043-out.nq b/core/src/test/resources/json-ld.org/normalize-0043-out.nq deleted file mode 100644 index 09d5dc2e..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0043-out.nq +++ /dev/null @@ -1 +0,0 @@ - "test"@en . diff --git a/core/src/test/resources/json-ld.org/normalize-0044-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0044-in.jsonld deleted file mode 100644 index 016ba3bf..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0044-in.jsonld +++ /dev/null @@ -1,104 +0,0 @@ -{ - "@context": { - "eg": "http://example.org/vocab#", - "eg:p": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:b1", - "eg:p": [ - "_:b2", - "_:b4", - "_:b3" - ] - }, - { - "@id": "_:b2", - "eg:p": [ - "_:b1", - "_:b3", - "_:b5" - ] - }, - { - "@id": "_:b3", - "eg:p": [ - "_:b1", - "_:b2", - "_:b6" - ] - }, - { - "@id": "_:b4", - "eg:p": [ - "_:b1", - "_:b5", - "_:b6" - ] - }, - { - "@id": "_:b5", - "eg:p": [ - "_:b2", - "_:b4", - "_:b6" - ] - }, - { - "@id": "_:b6", - "eg:p": [ - "_:b3", - "_:b4", - "_:b5" - ] - }, - { - "@id": "_:c1", - "eg:p": [ - "_:c4", - "_:c5", - "_:c6" - ] - }, - { - "@id": "_:c2", - "eg:p": [ - "_:c4", - "_:c5", - "_:c6" - ] - }, - { - "@id": "_:c3", - "eg:p": [ - "_:c4", - "_:c5", - "_:c6" - ] - }, - { - "@id": "_:c4", - "eg:p": [ - "_:c1", - "_:c2", - "_:c3" - ] - }, - { - "@id": "_:c5", - "eg:p": [ - "_:c1", - "_:c2", - "_:c3" - ] - }, - { - "@id": "_:c6", - "eg:p": [ - "_:c1", - "_:c2", - "_:c3" - ] - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0044-out.nq b/core/src/test/resources/json-ld.org/normalize-0044-out.nq deleted file mode 100644 index 540d3aa0..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0044-out.nq +++ /dev/null @@ -1,36 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n0 _:c14n3 . -_:c14n1 _:c14n0 . -_:c14n1 _:c14n4 . -_:c14n1 _:c14n5 . -_:c14n10 _:c14n11 . -_:c14n10 _:c14n7 . -_:c14n10 _:c14n9 . -_:c14n11 _:c14n10 . -_:c14n11 _:c14n8 . -_:c14n11 _:c14n9 . -_:c14n2 _:c14n0 . -_:c14n2 _:c14n4 . -_:c14n2 _:c14n5 . -_:c14n3 _:c14n0 . -_:c14n3 _:c14n4 . -_:c14n3 _:c14n5 . -_:c14n4 _:c14n1 . -_:c14n4 _:c14n2 . -_:c14n4 _:c14n3 . -_:c14n5 _:c14n1 . -_:c14n5 _:c14n2 . -_:c14n5 _:c14n3 . -_:c14n6 _:c14n7 . -_:c14n6 _:c14n8 . -_:c14n6 _:c14n9 . -_:c14n7 _:c14n10 . -_:c14n7 _:c14n6 . -_:c14n7 _:c14n8 . -_:c14n8 _:c14n11 . -_:c14n8 _:c14n6 . -_:c14n8 _:c14n7 . -_:c14n9 _:c14n10 . -_:c14n9 _:c14n11 . -_:c14n9 _:c14n6 . diff --git a/core/src/test/resources/json-ld.org/normalize-0045-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0045-in.jsonld deleted file mode 100644 index 9b7bc39b..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0045-in.jsonld +++ /dev/null @@ -1,104 +0,0 @@ -{ - "@context": { - "eg": "http://example.org/vocab#", - "eg:p": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:c1", - "eg:p": [ - "_:c4", - "_:c5", - "_:c6" - ] - }, - { - "@id": "_:c2", - "eg:p": [ - "_:c4", - "_:c5", - "_:c6" - ] - }, - { - "@id": "_:c3", - "eg:p": [ - "_:c4", - "_:c5", - "_:c6" - ] - }, - { - "@id": "_:c4", - "eg:p": [ - "_:c1", - "_:c2", - "_:c3" - ] - }, - { - "@id": "_:c5", - "eg:p": [ - "_:c1", - "_:c2", - "_:c3" - ] - }, - { - "@id": "_:c6", - "eg:p": [ - "_:c1", - "_:c2", - "_:c3" - ] - }, - { - "@id": "_:b1", - "eg:p": [ - "_:b2", - "_:b4", - "_:b3" - ] - }, - { - "@id": "_:b2", - "eg:p": [ - "_:b1", - "_:b3", - "_:b5" - ] - }, - { - "@id": "_:b3", - "eg:p": [ - "_:b1", - "_:b2", - "_:b6" - ] - }, - { - "@id": "_:b4", - "eg:p": [ - "_:b1", - "_:b5", - "_:b6" - ] - }, - { - "@id": "_:b5", - "eg:p": [ - "_:b2", - "_:b4", - "_:b6" - ] - }, - { - "@id": "_:b6", - "eg:p": [ - "_:b3", - "_:b4", - "_:b5" - ] - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0045-out.nq b/core/src/test/resources/json-ld.org/normalize-0045-out.nq deleted file mode 100644 index 540d3aa0..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0045-out.nq +++ /dev/null @@ -1,36 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n0 _:c14n3 . -_:c14n1 _:c14n0 . -_:c14n1 _:c14n4 . -_:c14n1 _:c14n5 . -_:c14n10 _:c14n11 . -_:c14n10 _:c14n7 . -_:c14n10 _:c14n9 . -_:c14n11 _:c14n10 . -_:c14n11 _:c14n8 . -_:c14n11 _:c14n9 . -_:c14n2 _:c14n0 . -_:c14n2 _:c14n4 . -_:c14n2 _:c14n5 . -_:c14n3 _:c14n0 . -_:c14n3 _:c14n4 . -_:c14n3 _:c14n5 . -_:c14n4 _:c14n1 . -_:c14n4 _:c14n2 . -_:c14n4 _:c14n3 . -_:c14n5 _:c14n1 . -_:c14n5 _:c14n2 . -_:c14n5 _:c14n3 . -_:c14n6 _:c14n7 . -_:c14n6 _:c14n8 . -_:c14n6 _:c14n9 . -_:c14n7 _:c14n10 . -_:c14n7 _:c14n6 . -_:c14n7 _:c14n8 . -_:c14n8 _:c14n11 . -_:c14n8 _:c14n6 . -_:c14n8 _:c14n7 . -_:c14n9 _:c14n10 . -_:c14n9 _:c14n11 . -_:c14n9 _:c14n6 . diff --git a/core/src/test/resources/json-ld.org/normalize-0046-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0046-in.jsonld deleted file mode 100644 index aea55245..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0046-in.jsonld +++ /dev/null @@ -1,104 +0,0 @@ -{ - "@context": { - "eg": "http://example.org/vocab#", - "eg:p": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:b6", - "eg:p": [ - "_:b3", - "_:b4", - "_:b5" - ] - }, - { - "@id": "_:c1", - "eg:p": [ - "_:c6", - "_:c5", - "_:c4" - ] - }, - { - "@id": "_:b1", - "eg:p": [ - "_:b3", - "_:b4", - "_:b2" - ] - }, - { - "@id": "_:c4", - "eg:p": [ - "_:c3", - "_:c2", - "_:c1" - ] - }, - { - "@id": "_:c5", - "eg:p": [ - "_:c1", - "_:c2", - "_:c3" - ] - }, - { - "@id": "_:c6", - "eg:p": [ - "_:c3", - "_:c1", - "_:c2" - ] - }, - { - "@id": "_:b2", - "eg:p": [ - "_:b1", - "_:b5", - "_:b3" - ] - }, - { - "@id": "_:c2", - "eg:p": [ - "_:c6", - "_:c5", - "_:c4" - ] - }, - { - "@id": "_:b5", - "eg:p": [ - "_:b6", - "_:b4", - "_:b2" - ] - }, - { - "@id": "_:b3", - "eg:p": [ - "_:b6", - "_:b2", - "_:b1" - ] - }, - { - "@id": "_:b4", - "eg:p": [ - "_:b5", - "_:b1", - "_:b6" - ] - }, - { - "@id": "_:c3", - "eg:p": [ - "_:c5", - "_:c4", - "_:c6" - ] - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0046-out.nq b/core/src/test/resources/json-ld.org/normalize-0046-out.nq deleted file mode 100644 index 540d3aa0..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0046-out.nq +++ /dev/null @@ -1,36 +0,0 @@ -_:c14n0 _:c14n1 . -_:c14n0 _:c14n2 . -_:c14n0 _:c14n3 . -_:c14n1 _:c14n0 . -_:c14n1 _:c14n4 . -_:c14n1 _:c14n5 . -_:c14n10 _:c14n11 . -_:c14n10 _:c14n7 . -_:c14n10 _:c14n9 . -_:c14n11 _:c14n10 . -_:c14n11 _:c14n8 . -_:c14n11 _:c14n9 . -_:c14n2 _:c14n0 . -_:c14n2 _:c14n4 . -_:c14n2 _:c14n5 . -_:c14n3 _:c14n0 . -_:c14n3 _:c14n4 . -_:c14n3 _:c14n5 . -_:c14n4 _:c14n1 . -_:c14n4 _:c14n2 . -_:c14n4 _:c14n3 . -_:c14n5 _:c14n1 . -_:c14n5 _:c14n2 . -_:c14n5 _:c14n3 . -_:c14n6 _:c14n7 . -_:c14n6 _:c14n8 . -_:c14n6 _:c14n9 . -_:c14n7 _:c14n10 . -_:c14n7 _:c14n6 . -_:c14n7 _:c14n8 . -_:c14n8 _:c14n11 . -_:c14n8 _:c14n6 . -_:c14n8 _:c14n7 . -_:c14n9 _:c14n10 . -_:c14n9 _:c14n11 . -_:c14n9 _:c14n6 . diff --git a/core/src/test/resources/json-ld.org/normalize-0047-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0047-in.jsonld deleted file mode 100644 index 673bd79f..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0047-in.jsonld +++ /dev/null @@ -1,46 +0,0 @@ -{ - "@context": { - "eg": "http://example.org/vocab#", - "eg:p": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:b1", - "eg:p": [ - "_:b2" - ] - }, - { - "@id": "_:b2", - "eg:p": [ - "_:b3" - ] - }, - { - "@id": "_:b3", - "eg:z": [ - "foo1", - "foo2" - ] - }, - { - "@id": "_:c1", - "eg:p": [ - "_:c2" - ] - }, - { - "@id": "_:c2", - "eg:p": [ - "_:c3" - ] - }, - { - "@id": "_:c3", - "eg:z": [ - "bar1", - "bar2" - ] - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0047-out.nq b/core/src/test/resources/json-ld.org/normalize-0047-out.nq deleted file mode 100644 index 1d345e5a..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0047-out.nq +++ /dev/null @@ -1,8 +0,0 @@ -_:c14n0 "bar1" . -_:c14n0 "bar2" . -_:c14n1 "foo1" . -_:c14n1 "foo2" . -_:c14n2 _:c14n0 . -_:c14n3 _:c14n2 . -_:c14n4 _:c14n1 . -_:c14n5 _:c14n4 . diff --git a/core/src/test/resources/json-ld.org/normalize-0048-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0048-in.jsonld deleted file mode 100644 index 1f9058e8..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0048-in.jsonld +++ /dev/null @@ -1,46 +0,0 @@ -{ - "@context": { - "eg": "http://example.org/vocab#", - "eg:p": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:c1", - "eg:p": [ - "_:c2" - ] - }, - { - "@id": "_:c2", - "eg:p": [ - "_:c3" - ] - }, - { - "@id": "_:c3", - "eg:z": [ - "bar1", - "bar2" - ] - }, - { - "@id": "_:b1", - "eg:p": [ - "_:b2" - ] - }, - { - "@id": "_:b2", - "eg:p": [ - "_:b3" - ] - }, - { - "@id": "_:b3", - "eg:z": [ - "foo1", - "foo2" - ] - } - ] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0048-out.nq b/core/src/test/resources/json-ld.org/normalize-0048-out.nq deleted file mode 100644 index 1d345e5a..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0048-out.nq +++ /dev/null @@ -1,8 +0,0 @@ -_:c14n0 "bar1" . -_:c14n0 "bar2" . -_:c14n1 "foo1" . -_:c14n1 "foo2" . -_:c14n2 _:c14n0 . -_:c14n3 _:c14n2 . -_:c14n4 _:c14n1 . -_:c14n5 _:c14n4 . diff --git a/core/src/test/resources/json-ld.org/normalize-0049-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0049-in.jsonld deleted file mode 100644 index 4dd52986..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0049-in.jsonld +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@context": { - "eg": "http://example.org/vocab#", - "eg:p": {"@type": "@id"} - }, - "@id": "http://example.org/test#example", - "eg:p": null -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0050-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0050-in.jsonld deleted file mode 100644 index fd16f53a..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0050-in.jsonld +++ /dev/null @@ -1,13 +0,0 @@ -{ - "@context": { - "eg": "http://example.org/vocab#" - }, - "@id": "_:c1", - "eg:array": ["value", null], - "eg:doc": "Test 'null' in various locations", - "eg:null": null, - "eg:object": { - "prop1": "value1", - "prop2": null - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0050-out.nq b/core/src/test/resources/json-ld.org/normalize-0050-out.nq deleted file mode 100644 index c0085ed2..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0050-out.nq +++ /dev/null @@ -1,3 +0,0 @@ -_:c14n1 "value" . -_:c14n1 "Test 'null' in various locations" . -_:c14n1 _:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-0051-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0051-in.jsonld deleted file mode 100644 index 52e673b3..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0051-in.jsonld +++ /dev/null @@ -1,14 +0,0 @@ -[ - { - "@id": "http://example.org/test#example", - "http://example.org/test#property": "object1" - }, - { - "@id": "http://example.org/test#example", - "http://example.org/test#property": "object2" - }, - { - "@id": "http://example.org/test#example", - "http://example.org/test#property": "object3" - } -] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0051-out.nq b/core/src/test/resources/json-ld.org/normalize-0051-out.nq deleted file mode 100644 index 56ed9a1e..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0051-out.nq +++ /dev/null @@ -1,3 +0,0 @@ - "object1" . - "object2" . - "object3" . diff --git a/core/src/test/resources/json-ld.org/normalize-0052-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0052-in.jsonld deleted file mode 100644 index 19887c97..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0052-in.jsonld +++ /dev/null @@ -1,16 +0,0 @@ -{ - "@context": { - "http://example.org/test#property1": {"@type": "@id"}, - "http://example.org/test#property2": {"@type": "@id"}, - "uri": "@id" - }, - "http://example.org/test#property1": { - "http://example.org/test#property4": "foo", - "uri": "http://example.org/test#example2" - }, - "http://example.org/test#property2": "http://example.org/test#example3", - "http://example.org/test#property3": { - "uri": "http://example.org/test#example4" - }, - "uri": "http://example.org/test#example1" -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0053-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0053-in.jsonld deleted file mode 100644 index ef5162dc..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0053-in.jsonld +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@context": { - "prop1": "http://example.org/test#property1", - "prop2": {"@id": "http://example.org/test#property2", "@container": "@list"} - }, - "prop1": {"@list": ["1","2","3"]}, - "prop2": ["4","5","6"] -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0053-out.nq b/core/src/test/resources/json-ld.org/normalize-0053-out.nq deleted file mode 100644 index 08ae4d27..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0053-out.nq +++ /dev/null @@ -1,14 +0,0 @@ -_:c14n0 _:c14n2 . -_:c14n0 _:c14n3 . -_:c14n1 "2" . -_:c14n1 _:c14n5 . -_:c14n2 "1" . -_:c14n2 _:c14n1 . -_:c14n3 "4" . -_:c14n3 _:c14n6 . -_:c14n4 "6" . -_:c14n4 . -_:c14n5 "3" . -_:c14n5 . -_:c14n6 "5" . -_:c14n6 _:c14n4 . diff --git a/core/src/test/resources/json-ld.org/normalize-0054-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0054-in.jsonld deleted file mode 100644 index 58cfd24c..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0054-in.jsonld +++ /dev/null @@ -1,64 +0,0 @@ -{ - "@context": { - "eg": "http://example.org/vocab#", - "eg:p": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:a", - "eg:p": "_:b" - }, - { - "@id": "_:b", - "eg:p": "_:c" - }, - { - "@id": "_:c", - "eg:p": ["_:d","_:z"] - }, - { - "@id": "_:d", - "eg:p": "_:e" - }, - { - "@id": "_:e", - "eg:p": "_:f" - }, - { - "@id": "_:f", - "eg:p": "_:g" - }, - { - "@id": "_:g", - "eg:p": "_:h" - }, - { - "@id": "_:h", - "eg:p": "_:i" - }, - { - "@id": "_:z", - "eg:p": "_:w" - }, - { - "@id": "_:w", - "eg:p": "_:x" - }, - { - "@id": "_:x", - "eg:p": "_:y" - }, - { - "@id": "_:y", - "eg:p": "_:v" - }, - { - "@id": "_:v", - "eg:p": "_:u" - }, - { - "@id": "_:u", - "eg:p": "_:t" - } - ] -} diff --git a/core/src/test/resources/json-ld.org/normalize-0054-out.nq b/core/src/test/resources/json-ld.org/normalize-0054-out.nq deleted file mode 100644 index 0c34b2f1..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0054-out.nq +++ /dev/null @@ -1,15 +0,0 @@ -_:c14n0 _:c14n14 . -_:c14n0 _:c14n7 . -_:c14n1 _:c14n15 . -_:c14n10 _:c14n9 . -_:c14n11 _:c14n10 . -_:c14n12 _:c14n11 . -_:c14n13 _:c14n12 . -_:c14n14 _:c14n13 . -_:c14n15 _:c14n0 . -_:c14n3 _:c14n2 . -_:c14n4 _:c14n3 . -_:c14n5 _:c14n4 . -_:c14n6 _:c14n5 . -_:c14n7 _:c14n6 . -_:c14n9 _:c14n8 . diff --git a/core/src/test/resources/json-ld.org/normalize-0055-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0055-in.jsonld deleted file mode 100644 index 35d2af15..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0055-in.jsonld +++ /dev/null @@ -1,16 +0,0 @@ -{ - "@context": { - "eg": "http://example.org/vocab#", - "eg:p": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:a", - "eg:p": ["_:b", "http://example.com"] - }, - { - "@id": "_:b", - "eg:p": "http://example.org" - } - ] -} diff --git a/core/src/test/resources/json-ld.org/normalize-0055-out.nq b/core/src/test/resources/json-ld.org/normalize-0055-out.nq deleted file mode 100644 index 000d870c..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0055-out.nq +++ /dev/null @@ -1,3 +0,0 @@ -_:c14n0 . -_:c14n0 _:c14n1 . -_:c14n1 . diff --git a/core/src/test/resources/json-ld.org/normalize-0056-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0056-in.jsonld deleted file mode 100644 index 395089cf..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0056-in.jsonld +++ /dev/null @@ -1,16 +0,0 @@ -{ - "@context": { - "eg": "http://example.org/vocab#", - "eg:p": {"@type": "@id"} - }, - "@graph": [ - { - "@id": "_:b", - "eg:p": "http://example.org" - }, - { - "@id": "_:a", - "eg:p": ["_:b", "http://example.com"] - } - ] -} diff --git a/core/src/test/resources/json-ld.org/normalize-0056-out.nq b/core/src/test/resources/json-ld.org/normalize-0056-out.nq deleted file mode 100644 index 000d870c..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0056-out.nq +++ /dev/null @@ -1,3 +0,0 @@ -_:c14n0 . -_:c14n0 _:c14n1 . -_:c14n1 . diff --git a/core/src/test/resources/json-ld.org/normalize-0057-in.jsonld b/core/src/test/resources/json-ld.org/normalize-0057-in.jsonld deleted file mode 100644 index 52e0a4b5..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0057-in.jsonld +++ /dev/null @@ -1,14 +0,0 @@ -{ - "@context": { - "name": "http://xmlns.com/foaf/0.1/name", - "homepage": { - "@id": "http://xmlns.com/foaf/0.1/homepage", - "@type": "@id" - } - }, - "@id": "_:graph1", - "@graph": { - "name": "Manu Sporny", - "homepage": "http://manu.sporny.org/" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/normalize-0057-out.nq b/core/src/test/resources/json-ld.org/normalize-0057-out.nq deleted file mode 100644 index 460da845..00000000 --- a/core/src/test/resources/json-ld.org/normalize-0057-out.nq +++ /dev/null @@ -1,2 +0,0 @@ -_:c14n1 _:c14n0 . -_:c14n1 "Manu Sporny" _:c14n0 . diff --git a/core/src/test/resources/json-ld.org/normalize-manifest.jsonld b/core/src/test/resources/json-ld.org/normalize-manifest.jsonld deleted file mode 100644 index d4dcc360..00000000 --- a/core/src/test/resources/json-ld.org/normalize-manifest.jsonld +++ /dev/null @@ -1,353 +0,0 @@ -{ - "@context": "http://json-ld.org/test-suite/context.jsonld", - "@id": "", - "@type": "mf:Manifest", - "name": "Normalization", - "description": "JSON-LD to normalized RDF tests output N-Quads and use string comparison.", - "baseIri": "http://json-ld.org/test-suite/tests/", - "sequence": [ - { - "@id": "#t0001", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "simple id", - "input": "normalize-0001-in.jsonld", - "expect": "normalize-0001-out.nq" - }, { - "@id": "#t0002", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "duplicate property iri values", - "input": "normalize-0002-in.jsonld", - "expect": "normalize-0002-out.nq" - }, { - "@id": "#t0003", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "bnode", - "input": "normalize-0003-in.jsonld", - "expect": "normalize-0003-out.nq" - }, { - "@id": "#t0004", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "bnode plus embed w/subject", - "input": "normalize-0004-in.jsonld", - "expect": "normalize-0004-out.nq" - }, { - "@id": "#t0005", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "bnode embed", - "input": "normalize-0005-in.jsonld", - "expect": "normalize-0005-out.nq" - }, { - "@id": "#t0006", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "multiple rdf types", - "input": "normalize-0006-in.jsonld", - "expect": "normalize-0006-out.nq" - }, { - "@id": "#t0007", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "coerce CURIE value", - "input": "normalize-0007-in.jsonld", - "expect": "normalize-0007-out.nq" - }, { - "@id": "#t0008", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "single subject complex", - "input": "normalize-0008-in.jsonld", - "expect": "normalize-0008-out.nq" - }, { - "@id": "#t0009", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "multiple subjects - complex", - "input": "normalize-0009-in.jsonld", - "expect": "normalize-0009-out.nq" - }, { - "@id": "#t0010", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "type", - "input": "normalize-0010-in.jsonld", - "expect": "normalize-0010-out.nq" - }, { - "@id": "#t0011", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "type-coerced type", - "input": "normalize-0011-in.jsonld", - "expect": "normalize-0011-out.nq" - }, { - "@id": "#t0012", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "type-coerced type, remove duplicate reference", - "input": "normalize-0012-in.jsonld", - "expect": "normalize-0012-out.nq" - }, { - "@id": "#t0013", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "type-coerced type, cycle", - "input": "normalize-0013-in.jsonld", - "expect": "normalize-0013-out.nq" - }, { - "@id": "#t0014", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "check types", - "input": "normalize-0014-in.jsonld", - "expect": "normalize-0014-out.nq" - }, { - "@id": "#t0015", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "top level context", - "input": "normalize-0015-in.jsonld", - "expect": "normalize-0015-out.nq" - }, { - "@id": "#t0016", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - dual link - embed", - "input": "normalize-0016-in.jsonld", - "expect": "normalize-0016-out.nq" - }, { - "@id": "#t0017", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - dual link - non-embed", - "input": "normalize-0017-in.jsonld", - "expect": "normalize-0017-out.nq" - }, { - "@id": "#t0018", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - self link", - "input": "normalize-0018-in.jsonld", - "expect": "normalize-0018-out.nq" - }, { - "@id": "#t0019", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - disjoint self links", - "input": "normalize-0019-in.jsonld", - "expect": "normalize-0019-out.nq" - }, { - "@id": "#t0020", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - diamond", - "input": "normalize-0020-in.jsonld", - "expect": "normalize-0020-out.nq" - }, { - "@id": "#t0021", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - circle of 2", - "input": "normalize-0021-in.jsonld", - "expect": "normalize-0021-out.nq" - }, { - "@id": "#t0022", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - double circle of 2", - "input": "normalize-0022-in.jsonld", - "expect": "normalize-0022-out.nq" - }, { - "@id": "#t0023", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - circle of 3", - "input": "normalize-0023-in.jsonld", - "expect": "normalize-0023-out.nq" - }, { - "@id": "#t0024", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - double circle of 3 (1-2-3)", - "input": "normalize-0024-in.jsonld", - "expect": "normalize-0024-out.nq" - }, { - "@id": "#t0025", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - double circle of 3 (1-3-2)", - "input": "normalize-0025-in.jsonld", - "expect": "normalize-0025-out.nq" - }, { - "@id": "#t0026", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - double circle of 3 (2-1-3)", - "input": "normalize-0026-in.jsonld", - "expect": "normalize-0026-out.nq" - }, { - "@id": "#t0027", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - double circle of 3 (2-3-1)", - "input": "normalize-0027-in.jsonld", - "expect": "normalize-0027-out.nq" - }, { - "@id": "#t0028", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - double circle of 3 (3-2-1)", - "input": "normalize-0028-in.jsonld", - "expect": "normalize-0028-out.nq" - }, { - "@id": "#t0029", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - double circle of 3 (3-1-2)", - "input": "normalize-0029-in.jsonld", - "expect": "normalize-0029-out.nq" - }, { - "@id": "#t0030", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "blank node - point at circle of 3", - "input": "normalize-0030-in.jsonld", - "expect": "normalize-0030-out.nq" - }, { - "@id": "#t0031", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "bnode (1)", - "input": "normalize-0031-in.jsonld", - "expect": "normalize-0031-out.nq" - }, { - "@id": "#t0032", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "bnode (2)", - "input": "normalize-0032-in.jsonld", - "expect": "normalize-0032-out.nq" - }, { - "@id": "#t0033", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "disjoint identical subgraphs (1)", - "input": "normalize-0033-in.jsonld", - "expect": "normalize-0033-out.nq" - }, { - "@id": "#t0034", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "disjoint identical subgraphs (2)", - "input": "normalize-0034-in.jsonld", - "expect": "normalize-0034-out.nq" - }, { - "@id": "#t0035", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "reordered w/strings (1)", - "input": "normalize-0035-in.jsonld", - "expect": "normalize-0035-out.nq" - }, { - "@id": "#t0036", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "reordered w/strings (2)", - "input": "normalize-0036-in.jsonld", - "expect": "normalize-0036-out.nq" - }, { - "@id": "#t0037", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "reordered w/strings (3)", - "input": "normalize-0037-in.jsonld", - "expect": "normalize-0037-out.nq" - }, { - "@id": "#t0038", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "reordered 4 bnodes, reordered 2 properties (1)", - "input": "normalize-0038-in.jsonld", - "expect": "normalize-0038-out.nq" - }, { - "@id": "#t0039", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "reordered 4 bnodes, reordered 2 properties (2)", - "input": "normalize-0039-in.jsonld", - "expect": "normalize-0039-out.nq" - }, { - "@id": "#t0040", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "reordered 6 bnodes (1)", - "input": "normalize-0040-in.jsonld", - "expect": "normalize-0040-out.nq" - }, { - "@id": "#t0041", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "reordered 6 bnodes (2)", - "input": "normalize-0041-in.jsonld", - "expect": "normalize-0041-out.nq" - }, { - "@id": "#t0042", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "reordered 6 bnodes (3)", - "input": "normalize-0042-in.jsonld", - "expect": "normalize-0042-out.nq" - }, { - "@id": "#t0043", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "literal with language", - "input": "normalize-0043-in.jsonld", - "expect": "normalize-0043-out.nq" - }, { - "@id": "#t0044", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "evil (1)", - "input": "normalize-0044-in.jsonld", - "expect": "normalize-0044-out.nq" - }, { - "@id": "#t0045", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "evil (2)", - "input": "normalize-0045-in.jsonld", - "expect": "normalize-0045-out.nq" - }, { - "@id": "#t0046", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "evil (3)", - "input": "normalize-0046-in.jsonld", - "expect": "normalize-0046-out.nq" - }, { - "@id": "#t0047", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "deep diff (1)", - "input": "normalize-0047-in.jsonld", - "expect": "normalize-0047-out.nq" - }, { - "@id": "#t0048", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "deep diff (2)", - "input": "normalize-0048-in.jsonld", - "expect": "normalize-0048-out.nq" - }, { - "@id": "#t0049", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "remove null", - "input": "normalize-0049-in.jsonld", - "expect": "normalize-0049-out.nq" - }, { - "@id": "#t0050", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "nulls", - "input": "normalize-0050-in.jsonld", - "expect": "normalize-0050-out.nq" - }, { - "@id": "#t0051", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "merging subjects", - "input": "normalize-0051-in.jsonld", - "expect": "normalize-0051-out.nq" - }, { - "@id": "#t0052", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "alias keywords", - "input": "normalize-0052-in.jsonld", - "expect": "normalize-0052-out.nq" - }, { - "@id": "#t0053", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "@list", - "input": "normalize-0053-in.jsonld", - "expect": "normalize-0053-out.nq" - }, { - "@id": "#t0054", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "t-graph", - "input": "normalize-0054-in.jsonld", - "expect": "normalize-0054-out.nq" - }, { - "@id": "#t0055", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "simple reorder (1)", - "input": "normalize-0055-in.jsonld", - "expect": "normalize-0055-out.nq" - }, { - "@id": "#t0056", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "simple reorder (2)", - "input": "normalize-0056-in.jsonld", - "expect": "normalize-0056-out.nq" - }, { - "@id": "#t0057", - "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], - "name": "unnamed graph", - "input": "normalize-0057-in.jsonld", - "expect": "normalize-0057-out.nq" - } - ] -} diff --git a/core/src/test/resources/json-ld.org/remote-doc-0001-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc-0001-out.jsonld deleted file mode 100644 index 5d1957a9..00000000 --- a/core/src/test/resources/json-ld.org/remote-doc-0001-out.jsonld +++ /dev/null @@ -1,4 +0,0 @@ -[{ - "@id": "http://json-ld.org/test-suite/tests/remote-doc-0001-in.jsonld", - "http://example/vocab#term": [{"@value": "object"}] -}] diff --git a/core/src/test/resources/json-ld.org/remote-doc-0002-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc-0002-out.jsonld deleted file mode 100644 index b41edc71..00000000 --- a/core/src/test/resources/json-ld.org/remote-doc-0002-out.jsonld +++ /dev/null @@ -1,4 +0,0 @@ -[{ - "@id": "http://json-ld.org/test-suite/tests/remote-doc-0002-in.json", - "http://example/vocab#term": [{"@value": "object"}] -}] diff --git a/core/src/test/resources/json-ld.org/remote-doc-0003-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc-0003-out.jsonld deleted file mode 100644 index 4564d66f..00000000 --- a/core/src/test/resources/json-ld.org/remote-doc-0003-out.jsonld +++ /dev/null @@ -1,4 +0,0 @@ -[{ - "@id": "http://json-ld.org/test-suite/tests/remote-doc-0003-in.jldt", - "http://example/vocab#term": [{"@value": "object"}] -}] diff --git a/core/src/test/resources/json-ld.org/remote-doc-0009-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc-0009-out.jsonld deleted file mode 100644 index 427bc1e3..00000000 --- a/core/src/test/resources/json-ld.org/remote-doc-0009-out.jsonld +++ /dev/null @@ -1,4 +0,0 @@ -[{ - "@id": "http://json-ld.org/test-suite/tests/remote-doc-0009-in.jsonld", - "http://example/0009/term": [{"@value": "value1"}] -}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/remote-doc-0010-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc-0010-out.jsonld deleted file mode 100644 index 804502ea..00000000 --- a/core/src/test/resources/json-ld.org/remote-doc-0010-out.jsonld +++ /dev/null @@ -1,4 +0,0 @@ -[{ - "@id": "http://json-ld.org/test-suite/tests/remote-doc-0010-in.json", - "http://example/vocab#term": [{"@value": "value"}] -}] diff --git a/core/src/test/resources/json-ld.org/remote-doc-0011-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc-0011-out.jsonld deleted file mode 100644 index 04508345..00000000 --- a/core/src/test/resources/json-ld.org/remote-doc-0011-out.jsonld +++ /dev/null @@ -1,4 +0,0 @@ -[{ - "@id": "http://json-ld.org/test-suite/tests/remote-doc-0011-in.jldt", - "http://example/vocab#term": [{"@value": "value"}] -}] diff --git a/core/src/test/resources/json-ld.org/remote-doc-manifest.jsonld b/core/src/test/resources/json-ld.org/remote-doc-manifest.jsonld index e9d9b4aa..d2086514 100644 --- a/core/src/test/resources/json-ld.org/remote-doc-manifest.jsonld +++ b/core/src/test/resources/json-ld.org/remote-doc-manifest.jsonld @@ -1,25 +1,25 @@ { - "@context": "http://json-ld.org/test-suite/context.jsonld", + "@context": "https://w3c.github.io/json-ld-api/tests/context.jsonld", "@id": "", "@type": "mf:Manifest", - "description": "Tests appropriate document loading behavior as defined in the API", "name": "Remote document", - "baseIri": "http://json-ld.org/test-suite/tests/", + "description": "Tests appropriate document loading behavior as defined in the API", + "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "load JSON-LD document", "purpose": "Document loader loads a JSON-LD document.", - "input": "remote-doc-0001-in.jsonld", - "expect": "remote-doc-0001-out.jsonld" + "input": "remote-doc/0001-in.jsonld", + "expect": "remote-doc/0001-out.jsonld" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "load JSON document", "purpose": "Document loader loads a JSON document.", - "input": "remote-doc-0002-in.json", - "expect": "remote-doc-0002-out.jsonld" + "input": "remote-doc/0002-in.json", + "expect": "remote-doc/0002-out.jsonld" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -28,8 +28,8 @@ "option": { "contentType": "application/jldTest+json" }, - "input": "remote-doc-0003-in.jldt", - "expect": "remote-doc-0003-out.jsonld" + "input": "remote-doc/0003-in.jldt", + "expect": "remote-doc/0003-out.jsonld" }, { "@id": "#t0004", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -38,7 +38,7 @@ "option": { "contentType": "application/jldTest" }, - "input": "remote-doc-0004-in.jldte", + "input": "remote-doc/0004-in.jldte", "expect": "loading document failed" }, { "@id": "#t0005", @@ -46,39 +46,39 @@ "name": "Load JSON-LD through 301 redirect", "purpose": "Loading a document with a redirect should use the redirected URL as document base", "option": { - "redirectTo": "remote-doc-0001-in.jsonld", + "redirectTo": "remote-doc/0001-in.jsonld", "httpStatus": 301 }, - "input": "remote-doc-0005-in.jsonld", - "expect": "remote-doc-0001-out.jsonld" + "input": "remote-doc/0005-in.jsonld", + "expect": "remote-doc/0001-out.jsonld" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Load JSON-LD through 303 redirect", "purpose": "Loading a document with a redirect should use the redirected URL as document base", "option": { - "redirectTo": "remote-doc-0001-in.jsonld", + "redirectTo": "remote-doc/0001-in.jsonld", "httpStatus": 303 }, - "input": "remote-doc-0006-in.jsonld", - "expect": "remote-doc-0001-out.jsonld" + "input": "remote-doc/0006-in.jsonld", + "expect": "remote-doc/0001-out.jsonld" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Load JSON-LD through 307 redirect", "purpose": "Loading a document with a redirect should use the redirected URL as document base", "option": { - "redirectTo": "remote-doc-0001-in.jsonld", + "redirectTo": "remote-doc/0001-in.jsonld", "httpStatus": 307 }, - "input": "remote-doc-0007-in.jsonld", - "expect": "remote-doc-0001-out.jsonld" + "input": "remote-doc/0007-in.jsonld", + "expect": "remote-doc/0001-out.jsonld" }, { "@id": "#t0008", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], "name": "Non-existant file (404)", "purpose": "Loading a non-existant file raises loading document failed error", - "input": "remote-doc-0008-in.jsonld", + "input": "remote-doc/missing-in.jsonld", "expect": "loading document failed" }, { "@id": "#t0009", @@ -86,31 +86,31 @@ "name": "load JSON-LD document with link", "purpose": "If a context is specified in a link header, it is not used for JSON-LD.", "option": { - "httpLink": "; rel=\"http://www.w3.org/ns/json-ld#context\"" + "httpLink": "<0009-context.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\"" }, - "input": "remote-doc-0009-in.jsonld", - "expect": "remote-doc-0009-out.jsonld" + "input": "remote-doc/0009-in.jsonld", + "expect": "remote-doc/0009-out.jsonld" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "load JSON document with link", "purpose": "If a context is specified in a link header, it is used for JSON.", "option": { - "httpLink": "; rel=\"http://www.w3.org/ns/json-ld#context\"" + "httpLink": "<0010-context.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\"" }, - "input": "remote-doc-0010-in.json", - "expect": "remote-doc-0010-out.jsonld" + "input": "remote-doc/0010-in.json", + "expect": "remote-doc/0010-out.jsonld" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "load JSON document with extension-type with link", "purpose": "If a context is specified in a link header, it is used for a JSON extension type.", - "input": "remote-doc-0011-in.jldt", + "input": "remote-doc/0011-in.jldt", "option": { "contentType": "application/jldTest+json", - "httpLink": "; rel=\"http://www.w3.org/ns/json-ld#context\"" + "httpLink": "<0011-context.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\"" }, - "expect": "remote-doc-0011-out.jsonld" + "expect": "remote-doc/0011-out.jsonld" }, { "@id": "#t0012", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -118,12 +118,22 @@ "purpose": "Loading a file when multiple link headers are returned is an error", "option": { "httpLink": [ - "; rel=\"http://www.w3.org/ns/json-ld#context\"", - "; rel=\"http://www.w3.org/ns/json-ld#context\"" + "<0012-context1.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\"", + "<0012-context2.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\"" ] }, - "input": "remote-doc-0012-in.json", + "input": "remote-doc/0012-in.json", "expect": "multiple context link headers" + }, { + "@id": "#t0013", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "load JSON document with link to HTML document", + "purpose": "If a context is specified in a link header, it is used for JSON, extracting from HTML.", + "option": { + "httpLink": "<0013-context.html>; rel=\"http://www.w3.org/ns/json-ld#context\"" + }, + "input": "remote-doc/0013-in.json", + "expect": "remote-doc/0013-out.jsonld" } ] } diff --git a/core/src/test/resources/json-ld.org/remote-doc/.htaccess b/core/src/test/resources/json-ld.org/remote-doc/.htaccess new file mode 100644 index 00000000..b40307dd --- /dev/null +++ b/core/src/test/resources/json-ld.org/remote-doc/.htaccess @@ -0,0 +1,35 @@ +# Special rules for document loader tests +# Rewrite engine setup +RewriteEngine On +RewriteBase /tests + +# Add directive for test types +AddType application/jldTest+json .jldt +AddType application/jldTest .jldte + +# Tests 0005-0007, status redirect to 0001 +RewriteRule ^0005-in.jsonld$ 0001-in.jsonld [R=301] +RewriteRule ^0006-in.jsonld$ 0001-in.jsonld [R=303] +RewriteRule ^0007-in.jsonld$ 0001-in.jsonld [R=307] + +# Tests 0009-0011 Add link header + + Header set Link '<0009-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"' + + + Header set Link '<0010-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"' + + + Header set Link '<0011-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"' + + +# Test 0012 adds multiple link headers + + Header set Link '<0012-context1.jsonld>; rel="http://www.w3.org/ns/json-ld#context"' + Header append Link '<0012-context2.jsonld>; rel="http://www.w3.org/ns/json-ld#context"' + + +# Test 0013 link header to HTML document + + Header set Link '<0013-context.html>; rel="http://www.w3.org/ns/json-ld#context"' + diff --git a/core/src/test/resources/json-ld.org/remote-doc-0001-in.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0001-in.jsonld rename to core/src/test/resources/json-ld.org/remote-doc/0001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc/0001-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0001-out.jsonld new file mode 100644 index 00000000..52a3ce1e --- /dev/null +++ b/core/src/test/resources/json-ld.org/remote-doc/0001-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/remote-doc/0001-in.jsonld", + "http://example/vocab#term": [{"@value": "object"}] +}] diff --git a/core/src/test/resources/json-ld.org/remote-doc-0002-in.json b/core/src/test/resources/json-ld.org/remote-doc/0002-in.json similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0002-in.json rename to core/src/test/resources/json-ld.org/remote-doc/0002-in.json diff --git a/core/src/test/resources/json-ld.org/remote-doc/0002-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0002-out.jsonld new file mode 100644 index 00000000..9f5d89dc --- /dev/null +++ b/core/src/test/resources/json-ld.org/remote-doc/0002-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/remote-doc/0002-in.json", + "http://example/vocab#term": [{"@value": "object"}] +}] diff --git a/core/src/test/resources/json-ld.org/remote-doc-0003-in.jldt b/core/src/test/resources/json-ld.org/remote-doc/0003-in.jldt similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0003-in.jldt rename to core/src/test/resources/json-ld.org/remote-doc/0003-in.jldt diff --git a/core/src/test/resources/json-ld.org/remote-doc/0003-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0003-out.jsonld new file mode 100644 index 00000000..050a79c5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/remote-doc/0003-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/remote-doc/0003-in.jldt", + "http://example/vocab#term": [{"@value": "object"}] +}] diff --git a/core/src/test/resources/json-ld.org/normalize-0001-out.nq b/core/src/test/resources/json-ld.org/remote-doc/0004-in.jldte similarity index 100% rename from core/src/test/resources/json-ld.org/normalize-0001-out.nq rename to core/src/test/resources/json-ld.org/remote-doc/0004-in.jldte diff --git a/core/src/test/resources/json-ld.org/remote-doc-0009-context.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0009-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0009-context.jsonld rename to core/src/test/resources/json-ld.org/remote-doc/0009-context.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc-0009-in.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0009-in.jsonld rename to core/src/test/resources/json-ld.org/remote-doc/0009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc/0009-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0009-out.jsonld new file mode 100644 index 00000000..7987a952 --- /dev/null +++ b/core/src/test/resources/json-ld.org/remote-doc/0009-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/remote-doc/0009-in.jsonld", + "http://example/0009/term": [{"@value": "value1"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/remote-doc-0010-context.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0010-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0010-context.jsonld rename to core/src/test/resources/json-ld.org/remote-doc/0010-context.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc-0010-in.json b/core/src/test/resources/json-ld.org/remote-doc/0010-in.json similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0010-in.json rename to core/src/test/resources/json-ld.org/remote-doc/0010-in.json diff --git a/core/src/test/resources/json-ld.org/remote-doc/0010-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0010-out.jsonld new file mode 100644 index 00000000..235a0b1e --- /dev/null +++ b/core/src/test/resources/json-ld.org/remote-doc/0010-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/remote-doc/0010-in.json", + "http://example/vocab#term": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld.org/remote-doc-0011-context.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0011-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0011-context.jsonld rename to core/src/test/resources/json-ld.org/remote-doc/0011-context.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc-0011-in.jldt b/core/src/test/resources/json-ld.org/remote-doc/0011-in.jldt similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0011-in.jldt rename to core/src/test/resources/json-ld.org/remote-doc/0011-in.jldt diff --git a/core/src/test/resources/json-ld.org/remote-doc/0011-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0011-out.jsonld new file mode 100644 index 00000000..53e1e18c --- /dev/null +++ b/core/src/test/resources/json-ld.org/remote-doc/0011-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/remote-doc/0011-in.jldt", + "http://example/vocab#term": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld.org/remote-doc-0012-context1.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0012-context1.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0012-context1.jsonld rename to core/src/test/resources/json-ld.org/remote-doc/0012-context1.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc-0012-context2.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0012-context2.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0012-context2.jsonld rename to core/src/test/resources/json-ld.org/remote-doc/0012-context2.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc-0012-in.json b/core/src/test/resources/json-ld.org/remote-doc/0012-in.json similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0012-in.json rename to core/src/test/resources/json-ld.org/remote-doc/0012-in.json diff --git a/core/src/test/resources/json-ld.org/remote-doc/0013-context.html b/core/src/test/resources/json-ld.org/remote-doc/0013-context.html new file mode 100644 index 00000000..3cedcd7e --- /dev/null +++ b/core/src/test/resources/json-ld.org/remote-doc/0013-context.html @@ -0,0 +1,11 @@ + + + + + diff --git a/core/src/test/resources/json-ld.org/remote-doc/0013-in.json b/core/src/test/resources/json-ld.org/remote-doc/0013-in.json new file mode 100644 index 00000000..d76b9971 --- /dev/null +++ b/core/src/test/resources/json-ld.org/remote-doc/0013-in.json @@ -0,0 +1,4 @@ +[{ + "@id": "", + "term": "value" +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/remote-doc/0013-out.jsonld b/core/src/test/resources/json-ld.org/remote-doc/0013-out.jsonld new file mode 100644 index 00000000..853d335e --- /dev/null +++ b/core/src/test/resources/json-ld.org/remote-doc/0013-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/remote-doc/0013-in.json", + "http://example/vocab#term": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld.org/toRdf-0016-out.nq b/core/src/test/resources/json-ld.org/toRdf-0016-out.nq deleted file mode 100644 index 0ed95c6e..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0016-out.nq +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/core/src/test/resources/json-ld.org/toRdf-0017-out.nq b/core/src/test/resources/json-ld.org/toRdf-0017-out.nq deleted file mode 100644 index 56e22246..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0017-out.nq +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/core/src/test/resources/json-ld.org/toRdf-0018-out.nq b/core/src/test/resources/json-ld.org/toRdf-0018-out.nq deleted file mode 100644 index 3d10901d..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0018-out.nq +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/core/src/test/resources/json-ld.org/toRdf-0046-out.nq b/core/src/test/resources/json-ld.org/toRdf-0046-out.nq deleted file mode 100644 index a9213cf3..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0046-out.nq +++ /dev/null @@ -1,4 +0,0 @@ - . - . - . - "foo" . diff --git a/core/src/test/resources/json-ld.org/toRdf-0047-in.jsonld b/core/src/test/resources/json-ld.org/toRdf-0047-in.jsonld deleted file mode 100644 index b49fac4e..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0047-in.jsonld +++ /dev/null @@ -1,18 +0,0 @@ -{ - "@context": { - "ex": "http://example.org/vocab#", - "ex:date": { - "@type": "xsd:dateTime" - }, - "ex:parent": { - "@type": "@id" - }, - "xsd": "http://www.w3.org/2001/XMLSchema#" - }, - "@id": "http://example.org/test#example1", - "ex:date": "2011-01-25T00:00:00Z", - "ex:embed": { - "@id": "http://example.org/test#example2", - "ex:parent": "http://example.org/test#example1" - } -} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf-0047-out.nq b/core/src/test/resources/json-ld.org/toRdf-0047-out.nq deleted file mode 100644 index 5f833b1d..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0047-out.nq +++ /dev/null @@ -1,3 +0,0 @@ - "2011-01-25T00:00:00Z"^^ . - . - . diff --git a/core/src/test/resources/json-ld.org/toRdf-0057-out.nq b/core/src/test/resources/json-ld.org/toRdf-0057-out.nq deleted file mode 100644 index 1c8d94af..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0057-out.nq +++ /dev/null @@ -1,9 +0,0 @@ - . - "Writer" . - "My Book" . - "Fun" . - "Chapter One" . - . - "Jane" . - "John" . - . diff --git a/core/src/test/resources/json-ld.org/toRdf-0068-out.nq b/core/src/test/resources/json-ld.org/toRdf-0068-out.nq deleted file mode 100644 index e8b4f18e..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0068-out.nq +++ /dev/null @@ -1,4 +0,0 @@ - "2011-01-25T00:00:00Z"^^ . - . - . - "2012-08-01T00:00:00Z"^^ . diff --git a/core/src/test/resources/json-ld.org/toRdf-0069-in.jsonld b/core/src/test/resources/json-ld.org/toRdf-0069-in.jsonld deleted file mode 100644 index 08cdde33..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0069-in.jsonld +++ /dev/null @@ -1,32 +0,0 @@ -{ - "@context": { - "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } - }, - "@id": "relativeIris", - "@type": [ - "link", - "#fragment-works", - "?query=works", - "./", - "../", - "../parent", - "../../parent-parent-eq-root", - "../../../../../still-root", - "../.././.././../../too-many-dots", - "/absolute", - "//example.org/scheme-relative" - ], - "links": [ - "link", - "#fragment-works", - "?query=works", - "./", - "../", - "../parent", - "../../parent-parent-eq-root", - "./../../../useless/../../../still-root", - "../.././.././../../too-many-dots", - "/absolute", - "//example.org/scheme-relative" - ] -} diff --git a/core/src/test/resources/json-ld.org/toRdf-0069-out.nq b/core/src/test/resources/json-ld.org/toRdf-0069-out.nq deleted file mode 100644 index 89910136..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0069-out.nq +++ /dev/null @@ -1,34 +0,0 @@ - _:b0 . - . - . - . - . - . - . - . - . - . - . - . -_:b0 . -_:b0 _:b1 . -_:b1 . -_:b1 _:b2 . -_:b10 . -_:b10 . -_:b2 . -_:b2 _:b3 . -_:b3 . -_:b3 _:b4 . -_:b4 . -_:b4 _:b5 . -_:b5 . -_:b5 _:b6 . -_:b6 . -_:b6 _:b7 . -_:b7 . -_:b7 _:b8 . -_:b8 . -_:b8 _:b9 . -_:b9 . -_:b9 _:b10 . diff --git a/core/src/test/resources/json-ld.org/toRdf-0088-out.nq b/core/src/test/resources/json-ld.org/toRdf-0088-out.nq deleted file mode 100644 index 55b4f9ff..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0088-out.nq +++ /dev/null @@ -1,4 +0,0 @@ - "@id supports the following values: relative, absolute, and compact IRIs" . - "relative IRIs get resolved against the document's base IRI" . - . - . diff --git a/core/src/test/resources/json-ld.org/toRdf-0090-out.nq b/core/src/test/resources/json-ld.org/toRdf-0090-out.nq deleted file mode 100644 index 537edf6e..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0090-out.nq +++ /dev/null @@ -1,2 +0,0 @@ -_:b0 . -_:b0 "Markus" . diff --git a/core/src/test/resources/json-ld.org/toRdf-0091-out.nq b/core/src/test/resources/json-ld.org/toRdf-0091-out.nq deleted file mode 100644 index 34819079..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0091-out.nq +++ /dev/null @@ -1 +0,0 @@ - "ok" . diff --git a/core/src/test/resources/json-ld.org/toRdf-0097-out.nq b/core/src/test/resources/json-ld.org/toRdf-0097-out.nq deleted file mode 100644 index 384f1d91..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0097-out.nq +++ /dev/null @@ -1 +0,0 @@ -_:b0 . diff --git a/core/src/test/resources/json-ld.org/toRdf-0099-out.nq b/core/src/test/resources/json-ld.org/toRdf-0099-out.nq deleted file mode 100644 index 85da3ac8..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0099-out.nq +++ /dev/null @@ -1,4 +0,0 @@ - . - . - "property expanded using @vocab" . - . diff --git a/core/src/test/resources/json-ld.org/toRdf-0100-out.nq b/core/src/test/resources/json-ld.org/toRdf-0100-out.nq deleted file mode 100644 index 8f20fb1b..00000000 --- a/core/src/test/resources/json-ld.org/toRdf-0100-out.nq +++ /dev/null @@ -1,4 +0,0 @@ - . - . - . - . diff --git a/core/src/test/resources/json-ld.org/toRdf-manifest.jsonld b/core/src/test/resources/json-ld.org/toRdf-manifest.jsonld index 8abb3e57..1b60ec72 100644 --- a/core/src/test/resources/json-ld.org/toRdf-manifest.jsonld +++ b/core/src/test/resources/json-ld.org/toRdf-manifest.jsonld @@ -1,812 +1,1212 @@ { - "@context": "http://json-ld.org/test-suite/context.jsonld", + "@context": "context.jsonld", "@id": "", "@type": "mf:Manifest", "name": "Transform JSON-LD to RDF", - "description": "JSON-LD to RDF tests generate N-Quads output and use string comparison.", - "baseIri": "http://json-ld.org/test-suite/tests/", + "description": "JSON-LD to RDF tests generate RDF Datasets and use RDF Dataset Isomorphism comparison.", + "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { "@id": "#t0001", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Plain literal with URIs", "purpose": "Tests generation of a triple using full URIs and a plain literal.", - "input": "toRdf-0001-in.jsonld", - "expect": "toRdf-0001-out.nq" + "input": "toRdf/0001-in.jsonld", + "expect": "toRdf/0001-out.nq" }, { "@id": "#t0002", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Plain literal with CURIE from default context", "purpose": "Tests generation of a triple using a CURIE defined in the default context.", - "input": "toRdf-0002-in.jsonld", - "expect": "toRdf-0002-out.nq" + "input": "toRdf/0002-in.jsonld", + "expect": "toRdf/0002-out.nq" }, { "@id": "#t0003", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Default subject is BNode", "purpose": "Tests that a BNode is created if no explicit subject is set.", - "input": "toRdf-0003-in.jsonld", - "expect": "toRdf-0003-out.nq" + "input": "toRdf/0003-in.jsonld", + "expect": "toRdf/0003-out.nq" }, { "@id": "#t0004", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Literal with language tag", "purpose": "Tests that a plain literal is created with a language tag.", - "input": "toRdf-0004-in.jsonld", - "expect": "toRdf-0004-out.nq" + "input": "toRdf/0004-in.jsonld", + "expect": "toRdf/0004-out.nq" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Extended character set literal", "purpose": "Tests that a literal may be created using extended characters.", - "input": "toRdf-0005-in.jsonld", - "expect": "toRdf-0005-out.nq" + "input": "toRdf/0005-in.jsonld", + "expect": "toRdf/0005-out.nq" }, { "@id": "#t0006", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Typed literal", "purpose": "Tests creation of a literal with a datatype.", - "input": "toRdf-0006-in.jsonld", - "expect": "toRdf-0006-out.nq" + "input": "toRdf/0006-in.jsonld", + "expect": "toRdf/0006-out.nq" }, { "@id": "#t0007", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Tests 'a' generates rdf:type and object is implicit IRI", "purpose": "Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.", - "input": "toRdf-0007-in.jsonld", - "expect": "toRdf-0007-out.nq" + "input": "toRdf/0007-in.jsonld", + "expect": "toRdf/0007-out.nq" }, { "@id": "#t0008", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test prefix defined in @context", "purpose": "Generate an IRI using a prefix defined within an @context.", - "input": "toRdf-0008-in.jsonld", - "expect": "toRdf-0008-out.nq" + "input": "toRdf/0008-in.jsonld", + "expect": "toRdf/0008-out.nq" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test using an empty suffix", "purpose": "An empty suffix may be used.", - "input": "toRdf-0009-in.jsonld", - "expect": "toRdf-0009-out.nq" + "input": "toRdf/0009-in.jsonld", + "expect": "toRdf/0009-out.nq" }, { "@id": "#t0010", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test object processing defines object", "purpose": "A property referencing an associative array gets object from subject of array.", - "input": "toRdf-0010-in.jsonld", - "expect": "toRdf-0010-out.nq" + "input": "toRdf/0010-in.jsonld", + "expect": "toRdf/0010-out.nq" }, { "@id": "#t0011", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test object processing defines object with implicit BNode", "purpose": "If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.", - "input": "toRdf-0011-in.jsonld", - "expect": "toRdf-0011-out.nq" + "input": "toRdf/0011-in.jsonld", + "expect": "toRdf/0011-out.nq" }, { "@id": "#t0012", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Multiple Objects for a Single Property", "purpose": "Tests that Multiple Objects are for a Single Property using array syntax.", - "input": "toRdf-0012-in.jsonld", - "expect": "toRdf-0012-out.nq" + "input": "toRdf/0012-in.jsonld", + "expect": "toRdf/0012-out.nq" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Creation of an empty list", "purpose": "Tests that @list: [] generates an empty list.", - "input": "toRdf-0013-in.jsonld", - "expect": "toRdf-0013-out.nq" + "input": "toRdf/0013-in.jsonld", + "expect": "toRdf/0013-out.nq" }, { "@id": "#t0014", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Creation of a list with single element", "purpose": "Tests that @list generates a list.", - "input": "toRdf-0014-in.jsonld", - "expect": "toRdf-0014-out.nq" + "input": "toRdf/0014-in.jsonld", + "expect": "toRdf/0014-out.nq" }, { "@id": "#t0015", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Creation of a list with multiple elements", "purpose": "Tests that list with multiple elements.", - "input": "toRdf-0015-in.jsonld", - "expect": "toRdf-0015-out.nq" + "input": "toRdf/0015-in.jsonld", + "expect": "toRdf/0015-out.nq" }, { "@id": "#t0016", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Empty IRI expands to resource location", "purpose": "Expanding an empty IRI uses the test file location.", - "input": "toRdf-0016-in.jsonld", - "expect": "toRdf-0016-out.nq" + "input": "toRdf/0016-in.jsonld", + "expect": "toRdf/0016-out.nq" }, { "@id": "#t0017", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Relative IRI expands relative resource location", "purpose": "Expanding a relative IRI uses the test file location.", - "input": "toRdf-0017-in.jsonld", - "expect": "toRdf-0017-out.nq" + "input": "toRdf/0017-in.jsonld", + "expect": "toRdf/0017-out.nq" }, { "@id": "#t0018", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Frag ID expands relative resource location", "purpose": "Expanding a fragment uses the test file location.", - "input": "toRdf-0018-in.jsonld", - "expect": "toRdf-0018-out.nq" + "input": "toRdf/0018-in.jsonld", + "expect": "toRdf/0018-out.nq" }, { "@id": "#t0019", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test type coercion to anyURI", "purpose": "Tests coercion of object to anyURI when specified.", - "input": "toRdf-0019-in.jsonld", - "expect": "toRdf-0019-out.nq" + "input": "toRdf/0019-in.jsonld", + "expect": "toRdf/0019-out.nq" }, { "@id": "#t0020", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test type coercion to typed literal", "purpose": "Tests coercion of object to a typed literal when specified.", - "input": "toRdf-0020-in.jsonld", - "expect": "toRdf-0020-out.nq" + "input": "toRdf/0020-in.jsonld", + "expect": "toRdf/0020-out.nq" }, { "@id": "#t0022", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test coercion of double value", "purpose": "Tests that a decimal value generates a xsd:double typed literal;.", - "input": "toRdf-0022-in.jsonld", - "expect": "toRdf-0022-out.nq" + "input": "toRdf/0022-in.jsonld", + "expect": "toRdf/0022-out.nq" }, { "@id": "#t0023", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test coercion of integer value", "purpose": "Tests that a decimal value generates a xsd:integer typed literal.", - "input": "toRdf-0023-in.jsonld", - "expect": "toRdf-0023-out.nq" + "input": "toRdf/0023-in.jsonld", + "expect": "toRdf/0023-out.nq" }, { "@id": "#t0024", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test coercion of boolean value", "purpose": "Tests that a decimal value generates a xsd:boolean typed literal.", - "input": "toRdf-0024-in.jsonld", - "expect": "toRdf-0024-out.nq" + "input": "toRdf/0024-in.jsonld", + "expect": "toRdf/0024-out.nq" }, { "@id": "#t0025", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test list coercion with single element", "purpose": "Tests that an array with a single element on a property with @list coercion creates an RDF Collection.", - "input": "toRdf-0025-in.jsonld", - "expect": "toRdf-0025-out.nq" + "input": "toRdf/0025-in.jsonld", + "expect": "toRdf/0025-out.nq" }, { "@id": "#t0026", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Test creation of multiple types", "purpose": "Tests that @type with an array of types creates multiple types.", - "input": "toRdf-0026-in.jsonld", - "expect": "toRdf-0026-out.nq" + "input": "toRdf/0026-in.jsonld", + "expect": "toRdf/0026-out.nq" }, { "@id": "#t0027", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Simple named graph (Wikidata)", "purpose": "Using @graph with other keys places triples in a named graph.", - "input": "toRdf-0027-in.jsonld", - "expect": "toRdf-0027-out.nq" + "input": "toRdf/0027-in.jsonld", + "expect": "toRdf/0027-out.nq" }, { "@id": "#t0028", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Simple named graph", "purpose": "Signing a graph.", - "input": "toRdf-0028-in.jsonld", - "expect": "toRdf-0028-out.nq" + "input": "toRdf/0028-in.jsonld", + "expect": "toRdf/0028-out.nq" }, { "@id": "#t0029", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "named graph with embedded named graph", "purpose": "Tests that named graphs containing named graphs flatten to single level of graph naming.", - "input": "toRdf-0029-in.jsonld", - "expect": "toRdf-0029-out.nq" + "input": "toRdf/0029-in.jsonld", + "expect": "toRdf/0029-out.nq" }, { "@id": "#t0030", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "top-level graph with string subject reference", "purpose": "Tests graphs containing subject references as strings.", - "input": "toRdf-0030-in.jsonld", - "expect": "toRdf-0030-out.nq" + "input": "toRdf/0030-in.jsonld", + "expect": "toRdf/0030-out.nq" }, { "@id": "#t0031", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Reverse property", "purpose": "Tests conversion of reverse properties.", - "input": "toRdf-0031-in.jsonld", - "expect": "toRdf-0031-out.nq" + "input": "toRdf/0031-in.jsonld", + "expect": "toRdf/0031-out.nq" }, { "@id": "#t0032", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@context reordering", "purpose": "Tests that generated triples do not depend on order of @context.", - "input": "toRdf-0032-in.jsonld", - "expect": "toRdf-0032-out.nq" + "input": "toRdf/0032-in.jsonld", + "expect": "toRdf/0032-out.nq" }, { "@id": "#t0033", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@id reordering", "purpose": "Tests that generated triples do not depend on order of @id.", - "input": "toRdf-0033-in.jsonld", - "expect": "toRdf-0033-out.nq" + "input": "toRdf/0033-in.jsonld", + "expect": "toRdf/0033-out.nq" }, { "@id": "#t0034", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "context properties reordering", "purpose": "Tests that generated triples do not depend on order of properties inside @context.", - "input": "toRdf-0034-in.jsonld", - "expect": "toRdf-0034-out.nq" + "input": "toRdf/0034-in.jsonld", + "expect": "toRdf/0034-out.nq" }, { "@id": "#t0035", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "non-fractional numbers converted to xsd:double", "purpose": "xsd:double's canonical lexical is used when converting numbers without fraction that are coerced to xsd:double", - "input": "toRdf-0035-in.jsonld", - "expect": "toRdf-0035-out.nq" + "input": "toRdf/0035-in.jsonld", + "expect": "toRdf/0035-out.nq" }, { "@id": "#t0036", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use nodeMapGeneration bnode labels", "purpose": "The toRDF algorithm does not relabel blank nodes; it reuses the counter from the nodeMapGeneration to generate new ones", - "input": "toRdf-0036-in.jsonld", - "expect": "toRdf-0036-out.nq" + "input": "toRdf/0036-in.jsonld", + "expect": "toRdf/0036-out.nq" }, { "@id": "#t0041", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "drop free-floating nodes", "purpose": "Free-floating nodes do not generate RDF triples", - "input": "toRdf-0041-in.jsonld", - "expect": "toRdf-0041-out.nq" + "input": "toRdf/0041-in.jsonld", + "expect": "toRdf/0041-out.nq" }, { "@id": "#t0042", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "basic", "purpose": "Basic RDF conversion", - "input": "toRdf-0042-in.jsonld", - "expect": "toRdf-0042-out.nq" + "input": "toRdf/0042-in.jsonld", + "expect": "toRdf/0042-out.nq" }, { "@id": "#t0043", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "drop null and unmapped properties", "purpose": "Properties mapped to null or which are never mapped are dropped", - "input": "toRdf-0043-in.jsonld", - "expect": "toRdf-0043-out.nq" + "input": "toRdf/0043-in.jsonld", + "expect": "toRdf/0043-out.nq" }, { "@id": "#t0044", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "optimize @set, keep empty arrays", "purpose": "RDF version of expand-0004", - "input": "toRdf-0044-in.jsonld", - "expect": "toRdf-0044-out.nq" + "input": "toRdf/0044-in.jsonld", + "expect": "toRdf/0044-out.nq" }, { "@id": "#t0045", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "do not expand aliased @id/@type", "purpose": "RDF version of expand-0005", - "input": "toRdf-0045-in.jsonld", - "expect": "toRdf-0045-out.nq" + "input": "toRdf/0045-in.jsonld", + "expect": "toRdf/0045-out.nq" }, { "@id": "#t0046", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "alias keywords", "purpose": "RDF version of expand-0006", - "input": "toRdf-0046-in.jsonld", - "expect": "toRdf-0046-out.nq" + "input": "toRdf/0046-in.jsonld", + "expect": "toRdf/0046-out.nq" }, { "@id": "#t0047", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "date type-coercion", "purpose": "Type-coerced dates generate typed literals", - "input": "toRdf-0047-in.jsonld", - "expect": "toRdf-0047-out.nq" + "input": "toRdf/0047-in.jsonld", + "expect": "toRdf/0047-out.nq" }, { "@id": "#t0048", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@value with @language", "purpose": "RDF version of expand-0008", - "input": "toRdf-0048-in.jsonld", - "expect": "toRdf-0048-out.nq" + "input": "toRdf/0048-in.jsonld", + "expect": "toRdf/0048-out.nq" }, { "@id": "#t0049", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@graph with terms", "purpose": "RDF version of expand-0009", - "input": "toRdf-0049-in.jsonld", - "expect": "toRdf-0049-out.nq" + "input": "toRdf/0049-in.jsonld", + "expect": "toRdf/0049-out.nq" }, { "@id": "#t0050", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "native types", "purpose": "Native types generate typed literals", - "input": "toRdf-0050-in.jsonld", - "expect": "toRdf-0050-out.nq" + "input": "toRdf/0050-in.jsonld", + "expect": "toRdf/0050-out.nq" }, { "@id": "#t0051", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "coerced @id", "purpose": "RDF version of expand-0011", - "input": "toRdf-0051-in.jsonld", - "expect": "toRdf-0051-out.nq" + "input": "toRdf/0051-in.jsonld", + "expect": "toRdf/0051-out.nq" }, { "@id": "#t0052", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@graph with embed", "purpose": "RDF version of expand-0012", - "input": "toRdf-0052-in.jsonld", - "expect": "toRdf-0052-out.nq" + "input": "toRdf/0052-in.jsonld", + "expect": "toRdf/0052-out.nq" }, { "@id": "#t0053", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "expand already expanded", "purpose": "RDF version of expand-0013", - "input": "toRdf-0053-in.jsonld", - "expect": "toRdf-0053-out.nq" + "input": "toRdf/0053-in.jsonld", + "expect": "toRdf/0053-out.nq" }, { "@id": "#t0054", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@set of @value objects with keyword aliases", "purpose": "RDF version of expand-0014", - "input": "toRdf-0054-in.jsonld", - "expect": "toRdf-0054-out.nq" + "input": "toRdf/0054-in.jsonld", + "expect": "toRdf/0054-out.nq", + "option": {"specVersion": "json-ld-1.0"} }, { "@id": "#t0055", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "collapse set of sets, keep empty lists", "purpose": "RDF version of expand-0015", - "input": "toRdf-0055-in.jsonld", - "expect": "toRdf-0055-out.nq" + "input": "toRdf/0055-in.jsonld", + "expect": "toRdf/0055-out.nq" }, { "@id": "#t0056", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "context reset", "purpose": "RDF version of expand-0016", - "input": "toRdf-0056-in.jsonld", - "expect": "toRdf-0056-out.nq" + "input": "toRdf/0056-in.jsonld", + "expect": "toRdf/0056-out.nq" }, { "@id": "#t0057", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@graph and @id aliased", "purpose": "RDF version of expand-0017", - "input": "toRdf-0057-in.jsonld", - "expect": "toRdf-0057-out.nq" + "input": "toRdf/0057-in.jsonld", + "expect": "toRdf/0057-out.nq" }, { "@id": "#t0058", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "override default @language", "purpose": "RDF version of expand-0018", - "input": "toRdf-0058-in.jsonld", - "expect": "toRdf-0058-out.nq" + "input": "toRdf/0058-in.jsonld", + "expect": "toRdf/0058-out.nq" }, { "@id": "#t0059", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "remove @value = null", "purpose": "RDF version of expand-0019", - "input": "toRdf-0059-in.jsonld", - "expect": "toRdf-0059-out.nq" + "input": "toRdf/0059-in.jsonld", + "expect": "toRdf/0059-out.nq" }, { "@id": "#t0060", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "do not remove @graph if not at top-level", "purpose": "Embedded @graph without @id creates BNode-labeled named graph", - "input": "toRdf-0060-in.jsonld", - "expect": "toRdf-0060-out.nq" + "input": "toRdf/0060-in.jsonld", + "expect": "toRdf/0060-out.nq" }, { "@id": "#t0061", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "do not remove @graph at top-level if not only property", "purpose": "RDF version of expand-0021", - "input": "toRdf-0061-in.jsonld", - "expect": "toRdf-0061-out.nq" + "input": "toRdf/0061-in.jsonld", + "expect": "toRdf/0061-out.nq" }, { "@id": "#t0062", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "expand value with default language", "purpose": "RDF version of expand-0022", - "input": "toRdf-0062-in.jsonld", - "expect": "toRdf-0062-out.nq" + "input": "toRdf/0062-in.jsonld", + "expect": "toRdf/0062-out.nq" }, { "@id": "#t0063", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Lists and sets of properties with list/set coercion", "purpose": "RDF version of expand-0023", - "input": "toRdf-0063-in.jsonld", - "expect": "toRdf-0063-out.nq" + "input": "toRdf/0063-in.jsonld", + "expect": "toRdf/0063-out.nq" }, { "@id": "#t0064", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Multiple contexts", "purpose": "RDF version of expand-0024", - "input": "toRdf-0064-in.jsonld", - "expect": "toRdf-0064-out.nq" + "input": "toRdf/0064-in.jsonld", + "expect": "toRdf/0064-out.nq" }, { "@id": "#t0065", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Problematic IRI expansion tests", "purpose": "RDF version of expand-0025", - "input": "toRdf-0065-in.jsonld", - "expect": "toRdf-0065-out.nq" + "input": "toRdf/0065-in.jsonld", + "expect": "toRdf/0065-out.nq" }, { "@id": "#t0066", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding term mapping to @type uses @type syntax", "purpose": "RDF version of expand-0026", - "input": "toRdf-0066-in.jsonld", - "expect": "toRdf-0066-out.nq" + "input": "toRdf/0066-in.jsonld", + "expect": "toRdf/0066-out.nq", + "option": {"specVersion": "json-ld-1.0"} }, { "@id": "#t0067", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Keep duplicate values in @list and @set", "purpose": "RDF version of expand-0027", - "input": "toRdf-0067-in.jsonld", - "expect": "toRdf-0067-out.nq" + "input": "toRdf/0067-in.jsonld", + "expect": "toRdf/0067-out.nq" }, { "@id": "#t0068", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use @vocab in properties and @type but not in @id", "purpose": "RDF version of expand-0028", - "input": "toRdf-0068-in.jsonld", - "expect": "toRdf-0068-out.nq" + "input": "toRdf/0068-in.jsonld", + "expect": "toRdf/0068-out.nq" }, { "@id": "#t0069", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Relative IRIs", "purpose": "RDF version of expand-0029", - "input": "toRdf-0069-in.jsonld", - "expect": "toRdf-0069-out.nq" + "input": "toRdf/0069-in.jsonld", + "expect": "toRdf/0069-out.nq" }, { "@id": "#t0070", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Language maps", "purpose": "RDF version of expand-0030", - "input": "toRdf-0070-in.jsonld", - "expect": "toRdf-0070-out.nq" + "input": "toRdf/0070-in.jsonld", + "expect": "toRdf/0070-out.nq" }, { "@id": "#t0071", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "type-coercion of native types", "purpose": "RDF version of expand-0031", - "input": "toRdf-0071-in.jsonld", - "expect": "toRdf-0071-out.nq" + "input": "toRdf/0071-in.jsonld", + "expect": "toRdf/0071-out.nq" }, { "@id": "#t0072", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Mapping a term to null decouples it from @vocab", "purpose": "RDF version of expand-0032", - "input": "toRdf-0072-in.jsonld", - "expect": "toRdf-0072-out.nq" + "input": "toRdf/0072-in.jsonld", + "expect": "toRdf/0072-out.nq" }, { "@id": "#t0073", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using @vocab with with type-coercion", "purpose": "RDF version of expand-0033", - "input": "toRdf-0073-in.jsonld", - "expect": "toRdf-0073-out.nq" + "input": "toRdf/0073-in.jsonld", + "expect": "toRdf/0073-out.nq" }, { "@id": "#t0074", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Multiple properties expanding to the same IRI", "purpose": "RDF version of expand-0034", - "input": "toRdf-0074-in.jsonld", - "expect": "toRdf-0074-out.nq" + "input": "toRdf/0074-in.jsonld", + "expect": "toRdf/0074-out.nq" }, { "@id": "#t0075", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Language maps with @vocab, default language, and colliding property", "purpose": "RDF version of expand-0035", - "input": "toRdf-0075-in.jsonld", - "expect": "toRdf-0075-out.nq" + "input": "toRdf/0075-in.jsonld", + "expect": "toRdf/0075-out.nq" }, { "@id": "#t0076", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding @index", "purpose": "RDF version of expand-0036", - "input": "toRdf-0076-in.jsonld", - "expect": "toRdf-0076-out.nq" + "input": "toRdf/0076-in.jsonld", + "expect": "toRdf/0076-out.nq" }, { "@id": "#t0077", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding @reverse", "purpose": "RDF version of expand-0037", - "input": "toRdf-0077-in.jsonld", - "expect": "toRdf-0077-out.nq" + "input": "toRdf/0077-in.jsonld", + "expect": "toRdf/0077-out.nq" }, { "@id": "#t0078", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Drop blank node predicates by default", "purpose": "Triples with blank node predicates are dropped by default.", - "input": "toRdf-0078-in.jsonld", - "expect": "toRdf-0078-out.nq" + "option": {"processingMode": "json-ld-1.0"}, + "input": "toRdf/0078-in.jsonld", + "expect": "toRdf/0078-out.nq" }, { "@id": "#t0079", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using terms in a reverse-maps", "purpose": "RDF version of expand-0039", - "input": "toRdf-0079-in.jsonld", - "expect": "toRdf-0079-out.nq" + "input": "toRdf/0079-in.jsonld", + "expect": "toRdf/0079-out.nq" }, { "@id": "#t0080", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "language and index expansion on non-objects", "purpose": "RDF version of expand-0040", - "input": "toRdf-0080-in.jsonld", - "expect": "toRdf-0080-out.nq" + "input": "toRdf/0080-in.jsonld", + "expect": "toRdf/0080-out.nq" }, { "@id": "#t0081", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Reset the default language", "purpose": "RDF version of expand-0041", - "input": "toRdf-0081-in.jsonld", - "expect": "toRdf-0081-out.nq" + "input": "toRdf/0081-in.jsonld", + "expect": "toRdf/0081-out.nq" }, { "@id": "#t0082", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding reverse properties", "purpose": "RDF version of expand-0042", - "input": "toRdf-0082-in.jsonld", - "expect": "toRdf-0082-out.nq" + "input": "toRdf/0082-in.jsonld", + "expect": "toRdf/0082-out.nq" }, { "@id": "#t0083", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using reverse properties inside a @reverse-container", "purpose": "RDF version of expand-0043", - "input": "toRdf-0083-in.jsonld", - "expect": "toRdf-0083-out.nq" + "input": "toRdf/0083-in.jsonld", + "expect": "toRdf/0083-out.nq" }, { "@id": "#t0084", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Ensure index maps use language mapping", "purpose": "RDF version of expand-0044", - "input": "toRdf-0084-in.jsonld", - "expect": "toRdf-0084-out.nq" + "input": "toRdf/0084-in.jsonld", + "expect": "toRdf/0084-out.nq" }, { "@id": "#t0085", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Top-level value objects are removed", "purpose": "RDF version of expand-0045", - "input": "toRdf-0085-in.jsonld", - "expect": "toRdf-0085-out.nq" + "input": "toRdf/0085-in.jsonld", + "expect": "toRdf/0085-out.nq" }, { "@id": "#t0086", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Free-floating nodes are removed", "purpose": "RDF version of expand-0046", - "input": "toRdf-0086-in.jsonld", - "expect": "toRdf-0086-out.nq" + "input": "toRdf/0086-in.jsonld", + "expect": "toRdf/0086-out.nq" }, { "@id": "#t0087", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Remove free-floating set values and lists", "purpose": "RDF version of expand-0047", - "input": "toRdf-0087-in.jsonld", - "expect": "toRdf-0087-out.nq" + "input": "toRdf/0087-in.jsonld", + "expect": "toRdf/0087-out.nq" }, { "@id": "#t0088", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Terms are ignored in @id", "purpose": "RDF version of expand-0048", - "input": "toRdf-0088-in.jsonld", - "expect": "toRdf-0088-out.nq" + "input": "toRdf/0088-in.jsonld", + "expect": "toRdf/0088-out.nq" }, { "@id": "#t0089", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using strings as value of a reverse property", "purpose": "RDF version of expand-0049", - "input": "toRdf-0089-in.jsonld", - "expect": "toRdf-0089-out.nq" + "input": "toRdf/0089-in.jsonld", + "expect": "toRdf/0089-out.nq" }, { "@id": "#t0090", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Term definitions with prefix separate from prefix definitions", "purpose": "RDF version of expand-0050", - "input": "toRdf-0090-in.jsonld", - "expect": "toRdf-0090-out.nq" + "input": "toRdf/0090-in.jsonld", + "expect": "toRdf/0090-out.nq" }, { "@id": "#t0091", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expansion of keyword aliases in term definitions", "purpose": "RDF version of expand-0051", - "input": "toRdf-0091-in.jsonld", - "expect": "toRdf-0091-out.nq" + "input": "toRdf/0091-in.jsonld", + "expect": "toRdf/0091-out.nq" }, { "@id": "#t0092", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@vocab-relative IRIs in term definitions", "purpose": "RDF version of expand-0052", - "input": "toRdf-0092-in.jsonld", - "expect": "toRdf-0092-out.nq" + "input": "toRdf/0092-in.jsonld", + "expect": "toRdf/0092-out.nq" }, { "@id": "#t0093", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand absolute IRI with @type: @vocab", "purpose": "RDF version of expand-0053", - "input": "toRdf-0093-in.jsonld", - "expect": "toRdf-0093-out.nq" + "input": "toRdf/0093-in.jsonld", + "expect": "toRdf/0093-out.nq" }, { "@id": "#t0094", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand term with @type: @vocab", "purpose": "RDF version of expand-0054", - "input": "toRdf-0094-in.jsonld", - "expect": "toRdf-0094-out.nq" + "input": "toRdf/0094-in.jsonld", + "expect": "toRdf/0094-out.nq" }, { "@id": "#t0095", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand @vocab-relative term with @type: @vocab", "purpose": "RDF version of expand-0055", - "input": "toRdf-0095-in.jsonld", - "expect": "toRdf-0095-out.nq" + "input": "toRdf/0095-in.jsonld", + "expect": "toRdf/0095-out.nq" }, { "@id": "#t0096", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use terms with @type: @vocab but not with @type: @id", "purpose": "RDF version of expand-0056", - "input": "toRdf-0096-in.jsonld", - "expect": "toRdf-0096-out.nq" + "input": "toRdf/0096-in.jsonld", + "expect": "toRdf/0096-out.nq" }, { "@id": "#t0097", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand relative IRI with @type: @vocab", "purpose": "RDF version of expand-0057", - "input": "toRdf-0097-in.jsonld", - "expect": "toRdf-0097-out.nq" + "input": "toRdf/0097-in.jsonld", + "expect": "toRdf/0097-out.nq" }, { "@id": "#t0098", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand compact IRI with @type: @vocab", "purpose": "RDF version of expand-0058", - "input": "toRdf-0098-in.jsonld", - "expect": "toRdf-0098-out.nq" + "input": "toRdf/0098-in.jsonld", + "expect": "toRdf/0098-out.nq" }, { "@id": "#t0099", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Reset @vocab by setting it to null", "purpose": "RDF version of expand-0059", - "input": "toRdf-0099-in.jsonld", - "expect": "toRdf-0099-out.nq" + "input": "toRdf/0099-in.jsonld", + "expect": "toRdf/0099-out.nq" }, { "@id": "#t0100", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Overwrite document base with @base and reset it again", "purpose": "RDF version of expand-0060", - "input": "toRdf-0100-in.jsonld", - "expect": "toRdf-0100-out.nq" + "input": "toRdf/0100-in.jsonld", + "expect": "toRdf/0100-out.nq" }, { "@id": "#t0101", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Coercing native types to arbitrary datatypes", "purpose": "RDF version of expand-0061", - "input": "toRdf-0101-in.jsonld", - "expect": "toRdf-0101-out.nq" + "input": "toRdf/0101-in.jsonld", + "expect": "toRdf/0101-out.nq" }, { "@id": "#t0102", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Various relative IRIs with with @base", "purpose": "RDF version of expand-0062", - "input": "toRdf-0102-in.jsonld", - "expect": "toRdf-0102-out.nq" + "input": "toRdf/0102-in.jsonld", + "expect": "toRdf/0102-out.nq" }, { "@id": "#t0103", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand a reverse property with an index-container", "purpose": "RDF version of expand-0063", - "input": "toRdf-0103-in.jsonld", - "expect": "toRdf-0103-out.nq" + "input": "toRdf/0103-in.jsonld", + "expect": "toRdf/0103-out.nq" }, { "@id": "#t0104", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand reverse property whose values are unlabeled blank nodes", "purpose": "RDF version of expand-0064", - "input": "toRdf-0104-in.jsonld", - "expect": "toRdf-0104-out.nq" + "input": "toRdf/0104-in.jsonld", + "expect": "toRdf/0104-out.nq" }, { "@id": "#t0105", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Keys that are not mapped to an IRI in a reverse-map are dropped", "purpose": "RDF version of expand-0065", - "input": "toRdf-0105-in.jsonld", - "expect": "toRdf-0105-out.nq" + "input": "toRdf/0105-in.jsonld", + "expect": "toRdf/0105-out.nq" }, { "@id": "#t0106", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use @vocab to expand keys in reverse-maps", "purpose": "RDF version of expand-0066", - "input": "toRdf-0106-in.jsonld", - "expect": "toRdf-0106-out.nq" + "input": "toRdf/0106-in.jsonld", + "expect": "toRdf/0106-out.nq" }, { "@id": "#t0107", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "prefix:://sufffix not a compact IRI", "purpose": "RDF version of expand-0067", - "input": "toRdf-0107-in.jsonld", - "expect": "toRdf-0107-out.nq" + "input": "toRdf/0107-in.jsonld", + "expect": "toRdf/0107-out.nq" }, { "@id": "#t0108", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "_::sufffix not a compact IRI", "purpose": "RDF version of expand-0068", - "input": "toRdf-0108-in.jsonld", - "expect": "toRdf-0108-out.nq" + "input": "toRdf/0108-in.jsonld", + "expect": "toRdf/0108-out.nq" }, { "@id": "#t0109", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Compact IRI as term with type mapping", "purpose": "RDF version of expand-0069", - "input": "toRdf-0109-in.jsonld", - "expect": "toRdf-0109-out.nq" + "input": "toRdf/0109-in.jsonld", + "expect": "toRdf/0109-out.nq" }, { "@id": "#t0110", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Redefine compact IRI with itself", "purpose": "RDF version of expand-0070", - "input": "toRdf-0110-in.jsonld", - "expect": "toRdf-0110-out.nq" + "input": "toRdf/0110-in.jsonld", + "expect": "toRdf/0110-out.nq" }, { "@id": "#t0111", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Redefine terms looking like compact IRIs", "purpose": "RDF version of expand-0071", - "input": "toRdf-0111-in.jsonld", - "expect": "toRdf-0111-out.nq" + "input": "toRdf/0111-in.jsonld", + "expect": "toRdf/0111-out.nq", + "option": {"specVersion": "json-ld-1.0"} }, { "@id": "#t0112", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Redefine term using @vocab, not itself", "purpose": "RDF version of expand-0072", - "input": "toRdf-0112-in.jsonld", - "expect": "toRdf-0112-out.nq" + "input": "toRdf/0112-in.jsonld", + "expect": "toRdf/0112-out.nq" }, { "@id": "#t0113", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Dataset with a IRI named graph", "purpose": "Basic use of creating a named graph using an IRI name", - "input": "toRdf-0113-in.jsonld", - "expect": "toRdf-0113-out.nq" + "input": "toRdf/0113-in.jsonld", + "expect": "toRdf/0113-out.nq" }, { "@id": "#t0114", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Dataset with a IRI named graph", "purpose": "Basic use of creating a named graph using a BNode name", - "input": "toRdf-0114-in.jsonld", - "expect": "toRdf-0114-out.nq" + "input": "toRdf/0114-in.jsonld", + "expect": "toRdf/0114-out.nq" }, { "@id": "#t0115", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Dataset with a default and two named graphs", "purpose": "Dataset with a default and two named graphs (IRI and BNode)", - "input": "toRdf-0115-in.jsonld", - "expect": "toRdf-0115-out.nq" + "input": "toRdf/0115-in.jsonld", + "expect": "toRdf/0115-out.nq" }, { "@id": "#t0116", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Dataset from node with embedded named graph", "purpose": "Embedding @graph in a node creates a named graph", - "input": "toRdf-0116-in.jsonld", - "expect": "toRdf-0116-out.nq" + "input": "toRdf/0116-in.jsonld", + "expect": "toRdf/0116-out.nq" }, { "@id": "#t0117", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Dataset from node with embedded named graph (bnode)", "purpose": "Embedding @graph in a node creates a named graph. Graph name is created if there is no subject", - "input": "toRdf-0117-in.jsonld", - "expect": "toRdf-0117-out.nq" + "input": "toRdf/0117-in.jsonld", + "expect": "toRdf/0117-out.nq" }, { "@id": "#t0118", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "produce generalized RDF flag", "purpose": "Triples with blank node predicates are not dropped if the produce generalized RDF flag is true.", "option": { + "processingMode": "json-ld-1.0", "produceGeneralizedRdf": true }, - "input": "toRdf-0118-in.jsonld", - "expect": "toRdf-0118-out.nq" + "input": "toRdf/0118-in.jsonld", + "expect": "toRdf/0118-out.nq" }, { "@id": "#t0119", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Blank nodes with reverse properties", "purpose": "Proper (re-)labeling of blank nodes if used with reverse properties.", - "input": "toRdf-0119-in.jsonld", - "expect": "toRdf-0119-out.nq" + "input": "toRdf/0119-in.jsonld", + "expect": "toRdf/0119-out.nq" + }, { + "@id": "#t0120", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (0)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0120-in.jsonld", + "expect": "toRdf/0120-out.nq" + }, { + "@id": "#t0121", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (1)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0121-in.jsonld", + "expect": "toRdf/0121-out.nq" + }, { + "@id": "#t0122", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (2)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0122-in.jsonld", + "expect": "toRdf/0122-out.nq" + }, { + "@id": "#t0123", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (3)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0123-in.jsonld", + "expect": "toRdf/0123-out.nq" + }, { + "@id": "#t0124", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (4)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0124-in.jsonld", + "expect": "toRdf/0124-out.nq" + }, { + "@id": "#t0125", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (5)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0125-in.jsonld", + "expect": "toRdf/0125-out.nq" + }, { + "@id": "#t0126", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (6)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0126-in.jsonld", + "expect": "toRdf/0126-out.nq" + }, { + "@id": "#t0127", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (7)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0127-in.jsonld", + "expect": "toRdf/0127-out.nq" + }, { + "@id": "#t0128", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (8)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0128-in.jsonld", + "expect": "toRdf/0128-out.nq" + }, { + "@id": "#t0129", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (9)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0129-in.jsonld", + "expect": "toRdf/0129-out.nq" + }, { + "@id": "#t0130", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (10)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0130-in.jsonld", + "expect": "toRdf/0130-out.nq" + }, { + "@id": "#t0131", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (11)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0131-in.jsonld", + "expect": "toRdf/0131-out.nq" + }, { + "@id": "#t0132", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (12)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0132-in.jsonld", + "expect": "toRdf/0132-out.nq" + }, { + "@id": "#th001", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transforms embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "toRdf/h001-in.html", + "expect": "toRdf/h001-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#th002", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transforms first embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "toRdf/h002-in.html", + "expect": "toRdf/h002-out.nq", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": false} + }, { + "@id": "#th003", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transforms targeted JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "toRdf/h003-in.html#second", + "expect": "toRdf/h003-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs01", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (boolean true)", + "purpose": "Tests transforming property with @type @json to a JSON literal (boolean true).", + "input": "toRdf/js01-in.jsonld", + "expect": "toRdf/js01-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs02", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (boolean false)", + "purpose": "Tests transforming property with @type @json to a JSON literal (boolean false).", + "input": "toRdf/js02-in.jsonld", + "expect": "toRdf/js02-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs03", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (double)", + "purpose": "Tests transforming property with @type @json to a JSON literal (double).", + "input": "toRdf/js03-in.jsonld", + "expect": "toRdf/js03-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs04", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (double-zero)", + "purpose": "Tests transforming property with @type @json to a JSON literal (double-zero).", + "input": "toRdf/js04-in.jsonld", + "expect": "toRdf/js04-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs05", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (integer)", + "purpose": "Tests transforming property with @type @json to a JSON literal (integer).", + "input": "toRdf/js05-in.jsonld", + "expect": "toRdf/js05-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs06", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (object)", + "purpose": "Tests transforming property with @type @json to a JSON literal (object).", + "input": "toRdf/js06-in.jsonld", + "expect": "toRdf/js06-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs07", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (array)", + "purpose": "Tests transforming property with @type @json to a JSON literal (array).", + "input": "toRdf/js07-in.jsonld", + "expect": "toRdf/js07-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs08", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal with array canonicalization", + "purpose": "Tests Transforming JSON literal with array canonicalization.", + "input": "toRdf/js08-in.jsonld", + "expect": "toRdf/js08-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs09", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal with string canonicalization", + "purpose": "Tests transforming JSON literal with string canonicalization.", + "input": "toRdf/js09-in.jsonld", + "expect": "toRdf/js09-out.nq", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + }, { + "@id": "#tjs10", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal with structural canonicalization", + "purpose": "Tests transforming JSON literal with structural canonicalization.", + "input": "toRdf/js10-in.jsonld", + "expect": "toRdf/js10-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs11", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal with unicode canonicalization", + "purpose": "Tests transforming JSON literal with unicode canonicalization.", + "input": "toRdf/js11-in.jsonld", + "expect": "toRdf/js11-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs12", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal with value canonicalization", + "purpose": "Tests transforming JSON literal with value canonicalization.", + "input": "toRdf/js12-in.jsonld", + "expect": "toRdf/js12-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs13", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal with wierd canonicalization", + "purpose": "Tests transforming JSON literal with wierd canonicalization.", + "input": "toRdf/js13-in.jsonld", + "expect": "toRdf/js13-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli01", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@list containing @list", + "purpose": "List of lists.", + "input": "toRdf/li01-in.jsonld", + "expect": "toRdf/li01-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli02", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@list containing empty @list", + "purpose": "List of lists.", + "input": "toRdf/li02-in.jsonld", + "expect": "toRdf/li02-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf01", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid subject IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf01-in.jsonld", + "expect": "toRdf/wf01-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf02", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid predicate IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf02-in.jsonld", + "expect": "toRdf/wf02-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf03", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid object IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf03-in.jsonld", + "expect": "toRdf/wf03-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf04", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid type IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf04-in.jsonld", + "expect": "toRdf/wf04-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf05", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid language tags are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf05-in.jsonld", + "expect": "toRdf/wf05-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf06", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid literal datatype IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf06-in.jsonld", + "expect": "toRdf/wf06-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf07", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid graph name IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf07-in.jsonld", + "expect": "toRdf/wf07-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tnt01", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_ascii_boundaries", + "purpose": "literal_ascii_boundaries '\\x00\\x26\\x28...' from N-Triples", + "input": "toRdf/nt01-in.jsonld" + }, { + "@id": "#tnt02", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_UTF8_boundaries", + "purpose": "literal_with_UTF8_boundaries '\\x80\\x7ff\\x800\\xfff...' from N-Triples", + "input": "toRdf/nt02-in.jsonld" + }, { + "@id": "#tnt03", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_all_controls", + "purpose": "literal_all_controls '\\x00\\x01\\x02\\x03\\x04...' from N-Triples", + "input": "toRdf/nt03-in.jsonld" + }, { + "@id": "#tnt04", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_all_punctuation", + "purpose": "literal_all_punctuation '!\"#$%&()...' from N-Triples", + "input": "toRdf/nt04-in.jsonld" + }, { + "@id": "#tnt05", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_squote", + "purpose": "literal with squote \"x'y\" from N-Triples", + "input": "toRdf/nt05-in.jsonld" + }, { + "@id": "#tnt06", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_2_squotes", + "purpose": "literal with 2 squotes \"x''y\" from N-Triples", + "input": "toRdf/nt06-in.jsonld" + }, { + "@id": "#tnt07", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_dquote", + "purpose": "literal with dquote \"x\"y\" from N-Triples", + "input": "toRdf/nt07-in.jsonld" + }, { + "@id": "#tnt08", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_2_dquotes", + "purpose": "literal with 2 dquotes \"\"\"a\"\"b\"\"\" from N-Triples", + "input": "toRdf/nt08-in.jsonld" + }, { + "@id": "#tnt09", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_REVERSE_SOLIDUS2", + "purpose": "REVERSE SOLIDUS at end of literal from N-Triples", + "input": "toRdf/nt09-in.jsonld" + }, { + "@id": "#tnt10", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_CHARACTER_TABULATION", + "purpose": "literal with CHARACTER TABULATION from N-Triples", + "input": "toRdf/nt10-in.jsonld" + }, { + "@id": "#tnt11", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_BACKSPACE", + "purpose": "literal with BACKSPACE from N-Triples", + "input": "toRdf/nt11-in.jsonld" + }, { + "@id": "#tnt12", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_LINE_FEED", + "purpose": "literal with LINE FEED from N-Triples", + "input": "toRdf/nt12-in.jsonld" + }, { + "@id": "#tnt13", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_CARRIAGE_RETURN", + "purpose": "literal with CARRIAGE RETURN from N-Triples", + "input": "toRdf/nt13-in.jsonld" + }, { + "@id": "#tnt14", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_FORM_FEED", + "purpose": "literal with FORM FEED from N-Triples", + "input": "toRdf/nt14-in.jsonld" + }, { + "@id": "#tnt15", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_REVERSE_SOLIDUS", + "purpose": "literal with REVERSE SOLIDUS from N-Triples", + "input": "toRdf/nt15-in.jsonld" + }, { + "@id": "#tnt16", + "@type": ["jld:PositiveSyntaxTest", "jld:ToRDFTest"], + "name": "literal_with_numeric_escape4", + "purpose": "literal with numeric escape4 \\u from N-Triples", + "input": "toRdf/nt16-in.jsonld" + }, { + "@id": "#trt01", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Representing numbers >= 1e21", + "purpose": "numbers with no fractions but that are >= 1e21 are represented as xsd:double", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/rt01-in.jsonld", + "expect": "toRdf/rt01-out.nq" } ] } diff --git a/core/src/test/resources/json-ld.org/toRdf-0001-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0001-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0001-out.nq b/core/src/test/resources/json-ld.org/toRdf/0001-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0001-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0001-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0002-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0002-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0002-out.nq b/core/src/test/resources/json-ld.org/toRdf/0002-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0002-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0002-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0003-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0003-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0003-out.nq b/core/src/test/resources/json-ld.org/toRdf/0003-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0003-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0003-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0004-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0004-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0004-out.nq b/core/src/test/resources/json-ld.org/toRdf/0004-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0004-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0004-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0005-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0005-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0005-out.nq b/core/src/test/resources/json-ld.org/toRdf/0005-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0005-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0005-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0006-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0006-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0006-out.nq b/core/src/test/resources/json-ld.org/toRdf/0006-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0006-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0006-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0007-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0007-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0007-out.nq b/core/src/test/resources/json-ld.org/toRdf/0007-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0007-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0007-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0008-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0008-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0008-out.nq b/core/src/test/resources/json-ld.org/toRdf/0008-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0008-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0008-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0009-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0009-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0009-out.nq b/core/src/test/resources/json-ld.org/toRdf/0009-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0009-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0009-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0010-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0010-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0010-out.nq b/core/src/test/resources/json-ld.org/toRdf/0010-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0010-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0010-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0011-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0011-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0011-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0011-out.nq b/core/src/test/resources/json-ld.org/toRdf/0011-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0011-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0011-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0012-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0012-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0012-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0012-out.nq b/core/src/test/resources/json-ld.org/toRdf/0012-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0012-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0012-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0013-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0013-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0013-out.nq b/core/src/test/resources/json-ld.org/toRdf/0013-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0013-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0013-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0014-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0014-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0014-out.nq b/core/src/test/resources/json-ld.org/toRdf/0014-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0014-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0014-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0015-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0015-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0015-out.nq b/core/src/test/resources/json-ld.org/toRdf/0015-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0015-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0015-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0016-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0016-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0016-out.nq b/core/src/test/resources/json-ld.org/toRdf/0016-out.nq new file mode 100644 index 00000000..fc3ee12a --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0016-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf-0017-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0017-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0017-out.nq b/core/src/test/resources/json-ld.org/toRdf/0017-out.nq new file mode 100644 index 00000000..3c54df34 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0017-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf-0018-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0018-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0018-out.nq b/core/src/test/resources/json-ld.org/toRdf/0018-out.nq new file mode 100644 index 00000000..2a6e3ded --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0018-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf-0019-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0019-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0019-out.nq b/core/src/test/resources/json-ld.org/toRdf/0019-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0019-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0019-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0020-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0020-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0020-out.nq b/core/src/test/resources/json-ld.org/toRdf/0020-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0020-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0020-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0022-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0022-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0022-out.nq b/core/src/test/resources/json-ld.org/toRdf/0022-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0022-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0022-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0023-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0023-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0023-out.nq b/core/src/test/resources/json-ld.org/toRdf/0023-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0023-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0023-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0024-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0024-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0024-out.nq b/core/src/test/resources/json-ld.org/toRdf/0024-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0024-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0024-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0025-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0025-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0025-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0025-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0025-out.nq b/core/src/test/resources/json-ld.org/toRdf/0025-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0025-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0025-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0026-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0026-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0026-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0026-out.nq b/core/src/test/resources/json-ld.org/toRdf/0026-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0026-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0026-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0027-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0027-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0027-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0027-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0027-out.nq b/core/src/test/resources/json-ld.org/toRdf/0027-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0027-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0027-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0028-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0028-in.jsonld similarity index 73% rename from core/src/test/resources/json-ld.org/toRdf-0028-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0028-in.jsonld index 3795dfb1..3932feb8 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0028-in.jsonld +++ b/core/src/test/resources/json-ld.org/toRdf/0028-in.jsonld @@ -3,17 +3,17 @@ "sec": "http://purl.org/security#", "xsd": "http://www.w3.org/2001/XMLSchema#", "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", - "dc": "http://purl.org/dc/terms/", + "dcterms": "http://purl.org/dc/terms/", "sec:signer": {"@type": "@id"}, - "dc:created": {"@type": "xsd:dateTime"} + "dcterms:created": {"@type": "xsd:dateTime"} }, "@id": "http://example.org/sig1", "@type": ["rdf:Graph", "sec:SignedGraph"], - "dc:created": "2011-09-23T20:21:34Z", + "dcterms:created": "2011-09-23T20:21:34Z", "sec:signer": "http://payswarm.example.com/i/john/keys/5", "sec:signatureValue": "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=", "@graph": { "@id": "http://example.org/fact1", - "dc:title": "Hello World!" + "dcterms:title": "Hello World!" } } \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf-0028-out.nq b/core/src/test/resources/json-ld.org/toRdf/0028-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0028-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0028-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0029-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0029-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0029-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0029-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0029-out.nq b/core/src/test/resources/json-ld.org/toRdf/0029-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0029-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0029-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0030-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0030-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0030-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0030-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0030-out.nq b/core/src/test/resources/json-ld.org/toRdf/0030-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0030-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0030-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0031-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0031-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0031-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0031-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0031-out.nq b/core/src/test/resources/json-ld.org/toRdf/0031-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0031-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0031-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0032-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0032-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0032-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0032-out.nq b/core/src/test/resources/json-ld.org/toRdf/0032-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0032-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0032-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0033-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0033-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0033-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0033-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0033-out.nq b/core/src/test/resources/json-ld.org/toRdf/0033-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0033-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0033-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0034-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0034-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0034-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0034-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0034-out.nq b/core/src/test/resources/json-ld.org/toRdf/0034-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0034-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0034-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0035-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0035-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0035-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0035-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0035-out.nq b/core/src/test/resources/json-ld.org/toRdf/0035-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0035-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0035-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0036-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0036-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0036-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0036-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0036-out.nq b/core/src/test/resources/json-ld.org/toRdf/0036-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0036-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0036-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0041-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0041-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0041-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0041-in.jsonld diff --git a/core/src/test/resources/json-ld.org/normalize-0015-out.nq b/core/src/test/resources/json-ld.org/toRdf/0041-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/normalize-0015-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0041-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0042-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0042-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0042-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0042-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0042-out.nq b/core/src/test/resources/json-ld.org/toRdf/0042-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0042-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0042-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0043-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0043-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0043-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0043-in.jsonld diff --git a/core/src/test/resources/json-ld.org/normalize-0049-out.nq b/core/src/test/resources/json-ld.org/toRdf/0043-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/normalize-0049-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0043-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0044-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0044-in.jsonld similarity index 94% rename from core/src/test/resources/json-ld.org/toRdf-0044-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0044-in.jsonld index 5768520b..8499bfa0 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0044-in.jsonld +++ b/core/src/test/resources/json-ld.org/toRdf/0044-in.jsonld @@ -13,7 +13,7 @@ "http://example.org/list1": { "@list": [ null ] }, "http://example.org/list2": { "@list": [ {"@value": null} ] }, "http://example.org/set1": { "@set": [ ] }, - "http://example.org/set1": { "@set": [ null ] }, + "http://example.org/set2": { "@set": [ null ] }, "http://example.org/set3": [ ], "http://example.org/set4": [ null ], "http://example.org/set5": "one item", diff --git a/core/src/test/resources/json-ld.org/toRdf-0044-out.nq b/core/src/test/resources/json-ld.org/toRdf/0044-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0044-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0044-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0045-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0045-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0045-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0045-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0045-out.nq b/core/src/test/resources/json-ld.org/toRdf/0045-out.nq similarity index 55% rename from core/src/test/resources/json-ld.org/toRdf-0045-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0045-out.nq index fa46f903..7a1302af 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0045-out.nq +++ b/core/src/test/resources/json-ld.org/toRdf/0045-out.nq @@ -2,5 +2,5 @@ "Alice" . . "Bob" . - . - . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf-0046-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0046-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0046-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0046-in.jsonld diff --git a/core/src/test/resources/json-ld.org/normalize-0052-out.nq b/core/src/test/resources/json-ld.org/toRdf/0046-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/normalize-0052-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0046-out.nq diff --git a/core/src/test/resources/json-ld.org/normalize-0013-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0047-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/normalize-0013-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0047-in.jsonld diff --git a/core/src/test/resources/json-ld.org/normalize-0013-out.nq b/core/src/test/resources/json-ld.org/toRdf/0047-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/normalize-0013-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0047-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0048-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0048-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0048-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0048-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0048-out.nq b/core/src/test/resources/json-ld.org/toRdf/0048-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0048-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0048-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0049-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0049-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0049-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0049-in.jsonld diff --git a/core/src/test/resources/json-ld.org/normalize-0009-out.nq b/core/src/test/resources/json-ld.org/toRdf/0049-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/normalize-0009-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0049-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0050-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0050-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0050-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0050-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0050-out.nq b/core/src/test/resources/json-ld.org/toRdf/0050-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0050-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0050-out.nq diff --git a/core/src/test/resources/json-ld.org/expand-0011-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0051-in.jsonld similarity index 77% rename from core/src/test/resources/json-ld.org/expand-0011-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0051-in.jsonld index 15815597..fa90d97d 100644 --- a/core/src/test/resources/json-ld.org/expand-0011-in.jsonld +++ b/core/src/test/resources/json-ld.org/toRdf/0051-in.jsonld @@ -1,6 +1,6 @@ { "@context": { - "dc": "http://purl.org/dc/elements/1.1/", + "dc11": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:contains": { "@type": "@id" @@ -8,6 +8,6 @@ "xsd": "http://www.w3.org/2001/XMLSchema#" }, "@id": "http://example.org/test#book", - "dc:title": "Title", + "dc11:title": "Title", "ex:contains": "http://example.org/test#chapter" } \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf-0051-out.nq b/core/src/test/resources/json-ld.org/toRdf/0051-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0051-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0051-out.nq diff --git a/core/src/test/resources/json-ld.org/normalize-0009-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0052-in.jsonld similarity index 80% rename from core/src/test/resources/json-ld.org/normalize-0009-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0052-in.jsonld index d081e7fb..ebda5732 100644 --- a/core/src/test/resources/json-ld.org/normalize-0009-in.jsonld +++ b/core/src/test/resources/json-ld.org/toRdf/0052-in.jsonld @@ -1,6 +1,6 @@ { "@context": { - "dc": "http://purl.org/dc/elements/1.1/", + "dc11": "http://purl.org/dc/elements/1.1/", "ex": "http://example.org/vocab#", "ex:authored": { "@type": "@id" @@ -14,8 +14,8 @@ "@graph": [ { "@id": "http://example.org/test#chapter", - "dc:description": "Fun", - "dc:title": "Chapter One" + "dc11:description": "Fun", + "dc11:title": "Chapter One" }, { "@id": "http://example.org/test#jane", @@ -30,8 +30,8 @@ "@id": "http://example.org/test#library", "ex:contains": { "@id": "http://example.org/test#book", - "dc:contributor": "Writer", - "dc:title": "My Book", + "dc11:contributor": "Writer", + "dc11:title": "My Book", "ex:contains": "http://example.org/test#chapter" } } diff --git a/core/src/test/resources/json-ld.org/toRdf-0049-out.nq b/core/src/test/resources/json-ld.org/toRdf/0052-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0049-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0052-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0053-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0053-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0053-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0053-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0053-out.nq b/core/src/test/resources/json-ld.org/toRdf/0053-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0053-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0053-out.nq diff --git a/core/src/test/resources/json-ld.org/flatten-0014-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0054-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-0014-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0054-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0054-out.nq b/core/src/test/resources/json-ld.org/toRdf/0054-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0054-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0054-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0055-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0055-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0055-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0055-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0055-out.nq b/core/src/test/resources/json-ld.org/toRdf/0055-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0055-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0055-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0056-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0056-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0056-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0056-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0056-out.nq b/core/src/test/resources/json-ld.org/toRdf/0056-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0056-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0056-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0057-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0057-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0057-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0057-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0052-out.nq b/core/src/test/resources/json-ld.org/toRdf/0057-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0052-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0057-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0058-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0058-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0058-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0058-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0058-out.nq b/core/src/test/resources/json-ld.org/toRdf/0058-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0058-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0058-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0059-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0059-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0059-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0059-in.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc-0004-in.jldte b/core/src/test/resources/json-ld.org/toRdf/0059-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-0004-in.jldte rename to core/src/test/resources/json-ld.org/toRdf/0059-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0060-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0060-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0060-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0060-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0060-out.nq b/core/src/test/resources/json-ld.org/toRdf/0060-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0060-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0060-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0061-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0061-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0061-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0061-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0061-out.nq b/core/src/test/resources/json-ld.org/toRdf/0061-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0061-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0061-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0062-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0062-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0062-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0062-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0062-out.nq b/core/src/test/resources/json-ld.org/toRdf/0062-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0062-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0062-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0063-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0063-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0063-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0063-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0063-out.nq b/core/src/test/resources/json-ld.org/toRdf/0063-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0063-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0063-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0064-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0064-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0064-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0064-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0064-out.nq b/core/src/test/resources/json-ld.org/toRdf/0064-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0064-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0064-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0065-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0065-in.jsonld similarity index 80% rename from core/src/test/resources/json-ld.org/toRdf-0065-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0065-in.jsonld index 426de362..2cd0d48e 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0065-in.jsonld +++ b/core/src/test/resources/json-ld.org/toRdf/0065-in.jsonld @@ -1,7 +1,7 @@ { "@context": { "foo": "http://example.com/foo/", - "foo:bar": "http://example.com/bar", + "foo:bar": "http://example.com/foo/bar", "bar": {"@id": "foo:bar", "@type": "@id"}, "_": "http://example.com/underscore/" }, diff --git a/core/src/test/resources/json-ld.org/toRdf-0065-out.nq b/core/src/test/resources/json-ld.org/toRdf/0065-out.nq similarity index 91% rename from core/src/test/resources/json-ld.org/toRdf-0065-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0065-out.nq index 57adb84c..4256e246 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0065-out.nq +++ b/core/src/test/resources/json-ld.org/toRdf/0065-out.nq @@ -1,3 +1,3 @@ -_:b0 . _:b0 . +_:b0 . _:b0 . diff --git a/core/src/test/resources/json-ld.org/toRdf/0066-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0066-in.jsonld new file mode 100644 index 00000000..36d8cac7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0066-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.com/a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b" + }, { + "@id": "http://example.com/c", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ + "http://example.com/d", + "http://example.com/e" + ] + }, { + "@id": "http://example.com/f", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf-0066-out.nq b/core/src/test/resources/json-ld.org/toRdf/0066-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0066-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0066-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0067-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0067-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0067-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0067-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0067-out.nq b/core/src/test/resources/json-ld.org/toRdf/0067-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0067-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0067-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0068-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0068-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0068-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0068-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0068-out.nq b/core/src/test/resources/json-ld.org/toRdf/0068-out.nq new file mode 100644 index 00000000..edd1dd2a --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0068-out.nq @@ -0,0 +1,4 @@ + "2011-01-25T00:00:00Z"^^ . + . + . + "2012-08-01T00:00:00Z"^^ . diff --git a/core/src/test/resources/json-ld.org/expand-0029-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0069-in.jsonld similarity index 89% rename from core/src/test/resources/json-ld.org/expand-0029-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0069-in.jsonld index 08cdde33..dd425bda 100644 --- a/core/src/test/resources/json-ld.org/expand-0029-in.jsonld +++ b/core/src/test/resources/json-ld.org/toRdf/0069-in.jsonld @@ -10,7 +10,7 @@ "./", "../", "../parent", - "../../parent-parent-eq-root", + "../../../parent-parent-eq-root", "../../../../../still-root", "../.././.././../../too-many-dots", "/absolute", @@ -23,7 +23,7 @@ "./", "../", "../parent", - "../../parent-parent-eq-root", + "../../../parent-parent-eq-root", "./../../../useless/../../../still-root", "../.././.././../../too-many-dots", "/absolute", diff --git a/core/src/test/resources/json-ld.org/toRdf/0069-out.nq b/core/src/test/resources/json-ld.org/toRdf/0069-out.nq new file mode 100644 index 00000000..1d9efde7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0069-out.nq @@ -0,0 +1,34 @@ + _:b0 . + . + . + . + . + . + . + . + . + . + . + . +_:b0 . +_:b0 _:b1 . +_:b1 . +_:b1 _:b2 . +_:b2 . +_:b2 _:b3 . +_:b3 . +_:b3 _:b4 . +_:b4 . +_:b4 _:b5 . +_:b5 . +_:b5 _:b6 . +_:b6 . +_:b6 _:b7 . +_:b7 . +_:b7 _:b8 . +_:b8 . +_:b8 _:b9 . +_:b9 . +_:b9 _:b10 . +_:b10 . +_:b10 . diff --git a/core/src/test/resources/json-ld.org/toRdf-0070-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0070-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0070-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0070-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0070-out.nq b/core/src/test/resources/json-ld.org/toRdf/0070-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0070-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0070-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0071-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0071-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0071-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0071-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0071-out.nq b/core/src/test/resources/json-ld.org/toRdf/0071-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0071-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0071-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0072-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0072-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0072-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0072-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0072-out.nq b/core/src/test/resources/json-ld.org/toRdf/0072-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0072-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0072-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0073-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0073-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0073-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0073-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0073-out.nq b/core/src/test/resources/json-ld.org/toRdf/0073-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0073-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0073-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0074-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0074-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0074-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0074-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0074-out.nq b/core/src/test/resources/json-ld.org/toRdf/0074-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0074-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0074-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0075-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0075-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0075-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0075-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0075-out.nq b/core/src/test/resources/json-ld.org/toRdf/0075-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0075-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0075-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0076-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0076-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0076-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0076-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0076-out.nq b/core/src/test/resources/json-ld.org/toRdf/0076-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0076-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0076-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0077-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0077-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0077-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0077-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0077-out.nq b/core/src/test/resources/json-ld.org/toRdf/0077-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0077-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0077-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0078-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0078-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0078-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0078-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0078-out.nq b/core/src/test/resources/json-ld.org/toRdf/0078-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0078-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0078-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0079-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0079-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0079-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0079-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0079-out.nq b/core/src/test/resources/json-ld.org/toRdf/0079-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0079-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0079-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0080-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0080-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0080-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0080-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0080-out.nq b/core/src/test/resources/json-ld.org/toRdf/0080-out.nq similarity index 80% rename from core/src/test/resources/json-ld.org/toRdf-0080-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0080-out.nq index 4059ef58..31beb5f6 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0080-out.nq +++ b/core/src/test/resources/json-ld.org/toRdf/0080-out.nq @@ -1,4 +1,4 @@ "No" . "indexes" . - . + . "The Queen" . diff --git a/core/src/test/resources/json-ld.org/toRdf-0081-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0081-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0081-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0081-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0081-out.nq b/core/src/test/resources/json-ld.org/toRdf/0081-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0081-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0081-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0082-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0082-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0082-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0082-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0082-out.nq b/core/src/test/resources/json-ld.org/toRdf/0082-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0082-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0082-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0083-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0083-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0083-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0083-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0083-out.nq b/core/src/test/resources/json-ld.org/toRdf/0083-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0083-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0083-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0084-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0084-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0084-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0084-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0084-out.nq b/core/src/test/resources/json-ld.org/toRdf/0084-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0084-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0084-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0085-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0085-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0085-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0085-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0041-out.nq b/core/src/test/resources/json-ld.org/toRdf/0085-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0041-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0085-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0086-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0086-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0086-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0086-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0043-out.nq b/core/src/test/resources/json-ld.org/toRdf/0086-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0043-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0086-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0087-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0087-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0087-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0087-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0087-out.nq b/core/src/test/resources/json-ld.org/toRdf/0087-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0087-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0087-out.nq diff --git a/core/src/test/resources/json-ld.org/compact-0045-out.jsonld b/core/src/test/resources/json-ld.org/toRdf/0088-in.jsonld similarity index 90% rename from core/src/test/resources/json-ld.org/compact-0045-out.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0088-in.jsonld index 005f5e16..5854b8a0 100644 --- a/core/src/test/resources/json-ld.org/compact-0045-out.jsonld +++ b/core/src/test/resources/json-ld.org/toRdf/0088-in.jsonld @@ -1,7 +1,7 @@ { "@context": { "term": "http://example.com/terms-are-not-considered-in-id", - "compact-iris": "http://example.com/compact-iris-", + "compact-iris": "http://example.com/compact-iris#", "property": "http://example.com/property", "@vocab": "http://example.org/vocab-is-not-considered-for-id" }, diff --git a/core/src/test/resources/json-ld.org/toRdf/0088-out.nq b/core/src/test/resources/json-ld.org/toRdf/0088-out.nq new file mode 100644 index 00000000..94324d9d --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0088-out.nq @@ -0,0 +1,4 @@ + "@id supports the following values: relative, absolute, and compact IRIs" . + "relative IRIs get resolved against the document's base IRI" . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf-0089-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0089-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0089-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0089-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0089-out.nq b/core/src/test/resources/json-ld.org/toRdf/0089-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0089-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0089-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0090-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0090-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0090-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0090-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0090-out.nq b/core/src/test/resources/json-ld.org/toRdf/0090-out.nq new file mode 100644 index 00000000..21792147 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0090-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 "Markus" . diff --git a/core/src/test/resources/json-ld.org/toRdf-0091-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0091-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0091-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0091-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0091-out.nq b/core/src/test/resources/json-ld.org/toRdf/0091-out.nq new file mode 100644 index 00000000..2fe83826 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0091-out.nq @@ -0,0 +1 @@ + "ok" . diff --git a/core/src/test/resources/json-ld.org/toRdf-0092-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0092-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0092-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0092-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0092-out.nq b/core/src/test/resources/json-ld.org/toRdf/0092-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0092-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0092-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0093-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0093-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0093-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0093-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0093-out.nq b/core/src/test/resources/json-ld.org/toRdf/0093-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0093-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0093-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0094-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0094-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0094-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0094-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0094-out.nq b/core/src/test/resources/json-ld.org/toRdf/0094-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0094-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0094-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0095-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0095-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0095-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0095-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0095-out.nq b/core/src/test/resources/json-ld.org/toRdf/0095-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0095-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0095-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0096-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0096-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0096-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0096-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0096-out.nq b/core/src/test/resources/json-ld.org/toRdf/0096-out.nq similarity index 81% rename from core/src/test/resources/json-ld.org/toRdf-0096-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0096-out.nq index bca879ff..638e55e4 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0096-out.nq +++ b/core/src/test/resources/json-ld.org/toRdf/0096-out.nq @@ -1,3 +1,3 @@ - . + . . "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld.org/toRdf-0097-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0097-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0097-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0097-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0097-out.nq b/core/src/test/resources/json-ld.org/toRdf/0097-out.nq new file mode 100644 index 00000000..8fc39181 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0097-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld.org/toRdf-0098-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0098-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0098-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0098-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0098-out.nq b/core/src/test/resources/json-ld.org/toRdf/0098-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0098-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0098-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0099-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0099-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0099-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0099-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0099-out.nq b/core/src/test/resources/json-ld.org/toRdf/0099-out.nq new file mode 100644 index 00000000..3f1f6d57 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0099-out.nq @@ -0,0 +1,4 @@ + . + . + "property expanded using @vocab" . + . diff --git a/core/src/test/resources/json-ld.org/toRdf-0100-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0100-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0100-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0100-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0100-out.nq b/core/src/test/resources/json-ld.org/toRdf/0100-out.nq new file mode 100644 index 00000000..1837f9a5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0100-out.nq @@ -0,0 +1,4 @@ + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf-0101-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0101-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0101-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0101-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0101-out.nq b/core/src/test/resources/json-ld.org/toRdf/0101-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0101-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0101-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0102-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0102-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0102-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0102-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0102-out.nq b/core/src/test/resources/json-ld.org/toRdf/0102-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0102-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0102-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0103-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0103-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0103-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0103-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0103-out.nq b/core/src/test/resources/json-ld.org/toRdf/0103-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0103-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0103-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0104-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0104-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0104-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0104-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0104-out.nq b/core/src/test/resources/json-ld.org/toRdf/0104-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0104-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0104-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0105-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0105-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0105-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0105-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0105-out.nq b/core/src/test/resources/json-ld.org/toRdf/0105-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0105-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0105-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0106-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0106-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0106-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0106-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0106-out.nq b/core/src/test/resources/json-ld.org/toRdf/0106-out.nq similarity index 51% rename from core/src/test/resources/json-ld.org/toRdf-0106-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0106-out.nq index 1dcbdf7d..91b33114 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0106-out.nq +++ b/core/src/test/resources/json-ld.org/toRdf/0106-out.nq @@ -1,5 +1,5 @@ - . - "Dave Longley" . "Markus Lanthaler" . - . - "Compact keys using @vocab" . + "Dave Longley" . + . + "Compact keys using @vocab" . + . diff --git a/core/src/test/resources/json-ld.org/toRdf-0107-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0107-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0107-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0107-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0107-out.nq b/core/src/test/resources/json-ld.org/toRdf/0107-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0107-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0107-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0108-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0108-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0108-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0108-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0108-out.nq b/core/src/test/resources/json-ld.org/toRdf/0108-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0108-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0108-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0109-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0109-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0109-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0109-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0109-out.nq b/core/src/test/resources/json-ld.org/toRdf/0109-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0109-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0109-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0110-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0110-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0110-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0110-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0110-out.nq b/core/src/test/resources/json-ld.org/toRdf/0110-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0110-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0110-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0111-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0111-in.jsonld new file mode 100644 index 00000000..598c43fe --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0111-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "v:term": "v:somethingElse", + "v:termId": { "@id": "v:somethingElseId" } + }, + { + "v:term": "v:term", + "v:termId": { "@id": "v:termId" } + } + ], + "v:term": "value of v:term", + "v:termId": "value of v:termId" +} diff --git a/core/src/test/resources/json-ld.org/toRdf-0111-out.nq b/core/src/test/resources/json-ld.org/toRdf/0111-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0111-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0111-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0112-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0112-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0112-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0112-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0112-out.nq b/core/src/test/resources/json-ld.org/toRdf/0112-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0112-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0112-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0113-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0113-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0113-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0113-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0113-out.nq b/core/src/test/resources/json-ld.org/toRdf/0113-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0113-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0113-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0114-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0114-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0114-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0114-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0114-out.nq b/core/src/test/resources/json-ld.org/toRdf/0114-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0114-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0114-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0115-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0115-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0115-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0115-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0115-out.nq b/core/src/test/resources/json-ld.org/toRdf/0115-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0115-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0115-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0116-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0116-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0116-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0116-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0116-out.nq b/core/src/test/resources/json-ld.org/toRdf/0116-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0116-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0116-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0117-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0117-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0117-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0117-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0117-out.nq b/core/src/test/resources/json-ld.org/toRdf/0117-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0117-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0117-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-0118-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0118-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0118-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0118-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0118-out.nq b/core/src/test/resources/json-ld.org/toRdf/0118-out.nq similarity index 73% rename from core/src/test/resources/json-ld.org/toRdf-0118-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0118-out.nq index a9451eef..fb03a3dd 100644 --- a/core/src/test/resources/json-ld.org/toRdf-0118-out.nq +++ b/core/src/test/resources/json-ld.org/toRdf/0118-out.nq @@ -1,6 +1,6 @@ _:b0 _:b0 . _:b0 _:b0 "plain value" . -_:b0 _:b0 . +_:b0 _:b0 . _:b0 _:b0 _:b0 . _:b0 _:b0 _:b1 . _:b0 _:b0 _:b2 . diff --git a/core/src/test/resources/json-ld.org/toRdf-0119-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0119-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0119-in.jsonld rename to core/src/test/resources/json-ld.org/toRdf/0119-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf-0119-out.nq b/core/src/test/resources/json-ld.org/toRdf/0119-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0119-out.nq rename to core/src/test/resources/json-ld.org/toRdf/0119-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0120-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0120-in.jsonld new file mode 100644 index 00000000..ad2884b9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0120-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/d;p?q", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s001", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s002", "urn:ex:p": "g"}, + {"@id": "urn:ex:s003", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s004", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s005", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s006", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s007", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s008", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s009", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s010", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s011", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s012", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s013", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s014", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s015", "urn:ex:p": ""}, + {"@id": "urn:ex:s016", "urn:ex:p": "."}, + {"@id": "urn:ex:s017", "urn:ex:p": "./"}, + {"@id": "urn:ex:s018", "urn:ex:p": ".."}, + {"@id": "urn:ex:s019", "urn:ex:p": "../"}, + {"@id": "urn:ex:s020", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s021", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s022", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s023", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s024", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s025", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s026", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s027", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s028", "urn:ex:p": "g."}, + {"@id": "urn:ex:s029", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s030", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s031", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s032", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s033", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s034", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s035", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s036", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s037", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s038", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s039", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s040", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s041", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s042", "urn:ex:p": "http:g"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0120-out.nq b/core/src/test/resources/json-ld.org/toRdf/0120-out.nq new file mode 100644 index 00000000..8503e524 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0120-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0121-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0121-in.jsonld new file mode 100644 index 00000000..86a197dc --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0121-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/d/", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s043", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s044", "urn:ex:p": "g"}, + {"@id": "urn:ex:s045", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s046", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s047", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s048", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s049", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s050", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s051", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s052", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s053", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s054", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s055", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s056", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s057", "urn:ex:p": ""}, + {"@id": "urn:ex:s058", "urn:ex:p": "."}, + {"@id": "urn:ex:s059", "urn:ex:p": "./"}, + {"@id": "urn:ex:s060", "urn:ex:p": ".."}, + {"@id": "urn:ex:s061", "urn:ex:p": "../"}, + {"@id": "urn:ex:s062", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s063", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s064", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s065", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s066", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s067", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s068", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s069", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s070", "urn:ex:p": "g."}, + {"@id": "urn:ex:s071", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s072", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s073", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s074", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s075", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s076", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s077", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s078", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s079", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s080", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s081", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s082", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s083", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s084", "urn:ex:p": "http:g"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0121-out.nq b/core/src/test/resources/json-ld.org/toRdf/0121-out.nq new file mode 100644 index 00000000..b0a0231a --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0121-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0122-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0122-in.jsonld new file mode 100644 index 00000000..f6c240c0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0122-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/./d;p?q", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s085", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s086", "urn:ex:p": "g"}, + {"@id": "urn:ex:s087", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s088", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s089", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s090", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s091", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s092", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s093", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s094", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s095", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s096", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s097", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s098", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s099", "urn:ex:p": ""}, + {"@id": "urn:ex:s100", "urn:ex:p": "."}, + {"@id": "urn:ex:s101", "urn:ex:p": "./"}, + {"@id": "urn:ex:s102", "urn:ex:p": ".."}, + {"@id": "urn:ex:s103", "urn:ex:p": "../"}, + {"@id": "urn:ex:s104", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s105", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s106", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s107", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s108", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s109", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s110", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s111", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s112", "urn:ex:p": "g."}, + {"@id": "urn:ex:s113", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s114", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s115", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s116", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s117", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s118", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s119", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s120", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s121", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s122", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s123", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s124", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s125", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s126", "urn:ex:p": "http:g"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0122-out.nq b/core/src/test/resources/json-ld.org/toRdf/0122-out.nq new file mode 100644 index 00000000..fd518304 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0122-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0123-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0123-in.jsonld new file mode 100644 index 00000000..006fa689 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0123-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/../d;p?q", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s127", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s128", "urn:ex:p": "g"}, + {"@id": "urn:ex:s129", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s130", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s131", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s132", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s133", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s134", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s135", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s136", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s137", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s138", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s139", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s140", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s141", "urn:ex:p": ""}, + {"@id": "urn:ex:s142", "urn:ex:p": "."}, + {"@id": "urn:ex:s143", "urn:ex:p": "./"}, + {"@id": "urn:ex:s144", "urn:ex:p": ".."}, + {"@id": "urn:ex:s145", "urn:ex:p": "../"}, + {"@id": "urn:ex:s146", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s147", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s148", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s149", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s150", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s151", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s152", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s153", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s154", "urn:ex:p": "g."}, + {"@id": "urn:ex:s155", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s156", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s157", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s158", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s159", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s160", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s161", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s162", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s163", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s164", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s165", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s166", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s167", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s168", "urn:ex:p": "http:g"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0123-out.nq b/core/src/test/resources/json-ld.org/toRdf/0123-out.nq new file mode 100644 index 00000000..59af1ece --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0123-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0124-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0124-in.jsonld new file mode 100644 index 00000000..d75b3d8c --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0124-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/.", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s169", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s170", "urn:ex:p": "g"}, + {"@id": "urn:ex:s171", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s172", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s173", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s174", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s175", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s176", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s177", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s178", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s179", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s180", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s181", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s182", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s183", "urn:ex:p": ""}, + {"@id": "urn:ex:s184", "urn:ex:p": "."}, + {"@id": "urn:ex:s185", "urn:ex:p": "./"}, + {"@id": "urn:ex:s186", "urn:ex:p": ".."}, + {"@id": "urn:ex:s187", "urn:ex:p": "../"}, + {"@id": "urn:ex:s188", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s189", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s190", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s191", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s192", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s193", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s194", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s195", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s196", "urn:ex:p": "g."}, + {"@id": "urn:ex:s197", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s198", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s199", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s200", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s201", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s202", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s203", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s204", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s205", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s206", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s207", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s208", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s209", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s210", "urn:ex:p": "http:g"} + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0124-out.nq b/core/src/test/resources/json-ld.org/toRdf/0124-out.nq new file mode 100644 index 00000000..7a57e0e6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0124-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0125-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0125-in.jsonld new file mode 100644 index 00000000..2e1adc8b --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0125-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/..", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s211", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s212", "urn:ex:p": "g"}, + {"@id": "urn:ex:s213", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s214", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s215", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s216", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s217", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s218", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s219", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s220", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s221", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s222", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s223", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s224", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s225", "urn:ex:p": ""}, + {"@id": "urn:ex:s226", "urn:ex:p": "."}, + {"@id": "urn:ex:s227", "urn:ex:p": "./"}, + {"@id": "urn:ex:s228", "urn:ex:p": ".."}, + {"@id": "urn:ex:s229", "urn:ex:p": "../"}, + {"@id": "urn:ex:s230", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s231", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s232", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s233", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s234", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s235", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s236", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s237", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s238", "urn:ex:p": "g."}, + {"@id": "urn:ex:s239", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s240", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s241", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s242", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s243", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s244", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s245", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s246", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s247", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s248", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s249", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s250", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s251", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s252", "urn:ex:p": "http:g"} + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0125-out.nq b/core/src/test/resources/json-ld.org/toRdf/0125-out.nq new file mode 100644 index 00000000..89a3f659 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0125-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0126-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0126-in.jsonld new file mode 100644 index 00000000..81a64571 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0126-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "file:///a/bb/ccc/d;p?q", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s253", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s254", "urn:ex:p": "g"}, + {"@id": "urn:ex:s255", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s256", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s257", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s258", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s259", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s260", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s261", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s262", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s263", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s264", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s265", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s266", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s267", "urn:ex:p": ""}, + {"@id": "urn:ex:s268", "urn:ex:p": "."}, + {"@id": "urn:ex:s269", "urn:ex:p": "./"}, + {"@id": "urn:ex:s270", "urn:ex:p": ".."}, + {"@id": "urn:ex:s271", "urn:ex:p": "../"}, + {"@id": "urn:ex:s272", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s273", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s274", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s275", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s276", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s277", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s278", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s279", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s280", "urn:ex:p": "g."}, + {"@id": "urn:ex:s281", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s282", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s283", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s284", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s285", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s286", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s287", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s288", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s289", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s290", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s291", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s292", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s293", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s294", "urn:ex:p": "http:g"} + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0126-out.nq b/core/src/test/resources/json-ld.org/toRdf/0126-out.nq new file mode 100644 index 00000000..e1fc4f36 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0126-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0127-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0127-in.jsonld new file mode 100644 index 00000000..eec91f99 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0127-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": {"@base": "http://abc/def/ghi", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s295", "urn:ex:p": "."}, + {"@id": "urn:ex:s296", "urn:ex:p": ".?a=b"}, + {"@id": "urn:ex:s297", "urn:ex:p": ".#a=b"}, + {"@id": "urn:ex:s298", "urn:ex:p": ".."}, + {"@id": "urn:ex:s299", "urn:ex:p": "..?a=b"}, + {"@id": "urn:ex:s300", "urn:ex:p": "..#a=b"} + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0127-out.nq b/core/src/test/resources/json-ld.org/toRdf/0127-out.nq new file mode 100644 index 00000000..65e26022 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0127-out.nq @@ -0,0 +1,6 @@ + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0128-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0128-in.jsonld new file mode 100644 index 00000000..3863011f --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0128-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": {"@base": "http://ab//de//ghi", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s301", "urn:ex:p": "xyz"}, + {"@id": "urn:ex:s302", "urn:ex:p": "./xyz"}, + {"@id": "urn:ex:s303", "urn:ex:p": "../xyz"} + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0128-out.nq b/core/src/test/resources/json-ld.org/toRdf/0128-out.nq new file mode 100644 index 00000000..8fc2148f --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0128-out.nq @@ -0,0 +1,3 @@ + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0129-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0129-in.jsonld new file mode 100644 index 00000000..a199895e --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0129-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": {"@base": "http://abc/d:f/ghi", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s304", "urn:ex:p": "xyz"}, + {"@id": "urn:ex:s305", "urn:ex:p": "./xyz"}, + {"@id": "urn:ex:s306", "urn:ex:p": "../xyz"} + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0129-out.nq b/core/src/test/resources/json-ld.org/toRdf/0129-out.nq new file mode 100644 index 00000000..31bce616 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0129-out.nq @@ -0,0 +1,3 @@ + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0130-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0130-in.jsonld new file mode 100644 index 00000000..bb11d1fe --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0130-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"@base": "tag:example", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s307", "urn:ex:p": "a"} + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0130-out.nq b/core/src/test/resources/json-ld.org/toRdf/0130-out.nq new file mode 100644 index 00000000..48c95173 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0130-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0131-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0131-in.jsonld new file mode 100644 index 00000000..86954242 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0131-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"@base": "tag:example/foo", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s308", "urn:ex:p": "a"} + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0131-out.nq b/core/src/test/resources/json-ld.org/toRdf/0131-out.nq new file mode 100644 index 00000000..4c420b35 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0131-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0132-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/0132-in.jsonld new file mode 100644 index 00000000..d26b45b6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0132-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"@base": "tag:example/foo/", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s309", "urn:ex:p": "a"} + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0132-out.nq b/core/src/test/resources/json-ld.org/toRdf/0132-out.nq new file mode 100644 index 00000000..7215f758 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/0132-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf/h001-in.html b/core/src/test/resources/json-ld.org/toRdf/h001-in.html new file mode 100644 index 00000000..5f7274ed --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/h001-in.html @@ -0,0 +1,12 @@ + + + + +) \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/h001-out.nq b/core/src/test/resources/json-ld.org/toRdf/h001-out.nq new file mode 100644 index 00000000..91e9e279 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/h001-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 "bar" . +_:b1 . diff --git a/core/src/test/resources/json-ld.org/toRdf/h002-in.html b/core/src/test/resources/json-ld.org/toRdf/h002-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/h002-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/h002-out.nq b/core/src/test/resources/json-ld.org/toRdf/h002-out.nq new file mode 100644 index 00000000..91e9e279 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/h002-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 "bar" . +_:b1 . diff --git a/core/src/test/resources/json-ld.org/toRdf/h003-in.html b/core/src/test/resources/json-ld.org/toRdf/h003-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/h003-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/h003-out.nq b/core/src/test/resources/json-ld.org/toRdf/h003-out.nq new file mode 100644 index 00000000..44f69e9a --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/h003-out.nq @@ -0,0 +1,2 @@ +_:b0 "foo" . +_:b1 "bar" . diff --git a/core/src/test/resources/json-ld.org/toRdf/js01-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js01-in.jsonld new file mode 100644 index 00000000..ace09383 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js01-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#bool", "@type": "@json"} + }, + "e": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js01-out.nq b/core/src/test/resources/json-ld.org/toRdf/js01-out.nq new file mode 100644 index 00000000..bac18733 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js01-out.nq @@ -0,0 +1 @@ +_:b0 "true"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js02-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js02-in.jsonld new file mode 100644 index 00000000..65f32bf2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js02-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#bool", "@type": "@json"} + }, + "e": false +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js02-out.nq b/core/src/test/resources/json-ld.org/toRdf/js02-out.nq new file mode 100644 index 00000000..7bb8fd1f --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js02-out.nq @@ -0,0 +1 @@ +_:b0 "false"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js03-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js03-in.jsonld new file mode 100644 index 00000000..3f98c4fc --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js03-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#double", "@type": "@json"} + }, + "e": 1.23 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js03-out.nq b/core/src/test/resources/json-ld.org/toRdf/js03-out.nq new file mode 100644 index 00000000..1fbd15a4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js03-out.nq @@ -0,0 +1 @@ +_:b0 "1.23"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js04-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js04-in.jsonld new file mode 100644 index 00000000..dfd129c8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js04-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#double", "@type": "@json"} + }, + "e": 0.0e0 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js04-out.nq b/core/src/test/resources/json-ld.org/toRdf/js04-out.nq new file mode 100644 index 00000000..1172726d --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js04-out.nq @@ -0,0 +1 @@ +_:b0 "0"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js05-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js05-in.jsonld new file mode 100644 index 00000000..22702493 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js05-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#integer", "@type": "@json"} + }, + "e": 123 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js05-out.nq b/core/src/test/resources/json-ld.org/toRdf/js05-out.nq new file mode 100644 index 00000000..d8c47b46 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js05-out.nq @@ -0,0 +1 @@ +_:b0 "123"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js06-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js06-in.jsonld new file mode 100644 index 00000000..b0c57352 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js06-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#object", "@type": "@json"} + }, + "e": {"foo": "bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js06-out.nq b/core/src/test/resources/json-ld.org/toRdf/js06-out.nq new file mode 100644 index 00000000..4909a3d6 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js06-out.nq @@ -0,0 +1 @@ +_:b0 "{\"foo\":\"bar\"}"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js07-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js07-in.jsonld new file mode 100644 index 00000000..8caa6c9f --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js07-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#array", "@type": "@json"} + }, + "e": [{"foo": "bar"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js07-out.nq b/core/src/test/resources/json-ld.org/toRdf/js07-out.nq new file mode 100644 index 00000000..f2ef8961 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js07-out.nq @@ -0,0 +1 @@ +_:b0 "[{\"foo\":\"bar\"}]"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js08-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js08-in.jsonld new file mode 100644 index 00000000..16ae134f --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js08-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": [ + 56, + { + "d": true, + "10": null, + "1": [ ] + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js08-out.nq b/core/src/test/resources/json-ld.org/toRdf/js08-out.nq new file mode 100644 index 00000000..b27b6b7d --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js08-out.nq @@ -0,0 +1 @@ +_:b0 "[56,{\"1\":[],\"10\":null,\"d\":true}]"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js09-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js09-in.jsonld new file mode 100644 index 00000000..3ade2918 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js09-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": { + "peach": "This sorting order", + "péché": "is wrong according to French", + "pêche": "but canonicalization MUST", + "sin": "ignore locale" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js09-out.nq b/core/src/test/resources/json-ld.org/toRdf/js09-out.nq new file mode 100644 index 00000000..aedbd732 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js09-out.nq @@ -0,0 +1 @@ +_:b0 "{\"peach\":\"This sorting order\",\"péché\":\"is wrong according to French\",\"pêche\":\"but canonicalization MUST\",\"sin\":\"ignore locale\"}"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js10-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js10-in.jsonld new file mode 100644 index 00000000..5a34da26 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js10-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": { + "1": {"f": {"f": "hi","F": 5} ," ": 56.0}, + "10": { }, + "": "empty", + "a": { }, + "111": [ {"e": "yes","E": "no" } ], + "A": { } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js10-out.nq b/core/src/test/resources/json-ld.org/toRdf/js10-out.nq new file mode 100644 index 00000000..055426c8 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js10-out.nq @@ -0,0 +1 @@ +_:b0 "{\"\":\"empty\",\"1\":{\" \":56,\"f\":{\"F\":5,\"f\":\"hi\"}},\"10\":{},\"111\":[{\"E\":\"no\",\"e\":\"yes\"}],\"A\":{},\"a\":{}}"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js11-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js11-in.jsonld new file mode 100644 index 00000000..8f6f20b4 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js11-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": { + "Unnormalized Unicode":"A\u030a" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js11-out.nq b/core/src/test/resources/json-ld.org/toRdf/js11-out.nq new file mode 100644 index 00000000..0d41a89d --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js11-out.nq @@ -0,0 +1 @@ +_:b0 "{\"Unnormalized Unicode\":\"Å\"}"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js12-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js12-in.jsonld new file mode 100644 index 00000000..325b874a --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js12-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": { + "numbers": [333333333.33333329, 1E30, 4.50, 2e-3, 0.000000000000000000000000001], + "string": "\u20ac$\u000F\u000aA'\u0042\u0022\u005c\\\"\/", + "literals": [null, true, false] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js12-out.nq b/core/src/test/resources/json-ld.org/toRdf/js12-out.nq new file mode 100644 index 00000000..1c5d73f9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js12-out.nq @@ -0,0 +1 @@ +_:b0 "{\"literals\":[null,true,false],\"numbers\":[333333333.3333333,1e+30,4.5,0.002,1e-27],\"string\":\"€$\\u000f\\nA'B\\\"\\\\\\\\\\\"/\"}"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js13-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/js13-in.jsonld new file mode 100644 index 00000000..dc476ae9 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js13-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": { + "\u20ac": "Euro Sign", + "\r": "Carriage Return", + "\u000a": "Newline", + "1": "One", + "\u0080": "Control\u007f", + "\ud83d\ude02": "Smiley", + "\u00f6": "Latin Small Letter O With Diaeresis", + "": "Browser Challenge" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/js13-out.nq b/core/src/test/resources/json-ld.org/toRdf/js13-out.nq new file mode 100644 index 00000000..f0fc6770 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/js13-out.nq @@ -0,0 +1 @@ +_:b0 "{\"\\n\":\"Newline\",\"\\r\":\"Carriage Return\",\"1\":\"One\",\"\":\"Browser Challenge\",\"€\":\"Control\",\"ö\":\"Latin Small Letter O With Diaeresis\",\"€\":\"Euro Sign\",\"😂\":\"Smiley\"}"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/li01-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/li01-in.jsonld new file mode 100644 index 00000000..6cc2c82b --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/li01-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example/A", + "http://example.com/foo": {"@list": [{"@list": ["baz"]}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/li01-out.nq b/core/src/test/resources/json-ld.org/toRdf/li01-out.nq new file mode 100644 index 00000000..30142060 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/li01-out.nq @@ -0,0 +1,5 @@ + _:l1 . +_:l1 _:l2 . +_:l1 . +_:l2 "baz" . +_:l2 . diff --git a/core/src/test/resources/json-ld.org/toRdf/li02-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/li02-in.jsonld new file mode 100644 index 00000000..7d50dc38 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/li02-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example/A", + "http://example.com/foo": {"@list": [{"@list": []}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/li02-out.nq b/core/src/test/resources/json-ld.org/toRdf/li02-out.nq new file mode 100644 index 00000000..7239ef09 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/li02-out.nq @@ -0,0 +1,3 @@ + _:l1 . +_:l1 . +_:l1 . diff --git a/core/src/test/resources/json-ld.org/toRdf/nt01-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt01-in.jsonld new file mode 100644 index 00000000..d9abc2cb --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt01-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "\u0000\t\u000B\f\u000e&([]\u007F" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt02-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt02-in.jsonld new file mode 100644 index 00000000..f084bfd1 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt02-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt03-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt03-in.jsonld new file mode 100644 index 00000000..77fc0b34 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt03-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\u000b\f\u000E\u000F\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001A\u001B\u001C\u001D\u001E\u001F" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt04-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt04-in.jsonld new file mode 100644 index 00000000..4baebf0b --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt04-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": " !\"#$%&():;<=>?@[]^_`{|}~" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt05-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt05-in.jsonld new file mode 100644 index 00000000..e3feea5f --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt05-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "x'y" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt06-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt06-in.jsonld new file mode 100644 index 00000000..a9e58909 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt06-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "x''y" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt07-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt07-in.jsonld new file mode 100644 index 00000000..de2c2eb2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt07-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "x\"y" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt08-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt08-in.jsonld new file mode 100644 index 00000000..cc90b100 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt08-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "x\"\"y" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt09-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt09-in.jsonld new file mode 100644 index 00000000..7c251114 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt09-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.org/ns#s", + "http://example.org/ns#p1": [ + { + "@value": "test-\\" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt10-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt10-in.jsonld new file mode 100644 index 00000000..eab1c520 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt10-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "\t" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt11-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt11-in.jsonld new file mode 100644 index 00000000..dde526be --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt11-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "\b" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt12-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt12-in.jsonld new file mode 100644 index 00000000..c7df2308 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt12-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "\n" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt13-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt13-in.jsonld new file mode 100644 index 00000000..72f8aca0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt13-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "\r" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt14-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt14-in.jsonld new file mode 100644 index 00000000..76840fd2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt14-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "\f" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt15-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt15-in.jsonld new file mode 100644 index 00000000..c25a97e0 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt15-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "\\" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/nt16-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/nt16-in.jsonld new file mode 100644 index 00000000..f9c43cd7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/nt16-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://a.example/s", + "http://a.example/p": [ + { + "@value": "\u000F" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/rt01-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/rt01-in.jsonld new file mode 100644 index 00000000..9aaa87be --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/rt01-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "number": {"@id": "http://example.com/number"} + }, + "number": [-0e0, 8, 9.9, 1e21 ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/rt01-out.nq b/core/src/test/resources/json-ld.org/toRdf/rt01-out.nq new file mode 100644 index 00000000..65c50746 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/rt01-out.nq @@ -0,0 +1,4 @@ +_:b0 "0"^^ . +_:b0 "8"^^ . +_:b0 "9.9E0"^^ . +_:b0 "1.0E21"^^ . diff --git a/core/src/test/resources/json-ld.org/toRdf/wf01-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/wf01-in.jsonld new file mode 100644 index 00000000..54fa7e8d --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/wf01-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.com/a b", + "http://example.com/foo": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf-0059-out.nq b/core/src/test/resources/json-ld.org/toRdf/wf01-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0059-out.nq rename to core/src/test/resources/json-ld.org/toRdf/wf01-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/wf02-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/wf02-in.jsonld new file mode 100644 index 00000000..fe5f18e3 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/wf02-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.com/foo", + "http://example.com/a b": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf-0085-out.nq b/core/src/test/resources/json-ld.org/toRdf/wf02-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0085-out.nq rename to core/src/test/resources/json-ld.org/toRdf/wf02-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/wf03-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/wf03-in.jsonld new file mode 100644 index 00000000..d6e20ade --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/wf03-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.com/foo", + "http://example.com/bar": {"@id": "http://example.com/baz z"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf-0086-out.nq b/core/src/test/resources/json-ld.org/toRdf/wf03-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-0086-out.nq rename to core/src/test/resources/json-ld.org/toRdf/wf03-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/wf04-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/wf04-in.jsonld new file mode 100644 index 00000000..9321636d --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/wf04-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.com/foo", + "@type": ["http://example.com/bar", "http://in valid"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/wf04-out.nq b/core/src/test/resources/json-ld.org/toRdf/wf04-out.nq new file mode 100644 index 00000000..b241d18b --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/wf04-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf/wf05-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/wf05-in.jsonld new file mode 100644 index 00000000..79352683 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/wf05-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.com/foo", + "http://example.com/bar": {"@value": "bar", "@language": "a b"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/wf05-out.nq b/core/src/test/resources/json-ld.org/toRdf/wf05-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld.org/toRdf/wf06-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/wf06-in.jsonld new file mode 100644 index 00000000..41a7a8b2 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/wf06-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.com/foo", + "http://example.com/bar": {"@value": "bar", "@type": "http://example.com/baz z"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/wf06-out.nq b/core/src/test/resources/json-ld.org/toRdf/wf06-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld.org/toRdf/wf07-in.jsonld b/core/src/test/resources/json-ld.org/toRdf/wf07-in.jsonld new file mode 100644 index 00000000..5119e589 --- /dev/null +++ b/core/src/test/resources/json-ld.org/toRdf/wf07-in.jsonld @@ -0,0 +1,7 @@ +{ + "@id": "http://example.com/invalid gn", + "@graph": { + "@id": "http://example.com/foo", + "http://example.com/bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/wf07-out.nq b/core/src/test/resources/json-ld.org/toRdf/wf07-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld.org/vocab.html b/core/src/test/resources/json-ld.org/vocab.html new file mode 100644 index 00000000..3a93686b --- /dev/null +++ b/core/src/test/resources/json-ld.org/vocab.html @@ -0,0 +1,394 @@ + + + +Test case manifest vocabulary extensions + + + + +

Test case manifest vocabulary extensions

+

W3C

+

+Alternate versions of the test vocabulary definition exist in +Turtle +and JSON-LD. +

+
+

Test Case Classes

+
+
Compact Evaluation Test
+

A CompactTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

+
+
Expand Evaluation Test
+

A ExpandTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

+
+
Flatten Evaluation Test
+

A FlattenTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

+
+
Frame Evaluation Test
+

A FrameTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

+
+
From RDF Evaluation Test
+

A FromRDFTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

+
+
HTTP Evaluation Test
+

An HttpTest modifies either a PositiveEvaluationTest or NegativeEvaluationTest.

+
+
Negative Syntax Test
+

A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error.

+
+
Positive Evaluation Test
+

A Positive Evaluation test is successful when the result of processing the input file specified as mf:action (aliased as "input" in test manifest) exactly matches the output file specified as mf:result (aliased as "expect" in test manifest) using the comparison defined in another class. The specifics of invoking test, including the interpretation of options (:option) and other input files are specified through another class.

+
+
Positive Evaluation Test
+

A Negative Evaluation test is successful when the result of processing the input file specified as mf:action (aliased as "input" in test manifest) results in the error identified by the literal value of mf:result (aliased as "expect" in test manifest). The specifics of invoking test, including the interpretation of options (:option) and other input files are specified through another class. See the README for more details on running tests.

+
+
Positive Syntax Test
+

A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action.

+
+
Processor Options
+

Options passed to the test runner to affect invocation of the appropriate API method.

+
+
Superclass of all JSON-LD tests
+

All JSON-LD tests have an input file referenced using mf:action (aliased as "input" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using mf:result (aliased as "expect" in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to "json-ld-1.1", unless specified explicitly as a test option.

+
+
To RDF Evaluation Test
+

A ToRDFTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

+
+
+
+
+

Test Case Properties

+
+
HTTP Accept
+

An HTTP Accept header.

+
+
HTTP link
+

An HTTP Link header to be added to the result of requesting the input file.

+
+
HTTP status
+

The HTTP status code that must be returned when the input file is requested. This is typically used along with the redirectTo property.

+
+
base
+

The base IRI to use when expanding or compacting the document. If set, this overrides the input document's IRI.

+
+
compact arrays
+

If set to true, the JSON-LD processor replaces arrays with just one element with that element during compaction. If set to false, all arrays will remain arrays even if they have just one element.

+
+
compact to relative
+

If set to false, the JSON-LD processor will not attempt to compact using document-relative IRIs.

+
+
content type
+

The HTTP Content-Type used for the input file, in case it is a non-registered type.

+
+
context
+

A context that is used for transforming the input document.

+
+
expand context
+

A context that is used to initialize the active context when expanding a document.

+
+
input
+

A frame that is used for transforming the input document.

+
+
input
+

Secondary input file

+
+
option
+

Options affecting processing

+
+
processing mode
+

If set to "json-ld-1.1", the JSON-LD processor must produce exactly the same results as the algorithms defined in this specification. If set to another value, the JSON-LD processor is allowed to extend or modify the algorithms defined in this specification to enable application-specific optimizations. The definition of such optimizations is beyond the scope of this specification and thus not defined. Consequently, different implementations may implement different optimizations. Developers must not define modes beginning with json-ld as they are reserved for future versions of this specification.

+
+
produce generalized RDF
+

Unless the produce generalized RDF flag is set to true, RDF triples containing a blank node predicate are excluded from output.

+
+
redirect to
+

The location of a URL for redirection. A request made of the input file must be redirected to the designated URL.

+
+
spec version
+

Indicates the JSON-LD version to which the test applies, rather than the specific processing mode. Values are "json-ld-1.0", and "json-ld-1.1". If not set, the test is presumed to be valid for all versions of JSON-LD. In cases where results differ between spec versions for the same test, the test will have both a "1.0" and "1.1" version, for example.

+
+
use RDF types
+

If the use rdf type flag is set to true, statements with an rdf:type predicate will not use @type, but will be transformed as a normal property.

+
+
use native types
+

If the use native types flag is set to true, RDF literals with a datatype IRI that equal xsd:integer or xsd:double are converted to a JSON numbers and RDF literals with a datatype IRI that equals xsd:boolean are converted to true or false based on their lexical form.

+
+
+
+
+W3C Linked JSON Community Group +
+ + diff --git a/core/src/test/resources/json-ld.org/vocab.jsonld b/core/src/test/resources/json-ld.org/vocab.jsonld new file mode 100644 index 00000000..425496c5 --- /dev/null +++ b/core/src/test/resources/json-ld.org/vocab.jsonld @@ -0,0 +1,270 @@ +{ + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "dc11": "http://purl.org/dc/elements/1.1/", + "mf": "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "jld": "https://w3c.github.io/json-ld-api/tests/vocab#", + "jld:Test": { + "@type": "@id" + }, + "dc11:identifier": { + "@type": "@id" + }, + "rdfs:subClassOf": { + "@type": "@id" + }, + "rdfs:domain": { + "@type": "@id" + }, + "rdfs:range": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "jld:PositiveEvaluationTest", + "rdfs:comment": "A Positive Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) exactly matches the output file specified as `mf:result` (aliased as \"expect\" in test manifest) using the comparison defined in another class. The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class.", + "@type": "rdfs:Class", + "rdfs:label": "Positive Evaluation Test", + "rdfs:subClassOf": "jld:Test" + }, + { + "@id": "jld:Test", + "rdfs:comment": "All JSON-LD tests have an input file referenced using `mf:action` (aliased as \"input\" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using `mf:result` (aliased as \"expect\" in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to \"json-ld-1.1\", unless specified explicitly as a test option.", + "@type": "rdfs:Class", + "rdfs:label": "Superclass of all JSON-LD tests" + }, + { + "@id": "jld:option", + "rdfs:comment": "Options affecting processing", + "rdfs:range": "jld:Option", + "rdfs:domain": "jld:Test", + "@type": "rdf:Property", + "rdfs:label": "option" + }, + { + "@id": "jld:Option", + "rdfs:comment": "Options passed to the test runner to affect invocation of the appropriate API method.", + "@type": "rdfs:Class", + "rdfs:label": "Processor Options" + }, + { + "@id": "jld:CompactTest", + "rdfs:comment": "A `CompactTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:subClassOf": "jld:Test", + "rdfs:label": "Compact Evaluation Test" + }, + { + "@id": "https://w3c.github.io/json-ld-api/tests/vocab#", + "rdfs:comment": "Manifest vocabulary for JSON-LD test cases", + "dc11:title": "Test case manifest vocabulary extensions", + "dc11:creator": "Gregg Kellogg", + "dc11:publisher": "W3C Linked JSON Community Group", + "dc11:description": "Test case manifest vocabulary extensions", + "dc11:identifier": "https://w3c.github.io/json-ld-api/tests/vocab#", + "dc11:date": "2013-09-23" + }, + { + "@id": "jld:NegativeEvaluationTest", + "rdfs:comment": "A Negative Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) results in the error identified by the literal value of `mf:result` (aliased as \"expect\" in test manifest). The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class. See the [README](https://w3c.github.io/json-ld-api/tests/) for more details on running tests.", + "@type": "rdfs:Class", + "rdfs:label": "Positive Evaluation Test", + "rdfs:subClassOf": "jld:Test" + }, + { + "@id": "jld:useRdfType", + "rdfs:comment": "If the _use rdf type_ flag is set to `true`, statements with an `rdf:type` predicate will not use `@type`, but will be transformed as a normal property.", + "rdfs:range": "xsd:boolean", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "use RDF types" + }, + { + "@id": "jld:ExpandTest", + "rdfs:comment": "A `ExpandTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:subClassOf": "jld:Test", + "rdfs:label": "Expand Evaluation Test" + }, + { + "@id": "jld:NegativeSyntaxTest", + "rdfs:comment": "A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error.", + "@type": "rdfs:Class", + "rdfs:subClassOf": "jld:Test", + "rdfs:label": "Negative Syntax Test" + }, + { + "@id": "jld:compactArrays", + "rdfs:comment": "If set to `true`, the JSON-LD processor replaces arrays with just one element with that element during compaction. If set to false, all arrays will remain arrays even if they have just one element.", + "rdfs:range": "xsd:boolean", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "compact arrays" + }, + { + "@id": "jld:HttpTest", + "rdfs:comment": "An `HttpTest` modifies either a `PositiveEvaluationTest` or `NegativeEvaluationTest`.", + "@type": "rdfs:Class", + "rdfs:subClassOf": "jld:Test", + "rdfs:label": "HTTP Evaluation Test" + }, + { + "@id": "jld:compactToRelative", + "rdfs:comment": "If set to `false`, the JSON-LD processor will not attempt to compact using document-relative IRIs.", + "rdfs:range": "xsd:boolean", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "compact to relative" + }, + { + "@id": "jld:httpStatus", + "rdfs:comment": "The HTTP status code that must be returned when the input file is requested. This is typically used along with the `redirectTo` property.", + "rdfs:range": "xsd:boolean", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "HTTP status" + }, + { + "@id": "jld:FrameTest", + "rdfs:comment": "A `FrameTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:subClassOf": "jld:Test", + "rdfs:label": "Frame Evaluation Test" + }, + { + "@id": "jld:PositiveSyntaxTest", + "rdfs:comment": "A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action.", + "@type": "rdfs:Class", + "rdfs:subClassOf": "jld:Test", + "rdfs:label": "Positive Syntax Test" + }, + { + "@id": "jld:base", + "rdfs:comment": "The base IRI to use when expanding or compacting the document. If set, this overrides the input document's IRI.", + "rdfs:range": "rdfs:Resource", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "base" + }, + { + "@id": "jld:redirectTo", + "rdfs:comment": "The location of a URL for redirection. A request made of the input file must be redirected to the designated URL.", + "rdfs:range": "xsd:boolean", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "redirect to" + }, + { + "@id": "jld:FlattenTest", + "rdfs:comment": "A `FlattenTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:subClassOf": "jld:Test", + "rdfs:label": "Flatten Evaluation Test" + }, + { + "@id": "jld:expandContext", + "rdfs:comment": "A context that is used to initialize the active context when expanding a document.", + "rdfs:range": "rdfs:Resource", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "expand context" + }, + { + "@id": "jld:frame", + "rdfs:comment": "A frame that is used for transforming the input document.", + "rdfs:range": "rdfs:Resource", + "rdfs:domain": "jld:Test", + "@type": "rdf:Property", + "rdfs:label": "input" + }, + { + "@id": "jld:ToRDFTest", + "rdfs:comment": "A `ToRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:subClassOf": "jld:Test", + "rdfs:label": "To RDF Evaluation Test" + }, + { + "@id": "jld:httpAccept", + "rdfs:comment": "An HTTP Accept header.", + "rdfs:range": "xsd:boolean", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "HTTP Accept" + }, + { + "@id": "jld:FromRDFTest", + "rdfs:comment": "A `FromRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:subClassOf": "jld:Test", + "rdfs:label": "From RDF Evaluation Test" + }, + { + "@id": "jld:useNativeTypes", + "rdfs:comment": "If the _use native types_ flag is set to `true`, RDF literals with a datatype IRI that equal `xsd:integer` or `xsd:double` are converted to a JSON numbers and RDF literals with a datatype IRI that equals `xsd:boolean` are converted to `true` or `false` based on their lexical form.", + "rdfs:range": "xsd:boolean", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "use native types" + }, + { + "@id": "jld:context", + "rdfs:comment": "A context that is used for transforming the input document.", + "rdfs:range": "rdfs:Resource", + "rdfs:domain": "jld:Test", + "@type": "rdf:Property", + "rdfs:label": "context" + }, + { + "@id": "jld:contentType", + "rdfs:comment": "The HTTP Content-Type used for the input file, in case it is a non-registered type.", + "rdfs:range": "xsd:boolean", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "content type" + }, + { + "@id": "jld:produceGeneralizedRdf", + "rdfs:comment": "Unless the produce generalized RDF flag is set to true, RDF triples containing a blank node predicate are excluded from output.", + "rdfs:range": "xsd:boolean", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "produce generalized RDF" + }, + { + "@id": "jld:specVersion", + "rdfs:comment": "Indicates the JSON-LD version to which the test applies, rather than the specific processing mode. Values are \"json-ld-1.0\", and \"json-ld-1.1\". If not set, the test is presumed to be valid for all versions of JSON-LD. In cases where results differ between spec versions for the same test, the test will have both a \"1.0\" and \"1.1\" version, for example.", + "rdfs:range": "xsd:string", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "spec version" + }, + { + "@id": "jld:input", + "rdfs:comment": "Secondary input file", + "rdfs:range": "rdfs:Resource", + "rdfs:domain": "jld:Test", + "@type": "rdf:Property", + "rdfs:label": "input" + }, + { + "@id": "jld:httpLink", + "rdfs:comment": "An HTTP Link header to be added to the result of requesting the input file.", + "rdfs:range": "xsd:boolean", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "HTTP link" + }, + { + "@id": "jld:processingMode", + "rdfs:comment": "If set to \"json-ld-1.1\", the JSON-LD processor must produce exactly the same results as the algorithms defined in this specification. If set to another value, the JSON-LD processor is allowed to extend or modify the algorithms defined in this specification to enable application-specific optimizations. The definition of such optimizations is beyond the scope of this specification and thus not defined. Consequently, different implementations may implement different optimizations. Developers must not define modes beginning with json-ld as they are reserved for future versions of this specification.", + "rdfs:range": "xsd:string", + "rdfs:domain": "jld:Option", + "@type": "rdf:Property", + "rdfs:label": "processing mode" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/vocab.ttl b/core/src/test/resources/json-ld.org/vocab.ttl new file mode 100644 index 00000000..e81f5492 --- /dev/null +++ b/core/src/test/resources/json-ld.org/vocab.ttl @@ -0,0 +1,287 @@ +# Test vocabulary for the JSON-LD test suite. +# This vocabulary defines classes an properties which extend +# the test-manifest vocabulary at . + +@prefix rdfs: . +@prefix rdf: . +@prefix dc11: . +@prefix mf: . +@prefix xsd: . +@prefix : . + +: rdfs:comment "Manifest vocabulary for JSON-LD test cases" ; + dc11:creator "Gregg Kellogg" ; + dc11:publisher "W3C Linked JSON Community Group" ; + dc11:title "Test case manifest vocabulary extensions" ; + dc11:description "Test case manifest vocabulary extensions" ; + dc11:date "2013-09-23" ; + dc11:identifier : . + +## ---- Test Case Classes --- + +:Test a rdfs:Class ; + rdfs:label "Superclass of all JSON-LD tests" ; + rdfs:comment """ + All JSON-LD tests have an input file referenced using + `mf:action` (aliased as "input" in test manifest). + Positive and Negative Evaluation Tests also have a result file + referenced using `mf:result` (aliased as "expect" in test manifest). + Other tests may take different inputs and options as defined for each test class. + Tests should be run with the processingMode option set to "json-ld-1.1", + unless specified explicitly as a test option. + """ . + +:PositiveEvaluationTest a rdfs:Class ; + rdfs:label "Positive Evaluation Test" ; + rdfs:subClassOf :Test ; + rdfs:comment """ + A Positive Evaluation test is successful when the result of processing + the input file specified as `mf:action` (aliased as "input" in test manifest) + exactly matches the output file specified as + `mf:result` (aliased as "expect" in test manifest) using the comparison defined in + another class. The specifics of invoking test, including the interpretation of options + (`:option`) and other input files are specified through another class. + """ . + +:NegativeEvaluationTest a rdfs:Class ; + rdfs:label "Positive Evaluation Test" ; + rdfs:subClassOf :Test ; + rdfs:comment """ + A Negative Evaluation test is successful when the result of processing + the input file specified as `mf:action` (aliased as "input" in test manifest) + results in the error identified by the literal value of + `mf:result` (aliased as "expect" in test manifest). + The specifics of invoking test, including + the interpretation of options (`:option`) and other input files are + specified through another class. + See the [README](https://w3c.github.io/json-ld-api/tests/) for more details on running tests. + """ . + +:PositiveSyntaxTest a rdfs:Class ; + rdfs:subClassOf :Test ; + rdfs:label "Positive Syntax Test" ; + rdfs:comment """ + A type of test specifically for syntax testing. + Syntax tests are not required to have an associated result, only an action. + """ . + +:NegativeSyntaxTest a rdfs:Class ; + rdfs:subClassOf :Test ; + rdfs:label "Negative Syntax Test" ; + rdfs:comment """ + A type of test specifically for syntax testing. + Syntax tests are not required to have an associated result, only an action. + Negative syntax tests are tests of which the result should be a parser error. + """ . + +:CompactTest a rdfs:Class ; + rdfs:subClassOf :Test ; + rdfs:label "Compact Evaluation Test" ; + rdfs:comment """ + A `CompactTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, + `PositiveSyntaxTest` or `NegativeSyntaxTest`. + """ . + +:ExpandTest a rdfs:Class ; + rdfs:subClassOf :Test ; + rdfs:label "Expand Evaluation Test" ; + rdfs:comment """ + A `ExpandTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, + `PositiveSyntaxTest` or `NegativeSyntaxTest`. + """ . + +:FlattenTest a rdfs:Class ; + rdfs:subClassOf :Test ; + rdfs:label "Flatten Evaluation Test" ; + rdfs:comment """ + A `FlattenTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, + `PositiveSyntaxTest` or `NegativeSyntaxTest`. + """ . + +:FrameTest a rdfs:Class ; + rdfs:subClassOf :Test ; + rdfs:label "Frame Evaluation Test" ; + rdfs:comment """ + A `FrameTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, + `PositiveSyntaxTest` or `NegativeSyntaxTest`. + """ . + +:FromRDFTest a rdfs:Class ; + rdfs:subClassOf :Test ; + rdfs:label "From RDF Evaluation Test" ; + rdfs:comment """ + A `FromRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, + `PositiveSyntaxTest` or `NegativeSyntaxTest`. + """ . + +:HttpTest a rdfs:Class ; + rdfs:subClassOf :Test ; + rdfs:label "HTTP Evaluation Test" ; + rdfs:comment """ + An `HttpTest` modifies either a `PositiveEvaluationTest` or `NegativeEvaluationTest`. + """ . + +:ToRDFTest a rdfs:Class ; + rdfs:subClassOf :Test ; + rdfs:label "To RDF Evaluation Test" ; + rdfs:comment """ + A `ToRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, + `PositiveSyntaxTest` or `NegativeSyntaxTest`. + """ . + +:Option a rdfs:Class ; + rdfs:label "Processor Options" ; + rdfs:comment "Options passed to the test runner to affect invocation of the appropriate API method." . + +## ---- Property declarations for each test ---- + +:input a rdf:Property ; + rdfs:label "input"; + rdfs:comment "Secondary input file" ; + rdfs:domain :Test ; + rdfs:range rdfs:Resource . + +:context a rdf:Property ; + rdfs:label "context"; + rdfs:comment "A context that is used for transforming the input document." ; + rdfs:domain :Test ; + rdfs:range rdfs:Resource . + +:frame a rdf:Property ; + rdfs:label "input"; + rdfs:comment "A frame that is used for transforming the input document." ; + rdfs:domain :Test ; + rdfs:range rdfs:Resource . + +:option a rdf:Property ; + rdfs:label "option"; + rdfs:comment "Options affecting processing" ; + rdfs:domain :Test ; + rdfs:range :Option . + +:base a rdf:Property ; + rdfs:label "base"; + rdfs:comment """ + The base IRI to use when expanding or compacting the document. + If set, this overrides the input document's IRI. + """ ; + rdfs:domain :Option ; + rdfs:range rdfs:Resource . + +:compactArrays a rdf:Property ; + rdfs:label "compact arrays"; + rdfs:comment """ + If set to `true`, the JSON-LD processor replaces arrays with just one element + with that element during compaction. + If set to false, all arrays will remain arrays even if they have just one element. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + +:compactToRelative a rdf:Property ; + rdfs:label "compact to relative"; + rdfs:comment """ + If set to `false`, the JSON-LD processor will not attempt to compact using document-relative IRIs. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + +:expandContext a rdf:Property ; + rdfs:label "expand context"; + rdfs:comment "A context that is used to initialize the active context when expanding a document." ; + rdfs:domain :Option ; + rdfs:range rdfs:Resource . + +:processingMode a rdf:Property ; + rdfs:label "processing mode"; + rdfs:comment """ + If set to "json-ld-1.1", the JSON-LD processor must produce exactly the same results as + the algorithms defined in this specification. + If set to another value, the JSON-LD processor is allowed to extend or modify + the algorithms defined in this specification to enable application-specific optimizations. + The definition of such optimizations is beyond the scope of this specification and thus not defined. + Consequently, different implementations may implement different optimizations. + Developers must not define modes beginning with json-ld as they are reserved for future versions of this specification. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:string . + +:produceGeneralizedRdf a rdf:Property ; + rdfs:label "produce generalized RDF"; + rdfs:comment "Unless the produce generalized RDF flag is set to true, RDF triples containing a blank node predicate are excluded from output." ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + +:useNativeTypes a rdf:Property ; + rdfs:label "use native types"; + rdfs:comment """ + If the _use native types_ flag is set to `true`, RDF literals with a datatype IRI that + equal `xsd:integer` or `xsd:double` are converted to a JSON numbers and RDF literals + with a datatype IRI that equals `xsd:boolean` are converted to `true` or `false` based + on their lexical form. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + +:useRdfType a rdf:Property ; + rdfs:label "use RDF types"; + rdfs:comment """ + If the _use rdf type_ flag is set to `true`, statements with an `rdf:type` predicate + will not use `@type`, but will be transformed as a normal property. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + +:contentType a rdf:Property ; + rdfs:label "content type"; + rdfs:comment """ + The HTTP Content-Type used for the input file, in case it is a non-registered type. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + +:redirectTo a rdf:Property ; + rdfs:label "redirect to"; + rdfs:comment """ + The location of a URL for redirection. A request made of the input file must be redirected + to the designated URL. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + +:httpAccept a rdf:Property ; + rdfs:label "HTTP Accept"; + rdfs:comment """ + An HTTP Accept header. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + +:httpLink a rdf:Property ; + rdfs:label "HTTP link"; + rdfs:comment """ + An HTTP Link header to be added to the result of requesting the input file. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + +:httpStatus a rdf:Property ; + rdfs:label "HTTP status"; + rdfs:comment """ + The HTTP status code that must be returned when the input file is requested. This + is typically used along with the `redirectTo` property. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + +:specVersion a rdf:Property ; + rdfs:label "spec version"; + rdfs:comment """ + Indicates the JSON-LD version to which the test applies, rather than the + specific processing mode. Values are "json-ld-1.0", and "json-ld-1.1". If not set, the + test is presumed to be valid for all versions of JSON-LD. In cases where + results differ between spec versions for the same test, the test will have + both a "1.0" and "1.1" version, for example. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:string . diff --git a/core/src/test/resources/json-ld.org/vocab_context.jsonld b/core/src/test/resources/json-ld.org/vocab_context.jsonld new file mode 100644 index 00000000..3b539af7 --- /dev/null +++ b/core/src/test/resources/json-ld.org/vocab_context.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "dc11": "http://purl.org/dc/elements/1.1/", + "mf": "http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "jld": "https://w3c.github.io/json-ld-api/tests/vocab#", + "jld:Test": {"@type": "@id"}, + "dc11:identifier": {"@type": "@id"}, + "rdfs:subClassOf": {"@type": "@id"}, + "rdfs:domain": {"@type": "@id"}, + "rdfs:range": {"@type": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/vocab_template.haml b/core/src/test/resources/json-ld.org/vocab_template.haml new file mode 100644 index 00000000..fc81dc15 --- /dev/null +++ b/core/src/test/resources/json-ld.org/vocab_template.haml @@ -0,0 +1,39 @@ +%html{lang: :en} + %head + %meta{charset: 'utf-8'} + %title<= ontology['dc11:title'] + %link{href: "http://www.w3.org/StyleSheets/2016/base.css", rel: :stylesheet} + %script{type: 'application/ld+json'} + = source + %body + %h1<=ontology['dc11:title'] + %p< + %a{href: 'http://www.w3.org/'}< + %img(src="http://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72") + %p + Alternate versions of the test vocabulary definition exist in + %a(rel="alternate" href="vocab.ttl")<="Turtle" + and + = " " + %a(rel="alternate" href="vocab.jsonld")<>="JSON-LD" + = "." + %section + %h2<="Test Case Classes" + %dl + - classes.each do |cls| + %dt< + %strong<~cls["rdfs:label"] + %dd< + :markdown + #{cls["rdfs:comment"].to_s.gsub(/^\s+/, '')} + %section + %h2<="Test Case Properties" + %dl + - properties.each do |prop| + %dt< + %strong<~prop["rdfs:label"] + %dd< + :markdown + #{prop["rdfs:comment"].to_s.gsub(/^\s+/, '')} + %footer + %span<= ontology["dc11:publisher"] From c0e0b858e2928f00a4e458dd7ab64f0e0fa7da36 Mon Sep 17 00:00:00 2001 From: Peter Ansell Date: Tue, 30 Jul 2019 08:54:08 +1000 Subject: [PATCH 02/22] Test with openjdk8 and openjdk11 --- .travis.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 30fd9d59..29a226e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,7 @@ language: java jdk: - - oraclejdk8 - - oraclejdk9 -matrix: - include: - - jdk: openjdk10 - before_install: - - rm "${JAVA_HOME}/lib/security/cacerts" - - ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts" - - jdk: openjdk11 - before_install: - - rm "${JAVA_HOME}/lib/security/cacerts" - - ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts" + - openjdk8 + - openjdk11 notifications: email: false after_success: From 8b7fedc1d4ee5676ff47e5e21403898ec8dca49c Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Mon, 28 Oct 2019 13:52:21 +0100 Subject: [PATCH 03/22] Support jld:PositiveSyntaxTest --- .../java/com/github/jsonldjava/core/JsonLdProcessorTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java b/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java index b91d0b6a..a799e093 100644 --- a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java +++ b/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java @@ -401,8 +401,6 @@ public void runTest() throws URISyntaxException, IOException, JsonLdError { } } else if (testType.contains("jld:NegativeEvaluationTest")) { failure_expected = true; - } else { - assertFalse("Nothing to expect from this test, thus nothing to test if it works", true); } Object result = null; @@ -512,7 +510,7 @@ public void runTest() throws URISyntaxException, IOException, JsonLdError { } } } else { - testpassed = JsonLdUtils.deepCompare(expect, result); + testpassed = testType.contains("jld:PositiveSyntaxTest") || JsonLdUtils.deepCompare(expect, result); } } catch (final Exception e) { e.printStackTrace(); From 16f8916278f1d096859994197178b6ec00187746 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Fri, 6 Dec 2019 14:38:09 +0100 Subject: [PATCH 04/22] Set up option to run the 1.0 test suite --- .../github/jsonldjava/core/JsonLdOptions.java | 1 + .../jsonldjava/core/JsonLdProcessorTest.java | 69 +- .../compact-0001-context.jsonld} | 0 .../compact-0001-in.jsonld} | 0 .../compact-0001-out.jsonld} | 0 .../compact-0002-context.jsonld} | 0 .../compact-0002-in.jsonld} | 0 .../compact-0002-out.jsonld} | 0 .../compact-0003-context.jsonld} | 0 .../compact-0003-in.jsonld} | 0 .../compact-0003-out.jsonld} | 0 .../compact-0004-context.jsonld} | 0 .../compact-0004-in.jsonld} | 0 .../compact-0004-out.jsonld} | 0 .../compact-0005-context.jsonld} | 0 .../compact-0005-in.jsonld} | 0 .../compact-0005-out.jsonld} | 0 .../compact-0006-context.jsonld} | 0 .../compact-0006-in.jsonld} | 0 .../compact-0006-out.jsonld} | 0 .../compact-0007-context.jsonld | 9 + .../compact-0007-in.jsonld} | 0 .../json-ld-1.0-tests/compact-0007-out.jsonld | 34 + .../compact-0008-context.jsonld} | 0 .../compact-0008-in.jsonld} | 0 .../compact-0008-out.jsonld} | 0 .../compact-0009-context.jsonld | 7 + .../compact-0009-in.jsonld} | 0 .../json-ld-1.0-tests/compact-0009-out.jsonld | 10 + .../compact-0010-context.jsonld} | 0 .../compact-0010-in.jsonld} | 0 .../compact-0010-out.jsonld} | 0 .../compact-0011-context.jsonld} | 0 .../compact-0011-in.jsonld} | 0 .../compact-0011-out.jsonld} | 0 .../compact-0012-context.jsonld} | 0 .../compact-0012-in.jsonld} | 0 .../compact-0012-out.jsonld} | 0 .../compact-0013-context.jsonld} | 0 .../compact-0013-in.jsonld} | 0 .../compact-0013-out.jsonld} | 0 .../compact-0014-context.jsonld} | 0 .../compact-0014-in.jsonld} | 0 .../compact-0014-out.jsonld} | 0 .../compact-0015-context.jsonld} | 0 .../compact-0015-in.jsonld} | 0 .../compact-0015-out.jsonld} | 0 .../compact-0016-context.jsonld} | 0 .../compact-0016-in.jsonld} | 0 .../compact-0016-out.jsonld} | 0 .../compact-0017-context.jsonld} | 0 .../compact-0017-in.jsonld} | 0 .../compact-0017-out.jsonld} | 0 .../compact-0018-context.jsonld} | 0 .../compact-0018-in.jsonld} | 0 .../compact-0018-out.jsonld} | 0 .../compact-0019-context.jsonld} | 0 .../compact-0019-in.jsonld} | 0 .../compact-0019-out.jsonld} | 0 .../compact-0020-context.jsonld} | 0 .../compact-0020-in.jsonld} | 0 .../compact-0020-out.jsonld} | 0 .../compact-0021-context.jsonld} | 0 .../compact-0021-in.jsonld} | 0 .../compact-0021-out.jsonld} | 0 .../compact-0022-context.jsonld} | 0 .../compact-0022-in.jsonld} | 0 .../compact-0022-out.jsonld} | 0 .../compact-0023-context.jsonld} | 0 .../compact-0023-in.jsonld} | 0 .../compact-0023-out.jsonld} | 0 .../compact-0024-context.jsonld} | 0 .../compact-0024-in.jsonld} | 0 .../compact-0024-out.jsonld} | 0 .../compact-0025-context.jsonld} | 0 .../compact-0025-in.jsonld} | 0 .../compact-0025-out.jsonld} | 0 .../compact-0026-context.jsonld} | 0 .../compact-0026-in.jsonld} | 0 .../compact-0026-out.jsonld} | 0 .../compact-0027-context.jsonld} | 0 .../compact-0027-in.jsonld} | 0 .../compact-0027-out.jsonld} | 0 .../compact-0028-context.jsonld} | 0 .../compact-0028-in.jsonld} | 0 .../compact-0028-out.jsonld} | 0 .../compact-0029-context.jsonld} | 0 .../compact-0029-in.jsonld} | 0 .../compact-0029-out.jsonld} | 0 .../compact-0030-context.jsonld} | 0 .../compact-0030-in.jsonld} | 0 .../compact-0030-out.jsonld} | 0 .../compact-0031-context.jsonld} | 0 .../compact-0031-in.jsonld} | 0 .../compact-0031-out.jsonld} | 0 .../compact-0032-context.jsonld} | 0 .../compact-0032-in.jsonld} | 0 .../compact-0032-out.jsonld} | 0 .../compact-0033-context.jsonld} | 0 .../compact-0033-in.jsonld} | 0 .../compact-0033-out.jsonld} | 0 .../compact-0034-context.jsonld} | 0 .../compact-0034-in.jsonld} | 0 .../compact-0034-out.jsonld} | 0 .../compact-0035-context.jsonld} | 0 .../compact-0035-in.jsonld} | 0 .../compact-0035-out.jsonld} | 0 .../compact-0036-context.jsonld} | 0 .../compact-0036-in.jsonld} | 0 .../compact-0036-out.jsonld} | 0 .../compact-0037-context.jsonld} | 0 .../json-ld-1.0-tests/compact-0037-in.jsonld | 20 + .../compact-0037-out.jsonld} | 0 .../compact-0038-context.jsonld} | 0 .../compact-0038-in.jsonld} | 0 .../compact-0038-out.jsonld} | 0 .../compact-0039-context.jsonld} | 0 .../compact-0039-in.jsonld} | 0 .../compact-0039-out.jsonld} | 0 .../compact-0040-context.jsonld} | 0 .../compact-0040-in.jsonld} | 0 .../compact-0040-out.jsonld} | 0 .../compact-0041-context.jsonld} | 0 .../compact-0041-in.jsonld} | 0 .../compact-0041-out.jsonld} | 0 .../compact-0042-context.jsonld} | 0 .../compact-0042-in.jsonld} | 0 .../compact-0042-out.jsonld} | 0 .../compact-0043-context.jsonld} | 0 .../compact-0043-in.jsonld} | 0 .../compact-0043-out.jsonld} | 0 .../compact-0044-context.jsonld} | 0 .../compact-0044-in.jsonld} | 0 .../compact-0044-out.jsonld} | 0 .../compact-0045-context.jsonld | 19 + .../json-ld-1.0-tests/compact-0045-in.jsonld | 19 + .../json-ld-1.0-tests/compact-0045-out.jsonld | 19 + .../compact-0046-context.jsonld} | 0 .../compact-0046-in.jsonld} | 0 .../compact-0046-out.jsonld} | 0 .../compact-0047-context.jsonld} | 0 .../compact-0047-in.jsonld} | 0 .../compact-0047-out.jsonld} | 0 .../compact-0048-context.jsonld} | 0 .../compact-0048-in.jsonld} | 0 .../compact-0048-out.jsonld} | 0 .../compact-0049-context.jsonld} | 0 .../compact-0049-in.jsonld} | 0 .../compact-0049-out.jsonld} | 0 .../compact-0050-context.jsonld} | 0 .../compact-0050-in.jsonld} | 0 .../compact-0050-out.jsonld} | 0 .../compact-0051-context.jsonld} | 0 .../compact-0051-in.jsonld} | 0 .../compact-0051-out.jsonld} | 0 .../compact-0052-context.jsonld} | 0 .../compact-0052-in.jsonld} | 0 .../compact-0052-out.jsonld} | 0 .../compact-0053-context.jsonld} | 0 .../compact-0053-in.jsonld} | 0 .../compact-0053-out.jsonld} | 0 .../compact-0054-context.jsonld} | 0 .../compact-0054-in.jsonld} | 0 .../compact-0054-out.jsonld} | 0 .../compact-0055-context.jsonld} | 0 .../compact-0055-in.jsonld} | 0 .../compact-0055-out.jsonld} | 0 .../compact-0056-context.jsonld} | 0 .../compact-0056-in.jsonld} | 0 .../compact-0056-out.jsonld} | 0 .../compact-0057-context.jsonld} | 0 .../compact-0057-in.jsonld} | 0 .../compact-0057-out.jsonld} | 0 .../compact-0058-context.jsonld} | 0 .../compact-0058-in.jsonld} | 0 .../compact-0058-out.jsonld} | 0 .../compact-0059-context.jsonld} | 0 .../compact-0059-in.jsonld} | 0 .../compact-0059-out.jsonld} | 0 .../compact-0060-context.jsonld} | 0 .../compact-0060-in.jsonld} | 0 .../compact-0060-out.jsonld} | 0 .../compact-0061-context.jsonld} | 0 .../compact-0061-in.jsonld} | 0 .../compact-0061-out.jsonld} | 0 .../compact-0062-context.jsonld} | 0 .../compact-0062-in.jsonld} | 0 .../json-ld-1.0-tests/compact-0062-out.jsonld | 6 + .../compact-0063-context.jsonld} | 0 .../compact-0063-in.jsonld} | 0 .../compact-0063-out.jsonld} | 0 .../compact-0064-context.jsonld} | 0 .../compact-0064-in.jsonld} | 0 .../compact-0064-out.jsonld} | 0 .../compact-0065-context.jsonld} | 0 .../compact-0065-in.jsonld} | 0 .../compact-0065-out.jsonld} | 0 .../compact-0066-context.jsonld} | 0 .../json-ld-1.0-tests/compact-0066-in.jsonld | 34 + .../json-ld-1.0-tests/compact-0066-out.jsonld | 33 + .../compact-0067-context.jsonld} | 0 .../compact-0067-in.jsonld} | 0 .../compact-0067-out.jsonld} | 0 .../compact-0068-context.jsonld} | 0 .../compact-0068-in.jsonld} | 0 .../compact-0068-out.jsonld} | 0 .../compact-0069-context.jsonld} | 0 .../compact-0069-in.jsonld} | 0 .../compact-0069-out.jsonld} | 0 .../compact-0070-context.jsonld} | 0 .../compact-0070-in.jsonld} | 0 .../compact-0070-out.jsonld} | 0 .../compact-0071-context.jsonld} | 0 .../compact-0071-in.jsonld} | 0 .../compact-0071-out.jsonld} | 0 .../compact-0072-context.jsonld} | 0 .../compact-0072-in.jsonld} | 0 .../compact-0072-out.jsonld} | 0 .../compact-0104-context.jsonld | 5 + .../compact-0104-in.jsonld} | 0 .../json-ld-1.0-tests/compact-0104-out.jsonld | 6 + .../compact-0105-context.jsonld | 5 + .../compact-0105-in.jsonld} | 0 .../json-ld-1.0-tests/compact-0105-out.jsonld | 6 + .../compact-0106-context.jsonld | 5 + .../compact-0106-in.jsonld} | 0 .../json-ld-1.0-tests/compact-0106-out.jsonld | 6 + .../json-ld-1.0-tests/compact-manifest.jsonld | 620 +++++++++++++ .../resources/json-ld-1.0-tests/composer.json | 20 + .../error-0001-in.jsonld} | 0 .../json-ld-1.0-tests/error-0002-in.jsonld | 4 + .../json-ld-1.0-tests/error-0003-ctx.jsonld | 3 + .../json-ld-1.0-tests/error-0003-in.jsonld | 4 + .../error-0004-in.jsonld} | 0 .../json-ld-1.0-tests/error-0005-in.jsonld | 4 + .../error-0006-in.jsonld} | 0 .../error-0007-in.jsonld} | 0 .../error-0008-in.jsonld} | 0 .../error-0009-in.jsonld} | 0 .../error-0010-in.jsonld} | 0 .../error-0011-in.jsonld} | 0 .../error-0012-in.jsonld} | 0 .../error-0013-in.jsonld} | 0 .../error-0014-in.jsonld} | 0 .../error-0015-in.jsonld} | 0 .../error-0016-in.jsonld} | 0 .../error-0017-in.jsonld} | 0 .../error-0018-in.jsonld} | 0 .../error-0019-in.jsonld} | 0 .../error-0020-in.jsonld} | 0 .../error-0021-in.jsonld} | 0 .../error-0022-in.jsonld} | 0 .../error-0023-in.jsonld} | 0 .../error-0024-in.jsonld} | 0 .../error-0025-in.jsonld} | 0 .../error-0026-in.jsonld} | 0 .../error-0027-in.jsonld} | 0 .../error-0028-in.jsonld} | 0 .../error-0029-in.jsonld} | 0 .../error-0030-in.jsonld} | 0 .../error-0031-in.jsonld} | 0 .../error-0032-in.jsonld} | 0 .../error-0033-in.jsonld} | 0 .../error-0034-in.jsonld} | 0 .../error-0035-in.jsonld} | 0 .../error-0036-in.jsonld} | 0 .../error-0037-in.jsonld} | 0 .../error-0038-in.jsonld} | 0 .../error-0039-in.jsonld} | 0 .../error-0040-in.jsonld} | 0 .../error-0041-in.jsonld} | 0 .../error-0042-context.jsonld} | 0 .../json-ld-1.0-tests/error-0042-in.jsonld | 3 + .../error-0043-in.jsonld} | 0 .../json-ld-1.0-tests/error-manifest.jsonld | 321 +++++++ .../expand-0001-in.jsonld} | 0 .../expand-0001-out.jsonld} | 0 .../expand-0002-in.jsonld} | 0 .../expand-0002-out.jsonld} | 0 .../expand-0003-in.jsonld} | 0 .../expand-0003-out.jsonld} | 0 .../json-ld-1.0-tests/expand-0004-in.jsonld | 21 + .../json-ld-1.0-tests/expand-0004-out.jsonld | 15 + .../expand-0005-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0005-out.jsonld | 18 + .../expand-0006-in.jsonld} | 0 .../expand-0006-out.jsonld} | 0 .../expand-0007-in.jsonld} | 0 .../expand-0007-out.jsonld} | 0 .../expand-0008-in.jsonld} | 0 .../expand-0008-out.jsonld} | 0 .../expand-0009-in.jsonld} | 0 .../expand-0009-out.jsonld} | 0 .../expand-0010-in.jsonld} | 0 .../expand-0010-out.jsonld} | 0 .../json-ld-1.0-tests/expand-0011-in.jsonld | 13 + .../expand-0011-out.jsonld} | 0 .../json-ld-1.0-tests/expand-0012-in.jsonld | 39 + .../expand-0012-out.jsonld} | 0 .../expand-0013-in.jsonld} | 0 .../expand-0013-out.jsonld} | 0 .../expand-0014-in.jsonld} | 0 .../expand-0014-out.jsonld} | 0 .../expand-0015-in.jsonld} | 0 .../expand-0015-out.jsonld} | 0 .../expand-0016-in.jsonld} | 0 .../expand-0016-out.jsonld} | 0 .../expand-0017-in.jsonld} | 0 .../expand-0017-out.jsonld} | 0 .../expand-0018-in.jsonld} | 0 .../expand-0018-out.jsonld} | 0 .../expand-0019-in.jsonld} | 0 .../expand-0019-out.jsonld} | 0 .../expand-0020-in.jsonld} | 0 .../expand-0020-out.jsonld} | 0 .../expand-0021-in.jsonld} | 0 .../expand-0021-out.jsonld} | 0 .../expand-0022-in.jsonld} | 0 .../expand-0022-out.jsonld} | 0 .../expand-0023-in.jsonld} | 0 .../expand-0023-out.jsonld} | 0 .../expand-0024-in.jsonld} | 0 .../expand-0024-out.jsonld} | 0 .../json-ld-1.0-tests/expand-0025-in.jsonld | 9 + .../json-ld-1.0-tests/expand-0025-out.jsonld | 7 + .../expand-0026-in.jsonld} | 0 .../expand-0026-out.jsonld} | 0 .../expand-0027-in.jsonld} | 0 .../expand-0027-out.jsonld} | 0 .../expand-0028-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0028-out.jsonld | 23 + .../json-ld-1.0-tests/expand-0029-in.jsonld | 32 + .../json-ld-1.0-tests/expand-0029-out.jsonld | 33 + .../expand-0030-in.jsonld} | 0 .../expand-0030-out.jsonld} | 0 .../expand-0031-in.jsonld} | 0 .../expand-0031-out.jsonld} | 0 .../expand-0032-in.jsonld} | 0 .../expand-0032-out.jsonld} | 0 .../expand-0033-in.jsonld} | 0 .../expand-0033-out.jsonld} | 0 .../expand-0034-in.jsonld} | 0 .../expand-0034-out.jsonld} | 0 .../expand-0035-in.jsonld} | 0 .../expand-0035-out.jsonld} | 0 .../expand-0036-in.jsonld} | 0 .../expand-0036-out.jsonld} | 0 .../expand-0037-in.jsonld} | 0 .../expand-0037-out.jsonld} | 0 .../expand-0038-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0038-out.jsonld | 56 ++ .../expand-0039-in.jsonld} | 0 .../expand-0039-out.jsonld} | 0 .../expand-0040-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0040-out.jsonld | 23 + .../expand-0041-in.jsonld} | 0 .../expand-0041-out.jsonld} | 0 .../expand-0042-in.jsonld} | 0 .../expand-0042-out.jsonld} | 0 .../expand-0043-in.jsonld} | 0 .../expand-0043-out.jsonld} | 0 .../expand-0044-in.jsonld} | 0 .../expand-0044-out.jsonld} | 0 .../expand-0045-in.jsonld} | 0 .../expand-0045-out.jsonld} | 0 .../expand-0046-in.jsonld} | 0 .../expand-0046-out.jsonld} | 0 .../expand-0047-in.jsonld} | 0 .../expand-0047-out.jsonld} | 0 .../json-ld-1.0-tests/expand-0048-in.jsonld | 19 + .../json-ld-1.0-tests/expand-0048-out.jsonld | 19 + .../expand-0049-in.jsonld} | 0 .../expand-0049-out.jsonld} | 0 .../expand-0050-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0050-out.jsonld | 6 + .../expand-0051-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0051-out.jsonld | 6 + .../expand-0052-in.jsonld} | 0 .../expand-0052-out.jsonld} | 0 .../expand-0053-in.jsonld} | 0 .../expand-0053-out.jsonld} | 0 .../expand-0054-in.jsonld} | 0 .../expand-0054-out.jsonld} | 0 .../expand-0055-in.jsonld} | 0 .../expand-0055-out.jsonld} | 0 .../expand-0056-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0056-out.jsonld | 8 + .../expand-0057-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0057-out.jsonld | 5 + .../expand-0058-in.jsonld} | 0 .../expand-0058-out.jsonld} | 0 .../expand-0059-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0059-out.jsonld | 13 + .../expand-0060-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0060-out.jsonld | 23 + .../expand-0061-in.jsonld} | 0 .../expand-0061-out.jsonld} | 0 .../expand-0062-in.jsonld} | 0 .../expand-0062-out.jsonld} | 0 .../expand-0063-in.jsonld} | 0 .../expand-0063-out.jsonld} | 0 .../expand-0064-in.jsonld} | 0 .../expand-0064-out.jsonld} | 0 .../expand-0065-in.jsonld} | 0 .../expand-0065-out.jsonld} | 0 .../expand-0066-in.jsonld} | 0 .../json-ld-1.0-tests/expand-0066-out.jsonld | 20 + .../expand-0067-in.jsonld} | 0 .../expand-0067-out.jsonld} | 0 .../expand-0068-in.jsonld} | 0 .../expand-0068-out.jsonld} | 0 .../expand-0069-in.jsonld} | 0 .../expand-0069-out.jsonld} | 0 .../expand-0070-in.jsonld} | 0 .../expand-0070-out.jsonld} | 0 .../expand-0071-in.jsonld} | 0 .../expand-0071-out.jsonld} | 0 .../expand-0072-in.jsonld} | 0 .../expand-0072-out.jsonld} | 0 .../expand-0073-in.jsonld} | 0 .../expand-0073-out.jsonld} | 0 .../expand-0074-in.jsonld} | 0 .../expand-0074-out.jsonld} | 0 .../expand-0075-in.jsonld} | 0 .../expand-0075-out.jsonld} | 0 .../expand-0076-in.jsonld} | 0 .../expand-0076-out.jsonld} | 0 .../expand-0077-context.jsonld} | 0 .../expand-0077-in.jsonld} | 0 .../expand-0077-out.jsonld} | 0 .../expand-e042-in.jsonld} | 0 .../json-ld-1.0-tests/expand-manifest.jsonld | 556 ++++++++++++ .../flatten-0001-in.jsonld} | 0 .../flatten-0001-out.jsonld} | 0 .../flatten-0002-in.jsonld} | 0 .../flatten-0002-out.jsonld} | 0 .../flatten-0003-in.jsonld} | 0 .../flatten-0003-out.jsonld} | 0 .../json-ld-1.0-tests/flatten-0004-in.jsonld | 21 + .../json-ld-1.0-tests/flatten-0004-out.jsonld | 66 ++ .../flatten-0005-in.jsonld} | 0 .../json-ld-1.0-tests/flatten-0005-out.jsonld | 39 + .../flatten-0006-in.jsonld} | 0 .../flatten-0006-out.jsonld} | 0 .../flatten-0007-in.jsonld} | 0 .../flatten-0007-out.jsonld} | 0 .../flatten-0008-in.jsonld} | 0 .../flatten-0008-out.jsonld} | 0 .../flatten-0009-in.jsonld} | 0 .../flatten-0009-out.jsonld} | 0 .../flatten-0010-in.jsonld} | 0 .../flatten-0010-out.jsonld} | 0 .../json-ld-1.0-tests/flatten-0011-in.jsonld | 13 + .../flatten-0011-out.jsonld} | 0 .../json-ld-1.0-tests/flatten-0012-in.jsonld | 39 + .../flatten-0012-out.jsonld} | 0 .../flatten-0013-in.jsonld} | 0 .../flatten-0013-out.jsonld} | 0 .../flatten-0014-in.jsonld} | 0 .../flatten-0014-out.jsonld} | 0 .../flatten-0015-in.jsonld} | 0 .../flatten-0015-out.jsonld} | 0 .../flatten-0016-in.jsonld} | 0 .../flatten-0016-out.jsonld} | 0 .../flatten-0017-in.jsonld} | 0 .../flatten-0017-out.jsonld} | 0 .../flatten-0018-in.jsonld} | 0 .../flatten-0018-out.jsonld} | 0 .../flatten-0019-in.jsonld} | 0 .../flatten-0019-out.jsonld} | 0 .../flatten-0020-in.jsonld} | 0 .../flatten-0020-out.jsonld} | 0 .../flatten-0021-in.jsonld} | 0 .../flatten-0021-out.jsonld} | 0 .../flatten-0022-in.jsonld} | 0 .../flatten-0022-out.jsonld} | 0 .../flatten-0023-in.jsonld} | 0 .../flatten-0023-out.jsonld} | 0 .../flatten-0024-in.jsonld} | 0 .../flatten-0024-out.jsonld} | 0 .../json-ld-1.0-tests/flatten-0025-in.jsonld | 9 + .../json-ld-1.0-tests/flatten-0025-out.jsonld | 10 + .../flatten-0026-in.jsonld} | 0 .../flatten-0026-out.jsonld} | 0 .../flatten-0027-in.jsonld} | 0 .../flatten-0027-out.jsonld} | 0 .../flatten-0028-in.jsonld} | 0 .../json-ld-1.0-tests/flatten-0028-out.jsonld | 28 + .../json-ld-1.0-tests/flatten-0029-in.jsonld | 32 + .../json-ld-1.0-tests/flatten-0029-out.jsonld | 57 ++ .../flatten-0030-in.jsonld} | 0 .../flatten-0030-out.jsonld} | 0 .../flatten-0031-in.jsonld} | 0 .../flatten-0031-out.jsonld} | 0 .../flatten-0032-in.jsonld} | 0 .../flatten-0032-out.jsonld} | 0 .../flatten-0033-in.jsonld} | 0 .../flatten-0033-out.jsonld} | 0 .../flatten-0034-in.jsonld} | 0 .../flatten-0034-out.jsonld} | 0 .../flatten-0035-in.jsonld} | 0 .../flatten-0035-out.jsonld} | 0 .../flatten-0036-in.jsonld} | 0 .../flatten-0036-out.jsonld} | 0 .../flatten-0037-in.jsonld} | 0 .../flatten-0037-out.jsonld} | 0 .../flatten-0038-in.jsonld} | 0 .../json-ld-1.0-tests/flatten-0038-out.jsonld | 44 + .../flatten-0039-in.jsonld} | 0 .../flatten-0039-out.jsonld} | 0 .../flatten-0040-in.jsonld} | 0 .../json-ld-1.0-tests/flatten-0040-out.jsonld | 21 + .../flatten-0041-in.jsonld} | 0 .../flatten-0041-out.jsonld} | 0 .../flatten-0042-in.jsonld} | 0 .../json-ld-1.0-tests/flatten-0042-out.jsonld | 13 + .../json-ld-1.0-tests/flatten-0043-in.jsonld | 10 + .../json-ld-1.0-tests/flatten-0043-out.jsonld | 17 + .../flatten-0044-context.jsonld} | 0 .../flatten-0044-in.jsonld} | 0 .../flatten-0044-out.jsonld} | 0 .../flatten-0045-in.jsonld} | 0 .../flatten-0045-out.jsonld} | 0 .../json-ld-1.0-tests/flatten-manifest.jsonld | 330 +++++++ .../json-ld-1.0-tests/frame-0001-frame.jsonld | 13 + .../json-ld-1.0-tests/frame-0001-in.jsonld | 27 + .../json-ld-1.0-tests/frame-0001-out.jsonld | 22 + .../json-ld-1.0-tests/frame-0002-frame.jsonld | 13 + .../json-ld-1.0-tests/frame-0002-in.jsonld | 28 + .../json-ld-1.0-tests/frame-0002-out.jsonld | 23 + .../json-ld-1.0-tests/frame-0003-frame.jsonld | 7 + .../json-ld-1.0-tests/frame-0003-in.jsonld | 29 + .../json-ld-1.0-tests/frame-0003-out.jsonld | 7 + .../json-ld-1.0-tests/frame-0004-frame.jsonld | 8 + .../json-ld-1.0-tests/frame-0004-in.jsonld | 27 + .../json-ld-1.0-tests/frame-0004-out.jsonld | 23 + .../json-ld-1.0-tests/frame-0005-frame.jsonld | 19 + .../json-ld-1.0-tests/frame-0005-in.jsonld | 29 + .../json-ld-1.0-tests/frame-0005-out.jsonld | 21 + .../json-ld-1.0-tests/frame-0006-frame.jsonld | 13 + .../json-ld-1.0-tests/frame-0006-in.jsonld | 30 + .../json-ld-1.0-tests/frame-0006-out.jsonld | 22 + .../json-ld-1.0-tests/frame-0007-frame.jsonld | 13 + .../json-ld-1.0-tests/frame-0007-in.jsonld | 32 + .../json-ld-1.0-tests/frame-0007-out.jsonld | 25 + .../json-ld-1.0-tests/frame-0008-frame.jsonld | 14 + .../json-ld-1.0-tests/frame-0008-in.jsonld | 38 + .../json-ld-1.0-tests/frame-0008-out.jsonld | 40 + .../json-ld-1.0-tests/frame-0009-frame.jsonld | 24 + .../json-ld-1.0-tests/frame-0009-in.jsonld | 19 + .../json-ld-1.0-tests/frame-0009-out.jsonld | 20 + .../json-ld-1.0-tests/frame-0010-frame.jsonld | 13 + .../json-ld-1.0-tests/frame-0010-in.jsonld | 15 + .../json-ld-1.0-tests/frame-0010-out.jsonld | 18 + .../json-ld-1.0-tests/frame-0011-frame.jsonld | 12 + .../json-ld-1.0-tests/frame-0011-in.jsonld | 15 + .../json-ld-1.0-tests/frame-0011-out.jsonld | 16 + .../json-ld-1.0-tests/frame-0012-frame.jsonld | 8 + .../json-ld-1.0-tests/frame-0012-in.jsonld | 20 + .../json-ld-1.0-tests/frame-0012-out.jsonld | 20 + .../json-ld-1.0-tests/frame-0013-frame.jsonld | 5 + .../json-ld-1.0-tests/frame-0013-in.jsonld | 21 + .../json-ld-1.0-tests/frame-0013-out.jsonld | 20 + .../json-ld-1.0-tests/frame-0014-frame.jsonld | 6 + .../json-ld-1.0-tests/frame-0014-in.jsonld | 14 + .../json-ld-1.0-tests/frame-0014-out.jsonld | 24 + .../json-ld-1.0-tests/frame-0015-frame.jsonld | 93 ++ .../json-ld-1.0-tests/frame-0015-in.jsonld | 70 ++ .../json-ld-1.0-tests/frame-0015-out.jsonld | 128 +++ .../json-ld-1.0-tests/frame-0016-frame.jsonld | 8 + .../json-ld-1.0-tests/frame-0016-in.jsonld | 19 + .../json-ld-1.0-tests/frame-0016-out.jsonld | 15 + .../json-ld-1.0-tests/frame-0017-frame.jsonld | 13 + .../json-ld-1.0-tests/frame-0017-in.jsonld | 21 + .../json-ld-1.0-tests/frame-0017-out.jsonld | 22 + .../json-ld-1.0-tests/frame-0018-frame.jsonld | 4 + .../json-ld-1.0-tests/frame-0018-in.jsonld | 16 + .../json-ld-1.0-tests/frame-0018-out.jsonld | 7 + .../json-ld-1.0-tests/frame-0019-frame.jsonld | 6 + .../json-ld-1.0-tests/frame-0019-in.jsonld | 20 + .../json-ld-1.0-tests/frame-0019-out.jsonld | 30 + .../frame-0020-frame.jsonld} | 0 .../json-ld-1.0-tests/frame-0020-in.jsonld | 34 + .../json-ld-1.0-tests/frame-0020-out.jsonld | 80 ++ .../json-ld-1.0-tests/frame-0021-frame.jsonld | 7 + .../json-ld-1.0-tests/frame-0021-in.jsonld | 32 + .../json-ld-1.0-tests/frame-0021-out.jsonld | 46 + .../json-ld-1.0-tests/frame-0022-frame.jsonld | 4 + .../json-ld-1.0-tests/frame-0022-in.jsonld | 10 + .../json-ld-1.0-tests/frame-0022-out.jsonld | 7 + .../json-ld-1.0-tests/frame-0030-frame.jsonld | 12 + .../json-ld-1.0-tests/frame-0030-in.jsonld | 15 + .../json-ld-1.0-tests/frame-0030-out.jsonld | 16 + .../json-ld-1.0-tests/frame-0046-frame.jsonld | 4 + .../json-ld-1.0-tests/frame-0046-in.jsonld | 11 + .../json-ld-1.0-tests/frame-g001-frame.jsonld | 13 + .../json-ld-1.0-tests/frame-g001-in.jsonld | 27 + .../json-ld-1.0-tests/frame-g001-out.jsonld | 20 + .../json-ld-1.0-tests/frame-manifest.jsonld | 222 +++++ .../json-ld-1.0-tests/frame-p010-out.jsonld | 15 + .../json-ld-1.0-tests/frame-p020-out.jsonld | 79 ++ .../json-ld-1.0-tests/frame-p021-out.jsonld | 46 + .../json-ld-1.0-tests/frame-p046-out.jsonld | 6 + .../json-ld-1.0-tests/frame-p050-frame.jsonld | 8 + .../json-ld-1.0-tests/frame-p050-in.jsonld | 8 + .../json-ld-1.0-tests/frame-p050-out.jsonld | 7 + .../fromRdf-0001-in.nq} | 0 .../fromRdf-0001-out.jsonld} | 0 .../fromRdf-0002-in.nq} | 0 .../fromRdf-0002-out.jsonld} | 0 .../fromRdf-0003-in.nq} | 0 .../fromRdf-0003-out.jsonld} | 0 .../fromRdf-0004-in.nq} | 0 .../fromRdf-0004-out.jsonld} | 0 .../fromRdf-0005-in.nq} | 0 .../fromRdf-0005-out.jsonld} | 0 .../fromRdf-0006-in.nq} | 0 .../fromRdf-0006-out.jsonld} | 0 .../fromRdf-0007-in.nq} | 0 .../fromRdf-0007-out.jsonld} | 0 .../fromRdf-0008-in.nq} | 0 .../fromRdf-0008-out.jsonld} | 0 .../fromRdf-0009-in.nq} | 0 .../fromRdf-0009-out.jsonld} | 0 .../fromRdf-0010-in.nq} | 0 .../fromRdf-0010-out.jsonld} | 0 .../fromRdf-0011-in.nq} | 0 .../fromRdf-0011-out.jsonld} | 0 .../fromRdf-0012-in.nq} | 0 .../fromRdf-0012-out.jsonld} | 0 .../fromRdf-0013-in.nq} | 0 .../fromRdf-0013-out.jsonld} | 0 .../fromRdf-0014-in.nq} | 0 .../fromRdf-0014-out.jsonld} | 0 .../fromRdf-0015-in.nq} | 0 .../fromRdf-0015-out.jsonld} | 0 .../fromRdf-0016-in.nq} | 0 .../fromRdf-0016-out.jsonld} | 0 .../fromRdf-0017-in.nq} | 0 .../fromRdf-0017-out.jsonld} | 0 .../fromRdf-0018-in.nq} | 0 .../fromRdf-0018-out.jsonld} | 0 .../fromRdf-0019-in.nq} | 0 .../fromRdf-0019-out.jsonld} | 0 .../json-ld-1.0-tests/fromRdf-0020-in.nq | 7 + .../json-ld-1.0-tests/fromRdf-0020-out.jsonld | 19 + .../json-ld-1.0-tests/fromRdf-manifest.jsonld | 157 ++++ .../normalize-0001-in.jsonld | 3 + .../normalize-0001-out.nq} | 0 .../normalize-0002-in.jsonld | 14 + .../json-ld-1.0-tests/normalize-0002-out.nq | 1 + .../normalize-0003-in.jsonld | 6 + .../json-ld-1.0-tests/normalize-0003-out.nq | 1 + .../normalize-0004-in.jsonld | 9 + .../json-ld-1.0-tests/normalize-0004-out.nq | 2 + .../normalize-0005-in.jsonld | 10 + .../json-ld-1.0-tests/normalize-0005-out.nq | 3 + .../normalize-0006-in.jsonld | 10 + .../json-ld-1.0-tests/normalize-0006-out.nq | 2 + .../normalize-0007-in.jsonld | 9 + .../json-ld-1.0-tests/normalize-0007-out.nq | 2 + .../normalize-0008-in.jsonld | 20 + .../json-ld-1.0-tests/normalize-0008-out.nq | 6 + .../normalize-0009-in.jsonld | 39 + .../normalize-0009-out.nq} | 0 .../normalize-0010-in.jsonld | 11 + .../json-ld-1.0-tests/normalize-0010-out.nq | 1 + .../normalize-0011-in.jsonld | 11 + .../json-ld-1.0-tests/normalize-0011-out.nq | 1 + .../normalize-0012-in.jsonld | 14 + .../json-ld-1.0-tests/normalize-0012-out.nq | 1 + .../normalize-0013-in.jsonld} | 0 .../normalize-0013-out.nq} | 0 .../normalize-0014-in.jsonld | 9 + .../json-ld-1.0-tests/normalize-0014-out.nq | 3 + .../normalize-0015-in.jsonld | 13 + .../normalize-0015-out.nq} | 0 .../normalize-0016-in.jsonld | 15 + .../json-ld-1.0-tests/normalize-0016-out.nq | 3 + .../normalize-0017-in.jsonld | 20 + .../json-ld-1.0-tests/normalize-0017-out.nq | 2 + .../normalize-0018-in.jsonld | 8 + .../json-ld-1.0-tests/normalize-0018-out.nq | 1 + .../normalize-0019-in.jsonld | 16 + .../json-ld-1.0-tests/normalize-0019-out.nq | 2 + .../normalize-0020-in.jsonld | 26 + .../json-ld-1.0-tests/normalize-0020-out.nq | 4 + .../normalize-0021-in.jsonld | 16 + .../json-ld-1.0-tests/normalize-0021-out.nq | 2 + .../normalize-0022-in.jsonld | 19 + .../json-ld-1.0-tests/normalize-0022-out.nq | 4 + .../normalize-0023-in.jsonld | 20 + .../json-ld-1.0-tests/normalize-0023-out.nq | 3 + .../normalize-0024-in.jsonld | 28 + .../json-ld-1.0-tests/normalize-0024-out.nq | 6 + .../normalize-0025-in.jsonld | 28 + .../json-ld-1.0-tests/normalize-0025-out.nq | 6 + .../normalize-0026-in.jsonld | 28 + .../json-ld-1.0-tests/normalize-0026-out.nq | 6 + .../normalize-0027-in.jsonld | 28 + .../json-ld-1.0-tests/normalize-0027-out.nq | 6 + .../normalize-0028-in.jsonld | 28 + .../json-ld-1.0-tests/normalize-0028-out.nq | 6 + .../normalize-0029-in.jsonld | 28 + .../json-ld-1.0-tests/normalize-0029-out.nq | 6 + .../normalize-0030-in.jsonld | 37 + .../json-ld-1.0-tests/normalize-0030-out.nq | 6 + .../normalize-0031-in.jsonld | 7 + .../json-ld-1.0-tests/normalize-0031-out.nq | 1 + .../normalize-0032-in.jsonld | 7 + .../json-ld-1.0-tests/normalize-0032-out.nq | 1 + .../normalize-0033-in.jsonld | 19 + .../json-ld-1.0-tests/normalize-0033-out.nq | 2 + .../normalize-0034-in.jsonld | 19 + .../json-ld-1.0-tests/normalize-0034-out.nq | 2 + .../normalize-0035-in.jsonld | 26 + .../json-ld-1.0-tests/normalize-0035-out.nq | 4 + .../normalize-0036-in.jsonld | 26 + .../json-ld-1.0-tests/normalize-0036-out.nq | 4 + .../normalize-0037-in.jsonld | 26 + .../json-ld-1.0-tests/normalize-0037-out.nq | 4 + .../normalize-0038-in.jsonld | 27 + .../json-ld-1.0-tests/normalize-0038-out.nq | 3 + .../normalize-0039-in.jsonld | 21 + .../json-ld-1.0-tests/normalize-0039-out.nq | 3 + .../normalize-0040-in.jsonld | 32 + .../json-ld-1.0-tests/normalize-0040-out.nq | 4 + .../normalize-0041-in.jsonld | 32 + .../json-ld-1.0-tests/normalize-0041-out.nq | 4 + .../normalize-0042-in.jsonld | 26 + .../json-ld-1.0-tests/normalize-0042-out.nq | 4 + .../normalize-0043-in.jsonld | 10 + .../json-ld-1.0-tests/normalize-0043-out.nq | 1 + .../normalize-0044-in.jsonld | 104 +++ .../json-ld-1.0-tests/normalize-0044-out.nq | 36 + .../normalize-0045-in.jsonld | 104 +++ .../json-ld-1.0-tests/normalize-0045-out.nq | 36 + .../normalize-0046-in.jsonld | 104 +++ .../json-ld-1.0-tests/normalize-0046-out.nq | 36 + .../normalize-0047-in.jsonld | 46 + .../json-ld-1.0-tests/normalize-0047-out.nq | 8 + .../normalize-0048-in.jsonld | 46 + .../json-ld-1.0-tests/normalize-0048-out.nq | 8 + .../normalize-0049-in.jsonld | 8 + .../normalize-0049-out.nq} | 0 .../normalize-0050-in.jsonld | 13 + .../json-ld-1.0-tests/normalize-0050-out.nq | 3 + .../normalize-0051-in.jsonld | 14 + .../json-ld-1.0-tests/normalize-0051-out.nq | 3 + .../normalize-0052-in.jsonld | 16 + .../normalize-0052-out.nq} | 0 .../normalize-0053-in.jsonld | 8 + .../json-ld-1.0-tests/normalize-0053-out.nq | 14 + .../normalize-0054-in.jsonld | 64 ++ .../json-ld-1.0-tests/normalize-0054-out.nq | 15 + .../normalize-0055-in.jsonld | 16 + .../json-ld-1.0-tests/normalize-0055-out.nq | 3 + .../normalize-0056-in.jsonld | 16 + .../json-ld-1.0-tests/normalize-0056-out.nq | 3 + .../normalize-0057-in.jsonld | 14 + .../json-ld-1.0-tests/normalize-0057-out.nq | 2 + .../normalize-manifest.jsonld | 353 ++++++++ .../remote-doc-0001-in.jsonld} | 0 .../remote-doc-0001-out.jsonld | 4 + .../remote-doc-0002-in.json} | 0 .../remote-doc-0002-out.jsonld | 4 + .../remote-doc-0003-in.jldt} | 0 .../remote-doc-0003-out.jsonld | 4 + .../remote-doc-0004-in.jldte} | 0 .../remote-doc-0009-context.jsonld} | 0 .../remote-doc-0009-in.jsonld} | 0 .../remote-doc-0009-out.jsonld | 4 + .../remote-doc-0010-context.jsonld} | 0 .../remote-doc-0010-in.json} | 0 .../remote-doc-0010-out.jsonld | 4 + .../remote-doc-0011-context.jsonld} | 0 .../remote-doc-0011-in.jldt} | 0 .../remote-doc-0011-out.jsonld | 4 + .../remote-doc-0012-context1.jsonld} | 0 .../remote-doc-0012-context2.jsonld} | 0 .../remote-doc-0012-in.json} | 0 .../remote-doc-manifest.jsonld | 129 +++ .../toRdf-0001-in.jsonld} | 0 .../toRdf-0001-out.nq} | 0 .../toRdf-0002-in.jsonld} | 0 .../toRdf-0002-out.nq} | 0 .../toRdf-0003-in.jsonld} | 0 .../toRdf-0003-out.nq} | 0 .../toRdf-0004-in.jsonld} | 0 .../toRdf-0004-out.nq} | 0 .../toRdf-0005-in.jsonld} | 0 .../toRdf-0005-out.nq} | 0 .../toRdf-0006-in.jsonld} | 0 .../toRdf-0006-out.nq} | 0 .../toRdf-0007-in.jsonld} | 0 .../toRdf-0007-out.nq} | 0 .../toRdf-0008-in.jsonld} | 0 .../toRdf-0008-out.nq} | 0 .../toRdf-0009-in.jsonld} | 0 .../toRdf-0009-out.nq} | 0 .../toRdf-0010-in.jsonld} | 0 .../toRdf-0010-out.nq} | 0 .../toRdf-0011-in.jsonld} | 0 .../toRdf-0011-out.nq} | 0 .../toRdf-0012-in.jsonld} | 0 .../toRdf-0012-out.nq} | 0 .../toRdf-0013-in.jsonld} | 0 .../toRdf-0013-out.nq} | 0 .../toRdf-0014-in.jsonld} | 0 .../toRdf-0014-out.nq} | 0 .../toRdf-0015-in.jsonld} | 0 .../toRdf-0015-out.nq} | 0 .../toRdf-0016-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0016-out.nq | 1 + .../toRdf-0017-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0017-out.nq | 1 + .../toRdf-0018-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0018-out.nq | 1 + .../toRdf-0019-in.jsonld} | 0 .../toRdf-0019-out.nq} | 0 .../toRdf-0020-in.jsonld} | 0 .../toRdf-0020-out.nq} | 0 .../toRdf-0022-in.jsonld} | 0 .../toRdf-0022-out.nq} | 0 .../toRdf-0023-in.jsonld} | 0 .../toRdf-0023-out.nq} | 0 .../toRdf-0024-in.jsonld} | 0 .../toRdf-0024-out.nq} | 0 .../toRdf-0025-in.jsonld} | 0 .../toRdf-0025-out.nq} | 0 .../toRdf-0026-in.jsonld} | 0 .../toRdf-0026-out.nq} | 0 .../toRdf-0027-in.jsonld} | 0 .../toRdf-0027-out.nq} | 0 .../json-ld-1.0-tests/toRdf-0028-in.jsonld | 19 + .../toRdf-0028-out.nq} | 0 .../toRdf-0029-in.jsonld} | 0 .../toRdf-0029-out.nq} | 0 .../toRdf-0030-in.jsonld} | 0 .../toRdf-0030-out.nq} | 0 .../toRdf-0031-in.jsonld} | 0 .../toRdf-0031-out.nq} | 0 .../toRdf-0032-in.jsonld} | 0 .../toRdf-0032-out.nq} | 0 .../toRdf-0033-in.jsonld} | 0 .../toRdf-0033-out.nq} | 0 .../toRdf-0034-in.jsonld} | 0 .../toRdf-0034-out.nq} | 0 .../toRdf-0035-in.jsonld} | 0 .../toRdf-0035-out.nq} | 0 .../toRdf-0036-in.jsonld} | 0 .../toRdf-0036-out.nq} | 0 .../toRdf-0041-in.jsonld} | 0 .../toRdf-0041-out.nq} | 0 .../toRdf-0042-in.jsonld} | 0 .../toRdf-0042-out.nq} | 0 .../toRdf-0043-in.jsonld} | 0 .../toRdf-0043-out.nq} | 0 .../json-ld-1.0-tests/toRdf-0044-in.jsonld | 21 + .../toRdf-0044-out.nq} | 0 .../toRdf-0045-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0045-out.nq | 6 + .../toRdf-0046-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0046-out.nq | 4 + .../json-ld-1.0-tests/toRdf-0047-in.jsonld | 18 + .../json-ld-1.0-tests/toRdf-0047-out.nq | 3 + .../toRdf-0048-in.jsonld} | 0 .../toRdf-0048-out.nq} | 0 .../toRdf-0049-in.jsonld} | 0 .../toRdf-0049-out.nq} | 0 .../toRdf-0050-in.jsonld} | 0 .../toRdf-0050-out.nq} | 0 .../json-ld-1.0-tests/toRdf-0051-in.jsonld | 13 + .../toRdf-0051-out.nq} | 0 .../json-ld-1.0-tests/toRdf-0052-in.jsonld | 39 + .../toRdf-0052-out.nq} | 0 .../toRdf-0053-in.jsonld} | 0 .../toRdf-0053-out.nq} | 0 .../json-ld-1.0-tests/toRdf-0054-in.jsonld | 50 ++ .../toRdf-0054-out.nq} | 0 .../toRdf-0055-in.jsonld} | 0 .../toRdf-0055-out.nq} | 0 .../toRdf-0056-in.jsonld} | 0 .../toRdf-0056-out.nq} | 0 .../toRdf-0057-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0057-out.nq | 9 + .../toRdf-0058-in.jsonld} | 0 .../toRdf-0058-out.nq} | 0 .../toRdf-0059-in.jsonld} | 0 .../toRdf-0059-out.nq} | 0 .../toRdf-0060-in.jsonld} | 0 .../toRdf-0060-out.nq} | 0 .../toRdf-0061-in.jsonld} | 0 .../toRdf-0061-out.nq} | 0 .../toRdf-0062-in.jsonld} | 0 .../toRdf-0062-out.nq} | 0 .../toRdf-0063-in.jsonld} | 0 .../toRdf-0063-out.nq} | 0 .../toRdf-0064-in.jsonld} | 0 .../toRdf-0064-out.nq} | 0 .../json-ld-1.0-tests/toRdf-0065-in.jsonld | 9 + .../json-ld-1.0-tests/toRdf-0065-out.nq | 3 + .../toRdf-0066-in.jsonld} | 0 .../toRdf-0066-out.nq} | 0 .../toRdf-0067-in.jsonld} | 0 .../toRdf-0067-out.nq} | 0 .../toRdf-0068-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0068-out.nq | 4 + .../json-ld-1.0-tests/toRdf-0069-in.jsonld | 32 + .../json-ld-1.0-tests/toRdf-0069-out.nq | 34 + .../toRdf-0070-in.jsonld} | 0 .../toRdf-0070-out.nq} | 0 .../toRdf-0071-in.jsonld} | 0 .../toRdf-0071-out.nq} | 0 .../toRdf-0072-in.jsonld} | 0 .../toRdf-0072-out.nq} | 0 .../toRdf-0073-in.jsonld} | 0 .../toRdf-0073-out.nq} | 0 .../toRdf-0074-in.jsonld} | 0 .../toRdf-0074-out.nq} | 0 .../toRdf-0075-in.jsonld} | 0 .../toRdf-0075-out.nq} | 0 .../toRdf-0076-in.jsonld} | 0 .../toRdf-0076-out.nq} | 0 .../toRdf-0077-in.jsonld} | 0 .../toRdf-0077-out.nq} | 0 .../toRdf-0078-in.jsonld} | 0 .../toRdf-0078-out.nq} | 0 .../toRdf-0079-in.jsonld} | 0 .../toRdf-0079-out.nq} | 0 .../toRdf-0080-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0080-out.nq | 4 + .../toRdf-0081-in.jsonld} | 0 .../toRdf-0081-out.nq} | 0 .../toRdf-0082-in.jsonld} | 0 .../toRdf-0082-out.nq} | 0 .../toRdf-0083-in.jsonld} | 0 .../toRdf-0083-out.nq} | 0 .../toRdf-0084-in.jsonld} | 0 .../toRdf-0084-out.nq} | 0 .../toRdf-0085-in.jsonld} | 0 .../toRdf-0085-out.nq} | 0 .../toRdf-0086-in.jsonld} | 0 .../toRdf-0086-out.nq} | 0 .../toRdf-0087-in.jsonld} | 0 .../toRdf-0087-out.nq} | 0 .../json-ld-1.0-tests/toRdf-0088-in.jsonld | 19 + .../json-ld-1.0-tests/toRdf-0088-out.nq | 4 + .../toRdf-0089-in.jsonld} | 0 .../toRdf-0089-out.nq} | 0 .../toRdf-0090-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0090-out.nq | 2 + .../toRdf-0091-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0091-out.nq | 1 + .../toRdf-0092-in.jsonld} | 0 .../toRdf-0092-out.nq} | 0 .../toRdf-0093-in.jsonld} | 0 .../toRdf-0093-out.nq} | 0 .../toRdf-0094-in.jsonld} | 0 .../toRdf-0094-out.nq} | 0 .../toRdf-0095-in.jsonld} | 0 .../toRdf-0095-out.nq} | 0 .../toRdf-0096-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0096-out.nq | 3 + .../toRdf-0097-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0097-out.nq | 1 + .../toRdf-0098-in.jsonld} | 0 .../toRdf-0098-out.nq} | 0 .../toRdf-0099-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0099-out.nq | 4 + .../toRdf-0100-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0100-out.nq | 4 + .../toRdf-0101-in.jsonld} | 0 .../toRdf-0101-out.nq} | 0 .../toRdf-0102-in.jsonld} | 0 .../toRdf-0102-out.nq} | 0 .../toRdf-0103-in.jsonld} | 0 .../toRdf-0103-out.nq} | 0 .../toRdf-0104-in.jsonld} | 0 .../toRdf-0104-out.nq} | 0 .../toRdf-0105-in.jsonld} | 0 .../toRdf-0105-out.nq} | 0 .../toRdf-0106-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0106-out.nq | 5 + .../toRdf-0107-in.jsonld} | 0 .../toRdf-0107-out.nq} | 0 .../toRdf-0108-in.jsonld} | 0 .../toRdf-0108-out.nq} | 0 .../toRdf-0109-in.jsonld} | 0 .../toRdf-0109-out.nq} | 0 .../toRdf-0110-in.jsonld} | 0 .../toRdf-0110-out.nq} | 0 .../toRdf-0111-in.jsonld} | 0 .../toRdf-0111-out.nq} | 0 .../toRdf-0112-in.jsonld} | 0 .../toRdf-0112-out.nq} | 0 .../toRdf-0113-in.jsonld} | 0 .../toRdf-0113-out.nq} | 0 .../toRdf-0114-in.jsonld} | 0 .../toRdf-0114-out.nq} | 0 .../toRdf-0115-in.jsonld} | 0 .../toRdf-0115-out.nq} | 0 .../toRdf-0116-in.jsonld} | 0 .../toRdf-0116-out.nq} | 0 .../toRdf-0117-in.jsonld} | 0 .../toRdf-0117-out.nq} | 0 .../toRdf-0118-in.jsonld} | 0 .../json-ld-1.0-tests/toRdf-0118-out.nq | 9 + .../toRdf-0119-in.jsonld} | 0 .../toRdf-0119-out.nq} | 0 .../json-ld-1.0-tests/toRdf-manifest.jsonld | 812 ++++++++++++++++++ .../LICENSE.md | 0 .../README.md | 0 .../compact-manifest.jsonld | 0 .../compact/0001-context.jsonld | 3 + .../json-ld-api-tests/compact/0001-in.jsonld | 1 + .../compact/0001-out.jsonld} | 0 .../compact/0002-context.jsonld | 11 + .../json-ld-api-tests/compact/0002-in.jsonld | 9 + .../json-ld-api-tests/compact/0002-out.jsonld | 18 + .../compact/0003-context.jsonld | 3 + .../json-ld-api-tests/compact/0003-in.jsonld | 12 + .../json-ld-api-tests/compact/0003-out.jsonld | 1 + .../compact/0004-context.jsonld | 7 + .../json-ld-api-tests/compact/0004-in.jsonld | 12 + .../json-ld-api-tests/compact/0004-out.jsonld | 17 + .../compact/0005-context.jsonld | 7 + .../json-ld-api-tests/compact/0005-in.jsonld | 6 + .../json-ld-api-tests/compact/0005-out.jsonld | 11 + .../compact/0006-context.jsonld | 7 + .../json-ld-api-tests/compact/0006-in.jsonld | 6 + .../json-ld-api-tests/compact/0006-out.jsonld | 14 + .../compact/0007-context.jsonld | 0 .../json-ld-api-tests/compact/0007-in.jsonld | 27 + .../compact/0007-out.jsonld | 0 .../compact/0008-context.jsonld | 8 + .../json-ld-api-tests/compact/0008-in.jsonld | 13 + .../json-ld-api-tests/compact/0008-out.jsonld | 15 + .../compact/0009-context.jsonld | 0 .../json-ld-api-tests/compact/0009-in.jsonld | 7 + .../compact/0009-out.jsonld | 0 .../compact/0010-context.jsonld | 6 + .../json-ld-api-tests/compact/0010-in.jsonld | 13 + .../json-ld-api-tests/compact/0010-out.jsonld | 20 + .../compact/0011-context.jsonld | 8 + .../json-ld-api-tests/compact/0011-in.jsonld | 13 + .../json-ld-api-tests/compact/0011-out.jsonld | 14 + .../compact/0012-context.jsonld | 5 + .../json-ld-api-tests/compact/0012-in.jsonld | 5 + .../json-ld-api-tests/compact/0012-out.jsonld | 8 + .../compact/0013-context.jsonld | 5 + .../json-ld-api-tests/compact/0013-in.jsonld | 4 + .../json-ld-api-tests/compact/0013-out.jsonld | 7 + .../compact/0014-context.jsonld | 7 + .../json-ld-api-tests/compact/0014-in.jsonld | 13 + .../json-ld-api-tests/compact/0014-out.jsonld | 21 + .../compact/0015-context.jsonld | 12 + .../json-ld-api-tests/compact/0015-in.jsonld | 12 + .../json-ld-api-tests/compact/0015-out.jsonld | 19 + .../compact/0016-context.jsonld | 7 + .../json-ld-api-tests/compact/0016-in.jsonld | 22 + .../json-ld-api-tests/compact/0016-out.jsonld | 23 + .../compact/0017-context.jsonld | 11 + .../json-ld-api-tests/compact/0017-in.jsonld | 6 + .../json-ld-api-tests/compact/0017-out.jsonld | 13 + .../compact/0018-context.jsonld | 13 + .../json-ld-api-tests/compact/0018-in.jsonld | 69 ++ .../json-ld-api-tests/compact/0018-out.jsonld | 62 ++ .../compact/0019-context.jsonld | 6 + .../json-ld-api-tests/compact/0019-in.jsonld | 17 + .../json-ld-api-tests/compact/0019-out.jsonld | 9 + .../compact/0020-context.jsonld | 6 + .../json-ld-api-tests/compact/0020-in.jsonld | 9 + .../json-ld-api-tests/compact/0020-out.jsonld | 10 + .../compact/0021-context.jsonld | 6 + .../json-ld-api-tests/compact/0021-in.jsonld | 23 + .../json-ld-api-tests/compact/0021-out.jsonld | 16 + .../compact/0022-context.jsonld | 10 + .../json-ld-api-tests/compact/0022-in.jsonld | 39 + .../json-ld-api-tests/compact/0022-out.jsonld | 34 + .../compact/0023-context.jsonld | 7 + .../json-ld-api-tests/compact/0023-in.jsonld | 23 + .../json-ld-api-tests/compact/0023-out.jsonld | 17 + .../compact/0024-context.jsonld | 15 + .../json-ld-api-tests/compact/0024-in.jsonld | 48 ++ .../json-ld-api-tests/compact/0024-out.jsonld | 46 + .../compact/0025-context.jsonld | 9 + .../json-ld-api-tests/compact/0025-in.jsonld | 18 + .../json-ld-api-tests/compact/0025-out.jsonld | 14 + .../compact/0026-context.jsonld | 10 + .../json-ld-api-tests/compact/0026-in.jsonld | 21 + .../json-ld-api-tests/compact/0026-out.jsonld | 16 + .../compact/0027-context.jsonld | 6 + .../json-ld-api-tests/compact/0027-in.jsonld | 21 + .../json-ld-api-tests/compact/0027-out.jsonld | 25 + .../compact/0028-context.jsonld | 9 + .../json-ld-api-tests/compact/0028-in.jsonld | 12 + .../json-ld-api-tests/compact/0028-out.jsonld | 12 + .../compact/0029-context.jsonld | 5 + .../json-ld-api-tests/compact/0029-in.jsonld | 10 + .../json-ld-api-tests/compact/0029-out.jsonld | 17 + .../compact/0030-context.jsonld | 6 + .../json-ld-api-tests/compact/0030-in.jsonld | 117 +++ .../json-ld-api-tests/compact/0030-out.jsonld | 86 ++ .../compact/0031-context.jsonld | 5 + .../json-ld-api-tests/compact/0031-in.jsonld | 14 + .../json-ld-api-tests/compact/0031-out.jsonld | 13 + .../compact/0032-context.jsonld | 6 + .../json-ld-api-tests/compact/0032-in.jsonld | 14 + .../json-ld-api-tests/compact/0032-out.jsonld | 14 + .../compact/0033-context.jsonld | 6 + .../json-ld-api-tests/compact/0033-in.jsonld | 14 + .../json-ld-api-tests/compact/0033-out.jsonld | 12 + .../compact/0034-context.jsonld | 6 + .../json-ld-api-tests/compact/0034-in.jsonld | 16 + .../json-ld-api-tests/compact/0034-out.jsonld | 18 + .../compact/0035-context.jsonld | 6 + .../json-ld-api-tests/compact/0035-in.jsonld | 16 + .../json-ld-api-tests/compact/0035-out.jsonld | 12 + .../compact/0036-context.jsonld | 6 + .../json-ld-api-tests/compact/0036-in.jsonld | 20 + .../json-ld-api-tests/compact/0036-out.jsonld | 18 + .../compact/0037-context.jsonld | 7 + .../compact/0037-in.jsonld | 0 .../json-ld-api-tests/compact/0037-out.jsonld | 19 + .../compact/0038-context.jsonld | 18 + .../json-ld-api-tests/compact/0038-in.jsonld | 85 ++ .../json-ld-api-tests/compact/0038-out.jsonld | 57 ++ .../compact/0038a-out.jsonld | 0 .../compact/0039-context.jsonld | 3 + .../json-ld-api-tests/compact/0039-in.jsonld | 11 + .../json-ld-api-tests/compact/0039-out.jsonld | 9 + .../compact/0040-context.jsonld | 3 + .../json-ld-api-tests/compact/0040-in.jsonld | 10 + .../json-ld-api-tests/compact/0040-out.jsonld | 8 + .../compact/0041-context.jsonld | 5 + .../json-ld-api-tests/compact/0041-in.jsonld | 15 + .../json-ld-api-tests/compact/0041-out.jsonld | 12 + .../compact/0042-context.jsonld | 6 + .../json-ld-api-tests/compact/0042-in.jsonld | 15 + .../json-ld-api-tests/compact/0042-out.jsonld | 13 + .../compact/0043-context.jsonld | 6 + .../json-ld-api-tests/compact/0043-in.jsonld | 8 + .../json-ld-api-tests/compact/0043-out.jsonld | 8 + .../compact/0044-context.jsonld | 8 + .../json-ld-api-tests/compact/0044-in.jsonld | 16 + .../json-ld-api-tests/compact/0044-out.jsonld | 14 + .../compact/0045-context.jsonld | 0 .../compact/0045-in.jsonld | 0 .../compact/0045-out.jsonld | 0 .../compact/0046-context.jsonld | 3 + .../json-ld-api-tests/compact/0046-in.jsonld | 10 + .../json-ld-api-tests/compact/0046-out.jsonld | 12 + .../compact/0047-context.jsonld | 6 + .../json-ld-api-tests/compact/0047-in.jsonld | 7 + .../json-ld-api-tests/compact/0047-out.jsonld | 7 + .../compact/0048-context.jsonld | 11 + .../json-ld-api-tests/compact/0048-in.jsonld | 4 + .../json-ld-api-tests/compact/0048-out.jsonld | 13 + .../compact/0049-context.jsonld | 5 + .../json-ld-api-tests/compact/0049-in.jsonld | 6 + .../json-ld-api-tests/compact/0049-out.jsonld | 6 + .../compact/0050-context.jsonld | 6 + .../json-ld-api-tests/compact/0050-in.jsonld | 16 + .../json-ld-api-tests/compact/0050-out.jsonld | 12 + .../compact/0051-context.jsonld | 3 + .../json-ld-api-tests/compact/0051-in.jsonld | 5 + .../json-ld-api-tests/compact/0051-out.jsonld | 5 + .../compact/0052-context.jsonld | 6 + .../json-ld-api-tests/compact/0052-in.jsonld | 18 + .../json-ld-api-tests/compact/0052-out.jsonld | 18 + .../compact/0053-context.jsonld | 5 + .../json-ld-api-tests/compact/0053-in.jsonld | 3 + .../json-ld-api-tests/compact/0053-out.jsonld | 6 + .../compact/0054-context.jsonld | 6 + .../json-ld-api-tests/compact/0054-in.jsonld | 3 + .../json-ld-api-tests/compact/0054-out.jsonld | 7 + .../compact/0055-context.jsonld | 6 + .../json-ld-api-tests/compact/0055-in.jsonld | 7 + .../json-ld-api-tests/compact/0055-out.jsonld | 7 + .../compact/0056-context.jsonld | 7 + .../json-ld-api-tests/compact/0056-in.jsonld | 3 + .../json-ld-api-tests/compact/0056-out.jsonld | 8 + .../compact/0057-context.jsonld | 11 + .../json-ld-api-tests/compact/0057-in.jsonld | 15 + .../json-ld-api-tests/compact/0057-out.jsonld | 15 + .../compact/0058-context.jsonld | 6 + .../json-ld-api-tests/compact/0058-in.jsonld | 3 + .../json-ld-api-tests/compact/0058-out.jsonld | 7 + .../compact/0059-context.jsonld | 9 + .../json-ld-api-tests/compact/0059-in.jsonld | 8 + .../json-ld-api-tests/compact/0059-out.jsonld | 13 + .../compact/0060-context.jsonld | 9 + .../json-ld-api-tests/compact/0060-in.jsonld | 8 + .../json-ld-api-tests/compact/0060-out.jsonld | 13 + .../compact/0061-context.jsonld | 13 + .../json-ld-api-tests/compact/0061-in.jsonld | 8 + .../json-ld-api-tests/compact/0061-out.jsonld | 15 + .../compact/0062-context.jsonld | 5 + .../json-ld-api-tests/compact/0062-in.jsonld | 6 + .../compact/0062-out.jsonld | 0 .../compact/0063-context.jsonld | 6 + .../json-ld-api-tests/compact/0063-in.jsonld | 7 + .../json-ld-api-tests/compact/0063-out.jsonld | 7 + .../compact/0064-context.jsonld | 5 + .../json-ld-api-tests/compact/0064-in.jsonld | 17 + .../json-ld-api-tests/compact/0064-out.jsonld | 16 + .../compact/0065-context.jsonld | 5 + .../json-ld-api-tests/compact/0065-in.jsonld | 17 + .../json-ld-api-tests/compact/0065-out.jsonld | 18 + .../compact/0066-context.jsonld | 5 + .../compact/0066-in.jsonld | 0 .../compact/0066-out.jsonld | 0 .../compact/0067-context.jsonld | 6 + .../json-ld-api-tests/compact/0067-in.jsonld | 16 + .../json-ld-api-tests/compact/0067-out.jsonld | 16 + .../compact/0068-context.jsonld | 6 + .../json-ld-api-tests/compact/0068-in.jsonld | 13 + .../json-ld-api-tests/compact/0068-out.jsonld | 11 + .../compact/0069-context.jsonld | 6 + .../json-ld-api-tests/compact/0069-in.jsonld | 13 + .../json-ld-api-tests/compact/0069-out.jsonld | 11 + .../compact/0070-context.jsonld | 5 + .../json-ld-api-tests/compact/0070-in.jsonld | 4 + .../json-ld-api-tests/compact/0070-out.jsonld | 9 + .../compact/0071-context.jsonld | 5 + .../json-ld-api-tests/compact/0071-in.jsonld | 9 + .../json-ld-api-tests/compact/0071-out.jsonld | 7 + .../compact/0072-context.jsonld | 5 + .../json-ld-api-tests/compact/0072-in.jsonld | 3 + .../json-ld-api-tests/compact/0072-out.jsonld | 8 + .../compact/0073-context.jsonld | 0 .../compact/0073-in.jsonld | 0 .../compact/0073-out.jsonld | 0 .../compact/0074-context.jsonld | 0 .../compact/0074-in.jsonld | 0 .../compact/0074-out.jsonld | 0 .../compact/0075-context.jsonld | 0 .../compact/0075-in.jsonld | 0 .../compact/0075-out.jsonld | 0 .../compact/0076-context.jsonld | 0 .../compact/0076-in.jsonld | 0 .../compact/0076-out.jsonld | 0 .../compact/0077-context.jsonld | 0 .../compact/0077-in.jsonld | 0 .../compact/0077-out.jsonld | 0 .../compact/0078-context.jsonld | 0 .../compact/0078-in.jsonld | 0 .../compact/0078-out.jsonld | 0 .../compact/0079-context.jsonld | 0 .../compact/0079-in.jsonld | 0 .../compact/0079-out.jsonld | 0 .../compact/0080-context.jsonld | 0 .../compact/0080-in.jsonld | 0 .../compact/0080-out.jsonld | 0 .../compact/0081-context.jsonld | 0 .../compact/0081-in.jsonld | 0 .../compact/0081-out.jsonld | 0 .../compact/0082-context.jsonld | 0 .../compact/0082-in.jsonld | 0 .../compact/0082-out.jsonld | 0 .../compact/0083-context.jsonld | 0 .../compact/0083-in.jsonld | 0 .../compact/0083-out.jsonld | 0 .../compact/0084-context.jsonld | 0 .../compact/0084-in.jsonld | 0 .../compact/0084-out.jsonld | 0 .../compact/0085-context.jsonld | 0 .../compact/0085-in.jsonld | 0 .../compact/0085-out.jsonld | 0 .../compact/0086-context.jsonld | 0 .../compact/0086-in.jsonld | 0 .../compact/0086-out.jsonld | 0 .../compact/0087-context.jsonld | 0 .../compact/0087-in.jsonld | 0 .../compact/0087-out.jsonld | 0 .../compact/0088-context.jsonld | 0 .../compact/0088-in.jsonld | 0 .../compact/0088-out.jsonld | 0 .../compact/0089-context.jsonld | 0 .../compact/0089-in.jsonld | 0 .../compact/0089-out.jsonld | 0 .../compact/0090-context.jsonld | 0 .../compact/0090-in.jsonld | 0 .../compact/0090-out.jsonld | 0 .../compact/0091-context.jsonld | 0 .../compact/0091-in.jsonld | 0 .../compact/0091-out.jsonld | 0 .../compact/0092-context.jsonld | 0 .../compact/0092-in.jsonld | 0 .../compact/0092-out.jsonld | 0 .../compact/0093-context.jsonld | 0 .../compact/0093-in.jsonld | 0 .../compact/0093-out.jsonld | 0 .../compact/0094-context.jsonld | 0 .../compact/0094-in.jsonld | 0 .../compact/0094-out.jsonld | 0 .../compact/0095-context.jsonld | 0 .../compact/0095-in.jsonld | 0 .../compact/0095-out.jsonld | 0 .../compact/0096-context.jsonld | 0 .../compact/0096-in.jsonld | 0 .../compact/0096-out.jsonld | 0 .../compact/0097-context.jsonld | 0 .../compact/0097-in.jsonld | 0 .../compact/0097-out.jsonld | 0 .../compact/0098-context.jsonld | 0 .../compact/0098-in.jsonld | 0 .../compact/0098-out.jsonld | 0 .../compact/0099-context.jsonld | 0 .../compact/0099-in.jsonld | 0 .../compact/0099-out.jsonld | 0 .../compact/0100-context.jsonld | 0 .../compact/0100-in.jsonld | 0 .../compact/0100-out.jsonld | 0 .../compact/0101-context.jsonld | 0 .../compact/0101-in.jsonld | 0 .../compact/0101-out.jsonld | 0 .../compact/0102-context.jsonld | 0 .../compact/0102-in.jsonld | 0 .../compact/0102-out.jsonld | 0 .../compact/0103-context.jsonld | 0 .../compact/0103-in.jsonld | 0 .../compact/0103-out.jsonld | 0 .../compact/0104-context.jsonld | 0 .../json-ld-api-tests/compact/0104-in.jsonld | 3 + .../compact/0104-out.jsonld | 0 .../compact/0105-context.jsonld | 0 .../json-ld-api-tests/compact/0105-in.jsonld | 3 + .../compact/0105-out.jsonld | 0 .../compact/0106-context.jsonld | 0 .../json-ld-api-tests/compact/0106-in.jsonld | 3 + .../compact/0106-out.jsonld | 0 .../compact/0107-context.jsonld | 0 .../compact/0107-in.jsonld | 0 .../compact/0107-out.jsonld | 0 .../compact/0108-context.jsonld | 0 .../compact/0108-in.jsonld | 0 .../compact/0108-out.jsonld | 0 .../compact/c001-context.jsonld | 0 .../compact/c001-in.jsonld | 0 .../compact/c001-out.jsonld | 0 .../compact/c002-context.jsonld | 0 .../compact/c002-in.jsonld | 0 .../compact/c002-out.jsonld | 0 .../compact/c003-context.jsonld | 0 .../compact/c003-in.jsonld | 0 .../compact/c003-out.jsonld | 0 .../compact/c004-context.jsonld | 0 .../compact/c004-in.jsonld | 0 .../compact/c004-out.jsonld | 0 .../compact/c005-context.jsonld | 0 .../compact/c005-in.jsonld | 0 .../compact/c005-out.jsonld | 0 .../compact/c006-context.jsonld | 0 .../compact/c006-in.jsonld | 0 .../compact/c006-out.jsonld | 0 .../compact/c007-context.jsonld | 0 .../compact/c007-in.jsonld | 0 .../compact/c007-out.jsonld | 0 .../compact/c008-context.jsonld | 0 .../compact/c008-in.jsonld | 0 .../compact/c008-out.jsonld | 0 .../compact/c009-context.jsonld | 0 .../compact/c009-in.jsonld | 0 .../compact/c009-out.jsonld | 0 .../compact/c010-context.jsonld | 0 .../compact/c010-in.jsonld | 0 .../compact/c010-out.jsonld | 0 .../compact/c011-context.jsonld | 0 .../compact/c011-in.jsonld | 0 .../compact/c011-out.jsonld | 0 .../compact/c012-context.jsonld | 0 .../compact/c012-in.jsonld | 0 .../compact/c012-out.jsonld | 0 .../compact/c013-context.jsonld | 0 .../compact/c013-in.jsonld | 0 .../compact/c013-out.jsonld | 0 .../compact/c014-context.jsonld | 0 .../compact/c014-in.jsonld | 0 .../compact/c014-out.jsonld | 0 .../compact/c015-context.jsonld | 0 .../compact/c015-in.jsonld | 0 .../compact/c015-out.jsonld | 0 .../compact/c016-context.jsonld | 0 .../compact/c016-in.jsonld | 0 .../compact/c016-out.jsonld | 0 .../compact/c017-context.jsonld | 0 .../compact/c017-in.jsonld | 0 .../compact/c017-out.jsonld | 0 .../compact/c018-context.jsonld | 0 .../compact/c018-in.jsonld | 0 .../compact/c018-out.jsonld | 0 .../compact/c019-context.jsonld | 0 .../compact/c019-in.jsonld | 0 .../compact/c019-out.jsonld | 0 .../compact/c020-context.jsonld | 0 .../compact/c020-in.jsonld | 0 .../compact/c020-out.jsonld | 0 .../compact/c021-context.jsonld | 0 .../compact/c021-in.jsonld | 0 .../compact/c021-out.jsonld | 0 .../compact/c022-context.jsonld | 0 .../compact/c022-in.jsonld | 0 .../compact/c022-out.jsonld | 0 .../compact/c023-context.jsonld | 0 .../compact/c023-in.jsonld | 0 .../compact/c023-out.jsonld | 0 .../compact/c024-context.jsonld | 0 .../compact/c024-in.jsonld | 0 .../compact/c024-out.jsonld | 0 .../compact/c025-context.jsonld | 0 .../compact/c025-in.jsonld | 0 .../compact/c025-out.jsonld | 0 .../compact/e001-context.jsonld | 5 + .../compact/e001-in.jsonld | 0 .../compact/e002-context.jsonld | 0 .../compact/e002-in.jsonld | 0 .../compact/en01-context.jsonld | 0 .../compact/en01-in.jsonld | 0 .../compact/ep04-context.jsonld | 0 .../compact/ep04-in.jsonld | 0 .../compact/ep05-context.jsonld | 0 .../json-ld-api-tests/compact/ep05-in.jsonld | 1 + .../compact/ep06-context.jsonld | 0 .../json-ld-api-tests/compact/ep06-in.jsonld | 1 + .../compact/ep07-context.jsonld | 0 .../compact/ep07-in.jsonld | 0 .../compact/ep08-context.jsonld | 0 .../compact/ep08-in.jsonld | 0 .../compact/ep09-context.jsonld | 0 .../compact/ep09-in.jsonld | 0 .../compact/ep10-context.jsonld | 0 .../compact/ep10-in.jsonld | 0 .../compact/ep11-context.jsonld | 0 .../compact/ep11-in.jsonld | 0 .../compact/ep12-context.jsonld | 0 .../compact/ep12-in.jsonld | 0 .../compact/ep13-context.jsonld | 0 .../compact/ep13-in.jsonld | 0 .../compact/ep14-context.jsonld | 0 .../compact/ep14-in.jsonld | 0 .../compact/ep15-context.jsonld | 0 .../compact/ep15-in.jsonld | 0 .../compact/h001-context.jsonld | 0 .../compact/h001-in.html | 0 .../compact/h001-out.jsonld | 0 .../compact/h002-context.jsonld | 0 .../compact/h002-in.html | 0 .../compact/h002-out.jsonld | 0 .../compact/h003-context.jsonld | 0 .../compact/h003-in.html | 0 .../compact/h003-out.jsonld | 0 .../compact/h004-context.jsonld | 0 .../compact/h004-in.html | 0 .../compact/h004-out.jsonld | 0 .../compact/js01-context.jsonld | 0 .../compact/js01-in.jsonld | 0 .../compact/js01-out.jsonld | 0 .../compact/js02-context.jsonld | 0 .../compact/js02-in.jsonld | 0 .../compact/js02-out.jsonld | 0 .../compact/js03-context.jsonld | 0 .../compact/js03-in.jsonld | 0 .../compact/js03-out.jsonld | 0 .../compact/js04-context.jsonld | 0 .../compact/js04-in.jsonld | 0 .../compact/js04-out.jsonld | 0 .../compact/js05-context.jsonld | 0 .../compact/js05-in.jsonld | 0 .../compact/js05-out.jsonld | 0 .../compact/js06-context.jsonld | 0 .../compact/js06-in.jsonld | 0 .../compact/js06-out.jsonld | 0 .../compact/js07-context.jsonld | 0 .../compact/js07-in.jsonld | 0 .../compact/js07-out.jsonld | 0 .../compact/js08-context.jsonld | 0 .../compact/js08-in.jsonld | 0 .../compact/js08-out.jsonld | 0 .../compact/js09-context.jsonld | 0 .../compact/js09-in.jsonld | 0 .../compact/js09-out.jsonld | 0 .../compact/li01-context.jsonld | 0 .../compact/li01-in.jsonld | 0 .../compact/li01-out.jsonld | 0 .../compact/li02-context.jsonld | 0 .../compact/li02-in.jsonld | 0 .../compact/li02-out.jsonld | 0 .../compact/li03-context.jsonld | 0 .../compact/li03-in.jsonld | 0 .../compact/li03-out.jsonld | 0 .../compact/li04-context.jsonld | 0 .../compact/li04-in.jsonld | 0 .../compact/li04-out.jsonld | 0 .../compact/li05-context.jsonld | 0 .../compact/li05-in.jsonld | 0 .../compact/li05-out.jsonld | 0 .../compact/m001-context.jsonld | 0 .../compact/m001-in.jsonld | 0 .../compact/m001-out.jsonld | 0 .../compact/m002-context.jsonld | 0 .../compact/m002-in.jsonld | 0 .../compact/m002-out.jsonld | 0 .../compact/m003-context.jsonld | 0 .../compact/m003-in.jsonld | 0 .../compact/m003-out.jsonld | 0 .../compact/m004-context.jsonld | 0 .../compact/m004-in.jsonld | 0 .../compact/m004-out.jsonld | 0 .../compact/m005-context.jsonld | 0 .../compact/m005-in.jsonld | 0 .../compact/m005-out.jsonld | 0 .../compact/m006-context.jsonld | 0 .../compact/m006-in.jsonld | 0 .../compact/m006-out.jsonld | 0 .../compact/m007-context.jsonld | 0 .../compact/m007-in.jsonld | 0 .../compact/m007-out.jsonld | 0 .../compact/m008-context.jsonld | 0 .../compact/m008-in.jsonld | 0 .../compact/m008-out.jsonld | 0 .../compact/m009-context.jsonld | 0 .../compact/m009-in.jsonld | 0 .../compact/m009-out.jsonld | 0 .../compact/m010-context.jsonld | 0 .../compact/m010-in.jsonld | 0 .../compact/m010-out.jsonld | 0 .../compact/m011-context.jsonld | 0 .../compact/m011-in.jsonld | 0 .../compact/m011-out.jsonld | 0 .../compact/m012-context.jsonld | 0 .../compact/m012-in.jsonld | 0 .../compact/m012-out.jsonld | 0 .../compact/m013-context.jsonld | 0 .../compact/m013-in.jsonld | 0 .../compact/m013-out.jsonld | 0 .../compact/m014-context.jsonld | 0 .../compact/m014-in.jsonld | 0 .../compact/m014-out.jsonld | 0 .../compact/m015-context.jsonld | 0 .../compact/m015-in.jsonld | 0 .../compact/m015-out.jsonld | 0 .../compact/m016-context.jsonld | 0 .../compact/m016-in.jsonld | 0 .../compact/m016-out.jsonld | 0 .../compact/m017-context.jsonld | 0 .../compact/m017-in.jsonld | 0 .../compact/m017-out.jsonld | 0 .../compact/m018-context.jsonld | 0 .../compact/m018-in.jsonld | 0 .../compact/m018-out.jsonld | 0 .../compact/m019-context.jsonld | 0 .../compact/m019-in.jsonld | 0 .../compact/m019-out.jsonld | 0 .../compact/n001-context.jsonld | 0 .../compact/n001-in.jsonld | 0 .../compact/n001-out.jsonld | 0 .../compact/n002-context.jsonld | 0 .../compact/n002-in.jsonld | 0 .../compact/n002-out.jsonld | 0 .../compact/n003-context.jsonld | 0 .../compact/n003-in.jsonld | 0 .../compact/n003-out.jsonld | 0 .../compact/n004-context.jsonld | 0 .../compact/n004-in.jsonld | 0 .../compact/n004-out.jsonld | 0 .../compact/n005-context.jsonld | 0 .../compact/n005-in.jsonld | 0 .../compact/n005-out.jsonld | 0 .../compact/n006-context.jsonld | 0 .../compact/n006-in.jsonld | 0 .../compact/n006-out.jsonld | 0 .../compact/n007-context.jsonld | 0 .../compact/n007-in.jsonld | 0 .../compact/n007-out.jsonld | 0 .../compact/n008-context.jsonld | 0 .../compact/n008-in.jsonld | 0 .../compact/n008-out.jsonld | 0 .../compact/n009-context.jsonld | 0 .../compact/n009-in.jsonld | 0 .../compact/n009-out.jsonld | 0 .../compact/n010-context.jsonld | 0 .../compact/n010-in.jsonld | 0 .../compact/n010-out.jsonld | 0 .../compact/p001-context.jsonld | 0 .../compact/p001-in.jsonld | 0 .../compact/p001-out.jsonld | 0 .../compact/p002-context.jsonld | 0 .../compact/p002-in.jsonld | 0 .../compact/p002-out.jsonld | 0 .../compact/p003-context.jsonld | 0 .../compact/p003-in.jsonld | 0 .../compact/p003-out.jsonld | 0 .../compact/p004-context.jsonld | 0 .../compact/p004-in.jsonld | 0 .../compact/p004-out.jsonld | 0 .../compact/p005-context.jsonld | 0 .../compact/p005-in.jsonld | 0 .../compact/p005-out.jsonld | 0 .../compact/p006-context.jsonld | 0 .../compact/p006-in.jsonld | 0 .../compact/p006-out.jsonld | 0 .../compact/p007-context.jsonld | 0 .../compact/p007-in.jsonld | 0 .../compact/p007-out.jsonld | 0 .../compact/p008-context.jsonld | 0 .../compact/p008-in.jsonld | 0 .../compact/p008-out.jsonld | 0 .../compact/pi01-context.jsonld | 0 .../compact/pi01-in.jsonld | 0 .../compact/pi01-out.jsonld | 0 .../compact/pi02-context.jsonld | 0 .../compact/pi02-in.jsonld | 0 .../compact/pi02-out.jsonld | 0 .../compact/pi03-context.jsonld | 0 .../compact/pi03-in.jsonld | 0 .../compact/pi03-out.jsonld | 0 .../compact/pi04-context.jsonld | 0 .../compact/pi04-in.jsonld | 0 .../compact/pi04-out.jsonld | 0 .../compact/pi05-context.jsonld | 0 .../compact/pi05-in.jsonld | 0 .../compact/pi05-out.jsonld | 0 .../compact/pi06-context.jsonld | 0 .../compact/pi06-in.jsonld | 0 .../compact/pi06-out.jsonld | 0 .../compact/pr01-context.jsonld | 0 .../compact/pr01-in.jsonld | 0 .../compact/pr02-context.jsonld | 0 .../compact/pr02-in.jsonld | 0 .../compact/pr03-context.jsonld | 0 .../compact/pr03-in.jsonld | 0 .../compact/pr04-context.jsonld | 0 .../compact/pr04-in.jsonld | 0 .../compact/pr04-out.jsonld | 0 .../compact/pr05-context.jsonld | 0 .../compact/pr05-in.jsonld | 0 .../compact/pr05-out.jsonld | 0 .../compact/r001-context.jsonld | 0 .../compact/r001-in.jsonld | 0 .../compact/r001-out.jsonld | 0 .../compact/r002-context.jsonld | 0 .../compact/r002-in.jsonld | 0 .../compact/r002-out.jsonld | 0 .../compact/s001-context.jsonld | 0 .../compact/s001-in.jsonld | 0 .../compact/s001-out.jsonld | 0 .../compact/s002-context.jsonld | 0 .../compact/s002-in.jsonld | 0 .../compact/s002-out.jsonld | 0 .../compact/tn01-context.jsonld | 0 .../compact/tn01-in.jsonld | 0 .../compact/tn01-out.jsonld | 0 .../compact/tn02-context.jsonld | 0 .../compact/tn02-in.jsonld | 0 .../compact/tn02-out.jsonld | 0 .../compact/tn03-context.jsonld | 0 .../compact/tn03-in.jsonld | 0 .../compact/tn03-out.jsonld | 0 .../context.jsonld | 0 .../expand-manifest.jsonld | 0 .../json-ld-api-tests/expand/0001-in.jsonld | 1 + .../json-ld-api-tests/expand/0001-out.jsonld | 1 + .../json-ld-api-tests/expand/0002-in.jsonld | 18 + .../expand/0002-out.jsonld} | 0 .../json-ld-api-tests/expand/0003-in.jsonld | 12 + .../json-ld-api-tests/expand/0003-out.jsonld | 1 + .../expand/0004-in.jsonld | 0 .../expand/0004-out.jsonld | 0 .../json-ld-api-tests/expand/0005-in.jsonld | 23 + .../expand/0005-out.jsonld | 0 .../json-ld-api-tests/expand/0006-in.jsonld | 20 + .../json-ld-api-tests/expand/0006-out.jsonld | 13 + .../json-ld-api-tests/expand/0007-in.jsonld | 18 + .../json-ld-api-tests/expand/0007-out.jsonld | 13 + .../json-ld-api-tests/expand/0008-in.jsonld | 9 + .../json-ld-api-tests/expand/0008-out.jsonld | 7 + .../json-ld-api-tests/expand/0009-in.jsonld | 43 + .../json-ld-api-tests/expand/0009-out.jsonld | 29 + .../json-ld-api-tests/expand/0010-in.jsonld | 11 + .../json-ld-api-tests/expand/0010-out.jsonld | 5 + .../expand/0011-in.jsonld | 0 .../json-ld-api-tests/expand/0011-out.jsonld | 7 + .../expand/0012-in.jsonld | 0 .../json-ld-api-tests/expand/0012-out.jsonld | 29 + .../json-ld-api-tests/expand/0013-in.jsonld | 9 + .../expand/0013-out.jsonld} | 0 .../expand/0014-in.jsonld | 0 .../json-ld-api-tests/expand/0014-out.jsonld | 31 + .../json-ld-api-tests/expand/0015-in.jsonld | 14 + .../json-ld-api-tests/expand/0015-out.jsonld | 14 + .../json-ld-api-tests/expand/0016-in.jsonld | 30 + .../json-ld-api-tests/expand/0016-out.jsonld | 18 + .../json-ld-api-tests/expand/0017-in.jsonld | 45 + .../json-ld-api-tests/expand/0017-out.jsonld | 29 + .../json-ld-api-tests/expand/0018-in.jsonld | 24 + .../json-ld-api-tests/expand/0018-out.jsonld | 8 + .../json-ld-api-tests/expand/0019-in.jsonld | 6 + .../json-ld-api-tests/expand/0019-out.jsonld | 1 + .../json-ld-api-tests/expand/0020-in.jsonld | 51 ++ .../json-ld-api-tests/expand/0020-out.jsonld | 37 + .../json-ld-api-tests/expand/0021-in.jsonld | 56 ++ .../json-ld-api-tests/expand/0021-out.jsonld | 46 + .../json-ld-api-tests/expand/0022-in.jsonld | 7 + .../json-ld-api-tests/expand/0022-out.jsonld | 3 + .../json-ld-api-tests/expand/0023-in.jsonld | 21 + .../json-ld-api-tests/expand/0023-out.jsonld | 12 + .../json-ld-api-tests/expand/0024-in.jsonld | 14 + .../json-ld-api-tests/expand/0024-out.jsonld | 7 + .../expand/0025-in.jsonld | 0 .../expand/0025-out.jsonld | 0 .../expand/0026-in.jsonld} | 0 .../json-ld-api-tests/expand/0026-out.jsonld | 21 + .../json-ld-api-tests/expand/0027-in.jsonld | 9 + .../json-ld-api-tests/expand/0027-out.jsonld | 17 + .../json-ld-api-tests/expand/0028-in.jsonld | 13 + .../expand/0028-out.jsonld | 0 .../expand/0029-in.jsonld | 0 .../expand/0029-out.jsonld | 0 .../json-ld-api-tests/expand/0030-in.jsonld | 14 + .../json-ld-api-tests/expand/0030-out.jsonld | 18 + .../json-ld-api-tests/expand/0031-in.jsonld | 13 + .../json-ld-api-tests/expand/0031-out.jsonld | 17 + .../json-ld-api-tests/expand/0032-in.jsonld | 11 + .../json-ld-api-tests/expand/0032-out.jsonld | 10 + .../json-ld-api-tests/expand/0033-in.jsonld | 14 + .../json-ld-api-tests/expand/0033-out.jsonld | 12 + .../json-ld-api-tests/expand/0034-in.jsonld | 16 + .../json-ld-api-tests/expand/0034-out.jsonld | 17 + .../json-ld-api-tests/expand/0035-in.jsonld | 18 + .../json-ld-api-tests/expand/0035-out.jsonld | 21 + .../json-ld-api-tests/expand/0036-in.jsonld | 90 ++ .../json-ld-api-tests/expand/0036-out.jsonld | 113 +++ .../json-ld-api-tests/expand/0037-in.jsonld | 13 + .../json-ld-api-tests/expand/0037-out.jsonld | 14 + .../json-ld-api-tests/expand/0038-in.jsonld | 38 + .../expand/0038-out.jsonld | 0 .../json-ld-api-tests/expand/0039-in.jsonld | 14 + .../json-ld-api-tests/expand/0039-out.jsonld | 14 + .../json-ld-api-tests/expand/0040-in.jsonld | 23 + .../expand/0040-out.jsonld | 0 .../json-ld-api-tests/expand/0041-in.jsonld | 14 + .../json-ld-api-tests/expand/0041-out.jsonld | 10 + .../json-ld-api-tests/expand/0042-in.jsonld | 12 + .../json-ld-api-tests/expand/0042-out.jsonld | 14 + .../json-ld-api-tests/expand/0043-in.jsonld | 20 + .../json-ld-api-tests/expand/0043-out.jsonld | 16 + .../json-ld-api-tests/expand/0044-in.jsonld | 16 + .../json-ld-api-tests/expand/0044-out.jsonld | 21 + .../json-ld-api-tests/expand/0045-in.jsonld | 3 + .../json-ld-api-tests/expand/0045-out.jsonld | 1 + .../json-ld-api-tests/expand/0046-in.jsonld | 14 + .../json-ld-api-tests/expand/0046-out.jsonld | 1 + .../json-ld-api-tests/expand/0047-in.jsonld | 28 + .../json-ld-api-tests/expand/0047-out.jsonld | 10 + .../expand/0048-in.jsonld | 0 .../expand/0048-out.jsonld | 0 .../json-ld-api-tests/expand/0049-in.jsonld | 12 + .../json-ld-api-tests/expand/0049-out.jsonld | 16 + .../json-ld-api-tests/expand/0050-in.jsonld | 8 + .../expand/0050-out.jsonld | 0 .../json-ld-api-tests/expand/0051-in.jsonld | 8 + .../expand/0051-out.jsonld | 0 .../json-ld-api-tests/expand/0052-in.jsonld | 8 + .../json-ld-api-tests/expand/0052-out.jsonld | 6 + .../json-ld-api-tests/expand/0053-in.jsonld | 6 + .../json-ld-api-tests/expand/0053-out.jsonld | 3 + .../json-ld-api-tests/expand/0054-in.jsonld | 7 + .../json-ld-api-tests/expand/0054-out.jsonld | 3 + .../json-ld-api-tests/expand/0055-in.jsonld | 7 + .../json-ld-api-tests/expand/0055-out.jsonld | 3 + .../json-ld-api-tests/expand/0056-in.jsonld | 13 + .../expand/0056-out.jsonld | 0 .../json-ld-api-tests/expand/0057-in.jsonld | 6 + .../expand/0057-out.jsonld | 0 .../json-ld-api-tests/expand/0058-in.jsonld | 7 + .../json-ld-api-tests/expand/0058-out.jsonld | 5 + .../json-ld-api-tests/expand/0059-in.jsonld | 16 + .../expand/0059-out.jsonld | 0 .../json-ld-api-tests/expand/0060-in.jsonld | 30 + .../expand/0060-out.jsonld | 0 .../json-ld-api-tests/expand/0061-in.jsonld | 9 + .../json-ld-api-tests/expand/0061-out.jsonld | 10 + .../json-ld-api-tests/expand/0062-in.jsonld | 35 + .../json-ld-api-tests/expand/0062-out.jsonld | 35 + .../json-ld-api-tests/expand/0063-in.jsonld | 18 + .../json-ld-api-tests/expand/0063-out.jsonld | 20 + .../json-ld-api-tests/expand/0064-in.jsonld | 16 + .../json-ld-api-tests/expand/0064-out.jsonld | 16 + .../json-ld-api-tests/expand/0065-in.jsonld | 18 + .../json-ld-api-tests/expand/0065-out.jsonld | 14 + .../json-ld-api-tests/expand/0066-in.jsonld | 19 + .../expand/0066-out.jsonld | 0 .../json-ld-api-tests/expand/0067-in.jsonld | 8 + .../json-ld-api-tests/expand/0067-out.jsonld | 9 + .../json-ld-api-tests/expand/0068-in.jsonld | 8 + .../json-ld-api-tests/expand/0068-out.jsonld | 9 + .../json-ld-api-tests/expand/0069-in.jsonld | 9 + .../json-ld-api-tests/expand/0069-out.jsonld | 9 + .../json-ld-api-tests/expand/0070-in.jsonld | 9 + .../json-ld-api-tests/expand/0070-out.jsonld | 9 + .../expand/0071-in.jsonld} | 0 .../json-ld-api-tests/expand/0071-out.jsonld | 10 + .../json-ld-api-tests/expand/0072-in.jsonld | 13 + .../json-ld-api-tests/expand/0072-out.jsonld | 7 + .../json-ld-api-tests/expand/0073-in.jsonld | 16 + .../json-ld-api-tests/expand/0073-out.jsonld | 14 + .../json-ld-api-tests/expand/0074-in.jsonld | 19 + .../json-ld-api-tests/expand/0074-out.jsonld | 14 + .../json-ld-api-tests/expand/0075-in.jsonld | 8 + .../json-ld-api-tests/expand/0075-out.jsonld | 7 + .../json-ld-api-tests/expand/0076-in.jsonld | 4 + .../expand/0076-out.jsonld} | 0 .../expand/0077-context.jsonld | 11 + .../expand/0077-in.jsonld} | 0 .../expand/0077-out.jsonld} | 0 .../expand/0078-in.jsonld | 0 .../expand/0078-out.jsonld | 0 .../expand/0079-in.jsonld | 0 .../expand/0079-out.jsonld | 0 .../expand/0080-in.jsonld | 0 .../expand/0080-out.jsonld | 0 .../expand/0081-in.jsonld | 0 .../expand/0081-out.jsonld | 0 .../expand/0082-in.jsonld | 0 .../expand/0082-out.jsonld | 0 .../expand/0083-in.jsonld | 0 .../expand/0083-out.jsonld | 0 .../expand/0084-in.jsonld | 0 .../expand/0084-out.jsonld | 0 .../expand/0085-in.jsonld | 0 .../expand/0085-out.jsonld | 0 .../expand/0086-in.jsonld | 0 .../expand/0086-out.jsonld | 0 .../expand/0087-in.jsonld | 0 .../expand/0087-out.jsonld | 0 .../expand/0088-in.jsonld | 0 .../expand/0088-out.jsonld | 0 .../expand/0089-in.jsonld | 0 .../json-ld-api-tests/expand/0089-out.jsonld | 4 + .../expand/0090-in.jsonld | 0 .../expand/0090-out.jsonld | 0 .../expand/0091-in.jsonld | 0 .../expand/0091-out.jsonld | 0 .../expand/0092-in.jsonld | 0 .../expand/0092-out.jsonld | 0 .../expand/0093-in.jsonld | 0 .../expand/0093-out.jsonld | 0 .../expand/0094-in.jsonld | 0 .../expand/0094-out.jsonld | 0 .../expand/0095-in.jsonld | 0 .../expand/0095-out.jsonld | 0 .../expand/0096-in.jsonld | 0 .../expand/0096-out.jsonld | 0 .../expand/0097-in.jsonld | 0 .../expand/0097-out.jsonld | 0 .../expand/0098-in.jsonld | 0 .../expand/0098-out.jsonld | 0 .../expand/0099-in.jsonld | 0 .../expand/0099-out.jsonld | 0 .../expand/0100-in.jsonld | 0 .../expand/0100-out.jsonld | 0 .../expand/0101-in.jsonld | 0 .../expand/0101-out.jsonld | 0 .../expand/0102-in.jsonld | 0 .../expand/0102-out.jsonld | 0 .../expand/0103-in.jsonld | 0 .../expand/0103-out.jsonld | 0 .../expand/0104-in.jsonld | 0 .../expand/0104-out.jsonld | 0 .../expand/0105-in.jsonld | 0 .../expand/0105-out.jsonld | 0 .../expand/0106-in.jsonld | 0 .../expand/0106-out.jsonld | 0 .../expand/0107-in.jsonld | 0 .../expand/0107-out.jsonld | 0 .../expand/0108-in.jsonld | 0 .../expand/0108-out.jsonld | 0 .../expand/0109-in.jsonld | 0 .../expand/0109-out.jsonld | 0 .../expand/0110-in.jsonld | 0 .../expand/0110-out.jsonld | 0 .../expand/0111-in.jsonld | 0 .../expand/0111-out.jsonld | 0 .../expand/0112-in.jsonld | 0 .../expand/0112-out.jsonld | 0 .../expand/0113-in.jsonld | 0 .../expand/0113-out.jsonld | 0 .../expand/c001-in.jsonld | 0 .../expand/c001-out.jsonld | 0 .../expand/c002-in.jsonld | 0 .../expand/c002-out.jsonld | 0 .../expand/c003-in.jsonld | 0 .../expand/c003-out.jsonld | 0 .../expand/c004-in.jsonld | 0 .../expand/c004-out.jsonld | 0 .../expand/c005-in.jsonld | 0 .../expand/c005-out.jsonld | 0 .../expand/c006-in.jsonld | 0 .../expand/c006-out.jsonld | 0 .../expand/c007-in.jsonld | 0 .../expand/c007-out.jsonld | 0 .../expand/c008-in.jsonld | 0 .../expand/c008-out.jsonld | 0 .../expand/c009-in.jsonld | 0 .../expand/c009-out.jsonld | 0 .../expand/c010-in.jsonld | 0 .../expand/c010-out.jsonld | 0 .../expand/c011-in.jsonld | 0 .../expand/c011-out.jsonld | 0 .../expand/c012-in.jsonld | 0 .../expand/c012-out.jsonld | 0 .../expand/c013-in.jsonld | 0 .../expand/c013-out.jsonld | 0 .../expand/c014-in.jsonld | 0 .../expand/c014-out.jsonld | 0 .../expand/c015-in.jsonld | 0 .../expand/c015-out.jsonld | 0 .../expand/c016-in.jsonld | 0 .../expand/c016-out.jsonld | 0 .../expand/c017-in.jsonld | 0 .../expand/c017-out.jsonld | 0 .../expand/c018-in.jsonld | 0 .../expand/c018-out.jsonld | 0 .../expand/c019-in.jsonld | 0 .../expand/c019-out.jsonld | 0 .../expand/c020-in.jsonld | 0 .../expand/c020-out.jsonld | 0 .../expand/c021-in.jsonld | 0 .../expand/c021-out.jsonld | 0 .../expand/c022-in.jsonld | 0 .../expand/c022-out.jsonld | 0 .../expand/c023-in.jsonld | 0 .../expand/c023-out.jsonld | 0 .../expand/c024-in.jsonld | 0 .../expand/c024-out.jsonld | 0 .../expand/c025-in.jsonld | 0 .../expand/c025-out.jsonld | 0 .../json-ld-api-tests/expand/e001-in.jsonld | 6 + .../expand/e002-in.jsonld | 0 .../expand/e003-in.jsonld | 0 .../json-ld-api-tests/expand/e004-in.jsonld | 4 + .../expand/e005-in.jsonld | 0 .../json-ld-api-tests/expand/e006-in.jsonld | 4 + .../json-ld-api-tests/expand/e007-in.jsonld | 4 + .../json-ld-api-tests/expand/e008-in.jsonld | 4 + .../json-ld-api-tests/expand/e009-in.jsonld | 4 + .../json-ld-api-tests/expand/e010-in.jsonld | 6 + .../json-ld-api-tests/expand/e011-in.jsonld | 6 + .../json-ld-api-tests/expand/e012-in.jsonld | 6 + .../json-ld-api-tests/expand/e013-in.jsonld | 6 + .../json-ld-api-tests/expand/e014-in.jsonld | 6 + .../json-ld-api-tests/expand/e015-in.jsonld | 6 + .../json-ld-api-tests/expand/e016-in.jsonld | 6 + .../json-ld-api-tests/expand/e017-in.jsonld | 6 + .../json-ld-api-tests/expand/e018-in.jsonld | 6 + .../json-ld-api-tests/expand/e019-in.jsonld | 6 + .../json-ld-api-tests/expand/e020-in.jsonld | 6 + .../json-ld-api-tests/expand/e021-in.jsonld | 6 + .../json-ld-api-tests/expand/e022-in.jsonld | 6 + .../json-ld-api-tests/expand/e023-in.jsonld | 6 + .../expand/e024-in.jsonld} | 0 .../json-ld-api-tests/expand/e025-in.jsonld | 6 + .../json-ld-api-tests/expand/e026-in.jsonld | 8 + .../json-ld-api-tests/expand/e027-in.jsonld | 3 + .../json-ld-api-tests/expand/e028-in.jsonld | 3 + .../json-ld-api-tests/expand/e029-in.jsonld | 3 + .../json-ld-api-tests/expand/e030-in.jsonld | 3 + .../json-ld-api-tests/expand/e031-in.jsonld | 7 + .../expand/e032-in.jsonld} | 0 .../json-ld-api-tests/expand/e033-in.jsonld | 5 + .../json-ld-api-tests/expand/e034-in.jsonld | 10 + .../json-ld-api-tests/expand/e035-in.jsonld | 13 + .../json-ld-api-tests/expand/e036-in.jsonld | 7 + .../json-ld-api-tests/expand/e037-in.jsonld | 3 + .../json-ld-api-tests/expand/e038-in.jsonld | 3 + .../json-ld-api-tests/expand/e039-in.jsonld | 3 + .../json-ld-api-tests/expand/e040-in.jsonld | 3 + .../json-ld-api-tests/expand/e041-in.jsonld | 3 + .../json-ld-api-tests/expand/e042-in.jsonld | 6 + .../json-ld-api-tests/expand/e043-in.jsonld | 20 + .../expand/e044-in.jsonld | 0 .../json-ld-api-tests/expand/e045-in.jsonld | 15 + .../expand/ec01-in.jsonld | 0 .../expand/em01-in.jsonld | 0 .../expand/en01-in.jsonld | 0 .../expand/en02-in.jsonld | 0 .../expand/en03-in.jsonld | 0 .../expand/en04-in.jsonld | 0 .../expand/en05-in.jsonld | 0 .../expand/en06-in.jsonld | 0 .../expand/ep01-in.jsonld | 0 .../expand/ep02-in.jsonld | 0 .../expand/ep03-in.jsonld | 0 .../expand/es01-in.jsonld | 0 .../expand/es02-in.jsonld | 0 .../expand/h001-in.html | 0 .../expand/h001-out.jsonld | 0 .../expand/h002-in.html | 0 .../expand/h002-out.jsonld | 0 .../expand/h003-in.html | 0 .../expand/h003-out.jsonld | 0 .../expand/h004-in.html | 0 .../expand/h004-out.jsonld | 0 .../expand/h005-in.html | 0 .../expand/h005-out.jsonld | 0 .../expand/h006-in.html | 0 .../expand/h006-out.jsonld | 0 .../expand/h007-in.html | 0 .../expand/h007-out.jsonld | 0 .../expand/h008-in.html | 0 .../expand/h008-out.jsonld | 0 .../expand/h009-in.html | 0 .../expand/h009-out.jsonld | 0 .../expand/h010-in.html | 0 .../expand/h010-out.jsonld | 0 .../expand/h011-in.html | 0 .../expand/h012-in.html | 0 .../expand/h013-in.html | 0 .../expand/h014-in.html | 0 .../expand/h015-in.html | 0 .../expand/h016-in.html | 0 .../expand/h017-in.html | 0 .../expand/h018-in.html | 0 .../expand/h018-out.jsonld | 0 .../expand/h019-in.html | 0 .../expand/h019-out.jsonld | 0 .../expand/h020-in.html | 0 .../expand/h020-out.jsonld | 0 .../expand/h021-in.html | 0 .../expand/h021-out.jsonld | 0 .../expand/h022-in.html | 0 .../expand/h022-out.jsonld | 0 .../expand/hc01-context.html | 0 .../expand/hc01-in.jsonld | 0 .../expand/hc01-out.jsonld} | 0 .../expand/hc02-context.html | 0 .../expand/hc02-in.jsonld | 0 .../json-ld-api-tests/expand/hc02-out.jsonld | 9 + .../expand/hc03-context.html | 0 .../expand/hc03-in.jsonld | 0 .../json-ld-api-tests/expand/hc03-out.jsonld | 9 + .../expand/hc04-context.html | 0 .../json-ld-api-tests/expand/hc04-in.jsonld | 9 + .../json-ld-api-tests/expand/hc04-out.jsonld | 9 + .../expand/hc05-context.html | 0 .../expand/hc05-in.jsonld | 0 .../expand/js01-in.jsonld | 0 .../expand/js01-out.jsonld | 0 .../expand/js02-in.jsonld | 0 .../expand/js02-out.jsonld | 0 .../expand/js03-in.jsonld | 0 .../expand/js03-out.jsonld | 0 .../expand/js04-in.jsonld | 0 .../expand/js04-out.jsonld | 0 .../expand/js05-in.jsonld | 0 .../expand/js05-out.jsonld | 0 .../expand/js06-in.jsonld | 0 .../expand/js06-out.jsonld | 0 .../expand/js07-in.jsonld | 0 .../expand/js07-out.jsonld | 0 .../expand/js08-in.jsonld | 0 .../expand/js08-out.jsonld | 0 .../expand/js09-in.jsonld | 0 .../expand/js09-out.jsonld | 0 .../expand/js10-in.jsonld | 0 .../expand/js10-out.jsonld | 0 .../expand/l001-in.jsonld | 0 .../expand/l001-out.jsonld | 0 .../json-ld-api-tests/expand/li01-in.jsonld | 3 + .../expand/li01-out.jsonld | 0 .../expand/li02-in.jsonld | 0 .../expand/li02-out.jsonld | 0 .../json-ld-api-tests/expand/li03-in.jsonld | 4 + .../expand/li03-out.jsonld | 0 .../expand/li04-in.jsonld | 0 .../expand/li04-out.jsonld | 0 .../expand/li05-in.jsonld | 0 .../expand/li05-out.jsonld | 0 .../expand/li06-in.jsonld | 0 .../expand/li06-out.jsonld | 0 .../expand/li07-in.jsonld | 0 .../expand/li07-out.jsonld | 0 .../expand/li08-in.jsonld | 0 .../expand/li08-out.jsonld | 0 .../expand/li09-in.jsonld | 0 .../expand/li09-out.jsonld | 0 .../expand/li10-in.jsonld | 0 .../expand/li10-out.jsonld | 0 .../expand/m001-in.jsonld | 0 .../expand/m001-out.jsonld | 0 .../expand/m002-in.jsonld | 0 .../expand/m002-out.jsonld | 0 .../expand/m003-in.jsonld | 0 .../expand/m003-out.jsonld | 0 .../expand/m004-in.jsonld | 0 .../expand/m004-out.jsonld | 0 .../expand/m005-in.jsonld | 0 .../expand/m005-out.jsonld | 0 .../expand/m006-in.jsonld | 0 .../expand/m006-out.jsonld | 0 .../expand/m007-in.jsonld | 0 .../expand/m007-out.jsonld | 0 .../expand/m008-in.jsonld | 0 .../expand/m008-out.jsonld | 0 .../expand/m009-in.jsonld | 0 .../expand/m009-out.jsonld | 0 .../expand/m010-in.jsonld | 0 .../expand/m010-out.jsonld | 0 .../expand/m011-in.jsonld | 0 .../expand/m011-out.jsonld | 0 .../expand/m012-in.jsonld | 0 .../expand/m012-out.jsonld | 0 .../expand/m013-in.jsonld | 0 .../expand/m013-out.jsonld | 0 .../expand/m014-in.jsonld | 0 .../expand/m014-out.jsonld | 0 .../expand/m015-in.jsonld | 0 .../expand/m015-out.jsonld | 0 .../expand/m016-in.jsonld | 0 .../expand/m016-out.jsonld | 0 .../expand/n001-in.jsonld | 0 .../expand/n001-out.jsonld | 0 .../expand/n002-in.jsonld | 0 .../expand/n002-out.jsonld | 0 .../expand/n003-in.jsonld | 0 .../expand/n003-out.jsonld | 0 .../expand/n004-in.jsonld | 0 .../expand/n004-out.jsonld | 0 .../expand/n005-in.jsonld | 0 .../expand/n005-out.jsonld | 0 .../expand/n006-in.jsonld | 0 .../expand/n006-out.jsonld | 0 .../expand/n007-in.jsonld | 0 .../expand/n007-out.jsonld | 0 .../expand/p001-in.jsonld | 0 .../expand/p001-out.jsonld | 0 .../expand/p002-in.jsonld | 0 .../expand/p002-out.jsonld | 0 .../expand/p003-in.jsonld | 0 .../expand/p003-out.jsonld | 0 .../expand/p004-in.jsonld | 0 .../expand/p004-out.jsonld | 0 .../expand/pi01-in.jsonld | 0 .../expand/pi02-in.jsonld | 0 .../expand/pi03-in.jsonld | 0 .../expand/pi04-in.jsonld | 0 .../expand/pi05-in.jsonld | 0 .../expand/pi06-in.jsonld | 0 .../expand/pi06-out.jsonld | 0 .../expand/pi07-in.jsonld | 0 .../expand/pi07-out.jsonld | 0 .../expand/pi08-in.jsonld | 0 .../expand/pi08-out.jsonld | 0 .../expand/pi09-in.jsonld | 0 .../expand/pi09-out.jsonld | 0 .../expand/pi10-in.jsonld | 0 .../expand/pi10-out.jsonld | 0 .../expand/pi11-in.jsonld | 0 .../expand/pi11-out.jsonld | 0 .../expand/pr01-in.jsonld | 0 .../expand/pr02-in.jsonld | 0 .../expand/pr02-out.jsonld | 0 .../expand/pr03-in.jsonld | 0 .../expand/pr04-in.jsonld | 0 .../expand/pr05-in.jsonld | 0 .../expand/pr06-in.jsonld | 0 .../expand/pr06-out.jsonld | 0 .../expand/pr08-in.jsonld | 0 .../expand/pr09-in.jsonld | 0 .../expand/pr10-in.jsonld | 0 .../expand/pr10-out.jsonld | 0 .../expand/pr11-in.jsonld | 0 .../expand/pr12-in.jsonld | 0 .../expand/pr13-in.jsonld | 0 .../expand/pr13-out.jsonld | 0 .../expand/pr14-in.jsonld | 0 .../expand/pr14-out.jsonld | 0 .../expand/pr15-in.jsonld | 0 .../expand/pr15-out.jsonld | 0 .../expand/pr16-in.jsonld | 0 .../expand/pr16-out.jsonld | 0 .../expand/pr17-in.jsonld | 0 .../expand/pr18-in.jsonld | 0 .../expand/pr19-in.jsonld | 0 .../expand/pr19-out.jsonld | 0 .../expand/pr20-in.jsonld | 0 .../expand/pr21-in.jsonld | 0 .../expand/pr22-in.jsonld | 0 .../expand/pr22-out.jsonld | 0 .../expand/pr23-in.jsonld | 0 .../expand/pr23-out.jsonld | 0 .../expand/pr24-in.jsonld | 0 .../expand/pr24-out.jsonld | 0 .../expand/pr25-in.jsonld | 0 .../expand/pr25-out.jsonld | 0 .../expand/pr26-in.jsonld | 0 .../expand/pr27-in.jsonld | 0 .../expand/pr27-out.jsonld | 0 .../expand/pr28-in.jsonld | 0 .../expand/pr29-in.jsonld | 0 .../expand/pr29-out.jsonld | 0 .../expand/tn01-in.jsonld | 0 .../expand/tn02-in.jsonld | 0 .../expand/tn02-out.jsonld | 0 .../flatten-manifest.jsonld | 0 .../json-ld-api-tests/flatten/0001-in.jsonld | 1 + .../json-ld-api-tests/flatten/0001-out.jsonld | 1 + .../json-ld-api-tests/flatten/0002-in.jsonld | 18 + .../json-ld-api-tests/flatten/0002-out.jsonld | 38 + .../json-ld-api-tests/flatten/0003-in.jsonld | 12 + .../json-ld-api-tests/flatten/0003-out.jsonld | 1 + .../flatten/0004-in.jsonld | 0 .../flatten/0004-out.jsonld | 0 .../json-ld-api-tests/flatten/0005-in.jsonld | 23 + .../flatten/0005-out.jsonld | 0 .../json-ld-api-tests/flatten/0006-in.jsonld | 20 + .../json-ld-api-tests/flatten/0006-out.jsonld | 28 + .../json-ld-api-tests/flatten/0007-in.jsonld | 18 + .../json-ld-api-tests/flatten/0007-out.jsonld | 24 + .../json-ld-api-tests/flatten/0008-in.jsonld | 9 + .../json-ld-api-tests/flatten/0008-out.jsonld | 16 + .../json-ld-api-tests/flatten/0009-in.jsonld | 43 + .../json-ld-api-tests/flatten/0009-out.jsonld | 62 ++ .../json-ld-api-tests/flatten/0010-in.jsonld | 11 + .../json-ld-api-tests/flatten/0010-out.jsonld | 15 + .../flatten/0011-in.jsonld | 0 .../json-ld-api-tests/flatten/0011-out.jsonld | 15 + .../flatten/0012-in.jsonld | 0 .../json-ld-api-tests/flatten/0012-out.jsonld | 62 ++ .../json-ld-api-tests/flatten/0013-in.jsonld | 9 + .../json-ld-api-tests/flatten/0013-out.jsonld | 38 + .../json-ld-api-tests/flatten/0014-in.jsonld | 50 ++ .../json-ld-api-tests/flatten/0014-out.jsonld | 45 + .../json-ld-api-tests/flatten/0015-in.jsonld | 14 + .../json-ld-api-tests/flatten/0015-out.jsonld | 35 + .../json-ld-api-tests/flatten/0016-in.jsonld | 30 + .../json-ld-api-tests/flatten/0016-out.jsonld | 48 ++ .../json-ld-api-tests/flatten/0017-in.jsonld | 45 + .../json-ld-api-tests/flatten/0017-out.jsonld | 62 ++ .../json-ld-api-tests/flatten/0018-in.jsonld | 24 + .../json-ld-api-tests/flatten/0018-out.jsonld | 40 + .../json-ld-api-tests/flatten/0019-in.jsonld | 6 + .../json-ld-api-tests/flatten/0019-out.jsonld | 1 + .../json-ld-api-tests/flatten/0020-in.jsonld | 51 ++ .../json-ld-api-tests/flatten/0020-out.jsonld | 80 ++ .../json-ld-api-tests/flatten/0021-in.jsonld | 56 ++ .../json-ld-api-tests/flatten/0021-out.jsonld | 98 +++ .../json-ld-api-tests/flatten/0022-in.jsonld | 7 + .../json-ld-api-tests/flatten/0022-out.jsonld | 11 + .../json-ld-api-tests/flatten/0023-in.jsonld | 21 + .../json-ld-api-tests/flatten/0023-out.jsonld | 65 ++ .../json-ld-api-tests/flatten/0024-in.jsonld | 14 + .../json-ld-api-tests/flatten/0024-out.jsonld | 25 + .../flatten/0025-in.jsonld | 0 .../flatten/0025-out.jsonld | 0 .../json-ld-api-tests/flatten/0026-in.jsonld | 20 + .../json-ld-api-tests/flatten/0026-out.jsonld | 21 + .../json-ld-api-tests/flatten/0027-in.jsonld | 9 + .../json-ld-api-tests/flatten/0027-out.jsonld | 34 + .../json-ld-api-tests/flatten/0028-in.jsonld | 13 + .../flatten/0028-out.jsonld | 0 .../json-ld-api-tests/flatten/0030-in.jsonld | 14 + .../json-ld-api-tests/flatten/0030-out.jsonld | 19 + .../json-ld-api-tests/flatten/0031-in.jsonld | 13 + .../json-ld-api-tests/flatten/0031-out.jsonld | 23 + .../json-ld-api-tests/flatten/0032-in.jsonld | 11 + .../json-ld-api-tests/flatten/0032-out.jsonld | 10 + .../json-ld-api-tests/flatten/0033-in.jsonld | 14 + .../json-ld-api-tests/flatten/0033-out.jsonld | 21 + .../json-ld-api-tests/flatten/0034-in.jsonld | 16 + .../json-ld-api-tests/flatten/0034-out.jsonld | 22 + .../json-ld-api-tests/flatten/0035-in.jsonld | 18 + .../json-ld-api-tests/flatten/0035-out.jsonld | 27 + .../json-ld-api-tests/flatten/0036-in.jsonld | 90 ++ .../json-ld-api-tests/flatten/0036-out.jsonld | 128 +++ .../json-ld-api-tests/flatten/0037-in.jsonld | 16 + .../json-ld-api-tests/flatten/0037-out.jsonld | 14 + .../json-ld-api-tests/flatten/0038-in.jsonld | 38 + .../flatten/0038-out.jsonld | 0 .../json-ld-api-tests/flatten/0039-in.jsonld | 16 + .../json-ld-api-tests/flatten/0039-out.jsonld | 16 + .../json-ld-api-tests/flatten/0040-in.jsonld | 23 + .../flatten/0040-out.jsonld | 0 .../json-ld-api-tests/flatten/0041-in.jsonld | 24 + .../json-ld-api-tests/flatten/0041-out.jsonld | 10 + .../json-ld-api-tests/flatten/0042-in.jsonld | 10 + .../flatten/0042-out.jsonld | 0 .../flatten/0043-in.jsonld | 0 .../flatten/0043-out.jsonld | 0 .../flatten/0044-context.jsonld | 5 + .../json-ld-api-tests/flatten/0044-in.jsonld | 4 + .../json-ld-api-tests/flatten/0044-out.jsonld | 9 + .../json-ld-api-tests/flatten/0045-in.jsonld | 8 + .../json-ld-api-tests/flatten/0045-out.jsonld | 14 + .../flatten/0046-in.jsonld | 0 .../flatten/0046-out.jsonld | 0 .../flatten/0047-in.jsonld | 0 .../flatten/0047-out.jsonld | 0 .../flatten/0048-in.jsonld | 0 .../flatten/0048-out.jsonld | 0 .../flatten/0049-in.jsonld | 0 .../flatten/0049-out.jsonld | 0 .../json-ld-api-tests/flatten/e001-in.jsonld | 10 + .../flatten/h001-context.jsonld | 0 .../flatten/h001-in.html | 0 .../flatten/h001-out.jsonld | 0 .../flatten/h002-context.jsonld | 0 .../flatten/h002-in.html | 0 .../flatten/h002-out.jsonld | 0 .../flatten/h003-context.jsonld | 0 .../flatten/h003-in.html | 0 .../flatten/h003-out.jsonld | 0 .../flatten/h004-context.jsonld | 0 .../flatten/h004-in.html | 0 .../flatten/h004-out.jsonld | 0 .../flatten/li01-in.jsonld | 0 .../flatten/li01-out.jsonld | 0 .../flatten/li02-in.jsonld | 0 .../flatten/li02-out.jsonld | 0 .../flatten/li03-in.jsonld | 0 .../flatten/li03-out.jsonld | 0 .../fromRdf-manifest.jsonld | 0 .../json-ld-api-tests/fromRdf/0001-in.nq | 5 + .../json-ld-api-tests/fromRdf/0001-out.jsonld | 12 + .../json-ld-api-tests/fromRdf/0002-in.nq | 5 + .../json-ld-api-tests/fromRdf/0002-out.jsonld | 27 + .../json-ld-api-tests/fromRdf/0003-in.nq | 6 + .../json-ld-api-tests/fromRdf/0003-out.jsonld | 19 + .../json-ld-api-tests/fromRdf/0004-in.nq | 10 + .../json-ld-api-tests/fromRdf/0004-out.jsonld | 18 + .../json-ld-api-tests/fromRdf/0005-in.nq | 9 + .../json-ld-api-tests/fromRdf/0005-out.jsonld | 20 + .../json-ld-api-tests/fromRdf/0006-in.nq | 14 + .../json-ld-api-tests/fromRdf/0006-out.jsonld | 34 + .../json-ld-api-tests/fromRdf/0007-in.nq | 5 + .../json-ld-api-tests/fromRdf/0007-out.jsonld | 27 + .../fromRdf/0008-in.nq} | 0 .../json-ld-api-tests/fromRdf/0008-out.jsonld | 50 ++ .../json-ld-api-tests/fromRdf/0009-in.nq | 7 + .../json-ld-api-tests/fromRdf/0009-out.jsonld | 18 + .../json-ld-api-tests/fromRdf/0010-in.nq | 6 + .../json-ld-api-tests/fromRdf/0010-out.jsonld | 20 + .../json-ld-api-tests/fromRdf/0011-in.nq | 8 + .../json-ld-api-tests/fromRdf/0011-out.jsonld | 25 + .../json-ld-api-tests/fromRdf/0012-in.nq | 7 + .../json-ld-api-tests/fromRdf/0012-out.jsonld | 21 + .../json-ld-api-tests/fromRdf/0013-in.nq | 8 + .../json-ld-api-tests/fromRdf/0013-out.jsonld | 27 + .../json-ld-api-tests/fromRdf/0014-in.nq | 10 + .../json-ld-api-tests/fromRdf/0014-out.jsonld | 19 + .../json-ld-api-tests/fromRdf/0015-in.nq | 3 + .../json-ld-api-tests/fromRdf/0015-out.jsonld | 11 + .../json-ld-api-tests/fromRdf/0016-in.nq | 11 + .../json-ld-api-tests/fromRdf/0016-out.jsonld | 20 + .../json-ld-api-tests/fromRdf/0017-in.nq | 9 + .../json-ld-api-tests/fromRdf/0017-out.jsonld | 14 + .../json-ld-api-tests/fromRdf/0018-in.nq | 5 + .../json-ld-api-tests/fromRdf/0018-out.jsonld | 12 + .../json-ld-api-tests/fromRdf/0019-in.nq | 5 + .../json-ld-api-tests/fromRdf/0019-out.jsonld | 14 + .../fromRdf/0020-in.nq | 0 .../fromRdf/0020-out.jsonld | 0 .../fromRdf/0021-in.nq | 0 .../fromRdf/0021-out.jsonld | 0 .../fromRdf/0022-in.nq | 0 .../fromRdf/0022-out.jsonld | 0 .../fromRdf/0023-in.nq | 0 .../fromRdf/0023-out.jsonld | 0 .../fromRdf/0024-in.nq | 0 .../fromRdf/0024-out.jsonld | 0 .../fromRdf/0025-in.nq | 0 .../fromRdf/0025-out.jsonld | 0 .../fromRdf/0026-in.nq | 0 .../fromRdf/0026-out.jsonld | 0 .../fromRdf/js01-in.nq | 0 .../fromRdf/js01-out.jsonld | 0 .../fromRdf/js02-in.nq | 0 .../fromRdf/js02-out.jsonld | 0 .../fromRdf/js03-in.nq | 0 .../fromRdf/js03-out.jsonld | 0 .../fromRdf/js04-in.nq | 0 .../fromRdf/js04-out.jsonld | 0 .../fromRdf/js05-in.nq | 0 .../fromRdf/js05-out.jsonld | 0 .../fromRdf/js06-in.nq | 0 .../fromRdf/js06-out.jsonld | 0 .../fromRdf/js07-in.nq | 0 .../fromRdf/js07-out.jsonld | 0 .../fromRdf/li01-in.nq | 0 .../fromRdf/li01-out.jsonld | 0 .../fromRdf/li02-in.nq | 0 .../fromRdf/li02-out.jsonld | 0 .../json-ld-api-tests/fromRdf/li03-in.nq | 28 + .../fromRdf/li03-out.jsonld | 0 .../manifest.jsonld | 0 .../mk_vocab.rb | 0 .../remote-doc-manifest.jsonld | 0 .../remote-doc/.htaccess | 0 .../remote-doc/0001-in.jsonld | 7 + .../remote-doc/0001-out.jsonld | 0 .../json-ld-api-tests/remote-doc/0002-in.json | 7 + .../remote-doc/0002-out.jsonld | 0 .../json-ld-api-tests/remote-doc/0003-in.jldt | 7 + .../remote-doc/0003-out.jsonld | 0 .../remote-doc/0004-in.jldte} | 0 .../remote-doc/0009-context.jsonld | 5 + .../remote-doc/0009-in.jsonld | 5 + .../remote-doc/0009-out.jsonld | 0 .../remote-doc/0010-context.jsonld | 5 + .../remote-doc/0010-in.json} | 0 .../remote-doc/0010-out.jsonld | 0 .../remote-doc/0011-context.jsonld | 5 + .../json-ld-api-tests/remote-doc/0011-in.jldt | 4 + .../remote-doc/0011-out.jsonld | 0 .../remote-doc/0012-context1.jsonld | 5 + .../remote-doc/0012-context2.jsonld | 5 + .../json-ld-api-tests/remote-doc/0012-in.json | 4 + .../remote-doc/0013-context.html | 0 .../json-ld-api-tests/remote-doc/0013-in.json | 4 + .../remote-doc/0013-out.jsonld | 0 .../toRdf-0120-in.jsonld} | 0 .../toRdf-0120-out.nq} | 0 .../toRdf-0121-in.jsonld} | 0 .../toRdf-0121-out.nq} | 0 .../toRdf-0122-in.jsonld} | 0 .../toRdf-0122-out.nq} | 0 .../toRdf-0123-in.jsonld} | 0 .../toRdf-0123-out.nq} | 0 .../toRdf-0124-in.jsonld} | 0 .../toRdf-0124-out.nq} | 0 .../toRdf-0125-in.jsonld} | 0 .../toRdf-0125-out.nq} | 0 .../toRdf-0127-in.jsonld} | 0 .../toRdf-0127-out.nq} | 0 .../toRdf-0129-in.jsonld} | 0 .../toRdf-0129-out.nq} | 0 .../toRdf-0130-in.jsonld} | 0 .../toRdf-0130-out.nq} | 0 .../toRdf-0131-in.jsonld} | 0 .../toRdf-0131-out.nq} | 0 .../toRdf-0132-in.jsonld} | 0 .../toRdf-0132-out.nq} | 0 .../toRdf-manifest.jsonld | 0 .../json-ld-api-tests/toRdf/0001-in.jsonld | 4 + .../json-ld-api-tests/toRdf/0001-out.nq | 1 + .../json-ld-api-tests/toRdf/0002-in.jsonld | 5 + .../json-ld-api-tests/toRdf/0002-out.nq | 1 + .../json-ld-api-tests/toRdf/0003-in.jsonld | 4 + .../json-ld-api-tests/toRdf/0003-out.nq | 1 + .../json-ld-api-tests/toRdf/0004-in.jsonld | 6 + .../json-ld-api-tests/toRdf/0004-out.nq | 1 + .../json-ld-api-tests/toRdf/0005-in.jsonld | 6 + .../json-ld-api-tests/toRdf/0005-out.nq | 2 + .../json-ld-api-tests/toRdf/0006-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0006-out.nq | 1 + .../json-ld-api-tests/toRdf/0007-in.jsonld | 4 + .../json-ld-api-tests/toRdf/0007-out.nq | 1 + .../json-ld-api-tests/toRdf/0008-in.jsonld | 4 + .../json-ld-api-tests/toRdf/0008-out.nq | 1 + .../json-ld-api-tests/toRdf/0009-in.jsonld | 4 + .../json-ld-api-tests/toRdf/0009-out.nq | 1 + .../json-ld-api-tests/toRdf/0010-in.jsonld | 8 + .../json-ld-api-tests/toRdf/0010-out.nq | 2 + .../json-ld-api-tests/toRdf/0011-in.jsonld | 9 + .../json-ld-api-tests/toRdf/0011-out.nq | 2 + .../json-ld-api-tests/toRdf/0012-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0012-out.nq | 2 + .../json-ld-api-tests/toRdf/0013-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0013-out.nq | 1 + .../json-ld-api-tests/toRdf/0014-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0014-out.nq | 3 + .../json-ld-api-tests/toRdf/0015-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0015-out.nq | 5 + .../json-ld-api-tests/toRdf/0016-in.jsonld | 4 + .../toRdf/0016-out.nq | 0 .../json-ld-api-tests/toRdf/0017-in.jsonld | 4 + .../toRdf/0017-out.nq | 0 .../json-ld-api-tests/toRdf/0018-in.jsonld | 4 + .../toRdf/0018-out.nq | 0 .../json-ld-api-tests/toRdf/0019-in.jsonld | 8 + .../json-ld-api-tests/toRdf/0019-out.nq | 1 + .../json-ld-api-tests/toRdf/0020-in.jsonld | 8 + .../json-ld-api-tests/toRdf/0020-out.nq | 1 + .../json-ld-api-tests/toRdf/0022-in.jsonld | 4 + .../json-ld-api-tests/toRdf/0022-out.nq | 1 + .../json-ld-api-tests/toRdf/0023-in.jsonld | 4 + .../json-ld-api-tests/toRdf/0023-out.nq | 1 + .../json-ld-api-tests/toRdf/0024-in.jsonld | 4 + .../json-ld-api-tests/toRdf/0024-out.nq | 1 + .../json-ld-api-tests/toRdf/0025-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0025-out.nq | 3 + .../json-ld-api-tests/toRdf/0026-in.jsonld | 4 + .../json-ld-api-tests/toRdf/0026-out.nq | 2 + .../json-ld-api-tests/toRdf/0027-in.jsonld | 30 + .../json-ld-api-tests/toRdf/0027-out.nq | 8 + .../toRdf/0028-in.jsonld | 0 .../json-ld-api-tests/toRdf/0028-out.nq | 6 + .../json-ld-api-tests/toRdf/0029-in.jsonld | 18 + .../json-ld-api-tests/toRdf/0029-out.nq | 4 + .../json-ld-api-tests/toRdf/0030-in.jsonld | 28 + .../json-ld-api-tests/toRdf/0030-out.nq | 7 + .../json-ld-api-tests/toRdf/0031-in.jsonld | 15 + .../json-ld-api-tests/toRdf/0031-out.nq | 3 + .../json-ld-api-tests/toRdf/0032-in.jsonld | 16 + .../json-ld-api-tests/toRdf/0032-out.nq | 3 + .../json-ld-api-tests/toRdf/0033-in.jsonld | 19 + .../json-ld-api-tests/toRdf/0033-out.nq | 3 + .../json-ld-api-tests/toRdf/0034-in.jsonld | 16 + .../json-ld-api-tests/toRdf/0034-out.nq | 3 + .../json-ld-api-tests/toRdf/0035-in.jsonld | 14 + .../json-ld-api-tests/toRdf/0035-out.nq | 4 + .../json-ld-api-tests/toRdf/0036-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0036-out.nq | 6 + .../json-ld-api-tests/toRdf/0041-in.jsonld | 1 + .../toRdf/0041-out.nq} | 0 .../json-ld-api-tests/toRdf/0042-in.jsonld | 18 + .../json-ld-api-tests/toRdf/0042-out.nq | 7 + .../json-ld-api-tests/toRdf/0043-in.jsonld | 12 + .../toRdf/0043-out.nq} | 0 .../toRdf/0044-in.jsonld | 0 .../json-ld-api-tests/toRdf/0044-out.nq | 11 + .../json-ld-api-tests/toRdf/0045-in.jsonld | 23 + .../toRdf/0045-out.nq | 0 .../json-ld-api-tests/toRdf/0046-in.jsonld | 20 + .../json-ld-api-tests/toRdf/0046-out.nq | 4 + .../json-ld-api-tests/toRdf/0047-in.jsonld | 18 + .../json-ld-api-tests/toRdf/0047-out.nq | 3 + .../json-ld-api-tests/toRdf/0048-in.jsonld | 9 + .../json-ld-api-tests/toRdf/0048-out.nq | 2 + .../json-ld-api-tests/toRdf/0049-in.jsonld | 43 + .../json-ld-api-tests/toRdf/0049-out.nq | 9 + .../json-ld-api-tests/toRdf/0050-in.jsonld | 11 + .../json-ld-api-tests/toRdf/0050-out.nq | 2 + .../toRdf/0051-in.jsonld | 0 .../json-ld-api-tests/toRdf/0051-out.nq | 2 + .../toRdf/0052-in.jsonld | 0 .../json-ld-api-tests/toRdf/0052-out.nq | 9 + .../json-ld-api-tests/toRdf/0053-in.jsonld | 9 + .../json-ld-api-tests/toRdf/0053-out.nq | 7 + .../json-ld-api-tests/toRdf/0054-in.jsonld | 50 ++ .../json-ld-api-tests/toRdf/0054-out.nq | 6 + .../json-ld-api-tests/toRdf/0055-in.jsonld | 14 + .../json-ld-api-tests/toRdf/0055-out.nq | 6 + .../json-ld-api-tests/toRdf/0056-in.jsonld | 30 + .../json-ld-api-tests/toRdf/0056-out.nq | 9 + .../json-ld-api-tests/toRdf/0057-in.jsonld | 45 + .../json-ld-api-tests/toRdf/0057-out.nq | 9 + .../json-ld-api-tests/toRdf/0058-in.jsonld | 24 + .../json-ld-api-tests/toRdf/0058-out.nq | 9 + .../json-ld-api-tests/toRdf/0059-in.jsonld | 6 + .../json-ld-api-tests/toRdf/0059-out.nq | 0 .../json-ld-api-tests/toRdf/0060-in.jsonld | 51 ++ .../json-ld-api-tests/toRdf/0060-out.nq | 11 + .../json-ld-api-tests/toRdf/0061-in.jsonld | 56 ++ .../json-ld-api-tests/toRdf/0061-out.nq | 13 + .../json-ld-api-tests/toRdf/0062-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0062-out.nq | 1 + .../json-ld-api-tests/toRdf/0063-in.jsonld | 21 + .../json-ld-api-tests/toRdf/0063-out.nq | 16 + .../json-ld-api-tests/toRdf/0064-in.jsonld | 14 + .../json-ld-api-tests/toRdf/0064-out.nq | 4 + .../toRdf/0065-in.jsonld | 0 .../toRdf/0065-out.nq | 0 .../json-ld-api-tests/toRdf/0066-in.jsonld | 20 + .../json-ld-api-tests/toRdf/0066-out.nq | 4 + .../json-ld-api-tests/toRdf/0067-in.jsonld | 9 + .../json-ld-api-tests/toRdf/0067-out.nq | 12 + .../json-ld-api-tests/toRdf/0068-in.jsonld | 13 + .../toRdf/0068-out.nq | 0 .../toRdf/0069-in.jsonld | 0 .../toRdf/0069-out.nq | 0 .../json-ld-api-tests/toRdf/0070-in.jsonld | 14 + .../json-ld-api-tests/toRdf/0070-out.nq | 3 + .../json-ld-api-tests/toRdf/0071-in.jsonld | 13 + .../json-ld-api-tests/toRdf/0071-out.nq | 3 + .../json-ld-api-tests/toRdf/0072-in.jsonld | 11 + .../json-ld-api-tests/toRdf/0072-out.nq | 1 + .../json-ld-api-tests/toRdf/0073-in.jsonld | 14 + .../json-ld-api-tests/toRdf/0073-out.nq | 3 + .../json-ld-api-tests/toRdf/0074-in.jsonld | 16 + .../json-ld-api-tests/toRdf/0074-out.nq | 5 + .../json-ld-api-tests/toRdf/0075-in.jsonld | 18 + .../json-ld-api-tests/toRdf/0075-out.nq | 5 + .../json-ld-api-tests/toRdf/0076-in.jsonld | 90 ++ .../json-ld-api-tests/toRdf/0076-out.nq | 25 + .../json-ld-api-tests/toRdf/0077-in.jsonld | 13 + .../json-ld-api-tests/toRdf/0077-out.nq | 3 + .../json-ld-api-tests/toRdf/0078-in.jsonld | 38 + .../json-ld-api-tests/toRdf/0078-out.nq | 1 + .../json-ld-api-tests/toRdf/0079-in.jsonld | 14 + .../json-ld-api-tests/toRdf/0079-out.nq | 3 + .../json-ld-api-tests/toRdf/0080-in.jsonld | 23 + .../toRdf/0080-out.nq | 0 .../json-ld-api-tests/toRdf/0081-in.jsonld | 14 + .../json-ld-api-tests/toRdf/0081-out.nq | 3 + .../json-ld-api-tests/toRdf/0082-in.jsonld | 12 + .../json-ld-api-tests/toRdf/0082-out.nq | 3 + .../json-ld-api-tests/toRdf/0083-in.jsonld | 20 + .../json-ld-api-tests/toRdf/0083-out.nq | 5 + .../json-ld-api-tests/toRdf/0084-in.jsonld | 16 + .../json-ld-api-tests/toRdf/0084-out.nq | 3 + .../json-ld-api-tests/toRdf/0085-in.jsonld | 3 + .../json-ld-api-tests/toRdf/0085-out.nq | 0 .../json-ld-api-tests/toRdf/0086-in.jsonld | 14 + .../json-ld-api-tests/toRdf/0086-out.nq | 0 .../json-ld-api-tests/toRdf/0087-in.jsonld | 28 + .../json-ld-api-tests/toRdf/0087-out.nq | 1 + .../toRdf/0088-in.jsonld | 0 .../toRdf/0088-out.nq | 0 .../json-ld-api-tests/toRdf/0089-in.jsonld | 12 + .../json-ld-api-tests/toRdf/0089-out.nq | 3 + .../json-ld-api-tests/toRdf/0090-in.jsonld | 8 + .../toRdf/0090-out.nq | 0 .../json-ld-api-tests/toRdf/0091-in.jsonld | 8 + .../toRdf/0091-out.nq | 0 .../json-ld-api-tests/toRdf/0092-in.jsonld | 8 + .../json-ld-api-tests/toRdf/0092-out.nq | 2 + .../json-ld-api-tests/toRdf/0093-in.jsonld | 6 + .../json-ld-api-tests/toRdf/0093-out.nq | 1 + .../json-ld-api-tests/toRdf/0094-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0094-out.nq | 1 + .../json-ld-api-tests/toRdf/0095-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0095-out.nq | 1 + .../json-ld-api-tests/toRdf/0096-in.jsonld | 13 + .../toRdf/0096-out.nq | 0 .../json-ld-api-tests/toRdf/0097-in.jsonld | 6 + .../toRdf/0097-out.nq | 0 .../json-ld-api-tests/toRdf/0098-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0098-out.nq | 1 + .../json-ld-api-tests/toRdf/0099-in.jsonld | 16 + .../toRdf/0099-out.nq | 0 .../json-ld-api-tests/toRdf/0100-in.jsonld | 30 + .../toRdf/0100-out.nq | 0 .../json-ld-api-tests/toRdf/0101-in.jsonld | 9 + .../json-ld-api-tests/toRdf/0101-out.nq | 4 + .../json-ld-api-tests/toRdf/0102-in.jsonld | 35 + .../json-ld-api-tests/toRdf/0102-out.nq | 38 + .../json-ld-api-tests/toRdf/0103-in.jsonld | 18 + .../json-ld-api-tests/toRdf/0103-out.nq | 5 + .../json-ld-api-tests/toRdf/0104-in.jsonld | 16 + .../json-ld-api-tests/toRdf/0104-out.nq | 5 + .../json-ld-api-tests/toRdf/0105-in.jsonld | 18 + .../json-ld-api-tests/toRdf/0105-out.nq | 3 + .../json-ld-api-tests/toRdf/0106-in.jsonld | 19 + .../toRdf/0106-out.nq | 0 .../json-ld-api-tests/toRdf/0107-in.jsonld | 8 + .../json-ld-api-tests/toRdf/0107-out.nq | 2 + .../json-ld-api-tests/toRdf/0108-in.jsonld | 8 + .../json-ld-api-tests/toRdf/0108-out.nq | 1 + .../json-ld-api-tests/toRdf/0109-in.jsonld | 9 + .../json-ld-api-tests/toRdf/0109-out.nq | 2 + .../json-ld-api-tests/toRdf/0110-in.jsonld | 9 + .../json-ld-api-tests/toRdf/0110-out.nq | 2 + .../json-ld-api-tests/toRdf/0111-in.jsonld | 15 + .../json-ld-api-tests/toRdf/0111-out.nq | 2 + .../json-ld-api-tests/toRdf/0112-in.jsonld | 13 + .../json-ld-api-tests/toRdf/0112-out.nq | 1 + .../json-ld-api-tests/toRdf/0113-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0113-out.nq | 1 + .../json-ld-api-tests/toRdf/0114-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0114-out.nq | 1 + .../json-ld-api-tests/toRdf/0115-in.jsonld | 20 + .../json-ld-api-tests/toRdf/0115-out.nq | 3 + .../json-ld-api-tests/toRdf/0116-in.jsonld | 8 + .../json-ld-api-tests/toRdf/0116-out.nq | 2 + .../json-ld-api-tests/toRdf/0117-in.jsonld | 7 + .../json-ld-api-tests/toRdf/0117-out.nq | 2 + .../json-ld-api-tests/toRdf/0118-in.jsonld | 38 + .../toRdf/0118-out.nq | 0 .../json-ld-api-tests/toRdf/0119-in.jsonld | 8 + .../json-ld-api-tests/toRdf/0119-out.nq | 3 + .../json-ld-api-tests/toRdf/0120-in.jsonld | 47 + .../json-ld-api-tests/toRdf/0120-out.nq | 42 + .../json-ld-api-tests/toRdf/0121-in.jsonld | 47 + .../json-ld-api-tests/toRdf/0121-out.nq | 42 + .../json-ld-api-tests/toRdf/0122-in.jsonld | 47 + .../json-ld-api-tests/toRdf/0122-out.nq | 42 + .../json-ld-api-tests/toRdf/0123-in.jsonld | 47 + .../json-ld-api-tests/toRdf/0123-out.nq | 42 + .../json-ld-api-tests/toRdf/0124-in.jsonld | 47 + .../json-ld-api-tests/toRdf/0124-out.nq | 42 + .../json-ld-api-tests/toRdf/0125-in.jsonld | 47 + .../json-ld-api-tests/toRdf/0125-out.nq | 42 + .../toRdf/0126-in.jsonld | 0 .../toRdf/0126-out.nq | 0 .../json-ld-api-tests/toRdf/0127-in.jsonld | 11 + .../json-ld-api-tests/toRdf/0127-out.nq | 6 + .../toRdf/0128-in.jsonld | 0 .../toRdf/0128-out.nq | 0 .../json-ld-api-tests/toRdf/0129-in.jsonld | 8 + .../json-ld-api-tests/toRdf/0129-out.nq | 3 + .../json-ld-api-tests/toRdf/0130-in.jsonld | 6 + .../json-ld-api-tests/toRdf/0130-out.nq | 1 + .../json-ld-api-tests/toRdf/0131-in.jsonld | 6 + .../json-ld-api-tests/toRdf/0131-out.nq | 1 + .../json-ld-api-tests/toRdf/0132-in.jsonld | 6 + .../json-ld-api-tests/toRdf/0132-out.nq | 1 + .../toRdf/h001-in.html | 0 .../toRdf/h001-out.nq | 0 .../toRdf/h002-in.html | 0 .../toRdf/h002-out.nq | 0 .../toRdf/h003-in.html | 0 .../toRdf/h003-out.nq | 0 .../toRdf/js01-in.jsonld | 0 .../toRdf/js01-out.nq | 0 .../toRdf/js02-in.jsonld | 0 .../toRdf/js02-out.nq | 0 .../toRdf/js03-in.jsonld | 0 .../toRdf/js03-out.nq | 0 .../toRdf/js04-in.jsonld | 0 .../toRdf/js04-out.nq | 0 .../toRdf/js05-in.jsonld | 0 .../toRdf/js05-out.nq | 0 .../toRdf/js06-in.jsonld | 0 .../toRdf/js06-out.nq | 0 .../toRdf/js07-in.jsonld | 0 .../toRdf/js07-out.nq | 0 .../toRdf/js08-in.jsonld | 0 .../toRdf/js08-out.nq | 0 .../toRdf/js09-in.jsonld | 0 .../toRdf/js09-out.nq | 0 .../toRdf/js10-in.jsonld | 0 .../toRdf/js10-out.nq | 0 .../toRdf/js11-in.jsonld | 0 .../toRdf/js11-out.nq | 0 .../toRdf/js12-in.jsonld | 0 .../toRdf/js12-out.nq | 0 .../toRdf/js13-in.jsonld | 0 .../toRdf/js13-out.nq | 0 .../toRdf/li01-in.jsonld | 0 .../toRdf/li01-out.nq | 0 .../toRdf/li02-in.jsonld | 0 .../toRdf/li02-out.nq | 0 .../toRdf/nt01-in.jsonld | 0 .../toRdf/nt02-in.jsonld | 0 .../toRdf/nt03-in.jsonld | 0 .../toRdf/nt04-in.jsonld | 0 .../toRdf/nt05-in.jsonld | 0 .../toRdf/nt06-in.jsonld | 0 .../toRdf/nt07-in.jsonld | 0 .../toRdf/nt08-in.jsonld | 0 .../toRdf/nt09-in.jsonld | 0 .../toRdf/nt10-in.jsonld | 0 .../toRdf/nt11-in.jsonld | 0 .../toRdf/nt12-in.jsonld | 0 .../toRdf/nt13-in.jsonld | 0 .../toRdf/nt14-in.jsonld | 0 .../toRdf/nt15-in.jsonld | 0 .../toRdf/nt16-in.jsonld | 0 .../toRdf/rt01-in.jsonld | 0 .../toRdf/rt01-out.nq | 0 .../toRdf/wf01-in.jsonld | 0 .../json-ld-api-tests/toRdf/wf01-out.nq | 0 .../toRdf/wf02-in.jsonld | 0 .../json-ld-api-tests/toRdf/wf02-out.nq | 0 .../toRdf/wf03-in.jsonld | 0 .../json-ld-api-tests/toRdf/wf03-out.nq | 0 .../toRdf/wf04-in.jsonld | 0 .../toRdf/wf04-out.nq | 0 .../toRdf/wf05-in.jsonld | 0 .../json-ld-api-tests/toRdf/wf05-out.nq | 0 .../toRdf/wf06-in.jsonld | 0 .../json-ld-api-tests/toRdf/wf06-out.nq | 0 .../toRdf/wf07-in.jsonld | 0 .../json-ld-api-tests/toRdf/wf07-out.nq | 0 .../vocab.html | 0 .../vocab.jsonld | 0 .../vocab.ttl | 0 .../vocab_context.jsonld | 0 .../vocab_template.haml | 0 2772 files changed, 18687 insertions(+), 30 deletions(-) rename core/src/test/resources/{json-ld.org/compact/0001-context.jsonld => json-ld-1.0-tests/compact-0001-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0001-in.jsonld => json-ld-1.0-tests/compact-0001-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0001-out.jsonld => json-ld-1.0-tests/compact-0001-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0002-context.jsonld => json-ld-1.0-tests/compact-0002-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0002-in.jsonld => json-ld-1.0-tests/compact-0002-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0002-out.jsonld => json-ld-1.0-tests/compact-0002-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0003-context.jsonld => json-ld-1.0-tests/compact-0003-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0003-in.jsonld => json-ld-1.0-tests/compact-0003-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0003-out.jsonld => json-ld-1.0-tests/compact-0003-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0004-context.jsonld => json-ld-1.0-tests/compact-0004-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0004-in.jsonld => json-ld-1.0-tests/compact-0004-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0004-out.jsonld => json-ld-1.0-tests/compact-0004-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0005-context.jsonld => json-ld-1.0-tests/compact-0005-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0005-in.jsonld => json-ld-1.0-tests/compact-0005-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0005-out.jsonld => json-ld-1.0-tests/compact-0005-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0006-context.jsonld => json-ld-1.0-tests/compact-0006-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0006-in.jsonld => json-ld-1.0-tests/compact-0006-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0006-out.jsonld => json-ld-1.0-tests/compact-0006-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0007-context.jsonld rename core/src/test/resources/{json-ld.org/compact/0007-in.jsonld => json-ld-1.0-tests/compact-0007-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0007-out.jsonld rename core/src/test/resources/{json-ld.org/compact/0008-context.jsonld => json-ld-1.0-tests/compact-0008-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0008-in.jsonld => json-ld-1.0-tests/compact-0008-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0008-out.jsonld => json-ld-1.0-tests/compact-0008-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0009-context.jsonld rename core/src/test/resources/{json-ld.org/compact/0009-in.jsonld => json-ld-1.0-tests/compact-0009-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0009-out.jsonld rename core/src/test/resources/{json-ld.org/compact/0010-context.jsonld => json-ld-1.0-tests/compact-0010-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0010-in.jsonld => json-ld-1.0-tests/compact-0010-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0010-out.jsonld => json-ld-1.0-tests/compact-0010-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0011-context.jsonld => json-ld-1.0-tests/compact-0011-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0011-in.jsonld => json-ld-1.0-tests/compact-0011-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0011-out.jsonld => json-ld-1.0-tests/compact-0011-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0012-context.jsonld => json-ld-1.0-tests/compact-0012-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0012-in.jsonld => json-ld-1.0-tests/compact-0012-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0012-out.jsonld => json-ld-1.0-tests/compact-0012-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0013-context.jsonld => json-ld-1.0-tests/compact-0013-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0013-in.jsonld => json-ld-1.0-tests/compact-0013-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0013-out.jsonld => json-ld-1.0-tests/compact-0013-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0014-context.jsonld => json-ld-1.0-tests/compact-0014-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0014-in.jsonld => json-ld-1.0-tests/compact-0014-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0014-out.jsonld => json-ld-1.0-tests/compact-0014-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0015-context.jsonld => json-ld-1.0-tests/compact-0015-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0015-in.jsonld => json-ld-1.0-tests/compact-0015-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0015-out.jsonld => json-ld-1.0-tests/compact-0015-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0016-context.jsonld => json-ld-1.0-tests/compact-0016-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0016-in.jsonld => json-ld-1.0-tests/compact-0016-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0016-out.jsonld => json-ld-1.0-tests/compact-0016-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0017-context.jsonld => json-ld-1.0-tests/compact-0017-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0017-in.jsonld => json-ld-1.0-tests/compact-0017-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0017-out.jsonld => json-ld-1.0-tests/compact-0017-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0018-context.jsonld => json-ld-1.0-tests/compact-0018-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0018-in.jsonld => json-ld-1.0-tests/compact-0018-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0018-out.jsonld => json-ld-1.0-tests/compact-0018-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0019-context.jsonld => json-ld-1.0-tests/compact-0019-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0019-in.jsonld => json-ld-1.0-tests/compact-0019-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0019-out.jsonld => json-ld-1.0-tests/compact-0019-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0020-context.jsonld => json-ld-1.0-tests/compact-0020-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0020-in.jsonld => json-ld-1.0-tests/compact-0020-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0020-out.jsonld => json-ld-1.0-tests/compact-0020-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0021-context.jsonld => json-ld-1.0-tests/compact-0021-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0021-in.jsonld => json-ld-1.0-tests/compact-0021-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0021-out.jsonld => json-ld-1.0-tests/compact-0021-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0022-context.jsonld => json-ld-1.0-tests/compact-0022-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0022-in.jsonld => json-ld-1.0-tests/compact-0022-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0022-out.jsonld => json-ld-1.0-tests/compact-0022-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0023-context.jsonld => json-ld-1.0-tests/compact-0023-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0023-in.jsonld => json-ld-1.0-tests/compact-0023-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0023-out.jsonld => json-ld-1.0-tests/compact-0023-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0024-context.jsonld => json-ld-1.0-tests/compact-0024-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0024-in.jsonld => json-ld-1.0-tests/compact-0024-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0024-out.jsonld => json-ld-1.0-tests/compact-0024-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0025-context.jsonld => json-ld-1.0-tests/compact-0025-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0025-in.jsonld => json-ld-1.0-tests/compact-0025-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0025-out.jsonld => json-ld-1.0-tests/compact-0025-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0026-context.jsonld => json-ld-1.0-tests/compact-0026-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0026-in.jsonld => json-ld-1.0-tests/compact-0026-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0026-out.jsonld => json-ld-1.0-tests/compact-0026-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0027-context.jsonld => json-ld-1.0-tests/compact-0027-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0027-in.jsonld => json-ld-1.0-tests/compact-0027-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0027-out.jsonld => json-ld-1.0-tests/compact-0027-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0028-context.jsonld => json-ld-1.0-tests/compact-0028-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0028-in.jsonld => json-ld-1.0-tests/compact-0028-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0028-out.jsonld => json-ld-1.0-tests/compact-0028-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0029-context.jsonld => json-ld-1.0-tests/compact-0029-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0029-in.jsonld => json-ld-1.0-tests/compact-0029-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0029-out.jsonld => json-ld-1.0-tests/compact-0029-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0030-context.jsonld => json-ld-1.0-tests/compact-0030-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0030-in.jsonld => json-ld-1.0-tests/compact-0030-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0030-out.jsonld => json-ld-1.0-tests/compact-0030-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0031-context.jsonld => json-ld-1.0-tests/compact-0031-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0031-in.jsonld => json-ld-1.0-tests/compact-0031-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0031-out.jsonld => json-ld-1.0-tests/compact-0031-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0032-context.jsonld => json-ld-1.0-tests/compact-0032-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0032-in.jsonld => json-ld-1.0-tests/compact-0032-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0032-out.jsonld => json-ld-1.0-tests/compact-0032-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0033-context.jsonld => json-ld-1.0-tests/compact-0033-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0033-in.jsonld => json-ld-1.0-tests/compact-0033-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0033-out.jsonld => json-ld-1.0-tests/compact-0033-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0034-context.jsonld => json-ld-1.0-tests/compact-0034-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0034-in.jsonld => json-ld-1.0-tests/compact-0034-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0034-out.jsonld => json-ld-1.0-tests/compact-0034-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0035-context.jsonld => json-ld-1.0-tests/compact-0035-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0035-in.jsonld => json-ld-1.0-tests/compact-0035-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0035-out.jsonld => json-ld-1.0-tests/compact-0035-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0036-context.jsonld => json-ld-1.0-tests/compact-0036-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0036-in.jsonld => json-ld-1.0-tests/compact-0036-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0036-out.jsonld => json-ld-1.0-tests/compact-0036-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0037-context.jsonld => json-ld-1.0-tests/compact-0037-context.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0037-in.jsonld rename core/src/test/resources/{json-ld.org/compact/0037-out.jsonld => json-ld-1.0-tests/compact-0037-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0038-context.jsonld => json-ld-1.0-tests/compact-0038-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0038-in.jsonld => json-ld-1.0-tests/compact-0038-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0038-out.jsonld => json-ld-1.0-tests/compact-0038-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0039-context.jsonld => json-ld-1.0-tests/compact-0039-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0039-in.jsonld => json-ld-1.0-tests/compact-0039-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0039-out.jsonld => json-ld-1.0-tests/compact-0039-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0040-context.jsonld => json-ld-1.0-tests/compact-0040-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0040-in.jsonld => json-ld-1.0-tests/compact-0040-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0040-out.jsonld => json-ld-1.0-tests/compact-0040-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0041-context.jsonld => json-ld-1.0-tests/compact-0041-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0041-in.jsonld => json-ld-1.0-tests/compact-0041-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0041-out.jsonld => json-ld-1.0-tests/compact-0041-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0042-context.jsonld => json-ld-1.0-tests/compact-0042-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0042-in.jsonld => json-ld-1.0-tests/compact-0042-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0042-out.jsonld => json-ld-1.0-tests/compact-0042-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0043-context.jsonld => json-ld-1.0-tests/compact-0043-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0043-in.jsonld => json-ld-1.0-tests/compact-0043-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0043-out.jsonld => json-ld-1.0-tests/compact-0043-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0044-context.jsonld => json-ld-1.0-tests/compact-0044-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0044-in.jsonld => json-ld-1.0-tests/compact-0044-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0044-out.jsonld => json-ld-1.0-tests/compact-0044-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0045-context.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0045-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0045-out.jsonld rename core/src/test/resources/{json-ld.org/compact/0046-context.jsonld => json-ld-1.0-tests/compact-0046-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0046-in.jsonld => json-ld-1.0-tests/compact-0046-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0046-out.jsonld => json-ld-1.0-tests/compact-0046-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0047-context.jsonld => json-ld-1.0-tests/compact-0047-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0047-in.jsonld => json-ld-1.0-tests/compact-0047-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0047-out.jsonld => json-ld-1.0-tests/compact-0047-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0048-context.jsonld => json-ld-1.0-tests/compact-0048-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0048-in.jsonld => json-ld-1.0-tests/compact-0048-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0048-out.jsonld => json-ld-1.0-tests/compact-0048-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0049-context.jsonld => json-ld-1.0-tests/compact-0049-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0049-in.jsonld => json-ld-1.0-tests/compact-0049-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0049-out.jsonld => json-ld-1.0-tests/compact-0049-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0050-context.jsonld => json-ld-1.0-tests/compact-0050-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0050-in.jsonld => json-ld-1.0-tests/compact-0050-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0050-out.jsonld => json-ld-1.0-tests/compact-0050-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0051-context.jsonld => json-ld-1.0-tests/compact-0051-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0051-in.jsonld => json-ld-1.0-tests/compact-0051-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0051-out.jsonld => json-ld-1.0-tests/compact-0051-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0052-context.jsonld => json-ld-1.0-tests/compact-0052-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0052-in.jsonld => json-ld-1.0-tests/compact-0052-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0052-out.jsonld => json-ld-1.0-tests/compact-0052-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0053-context.jsonld => json-ld-1.0-tests/compact-0053-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0053-in.jsonld => json-ld-1.0-tests/compact-0053-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0053-out.jsonld => json-ld-1.0-tests/compact-0053-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0054-context.jsonld => json-ld-1.0-tests/compact-0054-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0054-in.jsonld => json-ld-1.0-tests/compact-0054-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0054-out.jsonld => json-ld-1.0-tests/compact-0054-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0055-context.jsonld => json-ld-1.0-tests/compact-0055-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0055-in.jsonld => json-ld-1.0-tests/compact-0055-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0055-out.jsonld => json-ld-1.0-tests/compact-0055-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0056-context.jsonld => json-ld-1.0-tests/compact-0056-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0056-in.jsonld => json-ld-1.0-tests/compact-0056-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0056-out.jsonld => json-ld-1.0-tests/compact-0056-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0057-context.jsonld => json-ld-1.0-tests/compact-0057-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0057-in.jsonld => json-ld-1.0-tests/compact-0057-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0057-out.jsonld => json-ld-1.0-tests/compact-0057-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0058-context.jsonld => json-ld-1.0-tests/compact-0058-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0058-in.jsonld => json-ld-1.0-tests/compact-0058-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0058-out.jsonld => json-ld-1.0-tests/compact-0058-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0059-context.jsonld => json-ld-1.0-tests/compact-0059-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0059-in.jsonld => json-ld-1.0-tests/compact-0059-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0059-out.jsonld => json-ld-1.0-tests/compact-0059-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0060-context.jsonld => json-ld-1.0-tests/compact-0060-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0060-in.jsonld => json-ld-1.0-tests/compact-0060-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0060-out.jsonld => json-ld-1.0-tests/compact-0060-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0061-context.jsonld => json-ld-1.0-tests/compact-0061-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0061-in.jsonld => json-ld-1.0-tests/compact-0061-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0061-out.jsonld => json-ld-1.0-tests/compact-0061-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0062-context.jsonld => json-ld-1.0-tests/compact-0062-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0062-in.jsonld => json-ld-1.0-tests/compact-0062-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0062-out.jsonld rename core/src/test/resources/{json-ld.org/compact/0063-context.jsonld => json-ld-1.0-tests/compact-0063-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0063-in.jsonld => json-ld-1.0-tests/compact-0063-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0063-out.jsonld => json-ld-1.0-tests/compact-0063-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0064-context.jsonld => json-ld-1.0-tests/compact-0064-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0064-in.jsonld => json-ld-1.0-tests/compact-0064-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0064-out.jsonld => json-ld-1.0-tests/compact-0064-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0065-context.jsonld => json-ld-1.0-tests/compact-0065-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0065-in.jsonld => json-ld-1.0-tests/compact-0065-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0065-out.jsonld => json-ld-1.0-tests/compact-0065-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0066-context.jsonld => json-ld-1.0-tests/compact-0066-context.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0066-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0066-out.jsonld rename core/src/test/resources/{json-ld.org/compact/0067-context.jsonld => json-ld-1.0-tests/compact-0067-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0067-in.jsonld => json-ld-1.0-tests/compact-0067-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0067-out.jsonld => json-ld-1.0-tests/compact-0067-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0068-context.jsonld => json-ld-1.0-tests/compact-0068-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0068-in.jsonld => json-ld-1.0-tests/compact-0068-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0068-out.jsonld => json-ld-1.0-tests/compact-0068-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0069-context.jsonld => json-ld-1.0-tests/compact-0069-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0069-in.jsonld => json-ld-1.0-tests/compact-0069-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0069-out.jsonld => json-ld-1.0-tests/compact-0069-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0070-context.jsonld => json-ld-1.0-tests/compact-0070-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0070-in.jsonld => json-ld-1.0-tests/compact-0070-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0070-out.jsonld => json-ld-1.0-tests/compact-0070-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0071-context.jsonld => json-ld-1.0-tests/compact-0071-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0071-in.jsonld => json-ld-1.0-tests/compact-0071-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0071-out.jsonld => json-ld-1.0-tests/compact-0071-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0072-context.jsonld => json-ld-1.0-tests/compact-0072-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0072-in.jsonld => json-ld-1.0-tests/compact-0072-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/0072-out.jsonld => json-ld-1.0-tests/compact-0072-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0104-context.jsonld rename core/src/test/resources/{json-ld.org/compact/0104-in.jsonld => json-ld-1.0-tests/compact-0104-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0104-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0105-context.jsonld rename core/src/test/resources/{json-ld.org/compact/0105-in.jsonld => json-ld-1.0-tests/compact-0105-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0105-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0106-context.jsonld rename core/src/test/resources/{json-ld.org/compact/0106-in.jsonld => json-ld-1.0-tests/compact-0106-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-0106-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/compact-manifest.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/composer.json rename core/src/test/resources/{json-ld.org/expand/e001-in.jsonld => json-ld-1.0-tests/error-0001-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/error-0002-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/error-0003-ctx.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/error-0003-in.jsonld rename core/src/test/resources/{json-ld.org/expand/e004-in.jsonld => json-ld-1.0-tests/error-0004-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/error-0005-in.jsonld rename core/src/test/resources/{json-ld.org/expand/e006-in.jsonld => json-ld-1.0-tests/error-0006-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e007-in.jsonld => json-ld-1.0-tests/error-0007-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e008-in.jsonld => json-ld-1.0-tests/error-0008-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e009-in.jsonld => json-ld-1.0-tests/error-0009-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e010-in.jsonld => json-ld-1.0-tests/error-0010-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e011-in.jsonld => json-ld-1.0-tests/error-0011-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e012-in.jsonld => json-ld-1.0-tests/error-0012-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e013-in.jsonld => json-ld-1.0-tests/error-0013-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e014-in.jsonld => json-ld-1.0-tests/error-0014-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e015-in.jsonld => json-ld-1.0-tests/error-0015-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e016-in.jsonld => json-ld-1.0-tests/error-0016-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e017-in.jsonld => json-ld-1.0-tests/error-0017-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e018-in.jsonld => json-ld-1.0-tests/error-0018-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e019-in.jsonld => json-ld-1.0-tests/error-0019-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e020-in.jsonld => json-ld-1.0-tests/error-0020-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e021-in.jsonld => json-ld-1.0-tests/error-0021-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e022-in.jsonld => json-ld-1.0-tests/error-0022-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e023-in.jsonld => json-ld-1.0-tests/error-0023-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e024-in.jsonld => json-ld-1.0-tests/error-0024-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e025-in.jsonld => json-ld-1.0-tests/error-0025-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e026-in.jsonld => json-ld-1.0-tests/error-0026-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e027-in.jsonld => json-ld-1.0-tests/error-0027-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e028-in.jsonld => json-ld-1.0-tests/error-0028-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e029-in.jsonld => json-ld-1.0-tests/error-0029-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e030-in.jsonld => json-ld-1.0-tests/error-0030-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e031-in.jsonld => json-ld-1.0-tests/error-0031-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e032-in.jsonld => json-ld-1.0-tests/error-0032-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e033-in.jsonld => json-ld-1.0-tests/error-0033-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e034-in.jsonld => json-ld-1.0-tests/error-0034-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e035-in.jsonld => json-ld-1.0-tests/error-0035-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e036-in.jsonld => json-ld-1.0-tests/error-0036-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e037-in.jsonld => json-ld-1.0-tests/error-0037-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e038-in.jsonld => json-ld-1.0-tests/error-0038-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e039-in.jsonld => json-ld-1.0-tests/error-0039-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e040-in.jsonld => json-ld-1.0-tests/error-0040-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e041-in.jsonld => json-ld-1.0-tests/error-0041-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/compact/e001-context.jsonld => json-ld-1.0-tests/error-0042-context.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/error-0042-in.jsonld rename core/src/test/resources/{json-ld.org/flatten/e001-in.jsonld => json-ld-1.0-tests/error-0043-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/error-manifest.jsonld rename core/src/test/resources/{json-ld.org/expand/0001-in.jsonld => json-ld-1.0-tests/expand-0001-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0001-out.jsonld => json-ld-1.0-tests/expand-0001-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0002-in.jsonld => json-ld-1.0-tests/expand-0002-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0002-out.jsonld => json-ld-1.0-tests/expand-0002-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0003-in.jsonld => json-ld-1.0-tests/expand-0003-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0003-out.jsonld => json-ld-1.0-tests/expand-0003-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0004-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0004-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0005-in.jsonld => json-ld-1.0-tests/expand-0005-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0005-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0006-in.jsonld => json-ld-1.0-tests/expand-0006-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0006-out.jsonld => json-ld-1.0-tests/expand-0006-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0007-in.jsonld => json-ld-1.0-tests/expand-0007-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0007-out.jsonld => json-ld-1.0-tests/expand-0007-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0008-in.jsonld => json-ld-1.0-tests/expand-0008-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0008-out.jsonld => json-ld-1.0-tests/expand-0008-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0009-in.jsonld => json-ld-1.0-tests/expand-0009-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0009-out.jsonld => json-ld-1.0-tests/expand-0009-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0010-in.jsonld => json-ld-1.0-tests/expand-0010-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0010-out.jsonld => json-ld-1.0-tests/expand-0010-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0011-in.jsonld rename core/src/test/resources/{json-ld.org/expand/0011-out.jsonld => json-ld-1.0-tests/expand-0011-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0012-in.jsonld rename core/src/test/resources/{json-ld.org/expand/0012-out.jsonld => json-ld-1.0-tests/expand-0012-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0013-in.jsonld => json-ld-1.0-tests/expand-0013-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0013-out.jsonld => json-ld-1.0-tests/expand-0013-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0014-in.jsonld => json-ld-1.0-tests/expand-0014-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0014-out.jsonld => json-ld-1.0-tests/expand-0014-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0015-in.jsonld => json-ld-1.0-tests/expand-0015-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0015-out.jsonld => json-ld-1.0-tests/expand-0015-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0016-in.jsonld => json-ld-1.0-tests/expand-0016-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0016-out.jsonld => json-ld-1.0-tests/expand-0016-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0017-in.jsonld => json-ld-1.0-tests/expand-0017-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0017-out.jsonld => json-ld-1.0-tests/expand-0017-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0018-in.jsonld => json-ld-1.0-tests/expand-0018-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0018-out.jsonld => json-ld-1.0-tests/expand-0018-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0019-in.jsonld => json-ld-1.0-tests/expand-0019-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0019-out.jsonld => json-ld-1.0-tests/expand-0019-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0020-in.jsonld => json-ld-1.0-tests/expand-0020-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0020-out.jsonld => json-ld-1.0-tests/expand-0020-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0021-in.jsonld => json-ld-1.0-tests/expand-0021-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0021-out.jsonld => json-ld-1.0-tests/expand-0021-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0022-in.jsonld => json-ld-1.0-tests/expand-0022-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0022-out.jsonld => json-ld-1.0-tests/expand-0022-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0023-in.jsonld => json-ld-1.0-tests/expand-0023-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0023-out.jsonld => json-ld-1.0-tests/expand-0023-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0024-in.jsonld => json-ld-1.0-tests/expand-0024-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0024-out.jsonld => json-ld-1.0-tests/expand-0024-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0025-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0025-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0026-in.jsonld => json-ld-1.0-tests/expand-0026-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0026-out.jsonld => json-ld-1.0-tests/expand-0026-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0027-in.jsonld => json-ld-1.0-tests/expand-0027-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0027-out.jsonld => json-ld-1.0-tests/expand-0027-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0028-in.jsonld => json-ld-1.0-tests/expand-0028-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0028-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0029-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0029-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0030-in.jsonld => json-ld-1.0-tests/expand-0030-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0030-out.jsonld => json-ld-1.0-tests/expand-0030-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0031-in.jsonld => json-ld-1.0-tests/expand-0031-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0031-out.jsonld => json-ld-1.0-tests/expand-0031-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0032-in.jsonld => json-ld-1.0-tests/expand-0032-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0032-out.jsonld => json-ld-1.0-tests/expand-0032-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0033-in.jsonld => json-ld-1.0-tests/expand-0033-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0033-out.jsonld => json-ld-1.0-tests/expand-0033-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0034-in.jsonld => json-ld-1.0-tests/expand-0034-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0034-out.jsonld => json-ld-1.0-tests/expand-0034-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0035-in.jsonld => json-ld-1.0-tests/expand-0035-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0035-out.jsonld => json-ld-1.0-tests/expand-0035-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0036-in.jsonld => json-ld-1.0-tests/expand-0036-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0036-out.jsonld => json-ld-1.0-tests/expand-0036-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0037-in.jsonld => json-ld-1.0-tests/expand-0037-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0037-out.jsonld => json-ld-1.0-tests/expand-0037-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0038-in.jsonld => json-ld-1.0-tests/expand-0038-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0038-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0039-in.jsonld => json-ld-1.0-tests/expand-0039-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0039-out.jsonld => json-ld-1.0-tests/expand-0039-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0040-in.jsonld => json-ld-1.0-tests/expand-0040-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0040-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0041-in.jsonld => json-ld-1.0-tests/expand-0041-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0041-out.jsonld => json-ld-1.0-tests/expand-0041-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0042-in.jsonld => json-ld-1.0-tests/expand-0042-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0042-out.jsonld => json-ld-1.0-tests/expand-0042-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0043-in.jsonld => json-ld-1.0-tests/expand-0043-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0043-out.jsonld => json-ld-1.0-tests/expand-0043-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0044-in.jsonld => json-ld-1.0-tests/expand-0044-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0044-out.jsonld => json-ld-1.0-tests/expand-0044-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0045-in.jsonld => json-ld-1.0-tests/expand-0045-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0045-out.jsonld => json-ld-1.0-tests/expand-0045-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0046-in.jsonld => json-ld-1.0-tests/expand-0046-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0046-out.jsonld => json-ld-1.0-tests/expand-0046-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0047-in.jsonld => json-ld-1.0-tests/expand-0047-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0047-out.jsonld => json-ld-1.0-tests/expand-0047-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0048-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0048-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0049-in.jsonld => json-ld-1.0-tests/expand-0049-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0049-out.jsonld => json-ld-1.0-tests/expand-0049-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0050-in.jsonld => json-ld-1.0-tests/expand-0050-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0050-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0051-in.jsonld => json-ld-1.0-tests/expand-0051-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0051-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0052-in.jsonld => json-ld-1.0-tests/expand-0052-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0052-out.jsonld => json-ld-1.0-tests/expand-0052-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0053-in.jsonld => json-ld-1.0-tests/expand-0053-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0053-out.jsonld => json-ld-1.0-tests/expand-0053-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0054-in.jsonld => json-ld-1.0-tests/expand-0054-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0054-out.jsonld => json-ld-1.0-tests/expand-0054-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0055-in.jsonld => json-ld-1.0-tests/expand-0055-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0055-out.jsonld => json-ld-1.0-tests/expand-0055-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0056-in.jsonld => json-ld-1.0-tests/expand-0056-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0056-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0057-in.jsonld => json-ld-1.0-tests/expand-0057-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0057-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0058-in.jsonld => json-ld-1.0-tests/expand-0058-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0058-out.jsonld => json-ld-1.0-tests/expand-0058-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0059-in.jsonld => json-ld-1.0-tests/expand-0059-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0059-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0060-in.jsonld => json-ld-1.0-tests/expand-0060-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0060-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0061-in.jsonld => json-ld-1.0-tests/expand-0061-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0061-out.jsonld => json-ld-1.0-tests/expand-0061-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0062-in.jsonld => json-ld-1.0-tests/expand-0062-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0062-out.jsonld => json-ld-1.0-tests/expand-0062-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0063-in.jsonld => json-ld-1.0-tests/expand-0063-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0063-out.jsonld => json-ld-1.0-tests/expand-0063-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0064-in.jsonld => json-ld-1.0-tests/expand-0064-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0064-out.jsonld => json-ld-1.0-tests/expand-0064-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0065-in.jsonld => json-ld-1.0-tests/expand-0065-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0065-out.jsonld => json-ld-1.0-tests/expand-0065-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0066-in.jsonld => json-ld-1.0-tests/expand-0066-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-0066-out.jsonld rename core/src/test/resources/{json-ld.org/expand/0067-in.jsonld => json-ld-1.0-tests/expand-0067-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0067-out.jsonld => json-ld-1.0-tests/expand-0067-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0068-in.jsonld => json-ld-1.0-tests/expand-0068-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0068-out.jsonld => json-ld-1.0-tests/expand-0068-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0069-in.jsonld => json-ld-1.0-tests/expand-0069-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0069-out.jsonld => json-ld-1.0-tests/expand-0069-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0070-in.jsonld => json-ld-1.0-tests/expand-0070-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0070-out.jsonld => json-ld-1.0-tests/expand-0070-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0071-in.jsonld => json-ld-1.0-tests/expand-0071-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0071-out.jsonld => json-ld-1.0-tests/expand-0071-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0072-in.jsonld => json-ld-1.0-tests/expand-0072-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0072-out.jsonld => json-ld-1.0-tests/expand-0072-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0073-in.jsonld => json-ld-1.0-tests/expand-0073-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0073-out.jsonld => json-ld-1.0-tests/expand-0073-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0074-in.jsonld => json-ld-1.0-tests/expand-0074-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0074-out.jsonld => json-ld-1.0-tests/expand-0074-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0075-in.jsonld => json-ld-1.0-tests/expand-0075-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0075-out.jsonld => json-ld-1.0-tests/expand-0075-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0076-in.jsonld => json-ld-1.0-tests/expand-0076-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0076-out.jsonld => json-ld-1.0-tests/expand-0076-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0077-context.jsonld => json-ld-1.0-tests/expand-0077-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0077-in.jsonld => json-ld-1.0-tests/expand-0077-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/0077-out.jsonld => json-ld-1.0-tests/expand-0077-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/e042-in.jsonld => json-ld-1.0-tests/expand-e042-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/expand-manifest.jsonld rename core/src/test/resources/{json-ld.org/flatten/0001-in.jsonld => json-ld-1.0-tests/flatten-0001-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0001-out.jsonld => json-ld-1.0-tests/flatten-0001-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0002-in.jsonld => json-ld-1.0-tests/flatten-0002-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0002-out.jsonld => json-ld-1.0-tests/flatten-0002-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0003-in.jsonld => json-ld-1.0-tests/flatten-0003-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0003-out.jsonld => json-ld-1.0-tests/flatten-0003-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0004-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0004-out.jsonld rename core/src/test/resources/{json-ld.org/flatten/0005-in.jsonld => json-ld-1.0-tests/flatten-0005-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0005-out.jsonld rename core/src/test/resources/{json-ld.org/flatten/0006-in.jsonld => json-ld-1.0-tests/flatten-0006-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0006-out.jsonld => json-ld-1.0-tests/flatten-0006-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0007-in.jsonld => json-ld-1.0-tests/flatten-0007-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0007-out.jsonld => json-ld-1.0-tests/flatten-0007-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0008-in.jsonld => json-ld-1.0-tests/flatten-0008-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0008-out.jsonld => json-ld-1.0-tests/flatten-0008-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0009-in.jsonld => json-ld-1.0-tests/flatten-0009-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0009-out.jsonld => json-ld-1.0-tests/flatten-0009-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0010-in.jsonld => json-ld-1.0-tests/flatten-0010-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0010-out.jsonld => json-ld-1.0-tests/flatten-0010-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0011-in.jsonld rename core/src/test/resources/{json-ld.org/flatten/0011-out.jsonld => json-ld-1.0-tests/flatten-0011-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0012-in.jsonld rename core/src/test/resources/{json-ld.org/flatten/0012-out.jsonld => json-ld-1.0-tests/flatten-0012-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0013-in.jsonld => json-ld-1.0-tests/flatten-0013-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0013-out.jsonld => json-ld-1.0-tests/flatten-0013-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0054-in.jsonld => json-ld-1.0-tests/flatten-0014-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0014-out.jsonld => json-ld-1.0-tests/flatten-0014-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0015-in.jsonld => json-ld-1.0-tests/flatten-0015-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0015-out.jsonld => json-ld-1.0-tests/flatten-0015-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0016-in.jsonld => json-ld-1.0-tests/flatten-0016-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0016-out.jsonld => json-ld-1.0-tests/flatten-0016-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0017-in.jsonld => json-ld-1.0-tests/flatten-0017-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0017-out.jsonld => json-ld-1.0-tests/flatten-0017-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0018-in.jsonld => json-ld-1.0-tests/flatten-0018-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0018-out.jsonld => json-ld-1.0-tests/flatten-0018-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0019-in.jsonld => json-ld-1.0-tests/flatten-0019-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0019-out.jsonld => json-ld-1.0-tests/flatten-0019-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0020-in.jsonld => json-ld-1.0-tests/flatten-0020-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0020-out.jsonld => json-ld-1.0-tests/flatten-0020-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0021-in.jsonld => json-ld-1.0-tests/flatten-0021-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0021-out.jsonld => json-ld-1.0-tests/flatten-0021-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0022-in.jsonld => json-ld-1.0-tests/flatten-0022-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0022-out.jsonld => json-ld-1.0-tests/flatten-0022-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0023-in.jsonld => json-ld-1.0-tests/flatten-0023-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0023-out.jsonld => json-ld-1.0-tests/flatten-0023-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0024-in.jsonld => json-ld-1.0-tests/flatten-0024-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0024-out.jsonld => json-ld-1.0-tests/flatten-0024-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0025-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0025-out.jsonld rename core/src/test/resources/{json-ld.org/expand/e043-in.jsonld => json-ld-1.0-tests/flatten-0026-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0026-out.jsonld => json-ld-1.0-tests/flatten-0026-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0027-in.jsonld => json-ld-1.0-tests/flatten-0027-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0027-out.jsonld => json-ld-1.0-tests/flatten-0027-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0028-in.jsonld => json-ld-1.0-tests/flatten-0028-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0028-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0029-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0029-out.jsonld rename core/src/test/resources/{json-ld.org/flatten/0030-in.jsonld => json-ld-1.0-tests/flatten-0030-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0030-out.jsonld => json-ld-1.0-tests/flatten-0030-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0031-in.jsonld => json-ld-1.0-tests/flatten-0031-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0031-out.jsonld => json-ld-1.0-tests/flatten-0031-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0032-in.jsonld => json-ld-1.0-tests/flatten-0032-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0032-out.jsonld => json-ld-1.0-tests/flatten-0032-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0033-in.jsonld => json-ld-1.0-tests/flatten-0033-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0033-out.jsonld => json-ld-1.0-tests/flatten-0033-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0034-in.jsonld => json-ld-1.0-tests/flatten-0034-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0034-out.jsonld => json-ld-1.0-tests/flatten-0034-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0035-in.jsonld => json-ld-1.0-tests/flatten-0035-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0035-out.jsonld => json-ld-1.0-tests/flatten-0035-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0036-in.jsonld => json-ld-1.0-tests/flatten-0036-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0036-out.jsonld => json-ld-1.0-tests/flatten-0036-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0037-in.jsonld => json-ld-1.0-tests/flatten-0037-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0037-out.jsonld => json-ld-1.0-tests/flatten-0037-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0038-in.jsonld => json-ld-1.0-tests/flatten-0038-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0038-out.jsonld rename core/src/test/resources/{json-ld.org/flatten/0039-in.jsonld => json-ld-1.0-tests/flatten-0039-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0039-out.jsonld => json-ld-1.0-tests/flatten-0039-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0040-in.jsonld => json-ld-1.0-tests/flatten-0040-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0040-out.jsonld rename core/src/test/resources/{json-ld.org/flatten/0041-in.jsonld => json-ld-1.0-tests/flatten-0041-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0041-out.jsonld => json-ld-1.0-tests/flatten-0041-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0042-in.jsonld => json-ld-1.0-tests/flatten-0042-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0042-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0043-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-0043-out.jsonld rename core/src/test/resources/{json-ld.org/flatten/0044-context.jsonld => json-ld-1.0-tests/flatten-0044-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0044-in.jsonld => json-ld-1.0-tests/flatten-0044-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0044-out.jsonld => json-ld-1.0-tests/flatten-0044-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0045-in.jsonld => json-ld-1.0-tests/flatten-0045-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/flatten/0045-out.jsonld => json-ld-1.0-tests/flatten-0045-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/flatten-manifest.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0001-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0001-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0001-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0002-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0002-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0002-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0003-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0003-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0003-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0004-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0004-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0004-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0005-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0005-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0005-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0006-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0006-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0006-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0007-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0007-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0007-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0008-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0008-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0008-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0009-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0009-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0009-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0010-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0010-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0010-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0011-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0011-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0011-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0012-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0012-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0012-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0013-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0013-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0013-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0014-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0014-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0014-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0015-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0015-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0015-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0016-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0016-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0016-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0017-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0017-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0017-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0018-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0018-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0018-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0019-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0019-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0019-out.jsonld rename core/src/test/resources/{json-ld.org/compact/ep05-in.jsonld => json-ld-1.0-tests/frame-0020-frame.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0020-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0020-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0021-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0021-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0021-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0022-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0022-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0022-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0030-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0030-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0030-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0046-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-0046-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-g001-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-g001-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-g001-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-manifest.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-p010-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-p020-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-p021-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-p046-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-p050-frame.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-p050-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/frame-p050-out.jsonld rename core/src/test/resources/{json-ld.org/fromRdf/0001-in.nq => json-ld-1.0-tests/fromRdf-0001-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0001-out.jsonld => json-ld-1.0-tests/fromRdf-0001-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0002-in.nq => json-ld-1.0-tests/fromRdf-0002-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0002-out.jsonld => json-ld-1.0-tests/fromRdf-0002-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0003-in.nq => json-ld-1.0-tests/fromRdf-0003-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0003-out.jsonld => json-ld-1.0-tests/fromRdf-0003-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0004-in.nq => json-ld-1.0-tests/fromRdf-0004-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0004-out.jsonld => json-ld-1.0-tests/fromRdf-0004-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0005-in.nq => json-ld-1.0-tests/fromRdf-0005-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0005-out.jsonld => json-ld-1.0-tests/fromRdf-0005-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0006-in.nq => json-ld-1.0-tests/fromRdf-0006-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0006-out.jsonld => json-ld-1.0-tests/fromRdf-0006-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0007-in.nq => json-ld-1.0-tests/fromRdf-0007-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0007-out.jsonld => json-ld-1.0-tests/fromRdf-0007-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0008-in.nq => json-ld-1.0-tests/fromRdf-0008-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0008-out.jsonld => json-ld-1.0-tests/fromRdf-0008-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0009-in.nq => json-ld-1.0-tests/fromRdf-0009-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0009-out.jsonld => json-ld-1.0-tests/fromRdf-0009-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0010-in.nq => json-ld-1.0-tests/fromRdf-0010-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0010-out.jsonld => json-ld-1.0-tests/fromRdf-0010-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0011-in.nq => json-ld-1.0-tests/fromRdf-0011-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0011-out.jsonld => json-ld-1.0-tests/fromRdf-0011-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0012-in.nq => json-ld-1.0-tests/fromRdf-0012-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0012-out.jsonld => json-ld-1.0-tests/fromRdf-0012-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0013-in.nq => json-ld-1.0-tests/fromRdf-0013-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0013-out.jsonld => json-ld-1.0-tests/fromRdf-0013-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0014-in.nq => json-ld-1.0-tests/fromRdf-0014-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0014-out.jsonld => json-ld-1.0-tests/fromRdf-0014-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0015-in.nq => json-ld-1.0-tests/fromRdf-0015-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0015-out.jsonld => json-ld-1.0-tests/fromRdf-0015-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0016-in.nq => json-ld-1.0-tests/fromRdf-0016-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0016-out.jsonld => json-ld-1.0-tests/fromRdf-0016-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0017-in.nq => json-ld-1.0-tests/fromRdf-0017-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0017-out.jsonld => json-ld-1.0-tests/fromRdf-0017-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0018-in.nq => json-ld-1.0-tests/fromRdf-0018-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0018-out.jsonld => json-ld-1.0-tests/fromRdf-0018-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0019-in.nq => json-ld-1.0-tests/fromRdf-0019-in.nq} (100%) rename core/src/test/resources/{json-ld.org/fromRdf/0019-out.jsonld => json-ld-1.0-tests/fromRdf-0019-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/fromRdf-0020-in.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/fromRdf-0020-out.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/fromRdf-manifest.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0001-in.jsonld rename core/src/test/resources/{json-ld.org/remote-doc/0004-in.jldte => json-ld-1.0-tests/normalize-0001-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0002-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0002-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0003-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0003-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0004-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0004-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0005-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0005-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0006-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0006-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0007-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0007-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0008-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0008-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0009-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0049-out.nq => json-ld-1.0-tests/normalize-0009-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0010-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0010-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0011-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0011-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0012-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0012-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0047-in.jsonld => json-ld-1.0-tests/normalize-0013-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0047-out.nq => json-ld-1.0-tests/normalize-0013-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0014-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0014-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0015-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0041-out.nq => json-ld-1.0-tests/normalize-0015-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0016-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0016-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0017-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0017-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0018-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0018-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0019-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0019-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0020-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0020-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0021-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0021-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0022-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0022-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0023-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0023-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0024-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0024-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0025-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0025-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0026-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0026-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0027-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0027-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0028-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0028-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0029-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0029-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0030-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0030-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0031-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0031-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0032-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0032-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0033-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0033-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0034-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0034-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0035-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0035-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0036-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0036-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0037-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0037-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0038-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0038-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0039-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0039-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0040-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0040-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0041-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0041-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0042-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0042-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0043-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0043-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0044-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0044-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0045-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0045-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0046-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0046-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0047-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0047-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0048-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0048-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0049-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0043-out.nq => json-ld-1.0-tests/normalize-0049-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0050-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0050-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0051-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0051-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0052-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0046-out.nq => json-ld-1.0-tests/normalize-0052-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0053-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0053-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0054-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0054-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0055-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0055-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0056-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0056-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0057-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-0057-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/normalize-manifest.jsonld rename core/src/test/resources/{json-ld.org/remote-doc/0001-in.jsonld => json-ld-1.0-tests/remote-doc-0001-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/remote-doc-0001-out.jsonld rename core/src/test/resources/{json-ld.org/remote-doc/0002-in.json => json-ld-1.0-tests/remote-doc-0002-in.json} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/remote-doc-0002-out.jsonld rename core/src/test/resources/{json-ld.org/remote-doc/0003-in.jldt => json-ld-1.0-tests/remote-doc-0003-in.jldt} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/remote-doc-0003-out.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0059-out.nq => json-ld-1.0-tests/remote-doc-0004-in.jldte} (100%) rename core/src/test/resources/{json-ld.org/remote-doc/0009-context.jsonld => json-ld-1.0-tests/remote-doc-0009-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/remote-doc/0009-in.jsonld => json-ld-1.0-tests/remote-doc-0009-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/remote-doc-0009-out.jsonld rename core/src/test/resources/{json-ld.org/remote-doc/0010-context.jsonld => json-ld-1.0-tests/remote-doc-0010-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/remote-doc/0010-in.json => json-ld-1.0-tests/remote-doc-0010-in.json} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/remote-doc-0010-out.jsonld rename core/src/test/resources/{json-ld.org/remote-doc/0011-context.jsonld => json-ld-1.0-tests/remote-doc-0011-context.jsonld} (100%) rename core/src/test/resources/{json-ld.org/remote-doc/0011-in.jldt => json-ld-1.0-tests/remote-doc-0011-in.jldt} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/remote-doc-0011-out.jsonld rename core/src/test/resources/{json-ld.org/remote-doc/0012-context1.jsonld => json-ld-1.0-tests/remote-doc-0012-context1.jsonld} (100%) rename core/src/test/resources/{json-ld.org/remote-doc/0012-context2.jsonld => json-ld-1.0-tests/remote-doc-0012-context2.jsonld} (100%) rename core/src/test/resources/{json-ld.org/remote-doc/0012-in.json => json-ld-1.0-tests/remote-doc-0012-in.json} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/remote-doc-manifest.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0001-in.jsonld => json-ld-1.0-tests/toRdf-0001-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0001-out.nq => json-ld-1.0-tests/toRdf-0001-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0002-in.jsonld => json-ld-1.0-tests/toRdf-0002-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0002-out.nq => json-ld-1.0-tests/toRdf-0002-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0003-in.jsonld => json-ld-1.0-tests/toRdf-0003-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0003-out.nq => json-ld-1.0-tests/toRdf-0003-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0004-in.jsonld => json-ld-1.0-tests/toRdf-0004-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0004-out.nq => json-ld-1.0-tests/toRdf-0004-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0005-in.jsonld => json-ld-1.0-tests/toRdf-0005-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0005-out.nq => json-ld-1.0-tests/toRdf-0005-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0006-in.jsonld => json-ld-1.0-tests/toRdf-0006-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0006-out.nq => json-ld-1.0-tests/toRdf-0006-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0007-in.jsonld => json-ld-1.0-tests/toRdf-0007-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0007-out.nq => json-ld-1.0-tests/toRdf-0007-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0008-in.jsonld => json-ld-1.0-tests/toRdf-0008-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0008-out.nq => json-ld-1.0-tests/toRdf-0008-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0009-in.jsonld => json-ld-1.0-tests/toRdf-0009-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0009-out.nq => json-ld-1.0-tests/toRdf-0009-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0010-in.jsonld => json-ld-1.0-tests/toRdf-0010-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0010-out.nq => json-ld-1.0-tests/toRdf-0010-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0011-in.jsonld => json-ld-1.0-tests/toRdf-0011-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0011-out.nq => json-ld-1.0-tests/toRdf-0011-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0012-in.jsonld => json-ld-1.0-tests/toRdf-0012-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0012-out.nq => json-ld-1.0-tests/toRdf-0012-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0013-in.jsonld => json-ld-1.0-tests/toRdf-0013-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0013-out.nq => json-ld-1.0-tests/toRdf-0013-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0014-in.jsonld => json-ld-1.0-tests/toRdf-0014-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0014-out.nq => json-ld-1.0-tests/toRdf-0014-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0015-in.jsonld => json-ld-1.0-tests/toRdf-0015-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0015-out.nq => json-ld-1.0-tests/toRdf-0015-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0016-in.jsonld => json-ld-1.0-tests/toRdf-0016-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0016-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0017-in.jsonld => json-ld-1.0-tests/toRdf-0017-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0017-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0018-in.jsonld => json-ld-1.0-tests/toRdf-0018-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0018-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0019-in.jsonld => json-ld-1.0-tests/toRdf-0019-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0019-out.nq => json-ld-1.0-tests/toRdf-0019-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0020-in.jsonld => json-ld-1.0-tests/toRdf-0020-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0020-out.nq => json-ld-1.0-tests/toRdf-0020-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0022-in.jsonld => json-ld-1.0-tests/toRdf-0022-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0022-out.nq => json-ld-1.0-tests/toRdf-0022-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0023-in.jsonld => json-ld-1.0-tests/toRdf-0023-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0023-out.nq => json-ld-1.0-tests/toRdf-0023-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0024-in.jsonld => json-ld-1.0-tests/toRdf-0024-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0024-out.nq => json-ld-1.0-tests/toRdf-0024-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0025-in.jsonld => json-ld-1.0-tests/toRdf-0025-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0025-out.nq => json-ld-1.0-tests/toRdf-0025-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0026-in.jsonld => json-ld-1.0-tests/toRdf-0026-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0026-out.nq => json-ld-1.0-tests/toRdf-0026-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0027-in.jsonld => json-ld-1.0-tests/toRdf-0027-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0027-out.nq => json-ld-1.0-tests/toRdf-0027-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0028-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0028-out.nq => json-ld-1.0-tests/toRdf-0028-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0029-in.jsonld => json-ld-1.0-tests/toRdf-0029-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0029-out.nq => json-ld-1.0-tests/toRdf-0029-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0030-in.jsonld => json-ld-1.0-tests/toRdf-0030-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0030-out.nq => json-ld-1.0-tests/toRdf-0030-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0031-in.jsonld => json-ld-1.0-tests/toRdf-0031-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0031-out.nq => json-ld-1.0-tests/toRdf-0031-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0032-in.jsonld => json-ld-1.0-tests/toRdf-0032-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0032-out.nq => json-ld-1.0-tests/toRdf-0032-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0033-in.jsonld => json-ld-1.0-tests/toRdf-0033-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0033-out.nq => json-ld-1.0-tests/toRdf-0033-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0034-in.jsonld => json-ld-1.0-tests/toRdf-0034-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0034-out.nq => json-ld-1.0-tests/toRdf-0034-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0035-in.jsonld => json-ld-1.0-tests/toRdf-0035-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0035-out.nq => json-ld-1.0-tests/toRdf-0035-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0036-in.jsonld => json-ld-1.0-tests/toRdf-0036-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0036-out.nq => json-ld-1.0-tests/toRdf-0036-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0041-in.jsonld => json-ld-1.0-tests/toRdf-0041-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0085-out.nq => json-ld-1.0-tests/toRdf-0041-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0042-in.jsonld => json-ld-1.0-tests/toRdf-0042-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0042-out.nq => json-ld-1.0-tests/toRdf-0042-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0043-in.jsonld => json-ld-1.0-tests/toRdf-0043-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0086-out.nq => json-ld-1.0-tests/toRdf-0043-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0044-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0044-out.nq => json-ld-1.0-tests/toRdf-0044-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0045-in.jsonld => json-ld-1.0-tests/toRdf-0045-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0045-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0046-in.jsonld => json-ld-1.0-tests/toRdf-0046-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0046-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0047-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0047-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0048-in.jsonld => json-ld-1.0-tests/toRdf-0048-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0048-out.nq => json-ld-1.0-tests/toRdf-0048-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0049-in.jsonld => json-ld-1.0-tests/toRdf-0049-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0052-out.nq => json-ld-1.0-tests/toRdf-0049-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0050-in.jsonld => json-ld-1.0-tests/toRdf-0050-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0050-out.nq => json-ld-1.0-tests/toRdf-0050-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0051-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0051-out.nq => json-ld-1.0-tests/toRdf-0051-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0052-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0057-out.nq => json-ld-1.0-tests/toRdf-0052-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0053-in.jsonld => json-ld-1.0-tests/toRdf-0053-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0053-out.nq => json-ld-1.0-tests/toRdf-0053-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0054-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0054-out.nq => json-ld-1.0-tests/toRdf-0054-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0055-in.jsonld => json-ld-1.0-tests/toRdf-0055-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0055-out.nq => json-ld-1.0-tests/toRdf-0055-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0056-in.jsonld => json-ld-1.0-tests/toRdf-0056-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0056-out.nq => json-ld-1.0-tests/toRdf-0056-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0057-in.jsonld => json-ld-1.0-tests/toRdf-0057-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0057-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0058-in.jsonld => json-ld-1.0-tests/toRdf-0058-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0058-out.nq => json-ld-1.0-tests/toRdf-0058-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0059-in.jsonld => json-ld-1.0-tests/toRdf-0059-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/wf01-out.nq => json-ld-1.0-tests/toRdf-0059-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0060-in.jsonld => json-ld-1.0-tests/toRdf-0060-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0060-out.nq => json-ld-1.0-tests/toRdf-0060-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0061-in.jsonld => json-ld-1.0-tests/toRdf-0061-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0061-out.nq => json-ld-1.0-tests/toRdf-0061-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0062-in.jsonld => json-ld-1.0-tests/toRdf-0062-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0062-out.nq => json-ld-1.0-tests/toRdf-0062-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0063-in.jsonld => json-ld-1.0-tests/toRdf-0063-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0063-out.nq => json-ld-1.0-tests/toRdf-0063-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0064-in.jsonld => json-ld-1.0-tests/toRdf-0064-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0064-out.nq => json-ld-1.0-tests/toRdf-0064-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0065-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0065-out.nq rename core/src/test/resources/{json-ld.org/flatten/0026-in.jsonld => json-ld-1.0-tests/toRdf-0066-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0066-out.nq => json-ld-1.0-tests/toRdf-0066-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0067-in.jsonld => json-ld-1.0-tests/toRdf-0067-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0067-out.nq => json-ld-1.0-tests/toRdf-0067-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0068-in.jsonld => json-ld-1.0-tests/toRdf-0068-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0068-out.nq create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0069-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0069-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0070-in.jsonld => json-ld-1.0-tests/toRdf-0070-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0070-out.nq => json-ld-1.0-tests/toRdf-0070-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0071-in.jsonld => json-ld-1.0-tests/toRdf-0071-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0071-out.nq => json-ld-1.0-tests/toRdf-0071-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0072-in.jsonld => json-ld-1.0-tests/toRdf-0072-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0072-out.nq => json-ld-1.0-tests/toRdf-0072-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0073-in.jsonld => json-ld-1.0-tests/toRdf-0073-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0073-out.nq => json-ld-1.0-tests/toRdf-0073-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0074-in.jsonld => json-ld-1.0-tests/toRdf-0074-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0074-out.nq => json-ld-1.0-tests/toRdf-0074-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0075-in.jsonld => json-ld-1.0-tests/toRdf-0075-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0075-out.nq => json-ld-1.0-tests/toRdf-0075-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0076-in.jsonld => json-ld-1.0-tests/toRdf-0076-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0076-out.nq => json-ld-1.0-tests/toRdf-0076-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0077-in.jsonld => json-ld-1.0-tests/toRdf-0077-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0077-out.nq => json-ld-1.0-tests/toRdf-0077-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0078-in.jsonld => json-ld-1.0-tests/toRdf-0078-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0078-out.nq => json-ld-1.0-tests/toRdf-0078-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0079-in.jsonld => json-ld-1.0-tests/toRdf-0079-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0079-out.nq => json-ld-1.0-tests/toRdf-0079-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0080-in.jsonld => json-ld-1.0-tests/toRdf-0080-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0080-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0081-in.jsonld => json-ld-1.0-tests/toRdf-0081-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0081-out.nq => json-ld-1.0-tests/toRdf-0081-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0082-in.jsonld => json-ld-1.0-tests/toRdf-0082-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0082-out.nq => json-ld-1.0-tests/toRdf-0082-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0083-in.jsonld => json-ld-1.0-tests/toRdf-0083-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0083-out.nq => json-ld-1.0-tests/toRdf-0083-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0084-in.jsonld => json-ld-1.0-tests/toRdf-0084-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0084-out.nq => json-ld-1.0-tests/toRdf-0084-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0085-in.jsonld => json-ld-1.0-tests/toRdf-0085-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/wf02-out.nq => json-ld-1.0-tests/toRdf-0085-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0086-in.jsonld => json-ld-1.0-tests/toRdf-0086-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/wf03-out.nq => json-ld-1.0-tests/toRdf-0086-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0087-in.jsonld => json-ld-1.0-tests/toRdf-0087-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0087-out.nq => json-ld-1.0-tests/toRdf-0087-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0088-in.jsonld create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0088-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0089-in.jsonld => json-ld-1.0-tests/toRdf-0089-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0089-out.nq => json-ld-1.0-tests/toRdf-0089-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0090-in.jsonld => json-ld-1.0-tests/toRdf-0090-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0090-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0091-in.jsonld => json-ld-1.0-tests/toRdf-0091-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0091-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0092-in.jsonld => json-ld-1.0-tests/toRdf-0092-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0092-out.nq => json-ld-1.0-tests/toRdf-0092-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0093-in.jsonld => json-ld-1.0-tests/toRdf-0093-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0093-out.nq => json-ld-1.0-tests/toRdf-0093-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0094-in.jsonld => json-ld-1.0-tests/toRdf-0094-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0094-out.nq => json-ld-1.0-tests/toRdf-0094-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0095-in.jsonld => json-ld-1.0-tests/toRdf-0095-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0095-out.nq => json-ld-1.0-tests/toRdf-0095-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0096-in.jsonld => json-ld-1.0-tests/toRdf-0096-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0096-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0097-in.jsonld => json-ld-1.0-tests/toRdf-0097-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0097-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0098-in.jsonld => json-ld-1.0-tests/toRdf-0098-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0098-out.nq => json-ld-1.0-tests/toRdf-0098-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0099-in.jsonld => json-ld-1.0-tests/toRdf-0099-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0099-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0100-in.jsonld => json-ld-1.0-tests/toRdf-0100-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0100-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0101-in.jsonld => json-ld-1.0-tests/toRdf-0101-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0101-out.nq => json-ld-1.0-tests/toRdf-0101-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0102-in.jsonld => json-ld-1.0-tests/toRdf-0102-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0102-out.nq => json-ld-1.0-tests/toRdf-0102-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0103-in.jsonld => json-ld-1.0-tests/toRdf-0103-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0103-out.nq => json-ld-1.0-tests/toRdf-0103-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0104-in.jsonld => json-ld-1.0-tests/toRdf-0104-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0104-out.nq => json-ld-1.0-tests/toRdf-0104-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0105-in.jsonld => json-ld-1.0-tests/toRdf-0105-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0105-out.nq => json-ld-1.0-tests/toRdf-0105-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0106-in.jsonld => json-ld-1.0-tests/toRdf-0106-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0106-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0107-in.jsonld => json-ld-1.0-tests/toRdf-0107-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0107-out.nq => json-ld-1.0-tests/toRdf-0107-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0108-in.jsonld => json-ld-1.0-tests/toRdf-0108-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0108-out.nq => json-ld-1.0-tests/toRdf-0108-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0109-in.jsonld => json-ld-1.0-tests/toRdf-0109-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0109-out.nq => json-ld-1.0-tests/toRdf-0109-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0110-in.jsonld => json-ld-1.0-tests/toRdf-0110-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0110-out.nq => json-ld-1.0-tests/toRdf-0110-out.nq} (100%) rename core/src/test/resources/{json-ld.org/expand/e045-in.jsonld => json-ld-1.0-tests/toRdf-0111-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0111-out.nq => json-ld-1.0-tests/toRdf-0111-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0112-in.jsonld => json-ld-1.0-tests/toRdf-0112-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0112-out.nq => json-ld-1.0-tests/toRdf-0112-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0113-in.jsonld => json-ld-1.0-tests/toRdf-0113-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0113-out.nq => json-ld-1.0-tests/toRdf-0113-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0114-in.jsonld => json-ld-1.0-tests/toRdf-0114-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0114-out.nq => json-ld-1.0-tests/toRdf-0114-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0115-in.jsonld => json-ld-1.0-tests/toRdf-0115-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0115-out.nq => json-ld-1.0-tests/toRdf-0115-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0116-in.jsonld => json-ld-1.0-tests/toRdf-0116-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0116-out.nq => json-ld-1.0-tests/toRdf-0116-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0117-in.jsonld => json-ld-1.0-tests/toRdf-0117-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0117-out.nq => json-ld-1.0-tests/toRdf-0117-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0118-in.jsonld => json-ld-1.0-tests/toRdf-0118-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-0118-out.nq rename core/src/test/resources/{json-ld.org/toRdf/0119-in.jsonld => json-ld-1.0-tests/toRdf-0119-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0119-out.nq => json-ld-1.0-tests/toRdf-0119-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-1.0-tests/toRdf-manifest.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/LICENSE.md (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/README.md (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact-manifest.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0001-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0001-in.jsonld rename core/src/test/resources/{json-ld.org/compact/ep06-in.jsonld => json-ld-api-tests/compact/0001-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0002-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0002-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0002-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0003-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0003-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0003-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0004-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0004-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0004-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0005-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0005-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0005-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0006-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0006-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0006-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0007-context.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0007-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0007-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0008-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0008-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0008-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0009-context.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0009-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0009-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0010-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0010-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0010-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0011-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0011-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0011-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0012-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0012-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0012-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0013-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0013-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0013-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0014-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0014-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0014-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0015-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0015-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0015-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0016-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0016-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0016-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0017-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0017-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0017-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0018-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0018-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0018-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0019-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0019-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0019-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0020-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0020-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0020-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0021-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0021-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0021-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0022-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0022-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0022-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0023-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0023-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0023-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0024-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0024-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0024-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0025-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0025-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0025-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0026-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0026-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0026-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0027-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0027-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0027-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0028-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0028-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0028-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0029-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0029-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0029-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0030-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0030-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0030-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0031-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0031-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0031-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0032-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0032-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0032-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0033-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0033-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0033-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0034-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0034-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0034-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0035-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0035-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0035-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0036-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0036-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0036-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0037-context.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0037-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0037-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0038-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0038-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0038-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0038a-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0039-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0039-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0039-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0040-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0040-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0040-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0041-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0041-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0041-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0042-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0042-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0042-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0043-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0043-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0043-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0044-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0044-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0044-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0045-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0045-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0045-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0046-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0046-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0046-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0047-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0047-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0047-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0048-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0048-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0048-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0049-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0049-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0049-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0050-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0050-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0050-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0051-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0051-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0051-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0052-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0052-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0052-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0053-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0053-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0053-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0054-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0054-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0054-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0055-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0055-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0055-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0056-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0056-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0056-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0057-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0057-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0057-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0058-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0058-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0058-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0059-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0059-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0059-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0060-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0060-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0060-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0061-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0061-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0061-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0062-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0062-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0062-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0063-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0063-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0063-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0064-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0064-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0064-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0065-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0065-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0065-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0066-context.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0066-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0066-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0067-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0067-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0067-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0068-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0068-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0068-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0069-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0069-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0069-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0070-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0070-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0070-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0071-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0071-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0071-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0072-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0072-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0072-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0073-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0073-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0073-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0074-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0074-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0074-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0075-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0075-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0075-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0076-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0076-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0076-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0077-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0077-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0077-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0078-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0078-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0078-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0079-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0079-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0079-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0080-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0080-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0080-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0081-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0081-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0081-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0082-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0082-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0082-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0083-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0083-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0083-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0084-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0084-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0084-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0085-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0085-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0085-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0086-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0086-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0086-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0087-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0087-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0087-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0088-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0088-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0088-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0089-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0089-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0089-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0090-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0090-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0090-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0091-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0091-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0091-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0092-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0092-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0092-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0093-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0093-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0093-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0094-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0094-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0094-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0095-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0095-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0095-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0096-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0096-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0096-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0097-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0097-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0097-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0098-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0098-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0098-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0099-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0099-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0099-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0100-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0100-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0100-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0101-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0101-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0101-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0102-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0102-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0102-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0103-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0103-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0103-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0104-context.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0104-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0104-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0105-context.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0105-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0105-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0106-context.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0106-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0106-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0107-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0107-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0107-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0108-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0108-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/0108-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c001-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c002-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c003-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c003-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c004-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c004-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c005-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c005-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c005-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c006-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c006-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c006-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c007-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c007-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c007-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c008-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c008-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c008-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c009-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c009-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c009-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c010-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c010-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c010-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c011-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c011-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c011-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c012-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c012-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c012-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c013-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c013-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c013-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c014-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c014-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c014-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c015-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c015-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c015-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c016-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c016-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c016-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c017-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c017-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c017-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c018-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c018-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c018-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c019-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c019-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c019-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c020-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c020-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c020-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c021-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c021-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c021-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c022-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c022-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c022-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c023-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c023-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c023-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c024-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c024-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c024-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c025-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c025-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/c025-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/e001-context.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/e001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/e002-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/e002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/en01-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/en01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep04-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep05-context.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/ep05-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep06-context.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/compact/ep06-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep07-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep07-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep08-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep08-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep09-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep09-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep10-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep10-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep11-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep11-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep12-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep12-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep13-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep13-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep14-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep14-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep15-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/ep15-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h001-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h001-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h002-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h002-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h003-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h003-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h004-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h004-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/h004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js01-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js01-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js02-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js02-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js03-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js03-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js04-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js04-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js05-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js05-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js06-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js06-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js06-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js07-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js07-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js07-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js08-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js08-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js08-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js09-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js09-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/js09-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li01-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li01-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li02-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li02-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li03-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li03-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li04-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li04-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li05-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/li05-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m001-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m002-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m003-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m003-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m004-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m004-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m005-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m005-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m005-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m006-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m006-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m006-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m007-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m007-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m007-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m008-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m008-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m008-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m009-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m009-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m009-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m010-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m010-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m010-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m011-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m011-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m011-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m012-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m012-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m012-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m013-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m013-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m013-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m014-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m014-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m014-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m015-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m015-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m015-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m016-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m016-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m016-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m017-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m017-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m017-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m018-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m018-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m018-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m019-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m019-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/m019-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n001-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n002-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n003-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n003-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n004-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n004-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n005-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n005-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n005-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n006-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n006-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n006-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n007-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n007-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n007-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n008-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n008-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n008-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n009-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n009-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n009-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n010-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n010-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/n010-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p001-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p002-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p003-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p003-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p004-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p004-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p005-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p005-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p005-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p006-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p006-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p006-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p007-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p007-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p007-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p008-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p008-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/p008-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi01-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi01-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi02-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi02-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi03-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi03-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi04-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi04-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi05-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi05-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi06-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi06-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pi06-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr01-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr02-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr03-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr04-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr04-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr05-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/pr05-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/r001-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/r001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/r001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/r002-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/r002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/r002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/s001-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/s001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/s001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/s002-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/s002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/s002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/tn01-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/tn01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/tn01-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/tn02-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/tn02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/tn02-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/tn03-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/tn03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/compact/tn03-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand-manifest.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0001-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0001-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0002-in.jsonld rename core/src/test/resources/{json-ld.org/expand/hc01-out.jsonld => json-ld-api-tests/expand/0002-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0003-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0003-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0004-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0004-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0005-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0005-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0006-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0006-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0007-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0007-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0008-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0008-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0009-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0009-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0010-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0010-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0011-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0011-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0012-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0012-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0013-in.jsonld rename core/src/test/resources/{json-ld.org/expand/hc02-out.jsonld => json-ld-api-tests/expand/0013-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0014-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0014-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0015-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0015-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0016-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0016-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0017-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0017-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0018-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0018-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0019-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0019-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0020-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0020-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0021-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0021-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0022-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0022-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0023-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0023-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0024-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0024-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0025-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0025-out.jsonld (100%) rename core/src/test/resources/{json-ld.org/toRdf/0066-in.jsonld => json-ld-api-tests/expand/0026-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0026-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0027-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0027-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0028-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0028-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0029-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0029-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0030-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0030-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0031-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0031-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0032-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0032-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0033-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0033-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0034-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0034-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0035-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0035-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0036-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0036-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0037-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0037-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0038-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0038-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0039-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0039-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0040-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0040-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0041-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0041-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0042-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0042-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0043-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0043-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0044-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0044-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0045-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0045-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0046-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0046-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0047-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0047-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0048-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0048-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0049-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0049-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0050-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0050-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0051-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0051-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0052-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0052-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0053-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0053-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0054-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0054-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0055-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0055-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0056-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0056-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0057-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0057-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0058-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0058-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0059-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0059-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0060-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0060-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0061-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0061-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0062-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0062-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0063-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0063-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0064-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0064-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0065-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0065-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0066-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0066-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0067-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0067-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0068-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0068-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0069-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0069-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0070-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0070-out.jsonld rename core/src/test/resources/{json-ld.org/toRdf/0111-in.jsonld => json-ld-api-tests/expand/0071-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0071-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0072-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0072-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0073-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0073-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0074-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0074-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0075-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0075-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0076-in.jsonld rename core/src/test/resources/{json-ld.org/expand/0089-out.jsonld => json-ld-api-tests/expand/0076-out.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0077-context.jsonld rename core/src/test/resources/{json-ld.org/expand/hc04-in.jsonld => json-ld-api-tests/expand/0077-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/expand/hc03-out.jsonld => json-ld-api-tests/expand/0077-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0078-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0078-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0079-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0079-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0080-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0080-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0081-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0081-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0082-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0082-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0083-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0083-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0084-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0084-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0085-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0085-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0086-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0086-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0087-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0087-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0088-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0088-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0089-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0089-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0090-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0090-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0091-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0091-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0092-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0092-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0093-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0093-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0094-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0094-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0095-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0095-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0096-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0096-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0097-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0097-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0098-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0098-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0099-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0099-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0100-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0100-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0101-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0101-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0102-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0102-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0103-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0103-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0104-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0104-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0105-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0105-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0106-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0106-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0107-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0107-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0108-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0108-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0109-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0109-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0110-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0110-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0111-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0111-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0112-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0112-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0113-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/0113-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c003-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c004-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c005-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c005-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c006-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c006-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c007-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c007-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c008-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c008-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c009-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c009-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c010-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c010-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c011-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c011-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c012-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c012-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c013-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c013-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c014-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c014-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c015-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c015-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c016-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c016-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c017-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c017-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c018-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c018-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c019-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c019-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c020-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c020-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c021-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c021-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c022-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c022-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c023-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c023-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c024-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c024-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c025-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/c025-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e001-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/e002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/e003-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e004-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/e005-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e006-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e007-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e008-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e009-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e010-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e011-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e012-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e013-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e014-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e015-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e016-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e017-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e018-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e019-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e020-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e021-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e022-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e023-in.jsonld rename core/src/test/resources/{json-ld.org/expand/li03-in.jsonld => json-ld-api-tests/expand/e024-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e025-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e026-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e027-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e028-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e029-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e030-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e031-in.jsonld rename core/src/test/resources/{json-ld.org/expand/li01-in.jsonld => json-ld-api-tests/expand/e032-in.jsonld} (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e033-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e034-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e035-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e036-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e037-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e038-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e039-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e040-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e041-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e042-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e043-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/e044-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e045-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/ec01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/em01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/en01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/en02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/en03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/en04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/en05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/en06-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/ep01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/ep02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/ep03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/es01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/es02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h001-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h002-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h003-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h004-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h005-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h005-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h006-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h006-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h007-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h007-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h008-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h008-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h009-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h009-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h010-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h010-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h011-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h012-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h013-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h014-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h015-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h016-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h017-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h018-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h018-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h019-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h019-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h020-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h020-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h021-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h021-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h022-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/h022-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/hc01-context.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/hc01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org/expand/hc04-out.jsonld => json-ld-api-tests/expand/hc01-out.jsonld} (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/hc02-context.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/hc02-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/hc02-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/hc03-context.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/hc03-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/hc03-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/hc04-context.html (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/hc04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/hc04-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/hc05-context.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/hc05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js01-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js02-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js03-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js04-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js05-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js06-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js06-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js07-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js07-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js08-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js08-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js09-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js09-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js10-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/js10-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/l001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/l001-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/li01-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li01-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li02-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/expand/li03-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li03-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li04-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li05-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li06-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li06-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li07-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li07-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li08-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li08-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li09-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li09-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li10-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/li10-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m003-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m004-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m005-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m005-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m006-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m006-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m007-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m007-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m008-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m008-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m009-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m009-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m010-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m010-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m011-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m011-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m012-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m012-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m013-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m013-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m014-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m014-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m015-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m015-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m016-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/m016-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n003-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n004-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n005-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n005-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n006-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n006-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n007-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/n007-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/p001-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/p001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/p002-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/p002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/p003-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/p003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/p004-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/p004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi06-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi06-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi07-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi07-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi08-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi08-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi09-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi09-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi10-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi10-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi11-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pi11-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr02-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr06-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr06-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr08-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr09-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr10-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr10-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr11-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr12-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr13-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr13-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr14-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr14-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr15-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr15-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr16-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr16-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr17-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr18-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr19-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr19-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr20-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr21-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr22-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr22-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr23-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr23-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr24-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr24-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr25-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr25-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr26-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr27-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr27-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr28-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr29-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/pr29-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/tn01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/tn02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/expand/tn02-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten-manifest.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0001-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0001-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0002-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0002-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0003-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0003-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0004-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0004-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0005-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0005-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0006-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0006-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0007-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0007-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0008-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0008-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0009-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0009-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0010-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0010-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0011-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0011-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0012-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0012-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0013-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0013-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0014-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0014-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0015-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0015-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0016-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0016-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0017-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0017-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0018-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0018-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0019-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0019-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0020-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0020-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0021-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0021-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0022-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0022-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0023-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0023-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0024-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0024-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0025-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0025-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0026-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0026-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0027-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0027-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0028-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0028-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0030-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0030-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0031-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0031-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0032-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0032-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0033-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0033-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0034-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0034-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0035-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0035-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0036-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0036-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0037-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0037-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0038-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0038-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0039-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0039-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0040-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0040-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0041-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0041-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0042-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0042-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0043-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0043-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0044-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0044-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0044-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0045-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/0045-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0046-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0046-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0047-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0047-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0048-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0048-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0049-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/0049-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/e001-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h001-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h001-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h001-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h002-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h002-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h002-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h003-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h003-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h004-context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h004-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/h004-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/li01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/li01-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/li02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/li02-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/li03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/flatten/li03-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf-manifest.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0001-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0001-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0002-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0002-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0003-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0003-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0004-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0004-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0005-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0005-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0006-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0006-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0007-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0007-out.jsonld rename core/src/test/resources/{json-ld.org/fromRdf/li03-in.nq => json-ld-api-tests/fromRdf/0008-in.nq} (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0008-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0009-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0009-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0010-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0010-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0011-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0011-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0012-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0012-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0013-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0013-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0014-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0014-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0015-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0015-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0016-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0016-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0017-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0017-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0018-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0018-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0019-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/0019-out.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0020-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0020-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0021-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0021-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0022-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0022-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0023-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0023-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0024-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0024-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0025-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0025-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0026-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/0026-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js01-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js01-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js02-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js02-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js03-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js03-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js04-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js04-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js05-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js05-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js06-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js06-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js07-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/js07-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/li01-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/li01-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/li02-in.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/li02-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/li03-in.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/fromRdf/li03-out.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/manifest.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/mk_vocab.rb (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/remote-doc-manifest.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/remote-doc/.htaccess (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0001-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/remote-doc/0001-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0002-in.json rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/remote-doc/0002-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0003-in.jldt rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/remote-doc/0003-out.jsonld (100%) rename core/src/test/resources/{json-ld.org/toRdf/wf05-out.nq => json-ld-api-tests/remote-doc/0004-in.jldte} (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0009-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0009-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/remote-doc/0009-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0010-context.jsonld rename core/src/test/resources/{json-ld.org/remote-doc/0013-in.json => json-ld-api-tests/remote-doc/0010-in.json} (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/remote-doc/0010-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0011-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0011-in.jldt rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/remote-doc/0011-out.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0012-context1.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0012-context2.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0012-in.json rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/remote-doc/0013-context.html (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/0013-in.json rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/remote-doc/0013-out.jsonld (100%) rename core/src/test/resources/{json-ld.org/toRdf/0120-in.jsonld => json-ld-api-tests/toRdf-0120-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0120-out.nq => json-ld-api-tests/toRdf-0120-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0121-in.jsonld => json-ld-api-tests/toRdf-0121-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0121-out.nq => json-ld-api-tests/toRdf-0121-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0122-in.jsonld => json-ld-api-tests/toRdf-0122-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0122-out.nq => json-ld-api-tests/toRdf-0122-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0123-in.jsonld => json-ld-api-tests/toRdf-0123-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0123-out.nq => json-ld-api-tests/toRdf-0123-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0124-in.jsonld => json-ld-api-tests/toRdf-0124-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0124-out.nq => json-ld-api-tests/toRdf-0124-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0125-in.jsonld => json-ld-api-tests/toRdf-0125-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0125-out.nq => json-ld-api-tests/toRdf-0125-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0127-in.jsonld => json-ld-api-tests/toRdf-0127-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0127-out.nq => json-ld-api-tests/toRdf-0127-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0129-in.jsonld => json-ld-api-tests/toRdf-0129-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0129-out.nq => json-ld-api-tests/toRdf-0129-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0130-in.jsonld => json-ld-api-tests/toRdf-0130-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0130-out.nq => json-ld-api-tests/toRdf-0130-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0131-in.jsonld => json-ld-api-tests/toRdf-0131-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0131-out.nq => json-ld-api-tests/toRdf-0131-out.nq} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0132-in.jsonld => json-ld-api-tests/toRdf-0132-in.jsonld} (100%) rename core/src/test/resources/{json-ld.org/toRdf/0132-out.nq => json-ld-api-tests/toRdf-0132-out.nq} (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf-manifest.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0001-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0001-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0002-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0002-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0003-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0003-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0004-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0004-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0005-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0005-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0006-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0006-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0007-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0007-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0008-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0008-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0009-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0009-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0010-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0010-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0011-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0011-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0012-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0012-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0013-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0013-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0014-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0014-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0015-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0015-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0016-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0016-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0017-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0017-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0018-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0018-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0019-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0019-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0020-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0020-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0022-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0022-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0023-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0023-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0024-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0024-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0025-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0025-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0026-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0026-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0027-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0027-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0028-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0028-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0029-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0029-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0030-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0030-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0031-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0031-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0032-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0032-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0033-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0033-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0034-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0034-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0035-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0035-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0036-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0036-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0041-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/wf06-out.nq => json-ld-api-tests/toRdf/0041-out.nq} (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0042-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0042-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0043-in.jsonld rename core/src/test/resources/{json-ld.org/toRdf/wf07-out.nq => json-ld-api-tests/toRdf/0043-out.nq} (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0044-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0044-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0045-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0045-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0046-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0046-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0047-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0047-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0048-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0048-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0049-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0049-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0050-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0050-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0051-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0051-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0052-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0052-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0053-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0053-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0054-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0054-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0055-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0055-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0056-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0056-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0057-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0057-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0058-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0058-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0059-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0059-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0060-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0060-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0061-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0061-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0062-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0062-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0063-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0063-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0064-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0064-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0065-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0065-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0066-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0066-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0067-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0067-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0068-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0068-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0069-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0069-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0070-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0070-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0071-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0071-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0072-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0072-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0073-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0073-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0074-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0074-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0075-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0075-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0076-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0076-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0077-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0077-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0078-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0078-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0079-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0079-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0080-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0080-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0081-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0081-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0082-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0082-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0083-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0083-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0084-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0084-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0085-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0085-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0086-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0086-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0087-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0087-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0088-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0088-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0089-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0089-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0090-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0090-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0091-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0091-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0092-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0092-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0093-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0093-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0094-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0094-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0095-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0095-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0096-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0096-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0097-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0097-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0098-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0098-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0099-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0099-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0100-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0100-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0101-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0101-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0102-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0102-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0103-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0103-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0104-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0104-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0105-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0105-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0106-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0106-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0107-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0107-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0108-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0108-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0109-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0109-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0110-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0110-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0111-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0111-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0112-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0112-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0113-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0113-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0114-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0114-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0115-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0115-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0116-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0116-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0117-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0117-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0118-in.jsonld rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0118-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0119-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0119-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0120-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0120-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0121-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0121-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0122-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0122-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0123-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0123-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0124-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0124-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0125-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0125-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0126-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0126-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0127-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0127-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0128-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/0128-out.nq (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0129-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0129-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0130-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0130-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0131-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0131-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0132-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/0132-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/h001-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/h001-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/h002-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/h002-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/h003-in.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/h003-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js01-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js02-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js03-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js04-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js05-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js06-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js06-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js07-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js07-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js08-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js08-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js09-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js09-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js10-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js10-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js11-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js11-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js12-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js12-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js13-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/js13-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/li01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/li01-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/li02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/li02-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt02-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt03-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt05-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt06-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt07-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt08-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt09-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt10-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt11-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt12-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt13-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt14-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt15-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/nt16-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/rt01-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/rt01-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/wf01-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/wf01-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/wf02-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/wf02-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/wf03-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/wf03-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/wf04-in.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/wf04-out.nq (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/wf05-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/wf05-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/wf06-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/wf06-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/toRdf/wf07-in.jsonld (100%) create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/wf07-out.nq rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/vocab.html (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/vocab.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/vocab.ttl (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/vocab_context.jsonld (100%) rename core/src/test/resources/{json-ld.org => json-ld-api-tests}/vocab_template.haml (100%) diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdOptions.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdOptions.java index ff0038ee..dc139917 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdOptions.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdOptions.java @@ -85,6 +85,7 @@ public JsonLdOptions copy() { private Object expandContext = null; /** * http://www.w3.org/TR/json-ld-api/#widl-JsonLdOptions-processingMode + * jsonld 1.1: https://www.w3.org/TR/json-ld11/#dfn-processing-mode */ private String processingMode = JSON_LD_1_0; /** diff --git a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java b/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java index a799e093..48e1bbbb 100644 --- a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java +++ b/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java @@ -45,7 +45,10 @@ @RunWith(Parameterized.class) public class JsonLdProcessorTest { - private static final String TEST_DIR = "json-ld.org"; + private static final String TEST_DIR = "json-ld-api-tests"; + // option: run the old 1.0 test suite: + // private static final String TEST_DIR = "json-ld-1.0-tests"; + private static final String MANIFEST_FILE = "manifest.jsonld"; private static Map REPORT; @@ -186,36 +189,8 @@ public static Collection data() throws URISyntaxException, IOException final ClassLoader cl = Thread.currentThread().getContextClassLoader(); final File testDir = new File(cl.getResource(TEST_DIR).toURI()); - final File mainManifestFile = new File(testDir, MANIFEST_FILE); - - final Map mainManifest = (Map) JsonUtils - .fromInputStream(new FileInputStream(mainManifestFile)); - final List manifestFileNames = (List) mainManifest - .get("sequence"); - - final List manifestfiles = new ArrayList(); - - for (final String manifestFileName : manifestFileNames) { - System.out.println("Using manifest: " + testDir + " " + manifestFileName); - manifestfiles.add(new File(testDir, manifestFileName)); - } - - // final List manifestfiles = Arrays.asList(f.listFiles(new FilenameFilter() { - // @Override - // public boolean accept(File dir, String name) { - // if (name.contains("manifest") && name.endsWith(".jsonld") && !name.equals("manifest.jsonld")) { - // System.out.println("Using manifest: " + dir + " " - // + name); - // // Remote-doc tests are not currently supported - // if (name.contains("remote-doc")) { - // return false; - // } - // return true; - // } - // return false; - // } - // })); + final List manifestfiles = loadManifestFiles(testDir); final Collection rdata = new ArrayList(); for (final File in : manifestfiles) { @@ -246,6 +221,40 @@ public static Collection data() throws URISyntaxException, IOException return rdata; } + private static List loadManifestFiles(final File testDir) { + List manifestfiles = new ArrayList(); + if (testDir.getName().equals("json-ld-api-tests")) { + final File mainManifestFile = new File(testDir, MANIFEST_FILE); + Map mainManifest; + try { + mainManifest = (Map) JsonUtils.fromInputStream(new FileInputStream(mainManifestFile)); + final List manifestFileNames = (List) mainManifest.get("sequence"); + for (final String manifestFileName : manifestFileNames) { + System.out.println("Using manifest: " + testDir + " " + manifestFileName); + manifestfiles.add(new File(testDir, manifestFileName)); + } + } catch (IOException e) { + e.printStackTrace(); + } + } else { + manifestfiles = Arrays.asList(testDir.listFiles(new FilenameFilter() { + @Override + public boolean accept(File dir, String name) { + if (name.contains("manifest") && name.endsWith(".jsonld") && !name.equals("manifest.jsonld")) { + System.out.println("Using manifest: " + dir + " " + name); + // Remote-doc tests are not currently supported + if (name.contains("remote-doc")) { + return false; + } + return true; + } + return false; + } + })); + } + return manifestfiles; + } + private class TestDocumentLoader extends DocumentLoader { private final String base; diff --git a/core/src/test/resources/json-ld.org/compact/0001-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0001-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0001-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0001-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0001-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0001-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0002-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0002-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0002-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0002-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0002-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0002-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0003-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0003-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0003-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0003-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0003-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0003-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0003-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0003-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0004-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0004-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0004-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0004-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0004-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0004-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0004-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0004-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0005-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0005-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0005-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0005-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0005-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0005-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0005-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0005-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0006-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0006-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0006-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0006-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0006-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0006-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0006-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0006-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0006-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0007-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0007-context.jsonld new file mode 100644 index 00000000..05b0b307 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0007-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:authored": {"@type": "@id"}, + "ex:contains": {"@type": "@id"}, + "foaf": "http://xmlns.com/foaf/0.1/" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0007-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0007-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0007-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0007-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0007-out.jsonld new file mode 100644 index 00000000..10bd5977 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0007-out.jsonld @@ -0,0 +1,34 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:authored": {"@type": "@id"}, + "ex:contains": {"@type": "@id"}, + "foaf": "http://xmlns.com/foaf/0.1/" + }, + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "ex:authored": "http://example.org/test#chapter", + "foaf:name": "Jane" + }, + { + "@id": "http://example.org/test#john", + "foaf:name": "John" + }, + { + "@id": "http://example.org/test#library", + "ex:contains": { + "@id": "http://example.org/test#book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "http://example.org/vocab#contains": "this-is-not-an-IRI" + } + } + ] +} diff --git a/core/src/test/resources/json-ld.org/compact/0008-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0008-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0008-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0008-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0008-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0008-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0008-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0008-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0008-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0009-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0009-context.jsonld new file mode 100644 index 00000000..0d0575fa --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0009-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0009-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0009-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0009-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0009-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0009-out.jsonld new file mode 100644 index 00000000..a77c4fcf --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0009-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@id": "http://example.org/test#book", + "dc:title": "Title", + "ex:contains": "http://example.org/test#chapter" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0010-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0010-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0010-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0010-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0010-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0010-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0010-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0010-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0011-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0011-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0011-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0011-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0011-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0011-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0011-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0011-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0011-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0011-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0012-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0012-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0012-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0012-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0012-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0012-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0012-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0012-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0012-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0013-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0013-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0013-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0013-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0013-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0013-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0013-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0013-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0014-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0014-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0014-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0014-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0014-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0014-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0014-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0014-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0015-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0015-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0015-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0015-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0015-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0015-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0015-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0015-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0016-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0016-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0016-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0016-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0016-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0016-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0016-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0016-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0017-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0017-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0017-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0017-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0017-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0017-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0017-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0017-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0018-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0018-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0018-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0018-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0018-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0018-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0018-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0018-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0019-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0019-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0019-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0019-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0019-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0019-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0019-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0019-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0020-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0020-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0020-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0020-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0020-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0020-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0020-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0020-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0020-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0020-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0021-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0021-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0021-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0021-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0021-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0021-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0021-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0021-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0021-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0021-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0021-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0021-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0022-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0022-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0022-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0022-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0022-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0022-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0022-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0022-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0022-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0022-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0023-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0023-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0023-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0023-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0023-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0023-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0023-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0023-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0023-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0023-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0024-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0024-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0024-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0024-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0024-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0024-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0024-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0024-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0024-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0024-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0025-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0025-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0025-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0025-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0025-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0025-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0025-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0025-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0025-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0025-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0025-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0025-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0026-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0026-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0026-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0026-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0026-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0026-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0026-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0026-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0026-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0026-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0026-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0027-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0027-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0027-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0027-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0027-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0027-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0027-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0027-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0027-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0027-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0027-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0027-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0028-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0028-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0028-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0028-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0028-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0028-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0028-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0028-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0028-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0028-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0028-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0028-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0029-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0029-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0029-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0029-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0029-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0029-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0029-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0029-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0029-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0029-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0029-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0029-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0030-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0030-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0030-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0030-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0030-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0030-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0030-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0030-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0030-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0030-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0030-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0030-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0031-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0031-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0031-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0031-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0031-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0031-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0031-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0031-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0031-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0031-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0031-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0031-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0032-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0032-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0032-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0032-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0032-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0032-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0032-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0032-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0032-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0032-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0032-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0033-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0033-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0033-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0033-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0033-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0033-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0033-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0033-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0033-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0033-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0033-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0033-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0034-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0034-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0034-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0034-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0034-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0034-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0034-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0034-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0034-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0034-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0034-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0034-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0035-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0035-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0035-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0035-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0035-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0035-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0035-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0035-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0035-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0035-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0035-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0035-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0036-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0036-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0036-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0036-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0036-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0036-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0036-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0036-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0036-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0036-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0036-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0036-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0037-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0037-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0037-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0037-context.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0037-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0037-in.jsonld new file mode 100644 index 00000000..ca350a2e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0037-in.jsonld @@ -0,0 +1,20 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + } + ], + "http://example.com/vocab/noTerm": [ + { + "@id": "http://json-ld.org/test-suite/tests/relative-node", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Compact keys using @vocab" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld.org/compact/0037-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0037-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0037-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0037-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0038-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0038-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0038-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0038-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0038-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0038-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0038-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0038-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0038-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0038-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0038-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0038-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0039-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0039-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0039-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0039-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0039-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0039-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0039-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0039-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0039-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0039-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0039-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0039-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0040-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0040-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0040-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0040-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0040-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0040-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0040-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0040-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0040-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0040-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0040-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0040-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0041-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0041-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0041-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0041-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0041-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0041-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0041-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0041-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0041-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0041-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0041-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0041-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0042-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0042-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0042-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0042-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0042-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0042-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0042-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0042-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0042-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0042-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0042-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0042-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0043-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0043-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0043-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0043-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0043-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0043-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0043-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0043-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0043-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0043-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0043-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0043-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0044-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0044-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0044-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0044-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0044-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0044-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0044-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0044-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0044-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0044-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0044-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0044-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0045-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0045-context.jsonld new file mode 100644 index 00000000..005f5e16 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0045-context.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "term": "http://example.com/terms-are-not-considered-in-id", + "compact-iris": "http://example.com/compact-iris-", + "property": "http://example.com/property", + "@vocab": "http://example.org/vocab-is-not-considered-for-id" + }, + "@id": "term", + "property": [ + { + "@id": "compact-iris:are-considered", + "property": "@id supports the following values: relative, absolute, and compact IRIs" + }, + { + "@id": "../parent-node", + "property": "relative IRIs get resolved against the document's base IRI" + } + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0045-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0045-in.jsonld new file mode 100644 index 00000000..990d67b3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0045-in.jsonld @@ -0,0 +1,19 @@ +[ + { + "@id": "http://json-ld.org/test-suite/tests/term", + "http://example.com/property": [ + { + "@id": "http://example.com/compact-iris-are-considered", + "http://example.com/property": [ + { "@value": "@id supports the following values: relative, absolute, and compact IRIs" } + ] + }, + { + "@id": "http://json-ld.org/test-suite/parent-node", + "http://example.com/property": [ + { "@value": "relative IRIs get resolved against the document's base IRI" } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0045-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0045-out.jsonld new file mode 100644 index 00000000..005f5e16 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0045-out.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "term": "http://example.com/terms-are-not-considered-in-id", + "compact-iris": "http://example.com/compact-iris-", + "property": "http://example.com/property", + "@vocab": "http://example.org/vocab-is-not-considered-for-id" + }, + "@id": "term", + "property": [ + { + "@id": "compact-iris:are-considered", + "property": "@id supports the following values: relative, absolute, and compact IRIs" + }, + { + "@id": "../parent-node", + "property": "relative IRIs get resolved against the document's base IRI" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/compact/0046-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0046-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0046-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0046-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0046-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0046-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0046-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0046-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0046-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0046-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0046-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0046-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0047-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0047-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0047-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0047-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0047-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0047-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0047-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0047-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0047-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0047-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0047-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0047-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0048-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0048-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0048-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0048-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0048-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0048-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0048-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0048-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0048-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0048-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0048-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0048-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0049-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0049-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0049-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0049-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0049-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0049-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0049-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0049-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0049-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0049-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0049-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0049-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0050-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0050-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0050-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0050-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0050-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0050-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0050-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0050-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0050-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0050-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0050-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0050-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0051-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0051-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0051-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0051-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0051-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0051-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0051-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0051-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0051-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0051-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0051-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0051-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0052-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0052-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0052-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0052-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0052-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0052-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0052-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0052-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0052-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0052-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0052-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0052-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0053-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0053-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0053-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0053-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0053-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0053-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0053-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0053-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0053-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0053-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0053-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0053-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0054-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0054-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0054-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0054-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0054-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0054-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0054-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0054-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0054-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0054-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0054-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0054-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0055-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0055-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0055-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0055-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0055-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0055-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0055-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0055-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0055-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0055-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0055-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0055-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0056-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0056-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0056-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0056-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0056-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0056-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0056-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0056-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0056-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0056-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0056-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0056-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0057-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0057-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0057-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0057-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0057-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0057-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0057-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0057-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0057-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0057-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0057-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0057-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0058-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0058-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0058-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0058-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0058-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0058-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0058-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0058-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0058-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0058-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0058-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0058-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0059-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0059-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0059-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0059-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0059-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0059-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0059-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0059-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0059-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0059-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0059-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0059-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0060-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0060-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0060-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0060-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0060-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0060-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0060-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0060-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0060-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0060-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0060-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0060-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0061-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0061-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0061-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0061-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0061-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0061-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0061-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0061-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0061-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0061-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0061-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0061-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0062-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0062-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0062-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0062-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0062-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0062-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0062-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0062-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0062-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0062-out.jsonld new file mode 100644 index 00000000..80fe823a --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0062-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" } + }, + "term": "http://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI" +} diff --git a/core/src/test/resources/json-ld.org/compact/0063-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0063-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0063-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0063-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0063-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0063-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0063-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0063-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0063-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0063-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0063-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0063-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0064-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0064-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0064-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0064-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0064-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0064-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0064-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0064-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0064-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0064-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0064-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0064-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0065-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0065-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0065-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0065-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0065-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0065-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0065-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0065-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0065-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0065-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0065-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0065-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0066-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0066-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0066-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0066-context.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0066-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0066-in.jsonld new file mode 100644 index 00000000..7ae15cd4 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0066-in.jsonld @@ -0,0 +1,34 @@ +[ + { + "@id": "http://json-ld.org/test-suite/tests/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" + ], + "http://www.example.com/link": [ { + "@list": [ + { "@id": "http://json-ld.org/test-suite/tests/link" }, + { "@id": "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld#fragment-works" }, + { "@id": "http://json-ld.org/test-suite/tests/compact-0066-in.jsonld?query=works" }, + { "@id": "http://json-ld.org/test-suite/tests/" }, + { "@id": "http://json-ld.org/test-suite/" }, + { "@id": "http://json-ld.org/test-suite/parent" }, + { "@id": "http://json-ld.org/test-suite/parent#fragment" }, + { "@id": "http://json-ld.org/parent-parent-eq-root" }, + { "@id": "http://json-ld.org/still-root" }, + { "@id": "http://json-ld.org/too-many-dots" }, + { "@id": "http://json-ld.org/absolute" }, + { "@id": "http://example.org/scheme-relative" } + ] + } ] + } +] diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0066-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0066-out.jsonld new file mode 100644 index 00000000..f7f5281c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0066-out.jsonld @@ -0,0 +1,33 @@ +{ + "@context": { + "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } + }, + "@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" + ] +} diff --git a/core/src/test/resources/json-ld.org/compact/0067-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0067-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0067-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0067-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0067-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0067-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0067-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0067-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0067-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0067-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0067-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0067-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0068-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0068-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0068-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0068-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0068-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0068-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0068-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0068-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0068-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0068-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0068-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0068-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0069-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0069-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0069-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0069-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0069-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0069-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0069-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0069-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0069-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0069-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0069-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0069-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0070-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0070-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0070-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0070-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0070-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0070-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0070-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0070-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0070-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0070-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0070-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0070-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0071-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0071-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0071-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0071-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0071-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0071-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0071-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0071-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0071-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0071-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0071-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0071-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0072-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0072-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0072-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0072-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0072-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0072-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0072-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0072-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0072-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0072-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0072-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0072-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0104-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0104-context.jsonld new file mode 100644 index 00000000..dd085528 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0104-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@type": {"@container": "@set"} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0104-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0104-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0104-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0104-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0104-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0104-out.jsonld new file mode 100644 index 00000000..6ac5afcc --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0104-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@type": {"@container": "@set"} + }, + "@type": ["http://example.org/type"] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0105-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0105-context.jsonld new file mode 100644 index 00000000..bc961d55 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0105-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "type": {"@id": "@type", "@container": "@set"} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0105-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0105-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0105-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0105-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0105-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0105-out.jsonld new file mode 100644 index 00000000..6ce29444 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0105-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "type": {"@id": "@type", "@container": "@set"} + }, + "type": ["http://example.org/type"] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0106-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0106-context.jsonld new file mode 100644 index 00000000..bc961d55 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0106-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "type": {"@id": "@type", "@container": "@set"} + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0106-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0106-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0106-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/compact-0106-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-0106-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-0106-out.jsonld new file mode 100644 index 00000000..349e0fb4 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-0106-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "type": {"@id": "@type", "@container": "@set"} + }, + "type": "http://example.org/type" +} diff --git a/core/src/test/resources/json-ld-1.0-tests/compact-manifest.jsonld b/core/src/test/resources/json-ld-1.0-tests/compact-manifest.jsonld new file mode 100644 index 00000000..14e06675 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/compact-manifest.jsonld @@ -0,0 +1,620 @@ +{ + "@context": "http://json-ld.org/test-suite/context.jsonld", + "@id": "", + "@type": "mf:Manifest", + "name": "Compaction", + "description": "JSON-LD compaction tests use object comparison.", + "baseIri": "http://json-ld.org/test-suite/tests/", + "sequence": [ + { + "@id": "#t0001", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "drop free-floating nodes", + "purpose": "Unreferenced nodes not containing properties are dropped", + "input": "compact-0001-in.jsonld", + "context": "compact-0001-context.jsonld", + "expect": "compact-0001-out.jsonld" + }, { + "@id": "#t0002", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "basic", + "purpose": "Basic term and value compaction", + "input": "compact-0002-in.jsonld", + "context": "compact-0002-context.jsonld", + "expect": "compact-0002-out.jsonld" + }, { + "@id": "#t0003", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "drop null and unmapped properties", + "purpose": "Properties mapped to null or which are never mapped are dropped", + "input": "compact-0003-in.jsonld", + "context": "compact-0003-context.jsonld", + "expect": "compact-0003-out.jsonld" + }, { + "@id": "#t0004", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "optimize @set, keep empty arrays", + "purpose": "Containers mapped to @set keep empty arrays", + "input": "compact-0004-in.jsonld", + "context": "compact-0004-context.jsonld", + "expect": "compact-0004-out.jsonld" + }, { + "@id": "#t0005", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@type and prefix compaction", + "purpose": "Compact uses prefixes in @type", + "input": "compact-0005-in.jsonld", + "context": "compact-0005-context.jsonld", + "expect": "compact-0005-out.jsonld" + }, { + "@id": "#t0006", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "keep expanded object format if @type doesn't match", + "purpose": "Values not matching a coerced @type remain in expanded form", + "input": "compact-0006-in.jsonld", + "context": "compact-0006-context.jsonld", + "expect": "compact-0006-out.jsonld" + }, { + "@id": "#t0007", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "add context", + "purpose": "External context is added to the compacted document", + "input": "compact-0007-in.jsonld", + "context": "compact-0007-context.jsonld", + "expect": "compact-0007-out.jsonld" + }, { + "@id": "#t0008", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "alias keywords", + "purpose": "Aliases for keywords are used in compacted document", + "input": "compact-0008-in.jsonld", + "context": "compact-0008-context.jsonld", + "expect": "compact-0008-out.jsonld" + }, { + "@id": "#t0009", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "compact @id", + "purpose": "Value with @id is compacted to string if property cast to @id", + "input": "compact-0009-in.jsonld", + "context": "compact-0009-context.jsonld", + "expect": "compact-0009-out.jsonld" + }, { + "@id": "#t0010", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "array to @graph", + "purpose": "An array of objects is serialized with @graph", + "input": "compact-0010-in.jsonld", + "context": "compact-0010-context.jsonld", + "expect": "compact-0010-out.jsonld" + }, { + "@id": "#t0011", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "compact date", + "purpose": "Expanded value with type xsd:dateTime is represented as string with type coercion", + "input": "compact-0011-in.jsonld", + "context": "compact-0011-context.jsonld", + "expect": "compact-0011-out.jsonld" + }, { + "@id": "#t0012", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "native types", + "purpose": "Native values are unmodified during compaction", + "input": "compact-0012-in.jsonld", + "context": "compact-0012-context.jsonld", + "expect": "compact-0012-out.jsonld" + }, { + "@id": "#t0013", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@value with @language", + "purpose": "Values with @language remain in expended form by default", + "input": "compact-0013-in.jsonld", + "context": "compact-0013-context.jsonld", + "expect": "compact-0013-out.jsonld" + }, { + "@id": "#t0014", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "array to aliased @graph", + "purpose": "Aliasing @graph uses alias in compacted document", + "input": "compact-0014-in.jsonld", + "context": "compact-0014-context.jsonld", + "expect": "compact-0014-out.jsonld" + }, { + "@id": "#t0015", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "best match compaction", + "purpose": "Property with values of different types use most appropriate term when compacting", + "input": "compact-0015-in.jsonld", + "context": "compact-0015-context.jsonld", + "expect": "compact-0015-out.jsonld" + }, { + "@id": "#t0016", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "recursive named graphs", + "purpose": "Compacting a document with multiple embedded uses of @graph", + "input": "compact-0016-in.jsonld", + "context": "compact-0016-context.jsonld", + "expect": "compact-0016-out.jsonld" + }, { + "@id": "#t0017", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "A term mapping to null removes the mapping", + "purpose": "Mapping a term to null causes the property and its values to be removed from the compacted document", + "input": "compact-0017-in.jsonld", + "context": "compact-0017-context.jsonld", + "expect": "compact-0017-out.jsonld" + }, { + "@id": "#t0018", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "best matching term for lists", + "purpose": "Lists with values of different types use best term in compacted document", + "input": "compact-0018-in.jsonld", + "context": "compact-0018-context.jsonld", + "expect": "compact-0018-out.jsonld" + }, { + "@id": "#t0019", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Keep duplicate values in @list and @set", + "purpose": "Duplicate values in @list or @set are retained in compacted document", + "input": "compact-0019-in.jsonld", + "context": "compact-0019-context.jsonld", + "expect": "compact-0019-out.jsonld" + }, { + "@id": "#t0020", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact @id that is a property IRI when @container is @list", + "purpose": "A term with @container: @list is also used as the value of an @id, if appropriate", + "input": "compact-0020-in.jsonld", + "context": "compact-0020-context.jsonld", + "expect": "compact-0020-out.jsonld" + }, { + "@id": "#t0021", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact properties and types using @vocab", + "purpose": "@vocab is used to create relative properties and types if no other term matches", + "input": "compact-0021-in.jsonld", + "context": "compact-0021-context.jsonld", + "expect": "compact-0021-out.jsonld" + }, { + "@id": "#t0022", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@list compaction of nested properties", + "purpose": "Compact nested properties using @list containers", + "input": "compact-0022-in.jsonld", + "context": "compact-0022-context.jsonld", + "expect": "compact-0022-out.jsonld" + }, { + "@id": "#t0023", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "prefer @vocab over compacted IRIs", + "purpose": "@vocab takes precedence over prefixes - even if the result is longer", + "input": "compact-0023-in.jsonld", + "context": "compact-0023-context.jsonld", + "expect": "compact-0023-out.jsonld" + }, { + "@id": "#t0024", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "most specific term matching in @list.", + "purpose": "The most specific term that matches all of the elements in the list, taking into account the default language, must be selected.", + "input": "compact-0024-in.jsonld", + "context": "compact-0024-context.jsonld", + "expect": "compact-0024-out.jsonld" + }, { + "@id": "#t0025", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Language maps", + "purpose": "Multiple values with different languages use language maps if property has @container: @language", + "input": "compact-0025-in.jsonld", + "context": "compact-0025-context.jsonld", + "expect": "compact-0025-out.jsonld" + }, { + "@id": "#t0026", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Language map term selection with complications", + "purpose": "Test appropriate property use given language maps with @vocab, a default language, and a competing term", + "input": "compact-0026-in.jsonld", + "context": "compact-0026-context.jsonld", + "expect": "compact-0026-out.jsonld" + }, { + "@id": "#t0027", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@container: @set with multiple values", + "purpose": "Fall back to term with @set container if term with language map is defined", + "input": "compact-0027-in.jsonld", + "context": "compact-0027-context.jsonld", + "expect": "compact-0027-out.jsonld" + }, { + "@id": "#t0028", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Alias keywords and use @vocab", + "purpose": "Combination of keyword aliases and @vocab", + "input": "compact-0028-in.jsonld", + "context": "compact-0028-context.jsonld", + "expect": "compact-0028-out.jsonld" + }, { + "@id": "#t0029", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Simple @index map", + "purpose": "Output uses index mapping if term is defined with @container: @index", + "input": "compact-0029-in.jsonld", + "context": "compact-0029-context.jsonld", + "expect": "compact-0029-out.jsonld" + }, { + "@id": "#t0030", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "non-matching @container: @index", + "purpose": "Preserve @index tags if not compacted to an index map", + "input": "compact-0030-in.jsonld", + "context": "compact-0030-context.jsonld", + "expect": "compact-0030-out.jsonld" + }, { + "@id": "#t0031", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact @reverse", + "purpose": "Compact traverses through @reverse", + "input": "compact-0031-in.jsonld", + "context": "compact-0031-context.jsonld", + "expect": "compact-0031-out.jsonld" + }, { + "@id": "#t0032", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact keys in reverse-maps", + "purpose": "Compact traverses through @reverse", + "input": "compact-0032-in.jsonld", + "context": "compact-0032-context.jsonld", + "expect": "compact-0032-out.jsonld" + }, { + "@id": "#t0033", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact reverse-map to reverse property", + "purpose": "A reverse map is replaced with a matching property defined with @reverse", + "input": "compact-0033-in.jsonld", + "context": "compact-0033-context.jsonld", + "expect": "compact-0033-out.jsonld" + }, { + "@id": "#t0034", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Skip property with @reverse if no match", + "purpose": "Do not use reverse property if no other property matches as normal property", + "input": "compact-0034-in.jsonld", + "context": "compact-0034-context.jsonld", + "expect": "compact-0034-out.jsonld" + }, { + "@id": "#t0035", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact @reverse node references using strings", + "purpose": "Compact node references to strings for reverse properties using @type: @id", + "input": "compact-0035-in.jsonld", + "context": "compact-0035-context.jsonld", + "expect": "compact-0035-out.jsonld" + }, { + "@id": "#t0036", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact reverse properties using index containers", + "purpose": "Compact using both reverse properties and index containers", + "input": "compact-0036-in.jsonld", + "context": "compact-0036-context.jsonld", + "expect": "compact-0036-out.jsonld" + }, { + "@id": "#t0037", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact keys in @reverse using @vocab", + "purpose": "Compact keys in @reverse using @vocab", + "input": "compact-0037-in.jsonld", + "context": "compact-0037-context.jsonld", + "expect": "compact-0037-out.jsonld" + }, { + "@id": "#t0038", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Index map round-tripping", + "purpose": "Complext round-tripping use case from Drupal", + "input": "compact-0038-in.jsonld", + "context": "compact-0038-context.jsonld", + "expect": "compact-0038-out.jsonld" + }, { + "@id": "#t0039", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@graph is array", + "purpose": "Value of @graph is always an array", + "input": "compact-0039-in.jsonld", + "context": "compact-0039-context.jsonld", + "expect": "compact-0039-out.jsonld" + }, { + "@id": "#t0040", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@list is array", + "purpose": "Ensure that value of @list is always an array", + "input": "compact-0040-in.jsonld", + "context": "compact-0040-context.jsonld", + "expect": "compact-0040-out.jsonld" + }, { + "@id": "#t0041", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "index rejects term having @list", + "purpose": "If an index is present, a term having an @list container is not selected", + "input": "compact-0041-in.jsonld", + "context": "compact-0041-context.jsonld", + "expect": "compact-0041-out.jsonld" + }, { + "@id": "#t0042", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@list keyword aliasing", + "purpose": "Make sure keyword aliasing works if a list can't be compacted", + "input": "compact-0042-in.jsonld", + "context": "compact-0042-context.jsonld", + "expect": "compact-0042-out.jsonld" + }, { + "@id": "#t0043", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "select term over @vocab", + "purpose": "Ensure that @vocab compaction isn't used if the result collides with a term", + "input": "compact-0043-in.jsonld", + "context": "compact-0043-context.jsonld", + "expect": "compact-0043-out.jsonld" + }, { + "@id": "#t0044", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@type: @vocab in reverse-map", + "purpose": "Prefer properties with @type: @vocab in reverse-maps if the value can be compacted to a term", + "input": "compact-0044-in.jsonld", + "context": "compact-0044-context.jsonld", + "expect": "compact-0044-out.jsonld" + }, { + "@id": "#t0045", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@id value uses relative IRI, not term", + "purpose": "Values of @id are transformed to relative IRIs, terms are ignored", + "input": "compact-0045-in.jsonld", + "context": "compact-0045-context.jsonld", + "expect": "compact-0045-out.jsonld" + }, { + "@id": "#t0046", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "multiple objects without @context use @graph", + "purpose": "Wrap top-level array into @graph even if no context is passed", + "input": "compact-0046-in.jsonld", + "context": "compact-0046-context.jsonld", + "expect": "compact-0046-out.jsonld" + }, { + "@id": "#t0047", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Round-trip relative URLs", + "purpose": "Relative URLs remain relative after compaction", + "input": "compact-0047-in.jsonld", + "context": "compact-0047-context.jsonld", + "expect": "compact-0047-out.jsonld" + }, { + "@id": "#t0048", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "term with @language: null", + "purpose": "Prefer terms with a language mapping set to null over terms without language-mapping for non-strings", + "input": "compact-0048-in.jsonld", + "context": "compact-0048-context.jsonld", + "expect": "compact-0048-out.jsonld" + }, { + "@id": "#t0049", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Round tripping of lists that contain just IRIs", + "purpose": "List compaction without @container: @list still uses strings if @type: @id", + "input": "compact-0049-in.jsonld", + "context": "compact-0049-context.jsonld", + "expect": "compact-0049-out.jsonld" + }, { + "@id": "#t0050", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Reverse properties require @type: @id to use string values", + "purpose": "Node references in reverse properties are not compacted to strings without explicit type-coercion", + "input": "compact-0050-in.jsonld", + "context": "compact-0050-context.jsonld", + "expect": "compact-0050-out.jsonld" + }, { + "@id": "#t0051", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Round tripping @list with scalar", + "purpose": "Native values survive round-tripping with @list", + "input": "compact-0051-in.jsonld", + "context": "compact-0051-context.jsonld", + "expect": "compact-0051-out.jsonld" + }, { + "@id": "#t0052", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Round tripping @list with scalar and @graph alias", + "purpose": "Native values survive round-tripping with @list and @graph alias", + "input": "compact-0052-in.jsonld", + "context": "compact-0052-context.jsonld", + "expect": "compact-0052-out.jsonld" + }, { + "@id": "#t0053", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Use @type: @vocab if no @type: @id", + "purpose": "Compact to @type: @vocab when no @type: @id term available", + "input": "compact-0053-in.jsonld", + "context": "compact-0053-context.jsonld", + "expect": "compact-0053-out.jsonld" + }, { + "@id": "#t0054", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact to @type: @vocab and compact @id to term", + "purpose": "Compact to @type: @vocab and compact @id to term", + "input": "compact-0054-in.jsonld", + "context": "compact-0054-context.jsonld", + "expect": "compact-0054-out.jsonld" + }, { + "@id": "#t0055", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Round tripping @type: @vocab", + "purpose": "Compacting IRI value of property with @type: @vocab can use term", + "input": "compact-0055-in.jsonld", + "context": "compact-0055-context.jsonld", + "expect": "compact-0055-out.jsonld" + }, { + "@id": "#t0056", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Prefer @type: @vocab over @type: @id for terms", + "purpose": "Compacting IRI value of property with @type: @vocab can use term", + "input": "compact-0056-in.jsonld", + "context": "compact-0056-context.jsonld", + "expect": "compact-0056-out.jsonld" + }, { + "@id": "#t0057", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Complex round tripping @type: @vocab and @type: @id", + "purpose": "Compacting IRI value of property with @type: @vocab can use term; more complex", + "input": "compact-0057-in.jsonld", + "context": "compact-0057-context.jsonld", + "expect": "compact-0057-out.jsonld" + }, { + "@id": "#t0058", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Prefer @type: @id over @type: @vocab for non-terms", + "purpose": "Choose a term having @type: @id over @type: @value if value is not a term", + "input": "compact-0058-in.jsonld", + "context": "compact-0058-context.jsonld", + "expect": "compact-0058-out.jsonld" + }, { + "@id": "#t0059", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Term with @type: @vocab if no @type: @id", + "purpose": "If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms", + "input": "compact-0059-in.jsonld", + "context": "compact-0059-context.jsonld", + "expect": "compact-0059-out.jsonld" + }, { + "@id": "#t0060", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Term with @type: @id if no @type: @vocab and term value", + "purpose": "If there's no term with @type: @vocab, use terms with @type: @id for IRIs mapped to terms", + "input": "compact-0060-in.jsonld", + "context": "compact-0060-context.jsonld", + "expect": "compact-0060-out.jsonld" + }, { + "@id": "#t0061", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@type: @vocab/@id with values matching either", + "purpose": "Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab)", + "input": "compact-0061-in.jsonld", + "context": "compact-0061-context.jsonld", + "expect": "compact-0061-out.jsonld" + }, { + "@id": "#t0062", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@type: @vocab and relative IRIs", + "purpose": "Relative IRIs don't round-trip with @type: @vocab", + "input": "compact-0062-in.jsonld", + "context": "compact-0062-context.jsonld", + "expect": "compact-0062-out.jsonld" + }, { + "@id": "#t0063", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact IRI round-tripping with @type: @vocab", + "purpose": "Term with @type: @vocab will use compact IRIs", + "input": "compact-0063-in.jsonld", + "context": "compact-0063-context.jsonld", + "expect": "compact-0063-out.jsonld" + }, { + "@id": "#t0064", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact language-tagged and indexed strings to index-map", + "purpose": "Given values with both @index and @language and term index-map term, use index map", + "input": "compact-0064-in.jsonld", + "context": "compact-0064-context.jsonld", + "expect": "compact-0064-out.jsonld" + }, { + "@id": "#t0065", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Language-tagged and indexed strings with language-map", + "purpose": "Language-tagged and indexed strings don't compact to language-map", + "input": "compact-0065-in.jsonld", + "context": "compact-0065-context.jsonld", + "expect": "compact-0065-out.jsonld" + }, { + "@id": "#t0066", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Relative IRIs", + "purpose": "Complex use cases for relative IRI compaction", + "input": "compact-0066-in.jsonld", + "context": "compact-0066-context.jsonld", + "expect": "compact-0066-out.jsonld" + }, { + "@id": "#t0067", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Reverse properties with blank nodes", + "purpose": "Compact reverse property whose values are unlabeled blank nodes", + "input": "compact-0067-in.jsonld", + "context": "compact-0067-context.jsonld", + "expect": "compact-0067-out.jsonld" + }, { + "@id": "#t0068", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Single value reverse properties", + "purpose": "Single values of reverse properties are compacted as values of ordinary properties", + "input": "compact-0068-in.jsonld", + "context": "compact-0068-context.jsonld", + "expect": "compact-0068-out.jsonld" + }, { + "@id": "#t0069", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Single value reverse properties with @set", + "purpose": "Single values are kept in array form for reverse properties if the container is to @set", + "input": "compact-0069-in.jsonld", + "context": "compact-0069-context.jsonld", + "expect": "compact-0069-out.jsonld" + }, { + "@id": "#t0070", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "compactArrays option", + "purpose": "Setting compactArrays to false causes single element arrays to be retained", + "option": { + "compactArrays": false + }, + "input": "compact-0070-in.jsonld", + "context": "compact-0070-context.jsonld", + "expect": "compact-0070-out.jsonld" + }, { + "@id": "#t0071", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Input has multiple @contexts, output has one", + "purpose": "Expanding input with multiple @contexts and compacting with just one doesn't output undefined properties", + "input": "compact-0071-in.jsonld", + "context": "compact-0071-context.jsonld", + "expect": "compact-0071-out.jsonld" + }, { + "@id": "#t0072", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Default language and unmapped properties", + "purpose": "Ensure that the default language is handled correctly for unmapped properties", + "input": "compact-0072-in.jsonld", + "context": "compact-0072-context.jsonld", + "expect": "compact-0072-out.jsonld" + }, + { + "@id": "#t0104", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact @type with @container: @set", + "purpose": "Ensures that a single @type value is represented as an array", + "input": "compact-0104-in.jsonld", + "context": "compact-0104-context.jsonld", + "expect": "compact-0104-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, + { + "@id": "#t0105", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact @type with @container: @set using an alias of @type", + "purpose": "Ensures that a single @type value is represented as an array", + "input": "compact-0105-in.jsonld", + "context": "compact-0105-context.jsonld", + "expect": "compact-0105-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }, + { + "@id": "#t0106", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Do not compact @type with @container: @set to an array using an alias of @type", + "purpose": "Ensures that a single @type value is not represented as an array in 1.0", + "input": "compact-0106-in.jsonld", + "context": "compact-0106-context.jsonld", + "expect": "compact-0106-out.jsonld", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} + } + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/composer.json b/core/src/test/resources/json-ld-1.0-tests/composer.json new file mode 100644 index 00000000..04907952 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/composer.json @@ -0,0 +1,20 @@ +{ + "name": "json-ld/tests", + "type": "library", + "description": "The offical JSON-LD test suite", + "keywords": [ "JSON-LD", "jsonld" ], + "homepage": "http://json-ld.org/test-suite/", + "license": "CC0-1.0", + "authors": [ + { + "name": "JSON-LD Community Group", + "homepage": "http://json-ld.org/" + } + ], + "support": { + "email": "public-linked-json@w3.org", + "irc": "irc://irc.freenode.org/json-ld", + "source": "https://github.com/json-ld/json-ld.org/", + "issues": "https://github.com/json-ld/json-ld.org/issues" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/e001-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e001-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0001-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/error-0002-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0002-in.jsonld new file mode 100644 index 00000000..627ade3b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/error-0002-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "error-0002-in.jsonld", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld-1.0-tests/error-0003-ctx.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0003-ctx.jsonld new file mode 100644 index 00000000..e51c53d0 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/error-0003-ctx.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "error-0003-in.jsonld" +} diff --git a/core/src/test/resources/json-ld-1.0-tests/error-0003-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0003-in.jsonld new file mode 100644 index 00000000..976b42e0 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/error-0003-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "error-0003-ctx.jsonld", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld.org/expand/e004-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e004-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0004-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/error-0005-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0005-in.jsonld new file mode 100644 index 00000000..78e6430b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/error-0005-in.jsonld @@ -0,0 +1,4 @@ +[{ + "@context": "error-0005-in.jsonld", + "@id": "http://example/test#example" +}] diff --git a/core/src/test/resources/json-ld.org/expand/e006-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e006-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e007-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e007-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e008-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e008-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e009-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e009-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e010-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e010-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e011-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e011-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0011-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e012-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e012-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0012-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e013-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e013-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e014-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e014-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e015-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e015-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e016-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e016-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e017-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e017-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e018-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e018-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e019-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e019-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e020-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e020-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e021-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0021-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e021-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0021-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e022-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e022-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e023-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e023-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e024-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e024-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e025-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0025-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e025-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0025-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e026-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e026-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0026-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e027-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0027-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e027-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0027-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e028-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0028-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e028-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0028-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e029-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0029-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e029-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0029-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e030-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0030-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e030-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0030-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e031-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0031-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e031-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0031-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e032-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e032-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0032-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e033-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0033-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e033-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0033-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e034-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0034-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e034-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0034-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e035-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0035-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e035-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0035-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e036-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0036-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e036-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0036-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e037-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0037-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e037-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0037-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e038-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0038-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e038-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0038-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e039-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0039-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e039-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0039-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e040-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0040-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e040-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0040-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e041-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0041-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e041-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0041-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/e001-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0042-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/e001-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0042-context.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/error-0042-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0042-in.jsonld new file mode 100644 index 00000000..e68a327a --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/error-0042-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/list": [{"@list": ["foo"]}, {"@list": ["bar"]}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/e001-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-0043-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/e001-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/error-0043-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/error-manifest.jsonld b/core/src/test/resources/json-ld-1.0-tests/error-manifest.jsonld new file mode 100644 index 00000000..4b9b5c56 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/error-manifest.jsonld @@ -0,0 +1,321 @@ +{ + "@context": "http://json-ld.org/test-suite/context.jsonld", + "@id": "", + "@type": "mf:Manifest", + "description": "JSON-LD to Expansion tests use object compare", + "name": "Error handling", + "baseIri": "http://json-ld.org/test-suite/tests/", + "sequence": [ + { + "@id": "#t0001", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Keywords cannot be aliased to other keywords", + "purpose": "Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword", + "input": "error-0001-in.jsonld", + "expect": "keyword redefinition" + }, { + "@id": "#t0002", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "A context may not include itself recursively (direct)", + "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself", + "input": "error-0002-in.jsonld", + "expect": "recursive context inclusion" + }, { + "@id": "#t0003", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "A context may not include itself recursively (indirect)", + "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself indirectly", + "input": "error-0003-in.jsonld", + "expect": "recursive context inclusion" + }, { + "@id": "#t0004", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Error dereferencing a remote context", + "purpose": "Verifies that an exception is raised on expansion when a context dereference results in an error", + "input": "error-0004-in.jsonld", + "expect": "loading remote context failed" + }, { + "@id": "#t0005", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid remote context", + "purpose": "Verifies that an exception is raised on expansion when a remote context is not an object containing @context", + "input": "error-0005-in.jsonld", + "expect": "invalid remote context" + }, { + "@id": "#t0006", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid local context", + "purpose": "Verifies that an exception is raised on expansion when a context is not a string or object", + "input": "error-0006-in.jsonld", + "expect": "invalid local context" + }, { + "@id": "#t0007", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid base IRI", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @base", + "input": "error-0007-in.jsonld", + "expect": "invalid base IRI" + }, { + "@id": "#t0008", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid vocab mapping", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @vocab mapping", + "input": "error-0008-in.jsonld", + "expect": "invalid vocab mapping" + }, { + "@id": "#t0009", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid default language", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @language", + "input": "error-0009-in.jsonld", + "expect": "invalid default language" + }, { + "@id": "#t0010", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Cyclic IRI mapping", + "purpose": "Verifies that an exception is raised on expansion when a cyclic IRI mapping is found", + "input": "error-0010-in.jsonld", + "expect": "cyclic IRI mapping" + }, { + "@id": "#t0011", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid term definition", + "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", + "input": "error-0011-in.jsonld", + "expect": "invalid term definition" + }, { + "@id": "#t0012", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid type mapping (not a string)", + "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", + "input": "error-0012-in.jsonld", + "expect": "invalid type mapping" + }, { + "@id": "#t0013", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid type mapping (not absolute IRI)", + "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", + "input": "error-0013-in.jsonld", + "expect": "invalid type mapping" + }, { + "@id": "#t0014", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid reverse property (contains @id)", + "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", + "input": "error-0014-in.jsonld", + "expect": "invalid reverse property" + }, { + "@id": "#t0015", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid IRI mapping (@reverse not a string)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "error-0015-in.jsonld", + "expect": "invalid IRI mapping" + }, { + "@id": "#t0016", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid IRI mapping (not an absolute IRI)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "error-0016-in.jsonld", + "expect": "invalid IRI mapping" + }, { + "@id": "#t0017", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid reverse property (invalid @container)", + "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", + "input": "error-0017-in.jsonld", + "expect": "invalid reverse property" + }, { + "@id": "#t0018", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid IRI mapping (@id not a string)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "error-0018-in.jsonld", + "expect": "invalid IRI mapping" + }, { + "@id": "#t0019", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid keyword alias", + "purpose": "Verifies that an exception is raised on expansion when a invalid keyword alias is found", + "input": "error-0019-in.jsonld", + "expect": "invalid keyword alias" + }, { + "@id": "#t0020", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid IRI mapping (no vocab mapping)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "error-0020-in.jsonld", + "expect": "invalid IRI mapping" + }, { + "@id": "#t0021", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid container mapping", + "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", + "input": "error-0021-in.jsonld", + "expect": "invalid container mapping" + }, { + "@id": "#t0022", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid language mapping", + "purpose": "Verifies that an exception is raised on expansion when a invalid language mapping is found", + "input": "error-0022-in.jsonld", + "expect": "invalid language mapping" + }, { + "@id": "#t0023", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid IRI mapping (relative IRI in @type)", + "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", + "input": "error-0023-in.jsonld", + "expect": "invalid type mapping" + }, { + "@id": "#t0024", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "List of lists (from array)", + "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", + "input": "error-0024-in.jsonld", + "expect": "list of lists" + }, { + "@id": "#t0025", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid reverse property map", + "purpose": "Verifies that an exception is raised in Expansion when a invalid reverse property map is found", + "input": "error-0025-in.jsonld", + "expect": "invalid reverse property map" + }, { + "@id": "#t0026", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Colliding keywords", + "purpose": "Verifies that an exception is raised in Expansion when colliding keywords are found", + "input": "error-0026-in.jsonld", + "expect": "colliding keywords" + }, { + "@id": "#t0027", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid @id value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid @id value is found", + "input": "error-0027-in.jsonld", + "expect": "invalid @id value" + }, { + "@id": "#t0028", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid type value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid type value is found", + "input": "error-0028-in.jsonld", + "expect": "invalid type value" + }, { + "@id": "#t0029", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid value object value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object value is found", + "input": "error-0029-in.jsonld", + "expect": "invalid value object value" + }, { + "@id": "#t0030", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid language-tagged string", + "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged string value is found", + "input": "error-0030-in.jsonld", + "expect": "invalid language-tagged string" + }, { + "@id": "#t0031", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid @index value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid @index value value is found", + "input": "error-0031-in.jsonld", + "expect": "invalid @index value" + }, { + "@id": "#t0032", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "List of lists (from array)", + "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", + "input": "error-0032-in.jsonld", + "expect": "list of lists" + }, { + "@id": "#t0033", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid @reverse value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid @reverse value is found", + "input": "error-0033-in.jsonld", + "expect": "invalid @reverse value" + }, { + "@id": "#t0034", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid reverse property value (in @reverse)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", + "input": "error-0034-in.jsonld", + "expect": "invalid reverse property value" + }, { + "@id": "#t0035", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid language map value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid language map value is found", + "input": "error-0035-in.jsonld", + "expect": "invalid language map value" + }, { + "@id": "#t0036", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid reverse property value (through coercion)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", + "input": "error-0036-in.jsonld", + "expect": "invalid reverse property value" + }, { + "@id": "#t0037", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid value object (unexpected keyword)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", + "input": "error-0037-in.jsonld", + "expect": "invalid value object" + }, { + "@id": "#t0038", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid value object (@type and @language)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", + "input": "error-0038-in.jsonld", + "expect": "invalid value object" + }, { + "@id": "#t0039", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid language-tagged value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged value is found", + "input": "error-0039-in.jsonld", + "expect": "invalid language-tagged value" + }, { + "@id": "#t0040", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid typed value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid typed value is found", + "input": "error-0040-in.jsonld", + "expect": "invalid typed value" + }, { + "@id": "#t0041", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Invalid set or list object", + "purpose": "Verifies that an exception is raised in Expansion when an invalid set or list object is found", + "input": "error-0041-in.jsonld", + "expect": "invalid set or list object" + }, { + "@id": "#t0042", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Compaction to list of lists", + "purpose": "Verifies that an exception is raised in Compaction when attempting to compact a list of lists", + "input": "error-0042-in.jsonld", + "context": "error-0042-context.jsonld", + "expect": "compaction to list of lists" + }, { + "@id": "#t0043", + "@type": [ "jld:NegativeEvaluationTest", "jld:FlattenTest" ], + "name": "Conflicting indexes", + "purpose": "Verifies that an exception is raised in Flattening when conflicting indexes are found", + "input": "error-0043-in.jsonld", + "expect": "conflicting indexes" + }, + { + "@id": "#te042", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Keywords may not be redefined", + "purpose": "Verifies that an exception is raised on expansion when processing an invalid context attempting to define @container on a keyword", + "input": "expand-e042-in.jsonld", + "expect": "keyword redefinition" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/expand/0001-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0001-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0001-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0001-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0002-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0002-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0002-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0002-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0003-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0003-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0003-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0003-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0003-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0004-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0004-in.jsonld new file mode 100644 index 00000000..5768520b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0004-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist1": { "@list": [ ] }, + "mylist2": "one item", + "myset2": { "@set": [ ] }, + "myset3": [ "v1" ], + "http://example.org/list1": { "@list": [ null ] }, + "http://example.org/list2": { "@list": [ {"@value": null} ] }, + "http://example.org/set1": { "@set": [ ] }, + "http://example.org/set1": { "@set": [ null ] }, + "http://example.org/set3": [ ], + "http://example.org/set4": [ null ], + "http://example.org/set5": "one item", + "http://example.org/property": { "@list": "one item" } +} diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0004-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0004-out.jsonld new file mode 100644 index 00000000..e5df965d --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0004-out.jsonld @@ -0,0 +1,15 @@ +[{ + "@id": "http://example.org/id", + "http://example.com/mylist1": [ { "@list": [ ] } ], + "http://example.com/mylist2": [ { "@list": [ {"@value": "one item"} ] } ], + "http://example.com/myset2": [ ], + "http://example.com/myset3": [ {"@value": "v1"} ], + "http://example.org/list1": [ { "@list": [ ] } ], + "http://example.org/list2": [ { "@list": [ ] } ], + "http://example.org/set1": [ ], + "http://example.org/set1": [ ], + "http://example.org/set3": [ ], + "http://example.org/set4": [ ], + "http://example.org/set5": [ {"@value": "one item"} ], + "http://example.org/property": [ { "@list": [ {"@value": "one item"} ] } ] +}] diff --git a/core/src/test/resources/json-ld.org/expand/0005-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0005-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0005-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0005-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0005-out.jsonld new file mode 100644 index 00000000..c5db2a24 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0005-out.jsonld @@ -0,0 +1,18 @@ +[{ + "@id": "http://json-ld.org/test-suite/tests/expand-0005-in.jsonld#me", + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/bob#me", + "http://xmlns.com/foaf/0.1/name": [{"@value": "Bob"}], + "http://xmlns.com/foaf/0.1/homepage": [{ + "@id": "http://example.com/bob" + }] + }, { + "@id": "http://example.com/alice#me", + "http://xmlns.com/foaf/0.1/name": [{"@value": "Alice"}], + "http://xmlns.com/foaf/0.1/homepage": [{ + "@id": "http://example.com/alice" + }] + } + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0006-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0006-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0006-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0006-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0007-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0007-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0007-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0007-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0008-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0008-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0008-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0008-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0009-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0009-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0009-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0009-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0010-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0010-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0010-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0010-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0010-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0011-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0011-in.jsonld new file mode 100644 index 00000000..15815597 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0011-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#book", + "dc:title": "Title", + "ex:contains": "http://example.org/test#chapter" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0011-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0011-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0011-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0012-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0012-in.jsonld new file mode 100644 index 00000000..d081e7fb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0012-in.jsonld @@ -0,0 +1,39 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:authored": { + "@type": "@id" + }, + "ex:contains": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "ex:authored": "http://example.org/test#chapter", + "foaf:name": "Jane" + }, + { + "@id": "http://example.org/test#john", + "foaf:name": "John" + }, + { + "@id": "http://example.org/test#library", + "ex:contains": { + "@id": "http://example.org/test#book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0012-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0012-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0013-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0013-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0013-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0013-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0014-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0014-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0014-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0014-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0015-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0015-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0015-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0015-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0016-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0016-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0016-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0016-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0017-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0017-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0017-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0017-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0018-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0018-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0018-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0018-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0019-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0019-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0019-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0019-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0020-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0020-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0020-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0020-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0020-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0020-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0021-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0021-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0021-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0021-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0021-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0021-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0021-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0021-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0022-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0022-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0022-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0022-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0022-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0022-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0023-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0023-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0023-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0023-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0023-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0023-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0024-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0024-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0024-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0024-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0024-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0024-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0025-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0025-in.jsonld new file mode 100644 index 00000000..426de362 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0025-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "foo": "http://example.com/foo/", + "foo:bar": "http://example.com/bar", + "bar": {"@id": "foo:bar", "@type": "@id"}, + "_": "http://example.com/underscore/" + }, + "@type": [ "foo", "foo:bar", "_" ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0025-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0025-out.jsonld new file mode 100644 index 00000000..61e1278a --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0025-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@type": [ + "http://example.com/foo/", + "http://example.com/bar", + "http://example.com/underscore/" + ] +}] diff --git a/core/src/test/resources/json-ld.org/expand/0026-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0026-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0026-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0026-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0026-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0026-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0026-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0027-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0027-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0027-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0027-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0027-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0027-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0027-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0027-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0028-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0028-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0028-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0028-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0028-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0028-out.jsonld new file mode 100644 index 00000000..e030e443 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0028-out.jsonld @@ -0,0 +1,23 @@ +[ + { + "@id": "http://json-ld.org/test-suite/tests/example1", + "@type": [ "http://example.org/vocab#test" ], + "http://example.org/vocab#date": [ + { + "@value": "2011-01-25T00:00:00Z", + "@type": "http://example.org/vocab#dateTime" + } + ], + "http://example.org/vocab#embed": [ + { + "@id": "http://json-ld.org/test-suite/tests/example2", + "http://example.org/vocab#expandedDate": [ + { + "@value": "2012-08-01T00:00:00Z", + "@type": "http://example.org/vocab#dateTime" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0029-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0029-in.jsonld new file mode 100644 index 00000000..08cdde33 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0029-in.jsonld @@ -0,0 +1,32 @@ +{ + "@context": { + "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } + }, + "@id": "relativeIris", + "@type": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "../../../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ], + "links": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "./../../../useless/../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0029-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0029-out.jsonld new file mode 100644 index 00000000..f437a67e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0029-out.jsonld @@ -0,0 +1,33 @@ +[ + { + "@id": "http://json-ld.org/test-suite/tests/relativeIris", + "@type": [ + "http://json-ld.org/test-suite/tests/link", + "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld#fragment-works", + "http://json-ld.org/test-suite/tests/expand-0029-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" + ], + "http://www.example.com/link": [ { + "@list": [ + { "@id": "http://json-ld.org/test-suite/tests/link" }, + { "@id": "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld#fragment-works" }, + { "@id": "http://json-ld.org/test-suite/tests/expand-0029-in.jsonld?query=works" }, + { "@id": "http://json-ld.org/test-suite/tests/" }, + { "@id": "http://json-ld.org/test-suite/" }, + { "@id": "http://json-ld.org/test-suite/parent" }, + { "@id": "http://json-ld.org/parent-parent-eq-root" }, + { "@id": "http://json-ld.org/still-root" }, + { "@id": "http://json-ld.org/too-many-dots" }, + { "@id": "http://json-ld.org/absolute" }, + { "@id": "http://example.org/scheme-relative" } + ] + } ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0030-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0030-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0030-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0030-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0030-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0030-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0030-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0030-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0031-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0031-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0031-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0031-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0031-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0031-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0031-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0031-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0032-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0032-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0032-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0032-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0032-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0032-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0032-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0033-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0033-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0033-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0033-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0033-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0033-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0033-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0033-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0034-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0034-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0034-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0034-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0034-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0034-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0034-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0034-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0035-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0035-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0035-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0035-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0035-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0035-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0035-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0035-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0036-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0036-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0036-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0036-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0036-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0036-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0036-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0036-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0037-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0037-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0037-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0037-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0037-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0037-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0037-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0037-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0038-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0038-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0038-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0038-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0038-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0038-out.jsonld new file mode 100644 index 00000000..c09d2a11 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0038-out.jsonld @@ -0,0 +1,56 @@ +[ + { + "@id": "_:term", + "@type": [ + "_:term" + ], + "_:term": [ + { + "@id": "_:term", + "@type": [ + "_:term" + ] + }, + { + "@id": "_:Bx", + "_:term": [ + { + "@value": "term" + } + ] + }, + { + "@value": "plain value" + }, + { + "@id": "_:term" + }, + { + "@id": "_:term", + "@type": [ + "_:term" + ] + }, + { + "@id": "_:Cx", + "_:term": [ + { + "@value": "termId" + } + ] + }, + { + "@id": "_:termAppendedToBlankNode" + }, + { + "@id": "_:termAppendedToBlankNode" + }, + { + "@id": "http://json-ld.org/test-suite/tests/relativeIri" + }, + { + "@id": "_:term" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0039-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0039-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0039-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0039-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0039-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0039-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0039-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0039-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0040-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0040-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0040-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0040-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0040-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0040-out.jsonld new file mode 100644 index 00000000..1b990b23 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0040-out.jsonld @@ -0,0 +1,23 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": + [ + { + "@value": "The Queen" + } + ], + "http://example.com/vocab/index": + [ + { + "@value": "No" + }, + { + "@value": "indexes" + }, + { + "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0041-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0041-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0041-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0041-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0041-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0041-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0041-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0041-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0042-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0042-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0042-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0042-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0042-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0042-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0042-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0042-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0043-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0043-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0043-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0043-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0043-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0043-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0043-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0043-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0044-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0044-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0044-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0044-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0044-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0044-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0044-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0044-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0045-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0045-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0045-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0045-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0045-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0045-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0045-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0045-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0046-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0046-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0046-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0046-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0046-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0046-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0046-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0046-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0047-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0047-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0047-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0047-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0047-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0047-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0047-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0047-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0048-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0048-in.jsonld new file mode 100644 index 00000000..005f5e16 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0048-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "term": "http://example.com/terms-are-not-considered-in-id", + "compact-iris": "http://example.com/compact-iris-", + "property": "http://example.com/property", + "@vocab": "http://example.org/vocab-is-not-considered-for-id" + }, + "@id": "term", + "property": [ + { + "@id": "compact-iris:are-considered", + "property": "@id supports the following values: relative, absolute, and compact IRIs" + }, + { + "@id": "../parent-node", + "property": "relative IRIs get resolved against the document's base IRI" + } + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0048-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0048-out.jsonld new file mode 100644 index 00000000..990d67b3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0048-out.jsonld @@ -0,0 +1,19 @@ +[ + { + "@id": "http://json-ld.org/test-suite/tests/term", + "http://example.com/property": [ + { + "@id": "http://example.com/compact-iris-are-considered", + "http://example.com/property": [ + { "@value": "@id supports the following values: relative, absolute, and compact IRIs" } + ] + }, + { + "@id": "http://json-ld.org/test-suite/parent-node", + "http://example.com/property": [ + { "@value": "relative IRIs get resolved against the document's base IRI" } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0049-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0049-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0049-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0049-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0049-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0049-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0049-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0049-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0050-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0050-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0050-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0050-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0050-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0050-out.jsonld new file mode 100644 index 00000000..1bd1b95c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0050-out.jsonld @@ -0,0 +1,6 @@ +[ + { + "http://example.com/issue/": [ { "@id": "http://json-ld.org/issue/1" } ], + "http://example.com/issue/raisedBy": [ { "@value": "Markus" } ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0051-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0051-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0051-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0051-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0051-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0051-out.jsonld new file mode 100644 index 00000000..04ea07e9 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0051-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.com/property": [{ + "@value": "ok" + }], + "@id": "http://json-ld.org/issue/1" +}] diff --git a/core/src/test/resources/json-ld.org/expand/0052-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0052-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0052-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0052-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0052-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0052-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0052-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0052-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0053-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0053-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0053-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0053-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0053-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0053-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0053-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0053-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0054-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0054-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0054-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0054-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0054-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0054-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0054-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0054-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0055-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0055-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0055-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0055-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0055-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0055-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0055-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0055-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0056-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0056-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0056-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0056-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0056-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0056-out.jsonld new file mode 100644 index 00000000..2b81bbb6 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0056-out.jsonld @@ -0,0 +1,8 @@ +[ + { + "@id": "http://me.markus-lanthaler.com/", + "http://xmlns.com/foaf/0.1/homepage": [ { "@id": "http://www.markus-lanthaler.com/" } ], + "http://example.com/link": [ { "@id": "http://json-ld.org/test-suite/tests/relative-iri" } ], + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0057-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0057-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0057-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0057-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0057-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0057-out.jsonld new file mode 100644 index 00000000..ac6d6170 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0057-out.jsonld @@ -0,0 +1,5 @@ +[ + { + "http://example.org/term": [ { "@id": "http://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI" } ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0058-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0058-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0058-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0058-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0058-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0058-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0058-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0058-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0059-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0059-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0059-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0059-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0059-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0059-out.jsonld new file mode 100644 index 00000000..9f90fb5a --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0059-out.jsonld @@ -0,0 +1,13 @@ +[ + { + "@id": "http://json-ld.org/test-suite/tests/example-with-vocab", + "@type": [ "http://example.org/vocab#vocab-prefixed" ], + "http://example.org/vocab#embed": [ + { + "@id": "http://json-ld.org/test-suite/tests/example-vocab-reset", + "@type": [ "http://json-ld.org/test-suite/tests/document-relative" ] + } + ], + "http://example.org/vocab#property": [ { "@value": "property expanded using @vocab" } ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0060-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0060-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0060-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0060-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0060-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0060-out.jsonld new file mode 100644 index 00000000..4cac4e38 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0060-out.jsonld @@ -0,0 +1,23 @@ +[ + { + "@id": "http://json-ld.org/test-suite/document-relative", + "@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ], + "http://example.com/vocab#property": [ + { + "@id": "http://example.org/document-base-overwritten", + "@type": [ "http://example.org/test/#document-base-overwritten" ], + "http://example.com/vocab#property": [ + { + "@id": "http://json-ld.org/test-suite/document-relative", + "@type": [ "http://json-ld.org/test-suite/tests/expand-0060-in.jsonld#document-relative" ] + }, + { + "@id": "../document-relative", + "@type": [ "#document-relative" ], + "http://example.com/vocab#property": [ { "@value": "only @base is cleared" } ] + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0061-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0061-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0061-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0061-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0061-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0061-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0061-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0061-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0062-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0062-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0062-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0062-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0062-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0062-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0062-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0062-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0063-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0063-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0063-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0063-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0063-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0063-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0063-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0063-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0064-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0064-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0064-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0064-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0064-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0064-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0064-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0064-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0065-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0065-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0065-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0065-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0065-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0065-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0065-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0065-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0066-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0066-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0066-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0066-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-0066-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0066-out.jsonld new file mode 100644 index 00000000..ca350a2e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-0066-out.jsonld @@ -0,0 +1,20 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + } + ], + "http://example.com/vocab/noTerm": [ + { + "@id": "http://json-ld.org/test-suite/tests/relative-node", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Compact keys using @vocab" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0067-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0067-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0067-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0067-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0067-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0067-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0067-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0067-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0068-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0068-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0068-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0068-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0068-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0068-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0068-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0068-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0069-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0069-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0069-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0069-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0069-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0069-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0069-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0069-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0070-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0070-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0070-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0070-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0070-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0070-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0070-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0070-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0071-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0071-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0071-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0071-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0071-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0071-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0071-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0071-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0072-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0072-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0072-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0072-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0072-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0072-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0072-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0072-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0073-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0073-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0073-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0073-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0073-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0073-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0073-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0073-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0074-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0074-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0074-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0074-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0074-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0074-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0074-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0074-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0075-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0075-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0075-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0075-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0075-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0075-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0075-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0075-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0076-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0076-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0076-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0076-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0076-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0076-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0076-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0076-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0077-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0077-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0077-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0077-context.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0077-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0077-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0077-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0077-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0077-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-0077-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0077-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-0077-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e042-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-e042-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e042-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/expand-e042-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/expand-manifest.jsonld b/core/src/test/resources/json-ld-1.0-tests/expand-manifest.jsonld new file mode 100644 index 00000000..49a200c9 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/expand-manifest.jsonld @@ -0,0 +1,556 @@ +{ + "@context": "http://json-ld.org/test-suite/context.jsonld", + "@id": "", + "@type": "mf:Manifest", + "description": "JSON-LD to Expansion tests use object compare", + "name": "Expansion", + "baseIri": "http://json-ld.org/test-suite/tests/", + "sequence": [ + { + "@id": "#t0001", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "drop free-floating nodes", + "purpose": "Expand drops unreferenced nodes having only @id", + "input": "expand-0001-in.jsonld", + "expect": "expand-0001-out.jsonld" + }, { + "@id": "#t0002", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "basic", + "purpose": "Expanding terms with different types of values", + "input": "expand-0002-in.jsonld", + "expect": "expand-0002-out.jsonld" + }, { + "@id": "#t0003", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "drop null and unmapped properties", + "purpose": "Verifies that null values and unmapped properties are removed from expanded output", + "input": "expand-0003-in.jsonld", + "expect": "expand-0003-out.jsonld" + }, { + "@id": "#t0004", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "optimize @set, keep empty arrays", + "purpose": "Uses of @set are removed in expansion; values of @set, or just plain values which are empty arrays are retained", + "input": "expand-0004-in.jsonld", + "expect": "expand-0004-out.jsonld" + }, { + "@id": "#t0005", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "do not expand aliased @id/@type", + "purpose": "If a keyword is aliased, it is not used when expanding", + "input": "expand-0005-in.jsonld", + "expect": "expand-0005-out.jsonld" + }, { + "@id": "#t0006", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "alias keywords", + "purpose": "Aliased keywords expand in resulting document", + "input": "expand-0006-in.jsonld", + "expect": "expand-0006-out.jsonld" + }, { + "@id": "#t0007", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "date type-coercion", + "purpose": "Expand strings to expanded value with @type: xsd:dateTime", + "input": "expand-0007-in.jsonld", + "expect": "expand-0007-out.jsonld" + }, { + "@id": "#t0008", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@value with @language", + "purpose": "Keep expanded values with @language, drop non-conforming value objects containing just @language", + "input": "expand-0008-in.jsonld", + "expect": "expand-0008-out.jsonld" + }, { + "@id": "#t0009", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@graph with terms", + "purpose": "Use of @graph to contain multiple nodes within array", + "input": "expand-0009-in.jsonld", + "expect": "expand-0009-out.jsonld" + }, { + "@id": "#t0010", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "native types", + "purpose": "Expanding native scalar retains native scalar within expanded value", + "input": "expand-0010-in.jsonld", + "expect": "expand-0010-out.jsonld" + }, { + "@id": "#t0011", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @id", + "purpose": "A value of a property with @type: @id coercion expands to a node reference", + "input": "expand-0011-in.jsonld", + "expect": "expand-0011-out.jsonld" + }, { + "@id": "#t0012", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@graph with embed", + "purpose": "Use of @graph to contain multiple nodes within array", + "input": "expand-0012-in.jsonld", + "expect": "expand-0012-out.jsonld" + }, { + "@id": "#t0013", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand already expanded", + "purpose": "Expand does not mess up already expanded document", + "input": "expand-0013-in.jsonld", + "expect": "expand-0013-out.jsonld" + }, { + "@id": "#t0014", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@set of @value objects with keyword aliases", + "purpose": "Expanding aliased @set and @value", + "input": "expand-0014-in.jsonld", + "expect": "expand-0014-out.jsonld" + }, { + "@id": "#t0015", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "collapse set of sets, keep empty lists", + "purpose": "An array of multiple @set nodes are collapsed into a single array", + "input": "expand-0015-in.jsonld", + "expect": "expand-0015-out.jsonld" + }, { + "@id": "#t0016", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "context reset", + "purpose": "Setting @context to null within an embedded object resets back to initial context state", + "input": "expand-0016-in.jsonld", + "expect": "expand-0016-out.jsonld" + }, { + "@id": "#t0017", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@graph and @id aliased", + "purpose": "Expanding with @graph and @id aliases", + "input": "expand-0017-in.jsonld", + "expect": "expand-0017-out.jsonld" + }, { + "@id": "#t0018", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "override default @language", + "purpose": "override default @language in terms; only language-tag strings", + "input": "expand-0018-in.jsonld", + "expect": "expand-0018-out.jsonld" + }, { + "@id": "#t0019", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "remove @value = null", + "purpose": "Expanding a value of null removes the value", + "input": "expand-0019-in.jsonld", + "expect": "expand-0019-out.jsonld" + }, { + "@id": "#t0020", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "do not remove @graph if not at top-level", + "purpose": "@graph used under a node is retained", + "input": "expand-0020-in.jsonld", + "expect": "expand-0020-out.jsonld" + }, { + "@id": "#t0021", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "do not remove @graph at top-level if not only property", + "purpose": "@graph used at the top level is retained if there are other properties", + "input": "expand-0021-in.jsonld", + "expect": "expand-0021-out.jsonld" + }, { + "@id": "#t0022", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expand value with default language", + "purpose": "Expanding with a default language applies that language to string values", + "input": "expand-0022-in.jsonld", + "expect": "expand-0022-out.jsonld" + }, { + "@id": "#t0023", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expanding list/set with coercion", + "purpose": "Expanding lists and sets with properties having coercion coerces list/set values", + "input": "expand-0023-in.jsonld", + "expect": "expand-0023-out.jsonld" + }, { + "@id": "#t0024", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Multiple contexts", + "purpose": "Tests that contexts in an array are merged", + "input": "expand-0024-in.jsonld", + "expect": "expand-0024-out.jsonld" + }, { + "@id": "#t0025", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Problematic IRI expansion tests", + "purpose": "Expanding different kinds of terms and Compact IRIs", + "input": "expand-0025-in.jsonld", + "expect": "expand-0025-out.jsonld" + }, { + "@id": "#t0026", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Term definition with @id: @type", + "purpose": "Expanding term mapping to @type uses @type syntax", + "input": "expand-0026-in.jsonld", + "expect": "expand-0026-out.jsonld" + }, { + "@id": "#t0027", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Duplicate values in @list and @set", + "purpose": "Duplicate values in @list and @set are not merged", + "input": "expand-0027-in.jsonld", + "expect": "expand-0027-out.jsonld" + }, { + "@id": "#t0028", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Use @vocab in properties and @type but not in @id", + "purpose": "@vocab is used to compact properties and @type, but is not used for @id", + "input": "expand-0028-in.jsonld", + "expect": "expand-0028-out.jsonld" + }, { + "@id": "#t0029", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Relative IRIs", + "purpose": "@base is used to compact @id; test with different relative IRIs", + "input": "expand-0029-in.jsonld", + "expect": "expand-0029-out.jsonld" + }, { + "@id": "#t0030", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Language maps", + "purpose": "Language Maps expand values to include @language", + "input": "expand-0030-in.jsonld", + "expect": "expand-0030-out.jsonld" + }, { + "@id": "#t0031", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "type-coercion of native types", + "purpose": "Expanding native types with type coercion adds the coerced type to an expanded value representation and retains the native value representation", + "input": "expand-0031-in.jsonld", + "expect": "expand-0031-out.jsonld" + }, { + "@id": "#t0032", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Null term and @vocab", + "purpose": "Mapping a term to null decouples it from @vocab", + "input": "expand-0032-in.jsonld", + "expect": "expand-0032-out.jsonld" + }, { + "@id": "#t0033", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Using @vocab with with type-coercion", + "purpose": "Verifies that terms can be defined using @vocab", + "input": "expand-0033-in.jsonld", + "expect": "expand-0033-out.jsonld" + }, { + "@id": "#t0034", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Multiple properties expanding to the same IRI", + "purpose": "Verifies multiple values from separate terms are deterministically made multiple values of the IRI associated with the terms", + "input": "expand-0034-in.jsonld", + "expect": "expand-0034-out.jsonld" + }, { + "@id": "#t0035", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Language maps with @vocab, default language, and colliding property", + "purpose": "Pathological tests of language maps", + "input": "expand-0035-in.jsonld", + "expect": "expand-0035-out.jsonld" + }, { + "@id": "#t0036", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expanding @index", + "purpose": "Expanding index maps for terms defined with @container: @index", + "input": "expand-0036-in.jsonld", + "expect": "expand-0036-out.jsonld" + }, { + "@id": "#t0037", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expanding @reverse", + "purpose": "Expanding @reverse keeps @reverse", + "input": "expand-0037-in.jsonld", + "expect": "expand-0037-out.jsonld" + }, { + "@id": "#t0038", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expanding blank node labels", + "purpose": "Blank nodes are not relabeled during expansion", + "input": "expand-0038-in.jsonld", + "expect": "expand-0038-out.jsonld" + }, { + "@id": "#t0039", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Using terms in a reverse-maps", + "purpose": "Terms within @reverse are expanded", + "input": "expand-0039-in.jsonld", + "expect": "expand-0039-out.jsonld" + }, { + "@id": "#t0040", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "language and index expansion on non-objects", + "purpose": "Only invoke language and index map expansion if the value is a JSON object", + "input": "expand-0040-in.jsonld", + "expect": "expand-0040-out.jsonld" + }, { + "@id": "#t0041", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@language: null", + "name": "@language: null resets the default language", + "input": "expand-0041-in.jsonld", + "expect": "expand-0041-out.jsonld" + }, { + "@id": "#t0042", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Reverse properties", + "purpose": "Expanding terms defined as reverse properties uses @reverse in expanded document", + "input": "expand-0042-in.jsonld", + "expect": "expand-0042-out.jsonld" + }, { + "@id": "#t0043", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Using reverse properties inside a @reverse-container", + "purpose": "Expanding a reverse property within a @reverse undoes both reversals", + "input": "expand-0043-in.jsonld", + "expect": "expand-0043-out.jsonld" + }, { + "@id": "#t0044", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Index maps with language mappings", + "purpose": "Ensure index maps use language mapping", + "input": "expand-0044-in.jsonld", + "expect": "expand-0044-out.jsonld" + }, { + "@id": "#t0045", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Top-level value objects", + "purpose": "Expanding top-level value objects causes them to be removed", + "input": "expand-0045-in.jsonld", + "expect": "expand-0045-out.jsonld" + }, { + "@id": "#t0046", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Free-floating nodes", + "purpose": "Expanding free-floating nodes causes them to be removed", + "input": "expand-0046-in.jsonld", + "expect": "expand-0046-out.jsonld" + }, { + "@id": "#t0047", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Free-floating values in sets and free-floating lists", + "purpose": "Free-floating values in sets are removed, free-floating lists are removed completely", + "input": "expand-0047-in.jsonld", + "expect": "expand-0047-out.jsonld" + }, { + "@id": "#t0048", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Terms are ignored in @id", + "purpose": "Values of @id are not expanded as terms", + "input": "expand-0048-in.jsonld", + "expect": "expand-0048-out.jsonld" + }, { + "@id": "#t0049", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "String values of reverse properties", + "purpose": "String values of a reverse property with @type: @id are treated as IRIs", + "input": "expand-0049-in.jsonld", + "expect": "expand-0049-out.jsonld" + }, { + "@id": "#t0050", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Term definitions with prefix separate from prefix definitions", + "purpose": "Term definitions using compact IRIs don't inherit the definitions of the prefix", + "input": "expand-0050-in.jsonld", + "expect": "expand-0050-out.jsonld" + }, { + "@id": "#t0051", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expansion of keyword aliases in term definitions", + "purpose": "Expanding terms which are keyword aliases", + "input": "expand-0051-in.jsonld", + "expect": "expand-0051-out.jsonld" + }, { + "@id": "#t0052", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@vocab-relative IRIs in term definitions", + "purpose": "If @vocab is defined, term definitions are expanded relative to @vocab", + "input": "expand-0052-in.jsonld", + "expect": "expand-0052-out.jsonld" + }, { + "@id": "#t0053", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand absolute IRI with @type: @vocab", + "purpose": "Expanding values of properties of @type: @vocab does not further expand absolute IRIs", + "input": "expand-0053-in.jsonld", + "expect": "expand-0053-out.jsonld" + }, { + "@id": "#t0054", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand term with @type: @vocab", + "purpose": "Expanding values of properties of @type: @vocab does not expand term values", + "input": "expand-0054-in.jsonld", + "expect": "expand-0054-out.jsonld" + }, { + "@id": "#t0055", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand @vocab-relative term with @type: @vocab", + "purpose": "Expanding values of properties of @type: @vocab expands relative IRIs using @vocab", + "input": "expand-0055-in.jsonld", + "expect": "expand-0055-out.jsonld" + }, { + "@id": "#t0056", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Use terms with @type: @vocab but not with @type: @id", + "purpose": "Checks that expansion uses appropriate base depending on term definition having @type @id or @vocab", + "input": "expand-0056-in.jsonld", + "expect": "expand-0056-out.jsonld" + }, { + "@id": "#t0057", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand relative IRI with @type: @vocab", + "purpose": "Relative values of terms with @type: @vocab expand relative to @vocab", + "input": "expand-0057-in.jsonld", + "expect": "expand-0057-out.jsonld" + }, { + "@id": "#t0058", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand compact IRI with @type: @vocab", + "purpose": "Compact IRIs are expanded normally even if term has @type: @vocab", + "input": "expand-0058-in.jsonld", + "expect": "expand-0058-out.jsonld" + }, { + "@id": "#t0059", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Reset @vocab by setting it to null", + "purpose": "Setting @vocab to null removes a previous definition", + "input": "expand-0059-in.jsonld", + "expect": "expand-0059-out.jsonld" + }, { + "@id": "#t0060", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Overwrite document base with @base and reset it again", + "purpose": "Setting @base to an IRI and then resetting it to nil", + "input": "expand-0060-in.jsonld", + "expect": "expand-0060-out.jsonld" + }, { + "@id": "#t0061", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Coercing native types to arbitrary datatypes", + "purpose": "Expanding native types when coercing to arbitrary datatypes", + "input": "expand-0061-in.jsonld", + "expect": "expand-0061-out.jsonld" + }, { + "@id": "#t0062", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Various relative IRIs with with @base", + "purpose": "Pathological relative IRIs", + "input": "expand-0062-in.jsonld", + "expect": "expand-0062-out.jsonld" + }, { + "@id": "#t0063", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Reverse property and index container", + "purpose": "Expaning reverse properties with an index-container", + "input": "expand-0063-in.jsonld", + "expect": "expand-0063-out.jsonld" + }, { + "@id": "#t0064", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "bnode values of reverse properties", + "purpose": "Expand reverse property whose values are unlabeled blank nodes", + "input": "expand-0064-in.jsonld", + "expect": "expand-0064-out.jsonld" + }, { + "@id": "#t0065", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Drop unmapped keys in reverse map", + "purpose": "Keys that are not mapped to an IRI in a reverse-map are dropped", + "input": "expand-0065-in.jsonld", + "expect": "expand-0065-out.jsonld" + }, { + "@id": "#t0066", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Reverse-map keys with @vocab", + "purpose": "Expand uses @vocab to expand keys in reverse-maps", + "input": "expand-0066-in.jsonld", + "expect": "expand-0066-out.jsonld" + }, { + "@id": "#t0067", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "prefix://suffix not a compact IRI", + "purpose": "prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes", + "input": "expand-0067-in.jsonld", + "expect": "expand-0067-out.jsonld" + }, { + "@id": "#t0068", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "_:suffix values are not a compact IRI", + "purpose": "prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore", + "input": "expand-0068-in.jsonld", + "expect": "expand-0068-out.jsonld" + }, { + "@id": "#t0069", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Compact IRI as term with type mapping", + "purpose": "Redefine compact IRI to define type mapping using the compact IRI itself as value of @id", + "input": "expand-0069-in.jsonld", + "expect": "expand-0069-out.jsonld" + }, { + "@id": "#t0070", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Compact IRI as term defined using equivalent compact IRI", + "purpose": "Redefine compact IRI to define type mapping using the compact IRI itself as string value", + "input": "expand-0070-in.jsonld", + "expect": "expand-0070-out.jsonld" + }, { + "@id": "#t0071", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Redefine terms looking like compact IRIs", + "purpose": "Term definitions may look like compact IRIs", + "input": "expand-0071-in.jsonld", + "expect": "expand-0071-out.jsonld" + }, { + "@id": "#t0072", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Redefine term using @vocab, not itself", + "purpose": "Redefining a term as itself when @vocab is defined uses @vocab, not previous term definition", + "input": "expand-0072-in.jsonld", + "expect": "expand-0072-out.jsonld" + }, { + "@id": "#t0073", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@context not first property", + "purpose": "Objects are unordered, so serialized node definition containing @context may have @context at the end of the node definition", + "input": "expand-0073-in.jsonld", + "expect": "expand-0073-out.jsonld" + }, { + "@id": "#t0074", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@id not first property", + "purpose": "Objects are unordered, so serialized node definition containing @id may have @id at the end of the node definition", + "input": "expand-0074-in.jsonld", + "expect": "expand-0074-out.jsonld" + }, { + "@id": "#t0075", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@vocab as blank node identifier", + "purpose": "Use @vocab to map all properties to blank node identifiers", + "input": "expand-0075-in.jsonld", + "expect": "expand-0075-out.jsonld" + }, { + "@id": "#t0076", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "base option overrides document location", + "purpose": "Use of the base option overrides the document location", + "option": { + "base": "http://example/base/" + }, + "input": "expand-0076-in.jsonld", + "expect": "expand-0076-out.jsonld" + }, { + "@id": "#t0077", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "expandContext option", + "purpose": "Use of the expandContext option to expand the input document", + "option": { + "expandContext": "expand-0077-context.jsonld" + }, + "input": "expand-0077-in.jsonld", + "expect": "expand-0077-out.jsonld" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/flatten/0001-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0001-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0001-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0001-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0002-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0002-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0002-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0002-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0003-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0003-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0003-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0003-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0003-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0004-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0004-in.jsonld new file mode 100644 index 00000000..5768520b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0004-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist1": { "@list": [ ] }, + "mylist2": "one item", + "myset2": { "@set": [ ] }, + "myset3": [ "v1" ], + "http://example.org/list1": { "@list": [ null ] }, + "http://example.org/list2": { "@list": [ {"@value": null} ] }, + "http://example.org/set1": { "@set": [ ] }, + "http://example.org/set1": { "@set": [ null ] }, + "http://example.org/set3": [ ], + "http://example.org/set4": [ null ], + "http://example.org/set5": "one item", + "http://example.org/property": { "@list": "one item" } +} diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0004-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0004-out.jsonld new file mode 100644 index 00000000..e1675517 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0004-out.jsonld @@ -0,0 +1,66 @@ +[ + { + "@id": "http://example.org/id", + "http://example.com/mylist1": [ + { + "@list": [ + + ] + } + ], + "http://example.com/mylist2": [ + { + "@list": [ + { + "@value": "one item" + } + ] + } + ], + "http://example.com/myset2": [ + + ], + "http://example.com/myset3": [ + { + "@value": "v1" + } + ], + "http://example.org/list1": [ + { + "@list": [ + + ] + } + ], + "http://example.org/list2": [ + { + "@list": [ + + ] + } + ], + "http://example.org/property": [ + { + "@list": [ + { + "@value": "one item" + } + ] + } + ], + "http://example.org/set1": [ + + ], + "http://example.org/set3": [ + + ], + "http://example.org/set4": [ + + ], + "http://example.org/set5": [ + { + "@value": "one item" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/0005-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0005-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0005-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0005-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0005-out.jsonld new file mode 100644 index 00000000..04e92a42 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0005-out.jsonld @@ -0,0 +1,39 @@ +[ + { + "@id": "http://example.com/alice#me", + "http://xmlns.com/foaf/0.1/homepage": [ + { + "@id": "http://example.com/alice" + } + ], + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "Alice" + } + ] + }, + { + "@id": "http://example.com/bob#me", + "http://xmlns.com/foaf/0.1/homepage": [ + { + "@id": "http://example.com/bob" + } + ], + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "Bob" + } + ] + }, + { + "@id": "http://json-ld.org/test-suite/tests/flatten-0005-in.jsonld#me", + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/bob#me" + }, + { + "@id": "http://example.com/alice#me" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/flatten/0006-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0006-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0006-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0006-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0007-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0007-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0007-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0007-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0008-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0008-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0008-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0008-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0009-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0009-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0009-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0009-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0010-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0010-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0010-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0010-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0010-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0011-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0011-in.jsonld new file mode 100644 index 00000000..15815597 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0011-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#book", + "dc:title": "Title", + "ex:contains": "http://example.org/test#chapter" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/0011-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0011-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0011-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0012-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0012-in.jsonld new file mode 100644 index 00000000..d081e7fb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0012-in.jsonld @@ -0,0 +1,39 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:authored": { + "@type": "@id" + }, + "ex:contains": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "ex:authored": "http://example.org/test#chapter", + "foaf:name": "Jane" + }, + { + "@id": "http://example.org/test#john", + "foaf:name": "John" + }, + { + "@id": "http://example.org/test#library", + "ex:contains": { + "@id": "http://example.org/test#book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/0012-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0012-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0013-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0013-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0013-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0013-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0054-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0054-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0014-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0014-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0015-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0015-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0015-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0015-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0016-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0016-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0016-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0016-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0017-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0017-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0017-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0017-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0018-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0018-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0018-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0018-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0019-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0019-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0019-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0019-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0020-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0020-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0020-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0020-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0020-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0020-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0021-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0021-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0021-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0021-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0021-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0021-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0021-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0021-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0022-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0022-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0022-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0022-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0022-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0022-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0023-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0023-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0023-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0023-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0023-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0023-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0024-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0024-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0024-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0024-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0024-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0024-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0025-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0025-in.jsonld new file mode 100644 index 00000000..de45eb4c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0025-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "foo": "http://example.com/foo/", + "foo:bar": "http://example.com/bar", + "bar": {"@id": "foo:bar", "@type": "@id"}, + "_": "http://example.com/underscore/" + }, + "@type": ["foo", "foo:bar", "_"] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0025-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0025-out.jsonld new file mode 100644 index 00000000..3617a3e4 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0025-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "_:b0", + "@type": [ + "http://example.com/foo/", + "http://example.com/bar", + "http://example.com/underscore/" + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/e043-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e043-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0026-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0026-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0026-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0026-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0026-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0027-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0027-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0027-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0027-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0027-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0027-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0027-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0027-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0028-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0028-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0028-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0028-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0028-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0028-out.jsonld new file mode 100644 index 00000000..cc95a31c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0028-out.jsonld @@ -0,0 +1,28 @@ +[ + { + "@id": "http://json-ld.org/test-suite/tests/example1", + "@type": [ + "http://example.org/vocab#test" + ], + "http://example.org/vocab#date": [ + { + "@value": "2011-01-25T00:00:00Z", + "@type": "http://example.org/vocab#dateTime" + } + ], + "http://example.org/vocab#embed": [ + { + "@id": "http://json-ld.org/test-suite/tests/example2" + } + ] + }, + { + "@id": "http://json-ld.org/test-suite/tests/example2", + "http://example.org/vocab#expandedDate": [ + { + "@type": "http://example.org/vocab#dateTime", + "@value": "2012-08-01T00:00:00Z" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0029-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0029-in.jsonld new file mode 100644 index 00000000..08cdde33 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0029-in.jsonld @@ -0,0 +1,32 @@ +{ + "@context": { + "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } + }, + "@id": "relativeIris", + "@type": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "../../../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ], + "links": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "./../../../useless/../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0029-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0029-out.jsonld new file mode 100644 index 00000000..13b5aea5 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0029-out.jsonld @@ -0,0 +1,57 @@ +[ + { + "@id": "http://json-ld.org/test-suite/tests/relativeIris", + "@type": [ + "http://json-ld.org/test-suite/tests/link", + "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld#fragment-works", + "http://json-ld.org/test-suite/tests/flatten-0029-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" + ], + "http://www.example.com/link": [ + { + "@list": [ + { + "@id": "http://json-ld.org/test-suite/tests/link" + }, + { + "@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/" + }, + { + "@id": "http://json-ld.org/test-suite/" + }, + { + "@id": "http://json-ld.org/test-suite/parent" + }, + { + "@id": "http://json-ld.org/parent-parent-eq-root" + }, + { + "@id": "http://json-ld.org/still-root" + }, + { + "@id": "http://json-ld.org/too-many-dots" + }, + { + "@id": "http://json-ld.org/absolute" + }, + { + "@id": "http://example.org/scheme-relative" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/flatten/0030-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0030-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0030-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0030-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0030-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0030-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0030-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0030-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0031-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0031-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0031-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0031-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0031-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0031-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0031-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0031-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0032-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0032-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0032-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0032-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0032-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0032-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0032-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0033-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0033-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0033-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0033-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0033-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0033-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0033-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0033-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0034-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0034-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0034-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0034-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0034-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0034-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0034-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0034-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0035-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0035-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0035-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0035-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0035-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0035-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0035-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0035-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0036-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0036-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0036-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0036-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0036-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0036-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0036-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0036-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0037-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0037-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0037-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0037-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0037-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0037-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0037-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0037-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0038-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0038-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0038-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0038-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0038-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0038-out.jsonld new file mode 100644 index 00000000..015a684d --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0038-out.jsonld @@ -0,0 +1,44 @@ +[ + { + "@id": "_:b0", + "@type": [ + "_:b0" + ], + "_:b0": [ + { + "@id": "_:b0" + }, + { + "@id": "_:b1" + }, + { + "@value": "plain value" + }, + { + "@id": "_:b2" + }, + { + "@id": "_:b3" + }, + { + "@id": "http://json-ld.org/test-suite/tests/relativeIri" + } + ] + }, + { + "@id": "_:b1", + "_:b0": [ + { + "@value": "term" + } + ] + }, + { + "@id": "_:b2", + "_:b0": [ + { + "@value": "termId" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/flatten/0039-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0039-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0039-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0039-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0039-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0039-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0039-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0039-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0040-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0040-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0040-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0040-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0040-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0040-out.jsonld new file mode 100644 index 00000000..23a4e44f --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0040-out.jsonld @@ -0,0 +1,21 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/index": [ + { + "@value": "No" + }, + { + "@value": "indexes" + }, + { + "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject" + } + ], + "http://example.com/vocab/label": [ + { + "@value": "The Queen" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/flatten/0041-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0041-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0041-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0041-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0041-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0041-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0041-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0041-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0042-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0042-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0042-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0042-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0042-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0042-out.jsonld new file mode 100644 index 00000000..f667f8a8 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0042-out.jsonld @@ -0,0 +1,13 @@ +[ + { + "@id": "http://json-ld.org/test-suite/tests/list-equivalence-test", + "http://example.com/list": [ + { + "@list": [ { "@value": "1" }, { "@value": "2" } ] + }, + { + "@list": [ { "@value": "1" }, { "@value": "2" } ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0043-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0043-in.jsonld new file mode 100644 index 00000000..a143cbe9 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0043-in.jsonld @@ -0,0 +1,10 @@ +{ + "@id": "", + "http://example/sequence": {"@list": [ + { + "@id": "#t0001", + "http://example/name": "Keywords cannot be aliased to other keywords", + "http://example/input": {"@id": "error-expand-0001-in.jsonld"} + } + ]} +} diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-0043-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0043-out.jsonld new file mode 100644 index 00000000..7b9417c9 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-0043-out.jsonld @@ -0,0 +1,17 @@ +[ + { + "@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld", + "http://example/sequence": [ + {"@list": [{"@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld#t0001"}]} + ] + }, + { + "@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld#t0001", + "http://example/input": [ + {"@id": "http://json-ld.org/test-suite/tests/error-expand-0001-in.jsonld"} + ], + "http://example/name": [ + {"@value": "Keywords cannot be aliased to other keywords"} + ] + } +] diff --git a/core/src/test/resources/json-ld.org/flatten/0044-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0044-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0044-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0044-context.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0044-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0044-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0044-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0044-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0044-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0044-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0044-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0044-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0045-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0045-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0045-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0045-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0045-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-0045-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0045-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/flatten-0045-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/flatten-manifest.jsonld b/core/src/test/resources/json-ld-1.0-tests/flatten-manifest.jsonld new file mode 100644 index 00000000..cea88ae5 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/flatten-manifest.jsonld @@ -0,0 +1,330 @@ +{ + "@context": "http://json-ld.org/test-suite/context.jsonld", + "@id": "", + "@type": "mf:Manifest", + "name": "Flattening", + "description": "JSON-LD flattening tests use object comparison.", + "baseIri": "http://json-ld.org/test-suite/tests/", + "sequence": [ + { + "@id": "#t0001", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "drop free-floating nodes", + "purpose": "Flattening drops unreferenced nodes having only @id", + "input": "flatten-0001-in.jsonld", + "expect": "flatten-0001-out.jsonld" + }, { + "@id": "#t0002", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "basic", + "purpose": "Flattening terms with different types of values", + "input": "flatten-0002-in.jsonld", + "expect": "flatten-0002-out.jsonld" + }, { + "@id": "#t0003", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "drop null and unmapped properties", + "purpose": "Verifies that null values and unmapped properties are removed from expanded output", + "input": "flatten-0003-in.jsonld", + "expect": "flatten-0003-out.jsonld" + }, { + "@id": "#t0004", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "optimize @set, keep empty arrays", + "purpose": "Uses of @set are removed in expansion; values of @set, or just plain values which are empty arrays are retained", + "input": "flatten-0004-in.jsonld", + "expect": "flatten-0004-out.jsonld" + }, { + "@id": "#t0005", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "do not expand aliased @id/@type", + "purpose": "If a keyword is aliased, it is not used when flattening", + "input": "flatten-0005-in.jsonld", + "expect": "flatten-0005-out.jsonld" + }, { + "@id": "#t0006", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "alias keywords", + "purpose": "Aliased keywords expand in resulting document", + "input": "flatten-0006-in.jsonld", + "expect": "flatten-0006-out.jsonld" + }, { + "@id": "#t0007", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "date type-coercion", + "purpose": "Expand strings to expanded value with @type: xsd:dateTime", + "input": "flatten-0007-in.jsonld", + "expect": "flatten-0007-out.jsonld" + }, { + "@id": "#t0008", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "@value with @language", + "purpose": "Keep expanded values with @language, drop non-conforming value objects containing just @language", + "input": "flatten-0008-in.jsonld", + "expect": "flatten-0008-out.jsonld" + }, { + "@id": "#t0009", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "@graph with terms", + "purpose": "Use of @graph to contain multiple nodes within array", + "input": "flatten-0009-in.jsonld", + "expect": "flatten-0009-out.jsonld" + }, { + "@id": "#t0010", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "native types", + "purpose": "Flattening native scalar retains native scalar within expanded value", + "input": "flatten-0010-in.jsonld", + "expect": "flatten-0010-out.jsonld" + }, { + "@id": "#t0011", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "coerced @id", + "purpose": "A value of a property with @type: @id coercion expands to a node reference", + "input": "flatten-0011-in.jsonld", + "expect": "flatten-0011-out.jsonld" + }, { + "@id": "#t0012", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "@graph with embed", + "purpose": "Flattening objects containing chained objects flattens all objects", + "input": "flatten-0012-in.jsonld", + "expect": "flatten-0012-out.jsonld" + }, { + "@id": "#t0013", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "flatten already expanded", + "purpose": "Flattening an expanded/flattened document maintains input document", + "input": "flatten-0013-in.jsonld", + "expect": "flatten-0013-out.jsonld" + }, { + "@id": "#t0014", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "@set of @value objects with keyword aliases", + "purpose": "Flattening aliased @set and @value", + "input": "flatten-0014-in.jsonld", + "expect": "flatten-0014-out.jsonld" + }, { + "@id": "#t0015", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "collapse set of sets, keep empty lists", + "purpose": "An array of multiple @set nodes are collapsed into a single array", + "input": "flatten-0015-in.jsonld", + "expect": "flatten-0015-out.jsonld" + }, { + "@id": "#t0016", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "context reset", + "purpose": "Setting @context to null within an embedded object resets back to initial context state", + "input": "flatten-0016-in.jsonld", + "expect": "flatten-0016-out.jsonld" + }, { + "@id": "#t0017", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "@graph and @id aliased", + "purpose": "Flattening with @graph and @id aliases", + "input": "flatten-0017-in.jsonld", + "expect": "flatten-0017-out.jsonld" + }, { + "@id": "#t0018", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "override default @language", + "purpose": "override default @language in terms; only language-tag strings", + "input": "flatten-0018-in.jsonld", + "expect": "flatten-0018-out.jsonld" + }, { + "@id": "#t0019", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "remove @value = null", + "purpose": "Flattening a value of null removes the value", + "input": "flatten-0019-in.jsonld", + "expect": "flatten-0019-out.jsonld" + }, { + "@id": "#t0020", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "do not remove @graph if not at top-level", + "purpose": "@graph used under a node is retained", + "input": "flatten-0020-in.jsonld", + "expect": "flatten-0020-out.jsonld" + }, { + "@id": "#t0021", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "do not remove @graph at top-level if not only property", + "purpose": "@graph used at the top level is retained if there are other properties", + "input": "flatten-0021-in.jsonld", + "expect": "flatten-0021-out.jsonld" + }, { + "@id": "#t0022", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "flatten value with default language", + "purpose": "Flattening with a default language applies that language to string values", + "input": "flatten-0022-in.jsonld", + "expect": "flatten-0022-out.jsonld" + }, { + "@id": "#t0023", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Flattening list/set with coercion", + "purpose": "Flattening lists and sets with properties having coercion coerces list/set values", + "input": "flatten-0023-in.jsonld", + "expect": "flatten-0023-out.jsonld" + }, { + "@id": "#t0024", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Multiple contexts", + "purpose": "Tests that contexts in an array are merged", + "input": "flatten-0024-in.jsonld", + "expect": "flatten-0024-out.jsonld" + }, { + "@id": "#t0025", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Problematic IRI flattening tests", + "purpose": "Flattening different kinds of terms and Compact IRIs", + "input": "flatten-0025-in.jsonld", + "expect": "flatten-0025-out.jsonld" + }, { + "@id": "#t0026", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Term definition with @id: @type", + "purpose": "Flattening term mapping to @type uses @type syntax", + "input": "flatten-0026-in.jsonld", + "expect": "flatten-0026-out.jsonld" + }, { + "@id": "#t0027", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Duplicate values in @list and @set", + "purpose": "Duplicate values in @list and @set are not merged", + "input": "flatten-0027-in.jsonld", + "expect": "flatten-0027-out.jsonld" + }, { + "@id": "#t0028", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Use @vocab in properties and @type but not in @id", + "purpose": "@vocab is used to compact properties and @type, but is not used for @id", + "input": "flatten-0028-in.jsonld", + "expect": "flatten-0028-out.jsonld" + }, { + "@id": "#t0029", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Relative IRIs", + "purpose": "@base is used to compact @id; test with different relative IRIs", + "input": "flatten-0029-in.jsonld", + "expect": "flatten-0029-out.jsonld" + }, { + "@id": "#t0030", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Language maps", + "purpose": "Language Maps expand values to include @language", + "input": "flatten-0030-in.jsonld", + "expect": "flatten-0030-out.jsonld" + }, { + "@id": "#t0031", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "type-coercion of native types", + "purpose": "Flattening native types with type coercion adds the coerced type to an expanded value representation and retains the native value representation", + "input": "flatten-0031-in.jsonld", + "expect": "flatten-0031-out.jsonld" + }, { + "@id": "#t0032", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Null term and @vocab", + "purpose": "Mapping a term to null decouples it from @vocab", + "input": "flatten-0032-in.jsonld", + "expect": "flatten-0032-out.jsonld" + }, { + "@id": "#t0033", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Using @vocab with with type-coercion", + "purpose": "Verifies that terms can be defined using @vocab", + "input": "flatten-0033-in.jsonld", + "expect": "flatten-0033-out.jsonld" + }, { + "@id": "#t0034", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Multiple properties expanding to the same IRI", + "purpose": "Verifies multiple values from separate terms are deterministically made multiple values of the IRI associated with the terms", + "input": "flatten-0034-in.jsonld", + "expect": "flatten-0034-out.jsonld" + }, { + "@id": "#t0035", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Language maps with @vocab, default language, and colliding property", + "purpose": "Pathological tests of language maps", + "input": "flatten-0035-in.jsonld", + "expect": "flatten-0035-out.jsonld" + }, { + "@id": "#t0036", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Flattening @index", + "purpose": "Flattening index maps for terms defined with @container: @index", + "input": "flatten-0036-in.jsonld", + "expect": "flatten-0036-out.jsonld" + }, { + "@id": "#t0037", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Flattening reverse properties", + "purpose": "Flattening @reverse keeps @reverse", + "input": "flatten-0037-in.jsonld", + "expect": "flatten-0037-out.jsonld" + }, { + "@id": "#t0038", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Flattening blank node labels", + "purpose": "Blank nodes are not relabeled during expansion", + "input": "flatten-0038-in.jsonld", + "expect": "flatten-0038-out.jsonld" + }, { + "@id": "#t0039", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Using terms in a reverse-maps", + "purpose": "Terms within @reverse are expanded", + "input": "flatten-0039-in.jsonld", + "expect": "flatten-0039-out.jsonld" + }, { + "@id": "#t0040", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "language and index expansion on non-objects", + "purpose": "Only invoke language and index map expansion if the value is a JSON object", + "input": "flatten-0040-in.jsonld", + "expect": "flatten-0040-out.jsonld" + }, { + "@id": "#t0041", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Free-floating sets and lists", + "purpose": "Free-floating values in sets are removed, free-floating lists are removed completely", + "input": "flatten-0041-in.jsonld", + "expect": "flatten-0041-out.jsonld" + }, { + "@id": "#t0042", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "List objects not equivalent", + "purpose": "Lists objects are implicit unlabeled blank nodes and thus never equivalent", + "input": "flatten-0042-in.jsonld", + "expect": "flatten-0042-out.jsonld" + }, { + "@id": "#t0043", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Sample test manifest extract", + "purpose": "Flatten a test manifest", + "input": "flatten-0043-in.jsonld", + "expect": "flatten-0043-out.jsonld" + }, { + "@id": "#t0044", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "compactArrays option", + "purpose": "Setting compactArrays to false causes single element arrays to be retained", + "option": { + "compactArrays": false + }, + "input": "flatten-0044-in.jsonld", + "context": "flatten-0044-context.jsonld", + "expect": "flatten-0044-out.jsonld" + }, { + "@id": "#t0045", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Blank nodes with reverse properties", + "purpose": "Proper (re-)labeling of blank nodes if used with reverse properties.", + "input": "flatten-0045-in.jsonld", + "expect": "flatten-0045-out.jsonld" + } + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0001-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0001-frame.jsonld new file mode 100644 index 00000000..16faf5bb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0001-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0001-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0001-in.jsonld new file mode 100644 index 00000000..dcc2dfab --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0001-in.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0001-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0001-out.jsonld new file mode 100644 index 00000000..c2be4d27 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0001-out.jsonld @@ -0,0 +1,22 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0002-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0002-frame.jsonld new file mode 100644 index 00000000..16faf5bb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0002-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0002-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0002-in.jsonld new file mode 100644 index 00000000..ba0b5b1b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0002-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One", + "ex:act": "ex:ActOne" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0002-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0002-out.jsonld new file mode 100644 index 00000000..db497ada --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0002-out.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One", + "ex:act": "ex:ActOne" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0003-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0003-frame.jsonld new file mode 100644 index 00000000..9da49cf2 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0003-frame.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:DoesNotExist" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0003-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0003-in.jsonld new file mode 100644 index 00000000..aef9e876 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0003-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0003-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0003-out.jsonld new file mode 100644 index 00000000..dde98f3d --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0003-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@graph": [] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0004-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0004-frame.jsonld new file mode 100644 index 00000000..8954e01f --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0004-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@type": "ex:Library" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0004-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0004-in.jsonld new file mode 100644 index 00000000..dcc2dfab --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0004-in.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0004-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0004-out.jsonld new file mode 100644 index 00000000..8b780018 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0004-out.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0005-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0005-frame.jsonld new file mode 100644 index 00000000..df6e66e6 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0005-frame.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@explicit": true, + "@type": "ex:Library", + "ex:contains": { + "@explicit": true, + "@type": "ex:Book", + "dc:title": {}, + "ex:contains": { + "@explicit": true, + "@type": "ex:Chapter", + "dc:title": {}, + "ex:null": {} + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0005-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0005-in.jsonld new file mode 100644 index 00000000..aef9e876 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0005-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0005-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0005-out.jsonld new file mode 100644 index 00000000..279d8168 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0005-out.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:title": "Chapter One", + "ex:null": null + } + } + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0006-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0006-frame.jsonld new file mode 100644 index 00000000..16faf5bb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0006-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0006-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0006-in.jsonld new file mode 100644 index 00000000..7a1294bd --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0006-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0006-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0006-out.jsonld new file mode 100644 index 00000000..c2be4d27 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0006-out.jsonld @@ -0,0 +1,22 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0007-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0007-frame.jsonld new file mode 100644 index 00000000..16faf5bb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0007-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0007-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0007-in.jsonld new file mode 100644 index 00000000..04580d2d --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0007-in.jsonld @@ -0,0 +1,32 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": [ + "ex:Library", + "ex:Building" + ], + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0007-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0007-out.jsonld new file mode 100644 index 00000000..76af6190 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0007-out.jsonld @@ -0,0 +1,25 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": [ + "ex:Library", + "ex:Building" + ], + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0008-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0008-frame.jsonld new file mode 100644 index 00000000..8dfff9d8 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0008-frame.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:embedded": {"@container": "@set"}, + "ex:literal": {"@container": "@set"}, + "ex:mixed": {"@container": "@set"}, + "ex:single": {"@container": "@set"} + }, + "@type": "ex:Example", + "ex:embedded": {}, + "ex:literal": {}, + "ex:mixed": {"@embed": false}, + "ex:single": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0008-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0008-in.jsonld new file mode 100644 index 00000000..de162963 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0008-in.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@graph": [ + { + "@id": "http://example.org/test/#example", + "@type": "ex:Example", + "ex:embedded": { + "@id": "http://example.org/test#subject1" + }, + "ex:literal": [ + "str1", + "str2", + "str3" + ], + "ex:mixed": [ + { + "@id": "http://example.org/test#iri1" + }, + "literal1", + { + "@id": "http://example.org/test#iri2" + }, + "literal2", + { + "@id": "http://example.org/test#subject2", + "ex:prop": "property" + } + ], + "ex:single": "single" + }, + { + "@id": "http://example.org/test#subject1", + "ex:prop": "property" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0008-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0008-out.jsonld new file mode 100644 index 00000000..c4acd177 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0008-out.jsonld @@ -0,0 +1,40 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:embedded": {"@container": "@set"}, + "ex:literal": {"@container": "@set"}, + "ex:mixed": {"@container": "@set"}, + "ex:single": {"@container": "@set"} + }, + "@graph": [{ + "@id": "http://example.org/test/#example", + "@type": "ex:Example", + "ex:embedded": [ + { + "@id": "http://example.org/test#subject1", + "ex:prop": "property" + } + ], + "ex:literal": [ + "str1", + "str2", + "str3" + ], + "ex:mixed": [ + { + "@id": "http://example.org/test#iri1" + }, + "literal1", + { + "@id": "http://example.org/test#iri2" + }, + "literal2", + { + "@id": "http://example.org/test#subject2" + } + ], + "ex:single": [ + "single" + ] + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0009-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0009-frame.jsonld new file mode 100644 index 00000000..13524dac --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0009-frame.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p7": {"@container": "@set"} + }, + "@type": "ex:Example1", + "ex:p2": { + "@default": "custom-default" + }, + "ex:p3": { + "@default": 3 + }, + "ex:p4": { + "@omitDefault": true + }, + "ex:p5": {}, + "ex:p6": { + "@type": "ex:Example2", + "ex:p3": { + "@default": 4 + } + }, + "ex:p7": {"@type": "ex:Example3"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0009-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0009-in.jsonld new file mode 100644 index 00000000..bf63f48b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0009-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@graph": [ + { + "@id": "http://example.org/test/#example1", + "@type": "ex:Example1", + "ex:p1": "non-default", + "ex:p6": { + "@id": "http://example.org/test/#example2" + } + }, + { + "@id": "http://example.org/test/#example2", + "@type": "ex:Example2" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0009-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0009-out.jsonld new file mode 100644 index 00000000..0d6eaa46 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0009-out.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p7": {"@container": "@set"} + }, + "@graph": [{ + "@id": "http://example.org/test/#example1", + "@type": "ex:Example1", + "ex:p1": "non-default", + "ex:p2": "custom-default", + "ex:p3": 3, + "ex:p5": null, + "ex:p6": { + "@id": "http://example.org/test/#example2", + "@type": "ex:Example2", + "ex:p3": 4 + }, + "ex:p7": [] + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0010-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0010-frame.jsonld new file mode 100644 index 00000000..a6cea2b2 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0010-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc": "http://purl.org/dc/terms/", + "dc:creator": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "ps": "http://purl.org/payswarm#" + }, + "@id": "http://example.com/asset", + "@type": "ps:Asset", + "dc:creator": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0010-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0010-in.jsonld new file mode 100644 index 00000000..ecc4cdb7 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0010-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "dc0": "http://purl.org/dc/terms/", + "dc:creator": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "ps": "http://purl.org/payswarm#" + }, + "@id": "http://example.com/asset", + "@type": "ps:Asset", + "dc:creator": { + "foaf:name": "John Doe" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0010-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0010-out.jsonld new file mode 100644 index 00000000..0c5bbf72 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0010-out.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "dc": "http://purl.org/dc/terms/", + "dc:creator": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "ps": "http://purl.org/payswarm#" + }, + "@graph": [{ + "@id": "http://example.com/asset", + "@type": "ps:Asset", + "dc:creator": { + "@id": "_:b0", + "foaf:name": "John Doe" + } + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0011-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0011-frame.jsonld new file mode 100644 index 00000000..c219d400 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0011-frame.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@type": "ex:Thing", + "ex:embed": { + "@embed": true + }, + "ex:noembed": { + "@embed": false + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0011-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0011-in.jsonld new file mode 100644 index 00000000..d5df9e32 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0011-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded", + "ex:title": "Not Embedded" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0011-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0011-out.jsonld new file mode 100644 index 00000000..358ab54c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0011-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@graph": [{ + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0012-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0012-frame.jsonld new file mode 100644 index 00000000..e82a7b4e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0012-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "sp": "http://smartplatforms.org/terms#" + }, + "@type": ["sp:Medication", "sp:Fulfillment"], + "sp:hasFulfillment": {"@omitDefault": true, "@embed": false}, + "sp:hasMedication": {"@omitDefault": true, "@embed": false} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0012-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0012-in.jsonld new file mode 100644 index 00000000..9b0d0edf --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0012-in.jsonld @@ -0,0 +1,20 @@ +{ + "@graph": [ + { + "@id": "http://example.org/med-1", + "@type": "http://smartplatforms.org/terms#Medication", + "http://smartplatforms.org/terms#hasFulfillment": { + "@id": "http://example.org/fill-1" + }, + "http://smartplatforms.org/terms#label": "Lisinopril" + }, + { + "@id": "http://example.org/fill-1", + "@type": "http://smartplatforms.org/terms#Fulfillment", + "http://smartplatforms.org/terms#hasMedication": { + "@id": "http://example.org/med-1" + }, + "http://smartplatforms.org/terms#label": "30 pills on 2/2/2011" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0012-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0012-out.jsonld new file mode 100644 index 00000000..2f14f160 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0012-out.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "sp": "http://smartplatforms.org/terms#" + }, + "@graph": [{ + "@id": "http://example.org/fill-1", + "@type": "sp:Fulfillment", + "sp:hasMedication": { + "@id": "http://example.org/med-1" + }, + "sp:label": "30 pills on 2/2/2011" + }, { + "@id": "http://example.org/med-1", + "@type": "sp:Medication", + "sp:hasFulfillment": { + "@id": "http://example.org/fill-1" + }, + "sp:label": "Lisinopril" + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0013-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0013-frame.jsonld new file mode 100644 index 00000000..e08311af --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0013-frame.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "ex": "http://example.org/" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0013-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0013-in.jsonld new file mode 100644 index 00000000..eee483e7 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0013-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@graph": [ + { + "@id": "ex:looker", + "ex:canSee": [ + { + "@id": "ex:forgotten" + }, + { + "@id": "ex:spotted" + } + ] + }, + { + "@id": "ex:spotted" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0013-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0013-out.jsonld new file mode 100644 index 00000000..21f45221 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0013-out.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@graph": [{ + "@id": "ex:forgotten" + }, { + "@id": "ex:looker", + "ex:canSee": [ + { + "@id": "ex:forgotten" + }, + { + "@id": "ex:spotted" + } + ] + }, { + "@id": "ex:spotted" + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0014-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0014-frame.jsonld new file mode 100644 index 00000000..a2e7f4be --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0014-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@type": ["ex:Node"] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0014-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0014-in.jsonld new file mode 100644 index 00000000..b4f8ed8a --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0014-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@id": "ex:a", + "@type": "ex:Node", + "ex:sees": { + "@id": "ex:b", + "@type": "ex:Node", + "ex:sees": { + "ex:remember_me": "This value should not disappear." + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0014-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0014-out.jsonld new file mode 100644 index 00000000..38c0b146 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0014-out.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@graph": [{ + "@id": "ex:a", + "@type": "ex:Node", + "ex:sees": { + "@id": "ex:b", + "@type": "ex:Node", + "ex:sees": { + "@id": "_:b0", + "ex:remember_me": "This value should not disappear." + } + } + }, { + "@id": "ex:b", + "@type": "ex:Node", + "ex:sees": { + "@id": "_:b0", + "ex:remember_me": "This value should not disappear." + } + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0015-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0015-frame.jsonld new file mode 100644 index 00000000..04223492 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0015-frame.jsonld @@ -0,0 +1,93 @@ +{ + "@context": { + "api": "http://smartplatforms.org/terms/api#", + "dcterms": "http://purl.org/dc/terms/", + "foaf": "http://xmlns.com/foaf/0.1/", + "owl": "http://www.w3.org/2002/07/owl#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "sp": "http://smartplatforms.org/terms#", + "sp:abnormalInterpretation": {"@type": "@id"}, + "sp:address": {"@type": "@id"}, + "sp:alertLevel": {"@type": "@id"}, + "sp:allergicReaction": {"@type": "@id"}, + "sp:allergyExclusionName": {"@type": "@id"}, + "sp:belongsTo": {"@type": "@id"}, + "sp:bloodPressure": {"@type": "@id"}, + "sp:bodyMassIndex": {"@type": "@id"}, + "sp:bodyPosition": {"@type": "@id"}, + "sp:bodySite": {"@type": "@id"}, + "sp:category": {"@type": "@id"}, + "sp:code": {"@type": "@id"}, + "sp:created": {"@type": "@id"}, + "sp:denominator": {"@type": "@id"}, + "sp:diastolic": {"@type": "@id"}, + "sp:drugAllergen": {"@type": "@id"}, + "sp:drugClass": {"@type": "@id"}, + "sp:drugClassAllergen": {"@type": "@id"}, + "sp:drugName": {"@type": "@id"}, + "sp:encounter": {"@type": "@id"}, + "sp:encounterType": {"@type": "@id"}, + "sp:facility": {"@type": "@id"}, + "sp:foodAllergen": {"@type": "@id"}, + "sp:frequency": {"@type": "@id"}, + "sp:fulfillment": {"@type": "@id"}, + "sp:hasStatement": {"@type": "@id"}, + "sp:heartRate": {"@type": "@id"}, + "sp:height": {"@type": "@id"}, + "sp:labName": {"@type": "@id"}, + "sp:labResult": {"@type": "@id"}, + "sp:labSpecimenCollected": {"@type": "@id"}, + "sp:labStatus": {"@type": "@id"}, + "sp:maximum": {"@type": "@id"}, + "sp:medicalRecordNumber": {"@type": "@id"}, + "sp:medication": {"@type": "@id"}, + "sp:method": {"@type": "@id"}, + "sp:minimum": {"@type": "@id"}, + "sp:narrativeResult": {"@type": "@id"}, + "sp:nominalResult": {"@type": "@id"}, + "sp:nonCriticalRange": {"@type": "@id"}, + "sp:normalRange": {"@type": "@id"}, + "sp:numerator": {"@type": "@id"}, + "sp:ordinalResult": {"@type": "@id"}, + "sp:organization": {"@type": "@id"}, + "sp:oxygenSaturation": {"@type": "@id"}, + "sp:participant": {"@type": "@id"}, + "sp:person": {"@type": "@id"}, + "sp:pharmacy": {"@type": "@id"}, + "sp:problemName": {"@type": "@id"}, + "sp:provenance": {"@type": "@id"}, + "sp:provider": {"@type": "@id"}, + "sp:quantitativeResult": {"@type": "@id"}, + "sp:quantity": {"@type": "@id"}, + "sp:quantityDispensed": {"@type": "@id"}, + "sp:respiratoryRate": {"@type": "@id"}, + "sp:severity": {"@type": "@id"}, + "sp:specimenCollected": {"@type": "@id"}, + "sp:systolic": {"@type": "@id"}, + "sp:temperature": {"@type": "@id"}, + "sp:translationFidelity": {"@type": "@id"}, + "sp:valueAndUnit": {"@type": "@id"}, + "sp:vitalName": {"@type": "@id"}, + "sp:weight": {"@type": "@id"}, + "spcode": "http://smartplatforms.org/terms/codes/", + "vcard": "http://www.w3.org/2006/vcard/ns#", + "vcard:adr": {"@type": "@id"}, + "vcard:n": {"@type": "@id"}, + "vcard:tel": {"@type": "@id"} + }, + "@type": [ + "sp:Statement", + "sp:Fulfillment", + "sp:Alert", + "sp:AllergyExclusion", + "sp:Demographics", + "sp:Problem", + "sp:Medication", + "sp:VitalSigns", + "sp:MedicalRecord", + "sp:LabResult", + "sp:Allergy", + "sp:Encounter" + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0015-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0015-in.jsonld new file mode 100644 index 00000000..fce8c8cc --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0015-in.jsonld @@ -0,0 +1,70 @@ +[ + { + "@id": "http://localhost:7000/records/999888", + "@type": "http://smartplatforms.org/terms#MedicalRecord" + }, + { + "@id": "http://localhost:7000/records/999888", + "http://smartplatforms.org/terms#hasStatement": { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6" + } + }, + { + "@id": "_:uDkkVEva509", + "@type": "http://smartplatforms.org/terms#VitalSign" + }, + { + "@id": "_:uDkkVEva509", + "http://smartplatforms.org/terms#vitalName": { + "@id": "_:uDkkVEva510" + } + }, + { + "@id": "_:uDkkVEva509", + "http://smartplatforms.org/terms#value": "111.226458141" + }, + { + "@id": "_:uDkkVEva509", + "http://smartplatforms.org/terms#unit": "mm[Hg]" + }, + { + "@id": "_:uDkkVEva508", + "@type": "http://smartplatforms.org/terms#BloodPressure" + }, + { + "@id": "_:uDkkVEva508", + "http://smartplatforms.org/terms#systolic": { + "@id": "_:uDkkVEva509" + } + }, + { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", + "http://smartplatforms.org/terms#bloodPressure": { + "@id": "_:uDkkVEva508" + } + }, + { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", + "@type": "http://smartplatforms.org/terms#VitalSigns" + }, + { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", + "http://smartplatforms.org/terms#belongsTo": { + "@id": "http://localhost:7000/records/999888" + } + }, + { + "@id": "_:uDkkVEva510", + "http://purl.org/dc/terms/title": "Systolic blood pressure" + }, + { + "@id": "_:uDkkVEva510", + "@type": "http://smartplatforms.org/terms#CodedValue" + }, + { + "@id": "_:uDkkVEva510", + "http://smartplatforms.org/terms#code": { + "@id": "http://loinc.org/codes/8480-6" + } + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0015-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0015-out.jsonld new file mode 100644 index 00000000..ae70a26b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0015-out.jsonld @@ -0,0 +1,128 @@ +{ + "@context": { + "api": "http://smartplatforms.org/terms/api#", + "dcterms": "http://purl.org/dc/terms/", + "foaf": "http://xmlns.com/foaf/0.1/", + "owl": "http://www.w3.org/2002/07/owl#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "sp": "http://smartplatforms.org/terms#", + "sp:abnormalInterpretation": {"@type": "@id"}, + "sp:address": {"@type": "@id"}, + "sp:alertLevel": {"@type": "@id"}, + "sp:allergicReaction": {"@type": "@id"}, + "sp:allergyExclusionName": {"@type": "@id"}, + "sp:belongsTo": {"@type": "@id"}, + "sp:bloodPressure": {"@type": "@id"}, + "sp:bodyMassIndex": {"@type": "@id"}, + "sp:bodyPosition": {"@type": "@id"}, + "sp:bodySite": {"@type": "@id"}, + "sp:category": {"@type": "@id"}, + "sp:code": {"@type": "@id"}, + "sp:created": {"@type": "@id"}, + "sp:denominator": {"@type": "@id"}, + "sp:diastolic": {"@type": "@id"}, + "sp:drugAllergen": {"@type": "@id"}, + "sp:drugClass": {"@type": "@id"}, + "sp:drugClassAllergen": {"@type": "@id"}, + "sp:drugName": {"@type": "@id"}, + "sp:encounter": {"@type": "@id"}, + "sp:encounterType": {"@type": "@id"}, + "sp:facility": {"@type": "@id"}, + "sp:foodAllergen": {"@type": "@id"}, + "sp:frequency": {"@type": "@id"}, + "sp:fulfillment": {"@type": "@id"}, + "sp:hasStatement": {"@type": "@id"}, + "sp:heartRate": {"@type": "@id"}, + "sp:height": {"@type": "@id"}, + "sp:labName": {"@type": "@id"}, + "sp:labResult": {"@type": "@id"}, + "sp:labSpecimenCollected": {"@type": "@id"}, + "sp:labStatus": {"@type": "@id"}, + "sp:maximum": {"@type": "@id"}, + "sp:medicalRecordNumber": {"@type": "@id"}, + "sp:medication": {"@type": "@id"}, + "sp:method": {"@type": "@id"}, + "sp:minimum": {"@type": "@id"}, + "sp:narrativeResult": {"@type": "@id"}, + "sp:nominalResult": {"@type": "@id"}, + "sp:nonCriticalRange": {"@type": "@id"}, + "sp:normalRange": {"@type": "@id"}, + "sp:numerator": {"@type": "@id"}, + "sp:ordinalResult": {"@type": "@id"}, + "sp:organization": {"@type": "@id"}, + "sp:oxygenSaturation": {"@type": "@id"}, + "sp:participant": {"@type": "@id"}, + "sp:person": {"@type": "@id"}, + "sp:pharmacy": {"@type": "@id"}, + "sp:problemName": {"@type": "@id"}, + "sp:provenance": {"@type": "@id"}, + "sp:provider": {"@type": "@id"}, + "sp:quantitativeResult": {"@type": "@id"}, + "sp:quantity": {"@type": "@id"}, + "sp:quantityDispensed": {"@type": "@id"}, + "sp:respiratoryRate": {"@type": "@id"}, + "sp:severity": {"@type": "@id"}, + "sp:specimenCollected": {"@type": "@id"}, + "sp:systolic": {"@type": "@id"}, + "sp:temperature": {"@type": "@id"}, + "sp:translationFidelity": {"@type": "@id"}, + "sp:valueAndUnit": {"@type": "@id"}, + "sp:vitalName": {"@type": "@id"}, + "sp:weight": {"@type": "@id"}, + "spcode": "http://smartplatforms.org/terms/codes/", + "vcard": "http://www.w3.org/2006/vcard/ns#", + "vcard:adr": {"@type": "@id"}, + "vcard:n": {"@type": "@id"}, + "vcard:tel": {"@type": "@id"} + }, + "@graph": [{ + "@id": "http://localhost:7000/records/999888", + "@type": "sp:MedicalRecord", + "sp:hasStatement": { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", + "@type": "sp:VitalSigns", + "sp:belongsTo": "http://localhost:7000/records/999888", + "sp:bloodPressure": { + "@id": "_:b2", + "@type": "sp:BloodPressure", + "sp:systolic": { + "@id": "_:b0", + "@type": "sp:VitalSign", + "sp:vitalName": { + "@id": "_:b1", + "dcterms:title": "Systolic blood pressure", + "@type": "sp:CodedValue", + "sp:code": "http://loinc.org/codes/8480-6" + }, + "sp:value": "111.226458141", + "sp:unit": "mm[Hg]" + } + } + } + }, { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", + "@type": "sp:VitalSigns", + "sp:belongsTo": { + "@id": "http://localhost:7000/records/999888", + "@type": "sp:MedicalRecord", + "sp:hasStatement": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6" + }, + "sp:bloodPressure": { + "@id": "_:b2", + "@type": "sp:BloodPressure", + "sp:systolic": { + "@id": "_:b0", + "@type": "sp:VitalSign", + "sp:unit": "mm[Hg]", + "sp:value": "111.226458141", + "sp:vitalName": { + "@id": "_:b1", + "@type": "sp:CodedValue", + "dcterms:title": "Systolic blood pressure", + "sp:code": "http://loinc.org/codes/8480-6" + } + } + } + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0016-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0016-frame.jsonld new file mode 100644 index 00000000..7d71898f --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0016-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@type": {}, + "ex:contains": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0016-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0016-in.jsonld new file mode 100644 index 00000000..b997852a --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0016-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#untyped" + }, + { + "@id": "http://example.org/test#untyped", + "dc:contributor": "Writer", + "dc:title": "My Book" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0016-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0016-out.jsonld new file mode 100644 index 00000000..f4ecd87e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0016-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#untyped", + "dc:contributor": "Writer", + "dc:title": "My Book" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0017-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0017-frame.jsonld new file mode 100644 index 00000000..16faf5bb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0017-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0017-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0017-in.jsonld new file mode 100644 index 00000000..5c3ab141 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0017-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0017-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0017-out.jsonld new file mode 100644 index 00000000..c2be4d27 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0017-out.jsonld @@ -0,0 +1,22 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0018-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0018-frame.jsonld new file mode 100644 index 00000000..3cbce277 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0018-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@type": ["http://example.org/vocab#Library"], + "http://example.org/vocab#contains": [{}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0018-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0018-in.jsonld new file mode 100644 index 00000000..b402b5b3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0018-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0018-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0018-out.jsonld new file mode 100644 index 00000000..2337696b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0018-out.jsonld @@ -0,0 +1,7 @@ +{ + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "http://example.org/vocab#Library", + "http://example.org/vocab#contains": {"@id": "http://example.org/test#book"} + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0019-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0019-frame.jsonld new file mode 100644 index 00000000..632cdfbb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0019-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "ex": "http://example.org/terms#" + }, + "@type": "ex:Node" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0019-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0019-in.jsonld new file mode 100644 index 00000000..f04ff658 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0019-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "ex": "http://example.org/terms#", + "ex:sees": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "ex:node1", + "@type": "ex:Node", + "ex:sees": "ex:node2", + "ex:color": "blue" + }, { + "@id": "ex:node2", + "@type": "ex:Node", + "ex:sees": "ex:node1", + "ex:color": "red" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0019-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0019-out.jsonld new file mode 100644 index 00000000..7902bcad --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0019-out.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "ex": "http://example.org/terms#" + }, + "@graph": [{ + "@id": "ex:node1", + "@type": "ex:Node", + "ex:color": "blue", + "ex:sees": { + "@id": "ex:node2", + "@type": "ex:Node", + "ex:sees": { + "@id": "ex:node1" + }, + "ex:color": "red" + } + }, { + "@id": "ex:node2", + "@type": "ex:Node", + "ex:color": "red", + "ex:sees": { + "@id": "ex:node1", + "@type": "ex:Node", + "ex:sees": { + "@id": "ex:node2" + }, + "ex:color": "blue" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep05-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0020-frame.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep05-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/frame-0020-frame.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0020-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0020-in.jsonld new file mode 100644 index 00000000..606195c3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0020-in.jsonld @@ -0,0 +1,34 @@ +{ + "@context": { + "name": "http://rdf.data-vocabulary.org/#name", + "ingredient": "http://rdf.data-vocabulary.org/#ingredients", + "yield": "http://rdf.data-vocabulary.org/#yield", + "instructions": "http://rdf.data-vocabulary.org/#instructions", + "step": { + "@id": "http://rdf.data-vocabulary.org/#step", + "@type": "xsd:integer" + }, + "description": "http://rdf.data-vocabulary.org/#description", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "name": "Mojito", + "ingredient": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], + "yield": "1 cocktail", + "instructions": [ + { + "step": 1, + "description": "Crush lime juice, mint and sugar together in glass." + }, { + "step": 2, + "description": "Fill glass to top with ice cubes." + }, { + "step": 3, + "description": "Pour white rum over ice." + }, { + "step": 4, + "description": "Fill the rest of glass with club soda, stir." + }, { + "step": 5, + "description": "Garnish with a lime wedge." + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0020-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0020-out.jsonld new file mode 100644 index 00000000..fa1ef500 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0020-out.jsonld @@ -0,0 +1,80 @@ +{ + "@graph": [ + { + "@id": "_:b0", + "http://rdf.data-vocabulary.org/#ingredients": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], + "http://rdf.data-vocabulary.org/#instructions": [{ + "@id": "_:b1", + "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 1 + } + }, { + "@id": "_:b2", + "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 2 + } + }, { + "@id": "_:b3", + "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 3 + } + }, { + "@id": "_:b4", + "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 4 + } + }, { + "@id": "_:b5", + "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 5 + } + }], + "http://rdf.data-vocabulary.org/#name": "Mojito", + "http://rdf.data-vocabulary.org/#yield": "1 cocktail" + }, { + "@id": "_:b1", + "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 1 + } + }, { + "@id": "_:b2", + "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 2 + } + }, { + "@id": "_:b3", + "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 3 + } + }, { + "@id": "_:b4", + "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 4 + } + }, { + "@id": "_:b5", + "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 5 + } + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0021-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0021-frame.jsonld new file mode 100644 index 00000000..32bfc6a6 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0021-frame.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:list": {"@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0021-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0021-in.jsonld new file mode 100644 index 00000000..ccb878c3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0021-in.jsonld @@ -0,0 +1,32 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "ex:contains": { + "@type": "@id" + }, + "ex:list": {"@container": "@list"} + }, + "@graph": [ + { + "@id": "_:Book", + "dc:title": "Book type" + }, { + "@id": "http://example.org/library", + "@type": "ex:Library", + "ex:contains": "http://example.org/library/the-republic" + }, { + "@id": "http://example.org/library/the-republic", + "@type": "_:Book", + "dc:creator": "Plato", + "dc:title": "The Republic", + "ex:contains": "http://example.org/library/the-republic#introduction" + }, { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dc:description": "An introductory chapter on The Republic.", + "dc:title": "The Introduction", + "ex:list": [1, 2, 3, 4, 4, 4, 5] + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0021-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0021-out.jsonld new file mode 100644 index 00000000..a5e67d43 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0021-out.jsonld @@ -0,0 +1,46 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:list": {"@container": "@list"} + }, + "@graph": [ + { + "@id": "_:b0", + "dc:title": "Book type" + }, { + "@id": "http://example.org/library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/library/the-republic", + "@type": "_:b0", + "dc:creator": "Plato", + "dc:title": "The Republic", + "ex:contains": { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dc:description": "An introductory chapter on The Republic.", + "dc:title": "The Introduction", + "ex:list": [1, 2, 3, 4, 4, 4, 5] + } + } + }, { + "@id": "http://example.org/library/the-republic", + "@type": "_:b0", + "ex:contains": { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dc:description": "An introductory chapter on The Republic.", + "dc:title": "The Introduction", + "ex:list": [1, 2, 3, 4, 4, 4, 5] + }, + "dc:creator": "Plato", + "dc:title": "The Republic" + }, { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dc:description": "An introductory chapter on The Republic.", + "ex:list": [1, 2, 3, 4, 4, 4, 5], + "dc:title": "The Introduction" + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0022-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0022-frame.jsonld new file mode 100644 index 00000000..dc15b5fd --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0022-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1" +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0022-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0022-in.jsonld new file mode 100644 index 00000000..3e9969a6 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0022-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "@type": "ex:Type1" + }, { + "@id": "ex:Sub2", + "@type": "ex:Type2" + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0022-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0022-out.jsonld new file mode 100644 index 00000000..ef560bfc --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0022-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "@type": "ex:Type1" + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0030-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0030-frame.jsonld new file mode 100644 index 00000000..415e2b8f --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0030-frame.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@type": "ex:Thing", + "ex:embed": { + "@embed": "@always" + }, + "ex:noembed": { + "@embed": "@never" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0030-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0030-in.jsonld new file mode 100644 index 00000000..d5df9e32 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0030-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded", + "ex:title": "Not Embedded" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0030-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0030-out.jsonld new file mode 100644 index 00000000..358ab54c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0030-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@graph": [{ + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0046-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0046-frame.jsonld new file mode 100644 index 00000000..edd59d96 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0046-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": "urn:"}, + "@type": "Class" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-0046-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-0046-in.jsonld new file mode 100644 index 00000000..a092c9da --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-0046-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": {"@vocab": "urn:"}, + "@id": "urn:id-1", + "@type": "Class", + "preserve": { + "@graph": { + "@id": "urn:id-2", + "term": "data" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-g001-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-g001-frame.jsonld new file mode 100644 index 00000000..16faf5bb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-g001-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-g001-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-g001-in.jsonld new file mode 100644 index 00000000..dcc2dfab --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-g001-in.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-g001-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-g001-out.jsonld new file mode 100644 index 00000000..54356959 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-g001-out.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-manifest.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-manifest.jsonld new file mode 100644 index 00000000..03df4284 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-manifest.jsonld @@ -0,0 +1,222 @@ +{ + "@context": "http://json-ld.org/test-suite/context.jsonld", + "@id": "", + "@type": "mf:Manifest", + "name": "Framing", + "description": "JSON-LD framing tests use object comparison.", + "baseIri": "http://json-ld.org/test-suite/tests/", + "sequence": [{ + "@id": "#t0001", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "simple", + "input": "frame-0001-in.jsonld", + "frame": "frame-0001-frame.jsonld", + "expect": "frame-0001-out.jsonld" + }, { + "@id": "#t0002", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "reframe w/extra CURIE value", + "input": "frame-0002-in.jsonld", + "frame": "frame-0002-frame.jsonld", + "expect": "frame-0002-out.jsonld" + }, { + "@id": "#t0003", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "reframe (null)", + "input": "frame-0003-in.jsonld", + "frame": "frame-0003-frame.jsonld", + "expect": "frame-0003-out.jsonld" + }, { + "@id": "#t0004", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "reframe (type)", + "input": "frame-0004-in.jsonld", + "frame": "frame-0004-frame.jsonld", + "expect": "frame-0004-out.jsonld" + }, { + "@id": "#t0005", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "reframe (explicit)", + "input": "frame-0005-in.jsonld", + "frame": "frame-0005-frame.jsonld", + "expect": "frame-0005-out.jsonld" + }, { + "@id": "#t0006", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "reframe (non-explicit)", + "input": "frame-0006-in.jsonld", + "frame": "frame-0006-frame.jsonld", + "expect": "frame-0006-out.jsonld" + }, { + "@id": "#t0007", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "input has multiple types", + "input": "frame-0007-in.jsonld", + "frame": "frame-0007-frame.jsonld", + "expect": "frame-0007-out.jsonld" + }, { + "@id": "#t0008", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "array framing cases", + "input": "frame-0008-in.jsonld", + "frame": "frame-0008-frame.jsonld", + "expect": "frame-0008-out.jsonld" + }, { + "@id": "#t0009", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "default value", + "input": "frame-0009-in.jsonld", + "frame": "frame-0009-frame.jsonld", + "expect": "frame-0009-out.jsonld" + }, { + "@id": "#t0010", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "property CURIE conflict", + "input": "frame-0010-in.jsonld", + "frame": "frame-0010-frame.jsonld", + "expect": "frame-0010-out.jsonld" + }, { + "@id": "#t0011", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@embed", + "input": "frame-0011-in.jsonld", + "frame": "frame-0011-frame.jsonld", + "expect": "frame-0011-out.jsonld" + }, { + "@id": "#t0012", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Array frame", + "input": "frame-0012-in.jsonld", + "frame": "frame-0012-frame.jsonld", + "expect": "frame-0012-out.jsonld" + }, { + "@id": "#t0013", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Replace existing embed", + "input": "frame-0013-in.jsonld", + "frame": "frame-0013-frame.jsonld", + "expect": "frame-0013-out.jsonld" + }, { + "@id": "#t0014", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Replace existing embed on 2nd pass", + "input": "frame-0014-in.jsonld", + "frame": "frame-0014-frame.jsonld", + "expect": "frame-0014-out.jsonld" + }, { + "@id": "#t0015", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Replace deeply-nested embed", + "input": "frame-0015-in.jsonld", + "frame": "frame-0015-frame.jsonld", + "expect": "frame-0015-out.jsonld" + }, { + "@id": "#t0016", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Use @type in ducktype filter", + "input": "frame-0016-in.jsonld", + "frame": "frame-0016-frame.jsonld", + "expect": "frame-0016-out.jsonld" + }, { + "@id": "#t0017", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Non-flat input", + "input": "frame-0017-in.jsonld", + "frame": "frame-0017-frame.jsonld", + "expect": "frame-0017-out.jsonld" + }, { + "@id": "#t0018", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "no frame @context but @graph output", + "input": "frame-0018-in.jsonld", + "frame": "frame-0018-frame.jsonld", + "expect": "frame-0018-out.jsonld" + }, { + "@id": "#t0019", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Resources can be re-embedded again in each top-level frame match", + "input": "frame-0019-in.jsonld", + "frame": "frame-0019-frame.jsonld", + "expect": "frame-0019-out.jsonld" + }, { + "@id": "#t0020", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Blank nodes in an array", + "input": "frame-0020-in.jsonld", + "frame": "frame-0020-frame.jsonld", + "expect": "frame-0020-out.jsonld" + }, { + "@id": "#t0021", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Blank nodes in @type", + "input": "frame-0021-in.jsonld", + "frame": "frame-0021-frame.jsonld", + "expect": "frame-0021-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} + } , { + "@id": "#t0022", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Default inside sets", + "input": "frame-0022-in.jsonld", + "frame": "frame-0022-frame.jsonld", + "expect": "frame-0022-out.jsonld" + } , { + "@id": "#t0030", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@embed", + "input": "frame-0030-in.jsonld", + "frame": "frame-0030-frame.jsonld", + "expect": "frame-0030-out.jsonld" + }, { + "@id": "#tg001", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Library framing example with @graph and omitGraph is true.", + "purpose": "Basic example used in playground and spec examples.", + "input": "frame-g001-in.jsonld", + "frame": "frame-g001-frame.jsonld", + "expect": "frame-g001-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "omitGraph": true} + }, { + "@id": "#tp010", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Property CURIE conflict (prune bnodes)", + "purpose": "(Not really framing) A term looking like a CURIE becomes a CURIE when framing/compacting if defined as such in frame/context.", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "frame-0010-in.jsonld", + "frame": "frame-0010-frame.jsonld", + "expect": "frame-p010-out.jsonld" + }, { + "@id": "#tp020", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Blank nodes in an array (prune bnodes)", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "frame-0020-in.jsonld", + "frame": "frame-0020-frame.jsonld", + "expect": "frame-p020-out.jsonld" + }, { + "@id": "#tp021", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Blank nodes in @type (prune bnodes)", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "frame-0021-in.jsonld", + "frame": "frame-0021-frame.jsonld", + "expect": "frame-p021-out.jsonld" + }, { + "@id": "#tp046", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Merge graphs if no outer @graph is used (prune bnodes)", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "input": "frame-0046-in.jsonld", + "frame": "frame-0046-frame.jsonld", + "expect": "frame-p046-out.jsonld" + }, { + "@id": "#tp050", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Prune blank nodes with alias of @id", + "purpose": "If @id is aliased in a frame, an unreferenced blank node is still pruned.", + "input": "frame-p050-in.jsonld", + "frame": "frame-p050-frame.jsonld", + "expect": "frame-p050-out.jsonld", + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-p010-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-p010-out.jsonld new file mode 100644 index 00000000..38077e48 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-p010-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "dc": "http://purl.org/dc/terms/", + "dc:creator": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "ps": "http://purl.org/payswarm#" + }, + "@id": "http://example.com/asset", + "@type": "ps:Asset", + "dc:creator": { + "foaf:name": "John Doe" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-p020-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-p020-out.jsonld new file mode 100644 index 00000000..e9d42b94 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-p020-out.jsonld @@ -0,0 +1,79 @@ +{ + "@graph": [ + { + "http://rdf.data-vocabulary.org/#ingredients": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], + "http://rdf.data-vocabulary.org/#instructions": [{ + "@id": "_:b1", + "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 1 + } + }, { + "@id": "_:b2", + "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 2 + } + }, { + "@id": "_:b3", + "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 3 + } + }, { + "@id": "_:b4", + "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 4 + } + }, { + "@id": "_:b5", + "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 5 + } + }], + "http://rdf.data-vocabulary.org/#name": "Mojito", + "http://rdf.data-vocabulary.org/#yield": "1 cocktail" + }, { + "@id": "_:b1", + "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 1 + } + }, { + "@id": "_:b2", + "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 2 + } + }, { + "@id": "_:b3", + "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 3 + } + }, { + "@id": "_:b4", + "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 4 + } + }, { + "@id": "_:b5", + "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 5 + } + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-p021-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-p021-out.jsonld new file mode 100644 index 00000000..a5e67d43 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-p021-out.jsonld @@ -0,0 +1,46 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:list": {"@container": "@list"} + }, + "@graph": [ + { + "@id": "_:b0", + "dc:title": "Book type" + }, { + "@id": "http://example.org/library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/library/the-republic", + "@type": "_:b0", + "dc:creator": "Plato", + "dc:title": "The Republic", + "ex:contains": { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dc:description": "An introductory chapter on The Republic.", + "dc:title": "The Introduction", + "ex:list": [1, 2, 3, 4, 4, 4, 5] + } + } + }, { + "@id": "http://example.org/library/the-republic", + "@type": "_:b0", + "ex:contains": { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dc:description": "An introductory chapter on The Republic.", + "dc:title": "The Introduction", + "ex:list": [1, 2, 3, 4, 4, 4, 5] + }, + "dc:creator": "Plato", + "dc:title": "The Republic" + }, { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dc:description": "An introductory chapter on The Republic.", + "ex:list": [1, 2, 3, 4, 4, 4, 5], + "dc:title": "The Introduction" + }] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-p046-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-p046-out.jsonld new file mode 100644 index 00000000..6d127277 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-p046-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"@vocab": "urn:"}, + "@id": "urn:id-1", + "@type": "Class", + "preserve": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-p050-frame.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-p050-frame.jsonld new file mode 100644 index 00000000..77dc5555 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-p050-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "id": "@id" + }, + "id": {}, + "name": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-p050-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-p050-in.jsonld new file mode 100644 index 00000000..fc31face --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-p050-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "id": "@id" + }, + "id": "_:bnode0", + "name": "foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/frame-p050-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/frame-p050-out.jsonld new file mode 100644 index 00000000..75e0a23e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/frame-p050-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "id": "@id" + }, + "name": "foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/fromRdf/0001-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0001-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0001-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0001-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0001-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0001-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0002-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0002-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0002-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0002-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0002-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0002-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0003-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0003-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0003-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0003-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0003-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0003-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0004-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0004-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0004-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0004-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0004-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0004-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0005-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0005-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0005-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0005-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0005-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0005-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0006-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0006-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0006-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0006-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0006-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0006-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0007-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0007-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0007-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0007-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0007-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0007-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0008-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0008-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0008-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0008-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0008-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0008-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0009-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0009-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0009-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0009-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0009-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0009-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0010-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0010-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0010-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0010-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0010-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0010-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0011-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0011-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0011-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0011-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0011-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0011-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0011-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0012-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0012-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0012-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0012-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0012-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0012-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0013-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0013-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0013-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0013-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0013-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0013-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0014-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0014-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0014-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0014-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0014-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0014-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0015-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0015-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0015-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0015-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0015-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0015-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0016-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0016-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0016-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0016-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0016-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0016-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0017-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0017-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0017-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0017-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0017-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0017-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0018-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0018-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0018-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0018-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0018-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0018-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0019-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0019-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0019-in.nq rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0019-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0019-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0019-out.jsonld rename to core/src/test/resources/json-ld-1.0-tests/fromRdf-0019-out.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/fromRdf-0020-in.nq b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0020-in.nq new file mode 100644 index 00000000..ce811f51 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0020-in.nq @@ -0,0 +1,7 @@ + . + "myLabel" . + "2012-05-12"^^ . + . + "Plain" . + "2012-05-12"^^ . + "English"@en . diff --git a/core/src/test/resources/json-ld-1.0-tests/fromRdf-0020-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0020-out.jsonld new file mode 100644 index 00000000..6f9d169f --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/fromRdf-0020-out.jsonld @@ -0,0 +1,19 @@ +[ + { + "@id": "http://example.com/Subj1", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : [{ + "@id": "http://example.com/Type" + }], + "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}], + "http://example.com/prop2": [ + {"@value": "Plain"}, + {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"}, + {"@value": "English", "@language": "en"} + ] + }, + { + "@id": "http://example.com/Type", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#label": [{"@value": "myLabel"}], + "http://example.com/prop2": [{"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"}] + } +] diff --git a/core/src/test/resources/json-ld-1.0-tests/fromRdf-manifest.jsonld b/core/src/test/resources/json-ld-1.0-tests/fromRdf-manifest.jsonld new file mode 100644 index 00000000..6d9451bb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/fromRdf-manifest.jsonld @@ -0,0 +1,157 @@ +{ + "@context": "http://json-ld.org/test-suite/context.jsonld", + "@id": "", + "@type": "mf:Manifest", + "name": "Transform RDF to JSON-LD", + "description": "Transform RDF to JSON-LD tests take N-Quads input and use object comparison.", + "baseIri": "http://json-ld.org/test-suite/tests/", + "sequence": [ + { + "@id": "#t0001", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "Object Lists", + "purpose": "Tests generation using different types of objects.", + "input": "fromRdf-0001-in.nq", + "expect": "fromRdf-0001-out.jsonld" + }, { + "@id": "#t0002", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "Native Types", + "purpose": "Do not use native datatypes for xsd:boolean, xsd:integer, and xsd:double by default.", + "input": "fromRdf-0002-in.nq", + "expect": "fromRdf-0002-out.jsonld" + }, { + "@id": "#t0003", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "BNodes and references", + "purpose": "BNode name generation and references between resources.", + "input": "fromRdf-0003-in.nq", + "expect": "fromRdf-0003-out.jsonld" + }, { + "@id": "#t0004", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "Lists", + "purpose": "Multiple lists with different types of element.", + "input": "fromRdf-0004-in.nq", + "expect": "fromRdf-0004-out.jsonld" + }, { + "@id": "#t0005", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "Document with list", + "purpose": "Uses a named graph containing a list.", + "input": "fromRdf-0005-in.nq", + "expect": "fromRdf-0005-out.jsonld" + }, { + "@id": "#t0006", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "Two graphs having same subject but different values", + "purpose": "Ensure that properties and list elements aren't confused between graphs.", + "input": "fromRdf-0006-in.nq", + "expect": "fromRdf-0006-out.jsonld" + }, { + "@id": "#t0007", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "Graph with multiple named graphs", + "purpose": "Testing @graph recursion.", + "input": "fromRdf-0007-in.nq", + "expect": "fromRdf-0007-out.jsonld" + }, { + "@id": "#t0008", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "List conversion", + "purpose": "Conversion of lists of lists (the triples in the input are only partially ordered on purpose", + "input": "fromRdf-0008-in.nq", + "expect": "fromRdf-0008-out.jsonld" + }, { + "@id": "#t0009", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "List conversion with IRI nodes", + "purpose": "Preserve IRI list nodes (i.e., not blank nodes) when converting to @list", + "input": "fromRdf-0009-in.nq", + "expect": "fromRdf-0009-out.jsonld" + }, { + "@id": "#t0010", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "List pattern without rdf:nil", + "purpose": "Do not convert lists that are not terminated by rdf:nil to @list.", + "input": "fromRdf-0010-in.nq", + "expect": "fromRdf-0010-out.jsonld" + }, { + "@id": "#t0011", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "List pattern with extra properties", + "purpose": "If additional properties are associated to a list node, the list is only partially converted to @list.", + "input": "fromRdf-0011-in.nq", + "expect": "fromRdf-0011-out.jsonld" + }, { + "@id": "#t0012", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "List pattern with cycles", + "purpose": "Detect lists containing cycles and do not convert them to @list.", + "input": "fromRdf-0012-in.nq", + "expect": "fromRdf-0012-out.jsonld" + }, { + "@id": "#t0013", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "List pattern with multiple values of rdf:first", + "purpose": "Do not convert list nodes to @list if nodes contain more than one value for rdf:first.", + "input": "fromRdf-0013-in.nq", + "expect": "fromRdf-0013-out.jsonld" + }, { + "@id": "#t0014", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "List pattern with multiple values of rdf:rest", + "purpose": "Do not convert list nodes to @list if nodes contain more than one value for rdf:rest.", + "input": "fromRdf-0014-in.nq", + "expect": "fromRdf-0014-out.jsonld" + }, { + "@id": "#t0015", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "List pattern with IRI rdf:rest", + "purpose": "Do not convert lists to @list if a list node's rdf:rest is an IRI.", + "input": "fromRdf-0015-in.nq", + "expect": "fromRdf-0015-out.jsonld" + }, { + "@id": "#t0016", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "List pattern with type rdf:List", + "purpose": "List nodes may have a rdf:type rdf:List.", + "input": "fromRdf-0016-in.nq", + "expect": "fromRdf-0016-out.jsonld" + }, { + "@id": "#t0017", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "Remove duplicate triples", + "purpose": "Equivalent triples are used only once", + "input": "fromRdf-0017-in.nq", + "expect": "fromRdf-0017-out.jsonld" + }, { + "@id": "#t0018", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "use native types flag set to true", + "purpose": "Literals with datatype xsd:boolean, xsd:integer, and xsd:double are serialized using native scalar values", + "option": { + "useNativeTypes": true + }, + "input": "fromRdf-0018-in.nq", + "expect": "fromRdf-0018-out.jsonld" + }, { + "@id": "#t0019", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "use rdf:type flag set to false", + "purpose": "Setting useRdfType to true causes an rdf:type predicate to be treated like a normal property, not @type", + "option": { + "useRdfType": true + }, + "input": "fromRdf-0019-in.nq", + "expect": "fromRdf-0019-out.jsonld" + }, { + "@id": "#t0020", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "rdf:type as an @id with values", + "purpose": "Tests the proper formatting of @type (even with useRdfType to false) into rdf:type when the object contains more triples.", + "input": "fromRdf-0020-in.nq", + "expect": "fromRdf-0020-out.jsonld" + } + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0001-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0001-in.jsonld new file mode 100644 index 00000000..39c66051 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0001-in.jsonld @@ -0,0 +1,3 @@ +{ + "@id": "http://example.org/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/remote-doc/0004-in.jldte b/core/src/test/resources/json-ld-1.0-tests/normalize-0001-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0004-in.jldte rename to core/src/test/resources/json-ld-1.0-tests/normalize-0001-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0002-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0002-in.jsonld new file mode 100644 index 00000000..bdcb83cd --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0002-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test#example1", + "ex:p": [ + { + "@id": "http://example.org/test#example2" + }, + { + "@id": "http://example.org/test#example2" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0002-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0002-out.nq new file mode 100644 index 00000000..529056c8 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0002-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0003-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0003-in.jsonld new file mode 100644 index 00000000..efdc7a85 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0003-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0003-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0003-out.nq new file mode 100644 index 00000000..5ca44444 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0003-out.nq @@ -0,0 +1 @@ +_:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0004-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0004-in.jsonld new file mode 100644 index 00000000..b6d71c54 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0004-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Foo", + "ex:embed": { + "@id": "http://example.org/test#example" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0004-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0004-out.nq new file mode 100644 index 00000000..b8bc8314 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0004-out.nq @@ -0,0 +1,2 @@ +_:c14n0 . +_:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0005-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0005-in.jsonld new file mode 100644 index 00000000..28264b9d --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0005-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test#example", + "@type": "ex:Foo", + "ex:embed": { + "@type": "ex:Bar" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0005-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0005-out.nq new file mode 100644 index 00000000..695c23d2 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0005-out.nq @@ -0,0 +1,3 @@ + _:c14n0 . + . +_:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0006-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0006-in.jsonld new file mode 100644 index 00000000..122aa0bf --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0006-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test#example", + "@type": [ + "ex:Foo", + "ex:Bar" + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0006-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0006-out.nq new file mode 100644 index 00000000..6fdd06dc --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0006-out.nq @@ -0,0 +1,2 @@ + . + . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0007-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0007-in.jsonld new file mode 100644 index 00000000..2740bc19 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0007-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:foo": {"@type": "@id"} + }, + "@id": "http://example.org/test#example", + "@type": "ex:Foo", + "ex:foo": "ex:Bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0007-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0007-out.nq new file mode 100644 index 00000000..95da1839 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0007-out.nq @@ -0,0 +1,2 @@ + . + . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0008-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0008-in.jsonld new file mode 100644 index 00000000..311c34dc --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0008-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + } + }, + "@id": "http://example.org/test#library", + "ex:contains": { + "@id": "http://example.org/test#book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0008-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0008-out.nq new file mode 100644 index 00000000..4f30f5e4 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0008-out.nq @@ -0,0 +1,6 @@ + . + "Writer" . + "My Book" . + "Fun" . + "Chapter One" . + . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0009-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0009-in.jsonld new file mode 100644 index 00000000..d081e7fb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0009-in.jsonld @@ -0,0 +1,39 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:authored": { + "@type": "@id" + }, + "ex:contains": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "ex:authored": "http://example.org/test#chapter", + "foaf:name": "Jane" + }, + { + "@id": "http://example.org/test#john", + "foaf:name": "John" + }, + { + "@id": "http://example.org/test#library", + "ex:contains": { + "@id": "http://example.org/test#book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0049-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0009-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0049-out.nq rename to core/src/test/resources/json-ld-1.0-tests/normalize-0009-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0010-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0010-in.jsonld new file mode 100644 index 00000000..c71bc96b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0010-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:validFrom": { + "@type": "xsd:dateTime" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#example", + "ex:validFrom": "2011-01-25T00:00:00+0000" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0010-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0010-out.nq new file mode 100644 index 00000000..91dd2e10 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0010-out.nq @@ -0,0 +1 @@ + "2011-01-25T00:00:00+0000"^^ . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0011-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0011-in.jsonld new file mode 100644 index 00000000..4beabc9c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0011-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:validFrom": { + "@type": "xsd:dateTime" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#example", + "ex:validFrom": "2011-01-25T00:00:00Z" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0011-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0011-out.nq new file mode 100644 index 00000000..aeac7ab0 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0011-out.nq @@ -0,0 +1 @@ + "2011-01-25T00:00:00Z"^^ . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0012-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0012-in.jsonld new file mode 100644 index 00000000..3c04439e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0012-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:date": { + "@type": "xsd:dateTime" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#example", + "ex:date": [ + "2011-01-25T00:00:00Z", + "2011-01-25T00:00:00Z" + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0012-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0012-out.nq new file mode 100644 index 00000000..e542c9fa --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0012-out.nq @@ -0,0 +1 @@ + "2011-01-25T00:00:00Z"^^ . diff --git a/core/src/test/resources/json-ld.org/toRdf/0047-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0047-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/normalize-0013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0047-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0013-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0047-out.nq rename to core/src/test/resources/json-ld-1.0-tests/normalize-0013-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0014-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0014-in.jsonld new file mode 100644 index 00000000..5025d958 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0014-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "e": "http://example.org/vocab#" + }, + "@id": "http://example.org/test", + "e:bool": true, + "e:double": 1.23, + "e:int": 123 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0014-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0014-out.nq new file mode 100644 index 00000000..01da6612 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0014-out.nq @@ -0,0 +1,3 @@ + "true"^^ . + "1.23E0"^^ . + "123"^^ . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0015-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0015-in.jsonld new file mode 100644 index 00000000..92775469 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0015-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "e": "http://example.org/vocab#" + }, + "@graph": [ + { + "@id": "e:A" + }, + { + "@id": "e:B" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0041-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0015-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0041-out.nq rename to core/src/test/resources/json-ld-1.0-tests/normalize-0015-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0016-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0016-in.jsonld new file mode 100644 index 00000000..8b763814 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0016-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:B": {"@type": "@id"} + }, + "@id": "http://example.org/test", + "e:A": { + "@id": "_:b1" + }, + "e:B": "_:b1", + "e:embed": { + "@id": "_:b1", + "name": "foo" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0016-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0016-out.nq new file mode 100644 index 00000000..7ea86396 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0016-out.nq @@ -0,0 +1,3 @@ + _:c14n0 . + _:c14n0 . + _:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0017-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0017-in.jsonld new file mode 100644 index 00000000..17fcbc6e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0017-in.jsonld @@ -0,0 +1,20 @@ +[ + { + "@context": { + "e": "http://example.org/vocab#", + "e:B": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test", + "e:A": { + "@id": "_:b1" + }, + "e:B": "_:b1" + }, + { + "@id": "_:b1", + "name": "foo" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0017-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0017-out.nq new file mode 100644 index 00000000..28a87ed6 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0017-out.nq @@ -0,0 +1,2 @@ + _:c14n0 . + _:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0018-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0018-in.jsonld new file mode 100644 index 00000000..99daa632 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0018-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:self": {"@type": "@id"} + }, + "@id": "_:b0", + "e:self": "_:b0" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0018-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0018-out.nq new file mode 100644 index 00000000..a01a73a1 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0018-out.nq @@ -0,0 +1 @@ +_:c14n0 _:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0019-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0019-in.jsonld new file mode 100644 index 00000000..7644dbb5 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0019-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:self": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:b0", + "e:self": "_:b0" + }, + { + "@id": "_:b1", + "e:self": "_:b1" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0019-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0019-out.nq new file mode 100644 index 00000000..b617fa70 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0019-out.nq @@ -0,0 +1,2 @@ +_:c14n0 _:c14n0 . +_:c14n1 _:c14n1 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0020-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0020-in.jsonld new file mode 100644 index 00000000..d2a53f39 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0020-in.jsonld @@ -0,0 +1,26 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:A": {"@type": "@id"}, + "e:B": {"@type": "@id"}, + "e:next": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "e:test", + "e:A": "_:b1", + "e:B": "_:b2" + }, + { + "@id": "_:b1", + "e:next": "_:b3" + }, + { + "@id": "_:b2", + "e:next": "_:b3" + }, + { + "@id": "_:b3" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0020-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0020-out.nq new file mode 100644 index 00000000..66ac3f5e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0020-out.nq @@ -0,0 +1,4 @@ + _:c14n2 . + _:c14n1 . +_:c14n1 _:c14n0 . +_:c14n2 _:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0021-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0021-in.jsonld new file mode 100644 index 00000000..9a27f7b1 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0021-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:next": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:b1", + "e:next": "_:b2" + }, + { + "@id": "_:b2", + "e:next": "_:b1" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0021-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0021-out.nq new file mode 100644 index 00000000..d67d3872 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0021-out.nq @@ -0,0 +1,2 @@ +_:c14n0 _:c14n1 . +_:c14n1 _:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0022-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0022-in.jsonld new file mode 100644 index 00000000..5b3fd752 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0022-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:next": {"@type": "@id"}, + "e:prev": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:b1", + "e:next": "_:b2", + "e:prev": "_:b2" + }, + { + "@id": "_:b2", + "e:next": "_:b1", + "e:prev": "_:b1" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0022-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0022-out.nq new file mode 100644 index 00000000..725618a5 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0022-out.nq @@ -0,0 +1,4 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n1 . +_:c14n1 _:c14n0 . +_:c14n1 _:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0023-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0023-in.jsonld new file mode 100644 index 00000000..1f8f3993 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0023-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:next": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:b1", + "e:next": "_:b2" + }, + { + "@id": "_:b2", + "e:next": "_:b3" + }, + { + "@id": "_:b3", + "e:next": "_:b1" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0023-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0023-out.nq new file mode 100644 index 00000000..cbf821d0 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0023-out.nq @@ -0,0 +1,3 @@ +_:c14n0 _:c14n2 . +_:c14n1 _:c14n0 . +_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0024-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0024-in.jsonld new file mode 100644 index 00000000..8c18956d --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0024-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:next": { + "@type": "@id" + }, + "e:prev": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b1", + "e:next": "_:b2", + "e:prev": "_:b3" + }, + { + "@id": "_:b2", + "e:next": "_:b3", + "e:prev": "_:b1" + }, + { + "@id": "_:b3", + "e:next": "_:b1", + "e:prev": "_:b2" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0024-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0024-out.nq new file mode 100644 index 00000000..6a6bf240 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0024-out.nq @@ -0,0 +1,6 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n1 _:c14n2 . +_:c14n1 _:c14n0 . +_:c14n2 _:c14n0 . +_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0025-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0025-in.jsonld new file mode 100644 index 00000000..c602fc7c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0025-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:next": { + "@type": "@id" + }, + "e:prev": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b1", + "e:next": "_:b2", + "e:prev": "_:b3" + }, + { + "@id": "_:b3", + "e:next": "_:b1", + "e:prev": "_:b2" + }, + { + "@id": "_:b2", + "e:next": "_:b3", + "e:prev": "_:b1" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0025-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0025-out.nq new file mode 100644 index 00000000..6a6bf240 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0025-out.nq @@ -0,0 +1,6 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n1 _:c14n2 . +_:c14n1 _:c14n0 . +_:c14n2 _:c14n0 . +_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0026-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0026-in.jsonld new file mode 100644 index 00000000..f2fb1baf --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0026-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:next": { + "@type": "@id" + }, + "e:prev": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b2", + "e:next": "_:b3", + "e:prev": "_:b1" + }, + { + "@id": "_:b1", + "e:next": "_:b2", + "e:prev": "_:b3" + }, + { + "@id": "_:b3", + "e:next": "_:b1", + "e:prev": "_:b2" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0026-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0026-out.nq new file mode 100644 index 00000000..6a6bf240 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0026-out.nq @@ -0,0 +1,6 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n1 _:c14n2 . +_:c14n1 _:c14n0 . +_:c14n2 _:c14n0 . +_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0027-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0027-in.jsonld new file mode 100644 index 00000000..cb5b8e89 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0027-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:next": { + "@type": "@id" + }, + "e:prev": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b2", + "e:next": "_:b3", + "e:prev": "_:b1" + }, + { + "@id": "_:b3", + "e:next": "_:b1", + "e:prev": "_:b2" + }, + { + "@id": "_:b1", + "e:next": "_:b2", + "e:prev": "_:b3" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0027-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0027-out.nq new file mode 100644 index 00000000..6a6bf240 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0027-out.nq @@ -0,0 +1,6 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n1 _:c14n2 . +_:c14n1 _:c14n0 . +_:c14n2 _:c14n0 . +_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0028-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0028-in.jsonld new file mode 100644 index 00000000..078b76be --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0028-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:next": { + "@type": "@id" + }, + "e:prev": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b3", + "e:next": "_:b1", + "e:prev": "_:b2" + }, + { + "@id": "_:b2", + "e:next": "_:b3", + "e:prev": "_:b1" + }, + { + "@id": "_:b1", + "e:next": "_:b2", + "e:prev": "_:b3" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0028-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0028-out.nq new file mode 100644 index 00000000..6a6bf240 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0028-out.nq @@ -0,0 +1,6 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n1 _:c14n2 . +_:c14n1 _:c14n0 . +_:c14n2 _:c14n0 . +_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0029-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0029-in.jsonld new file mode 100644 index 00000000..5ed1ec2e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0029-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:next": { + "@type": "@id" + }, + "e:prev": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b3", + "e:next": "_:b1", + "e:prev": "_:b2" + }, + { + "@id": "_:b1", + "e:next": "_:b2", + "e:prev": "_:b3" + }, + { + "@id": "_:b2", + "e:next": "_:b3", + "e:prev": "_:b1" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0029-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0029-out.nq new file mode 100644 index 00000000..6a6bf240 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0029-out.nq @@ -0,0 +1,6 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n1 _:c14n2 . +_:c14n1 _:c14n0 . +_:c14n2 _:c14n0 . +_:c14n2 _:c14n1 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0030-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0030-in.jsonld new file mode 100644 index 00000000..a75642e7 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0030-in.jsonld @@ -0,0 +1,37 @@ +{ + "@context": { + "e": "http://example.org/vocab#", + "e:A": { + "@type": "@id" + }, + "e:B": { + "@type": "@id" + }, + "e:C": { + "@type": "@id" + }, + "e:next": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "e:test", + "e:A": "_:b1", + "e:B": "_:b2", + "e:C": "_:b3" + }, + { + "@id": "_:b1", + "e:next": "_:b2" + }, + { + "@id": "_:b2", + "e:next": "_:b3" + }, + { + "@id": "_:b3", + "e:next": "_:b1" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0030-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0030-out.nq new file mode 100644 index 00000000..554c7d8e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0030-out.nq @@ -0,0 +1,6 @@ + _:c14n1 . + _:c14n2 . + _:c14n0 . +_:c14n0 _:c14n1 . +_:c14n1 _:c14n2 . +_:c14n2 _:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0031-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0031-in.jsonld new file mode 100644 index 00000000..5a05ec99 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0031-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "_:a", + "@type": "ex:Foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0031-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0031-out.nq new file mode 100644 index 00000000..5ca44444 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0031-out.nq @@ -0,0 +1 @@ +_:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0032-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0032-in.jsonld new file mode 100644 index 00000000..2359444e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0032-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "_:b", + "@type": "ex:Foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0032-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0032-out.nq new file mode 100644 index 00000000..5ca44444 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0032-out.nq @@ -0,0 +1 @@ +_:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0033-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0033-in.jsonld new file mode 100644 index 00000000..9becb0b3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0033-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@graph": [ + { + "@id": "_:a0", + "ex:prop": { + "@id": "_:a1" + } + }, + { + "@id": "_:b0", + "ex:prop": { + "@id": "_:b1" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0033-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0033-out.nq new file mode 100644 index 00000000..623996c5 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0033-out.nq @@ -0,0 +1,2 @@ +_:c14n1 _:c14n0 . +_:c14n3 _:c14n2 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0034-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0034-in.jsonld new file mode 100644 index 00000000..0a2a38a3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0034-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@graph": [ + { + "@id": "_:b0", + "ex:prop": { + "@id": "_:b1" + } + }, + { + "@id": "_:a0", + "ex:prop": { + "@id": "_:a1" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0034-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0034-out.nq new file mode 100644 index 00000000..623996c5 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0034-out.nq @@ -0,0 +1,2 @@ +_:c14n1 _:c14n0 . +_:c14n3 _:c14n2 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0035-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0035-in.jsonld new file mode 100644 index 00000000..fbde484f --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0035-in.jsonld @@ -0,0 +1,26 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p1": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:a1", + "ex:p1": "_:a3" + }, + { + "@id": "_:a2", + "ex:p1": "_:a4" + }, + { + "@id": "_:a3", + "ex:p2": "Foo" + }, + { + "@id": "_:a4", + "ex:p2": "Foo" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0035-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0035-out.nq new file mode 100644 index 00000000..eb561bf6 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0035-out.nq @@ -0,0 +1,4 @@ +_:c14n0 _:c14n1 . +_:c14n1 "Foo" . +_:c14n2 _:c14n3 . +_:c14n3 "Foo" . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0036-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0036-in.jsonld new file mode 100644 index 00000000..b9cb261e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0036-in.jsonld @@ -0,0 +1,26 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p1": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:a1", + "ex:p1": "_:a4" + }, + { + "@id": "_:a2", + "ex:p1": "_:a3" + }, + { + "@id": "_:a3", + "ex:p2": "Foo" + }, + { + "@id": "_:a4", + "ex:p2": "Foo" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0036-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0036-out.nq new file mode 100644 index 00000000..eb561bf6 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0036-out.nq @@ -0,0 +1,4 @@ +_:c14n0 _:c14n1 . +_:c14n1 "Foo" . +_:c14n2 _:c14n3 . +_:c14n3 "Foo" . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0037-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0037-in.jsonld new file mode 100644 index 00000000..8a871243 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0037-in.jsonld @@ -0,0 +1,26 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p1": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b1", + "ex:p1": "_:b4" + }, + { + "@id": "_:b2", + "ex:p1": "_:b3" + }, + { + "@id": "_:b3", + "ex:p2": "Foo" + }, + { + "@id": "_:b4", + "ex:p2": "Foo" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0037-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0037-out.nq new file mode 100644 index 00000000..eb561bf6 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0037-out.nq @@ -0,0 +1,4 @@ +_:c14n0 _:c14n1 . +_:c14n1 "Foo" . +_:c14n2 _:c14n3 . +_:c14n3 "Foo" . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0038-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0038-in.jsonld new file mode 100644 index 00000000..41f76fd1 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0038-in.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p1": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:a0", + "ex:p1": [ + "_:a1", + "_:a2" + ] + }, + { + "@id": "_:a1", + "ex:p1": "_:a3" + }, + { + "@id": "_:a2" + }, + { + "@id": "_:a3" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0038-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0038-out.nq new file mode 100644 index 00000000..b29dc042 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0038-out.nq @@ -0,0 +1,3 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n1 _:c14n3 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0039-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0039-in.jsonld new file mode 100644 index 00000000..bc0ca6c2 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0039-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p1": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b0", + "ex:p1": [ + {}, + "_:b2" + ] + }, + { + "@id": "_:b2", + "ex:p1": {} + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0039-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0039-out.nq new file mode 100644 index 00000000..b29dc042 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0039-out.nq @@ -0,0 +1,3 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n1 _:c14n3 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0040-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0040-in.jsonld new file mode 100644 index 00000000..a8cf8703 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0040-in.jsonld @@ -0,0 +1,32 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p1": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b1", + "ex:p1": "_:b2" + }, + { + "@id": "_:b2", + "ex:p1": "_:b3" + }, + { + "@id": "_:b3" + }, + { + "@id": "_:c1", + "ex:p1": "_:c2" + }, + { + "@id": "_:c2", + "ex:p1": "_:c3" + }, + { + "@id": "_:c3" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0040-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0040-out.nq new file mode 100644 index 00000000..69da9716 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0040-out.nq @@ -0,0 +1,4 @@ +_:c14n1 _:c14n0 . +_:c14n2 _:c14n1 . +_:c14n4 _:c14n3 . +_:c14n5 _:c14n4 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0041-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0041-in.jsonld new file mode 100644 index 00000000..f182a931 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0041-in.jsonld @@ -0,0 +1,32 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p1": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b1", + "ex:p1": "_:b2" + }, + { + "@id": "_:b2", + "ex:p1": "_:b3" + }, + { + "@id": "_:b3" + }, + { + "@id": "_:b4", + "ex:p1": "_:b5" + }, + { + "@id": "_:b5", + "ex:p1": "_:b6" + }, + { + "@id": "_:b6" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0041-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0041-out.nq new file mode 100644 index 00000000..69da9716 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0041-out.nq @@ -0,0 +1,4 @@ +_:c14n1 _:c14n0 . +_:c14n2 _:c14n1 . +_:c14n4 _:c14n3 . +_:c14n5 _:c14n4 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0042-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0042-in.jsonld new file mode 100644 index 00000000..de7357b3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0042-in.jsonld @@ -0,0 +1,26 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p1": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "_:b1", + "ex:p1": "_:b3" + }, + { + "@id": "_:b3", + "ex:p1": {} + }, + { + "@id": "_:b5", + "ex:p1": "_:b6" + }, + { + "@id": "_:b6", + "ex:p1": {} + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0042-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0042-out.nq new file mode 100644 index 00000000..69da9716 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0042-out.nq @@ -0,0 +1,4 @@ +_:c14n1 _:c14n0 . +_:c14n2 _:c14n1 . +_:c14n4 _:c14n3 . +_:c14n5 _:c14n4 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0043-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0043-in.jsonld new file mode 100644 index 00000000..5ab536c4 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0043-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test", + "ex:test": { + "@language": "en", + "@value": "test" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0043-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0043-out.nq new file mode 100644 index 00000000..09d5dc2e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0043-out.nq @@ -0,0 +1 @@ + "test"@en . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0044-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0044-in.jsonld new file mode 100644 index 00000000..016ba3bf --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0044-in.jsonld @@ -0,0 +1,104 @@ +{ + "@context": { + "eg": "http://example.org/vocab#", + "eg:p": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:b1", + "eg:p": [ + "_:b2", + "_:b4", + "_:b3" + ] + }, + { + "@id": "_:b2", + "eg:p": [ + "_:b1", + "_:b3", + "_:b5" + ] + }, + { + "@id": "_:b3", + "eg:p": [ + "_:b1", + "_:b2", + "_:b6" + ] + }, + { + "@id": "_:b4", + "eg:p": [ + "_:b1", + "_:b5", + "_:b6" + ] + }, + { + "@id": "_:b5", + "eg:p": [ + "_:b2", + "_:b4", + "_:b6" + ] + }, + { + "@id": "_:b6", + "eg:p": [ + "_:b3", + "_:b4", + "_:b5" + ] + }, + { + "@id": "_:c1", + "eg:p": [ + "_:c4", + "_:c5", + "_:c6" + ] + }, + { + "@id": "_:c2", + "eg:p": [ + "_:c4", + "_:c5", + "_:c6" + ] + }, + { + "@id": "_:c3", + "eg:p": [ + "_:c4", + "_:c5", + "_:c6" + ] + }, + { + "@id": "_:c4", + "eg:p": [ + "_:c1", + "_:c2", + "_:c3" + ] + }, + { + "@id": "_:c5", + "eg:p": [ + "_:c1", + "_:c2", + "_:c3" + ] + }, + { + "@id": "_:c6", + "eg:p": [ + "_:c1", + "_:c2", + "_:c3" + ] + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0044-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0044-out.nq new file mode 100644 index 00000000..540d3aa0 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0044-out.nq @@ -0,0 +1,36 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n0 _:c14n3 . +_:c14n1 _:c14n0 . +_:c14n1 _:c14n4 . +_:c14n1 _:c14n5 . +_:c14n10 _:c14n11 . +_:c14n10 _:c14n7 . +_:c14n10 _:c14n9 . +_:c14n11 _:c14n10 . +_:c14n11 _:c14n8 . +_:c14n11 _:c14n9 . +_:c14n2 _:c14n0 . +_:c14n2 _:c14n4 . +_:c14n2 _:c14n5 . +_:c14n3 _:c14n0 . +_:c14n3 _:c14n4 . +_:c14n3 _:c14n5 . +_:c14n4 _:c14n1 . +_:c14n4 _:c14n2 . +_:c14n4 _:c14n3 . +_:c14n5 _:c14n1 . +_:c14n5 _:c14n2 . +_:c14n5 _:c14n3 . +_:c14n6 _:c14n7 . +_:c14n6 _:c14n8 . +_:c14n6 _:c14n9 . +_:c14n7 _:c14n10 . +_:c14n7 _:c14n6 . +_:c14n7 _:c14n8 . +_:c14n8 _:c14n11 . +_:c14n8 _:c14n6 . +_:c14n8 _:c14n7 . +_:c14n9 _:c14n10 . +_:c14n9 _:c14n11 . +_:c14n9 _:c14n6 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0045-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0045-in.jsonld new file mode 100644 index 00000000..9b7bc39b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0045-in.jsonld @@ -0,0 +1,104 @@ +{ + "@context": { + "eg": "http://example.org/vocab#", + "eg:p": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:c1", + "eg:p": [ + "_:c4", + "_:c5", + "_:c6" + ] + }, + { + "@id": "_:c2", + "eg:p": [ + "_:c4", + "_:c5", + "_:c6" + ] + }, + { + "@id": "_:c3", + "eg:p": [ + "_:c4", + "_:c5", + "_:c6" + ] + }, + { + "@id": "_:c4", + "eg:p": [ + "_:c1", + "_:c2", + "_:c3" + ] + }, + { + "@id": "_:c5", + "eg:p": [ + "_:c1", + "_:c2", + "_:c3" + ] + }, + { + "@id": "_:c6", + "eg:p": [ + "_:c1", + "_:c2", + "_:c3" + ] + }, + { + "@id": "_:b1", + "eg:p": [ + "_:b2", + "_:b4", + "_:b3" + ] + }, + { + "@id": "_:b2", + "eg:p": [ + "_:b1", + "_:b3", + "_:b5" + ] + }, + { + "@id": "_:b3", + "eg:p": [ + "_:b1", + "_:b2", + "_:b6" + ] + }, + { + "@id": "_:b4", + "eg:p": [ + "_:b1", + "_:b5", + "_:b6" + ] + }, + { + "@id": "_:b5", + "eg:p": [ + "_:b2", + "_:b4", + "_:b6" + ] + }, + { + "@id": "_:b6", + "eg:p": [ + "_:b3", + "_:b4", + "_:b5" + ] + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0045-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0045-out.nq new file mode 100644 index 00000000..540d3aa0 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0045-out.nq @@ -0,0 +1,36 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n0 _:c14n3 . +_:c14n1 _:c14n0 . +_:c14n1 _:c14n4 . +_:c14n1 _:c14n5 . +_:c14n10 _:c14n11 . +_:c14n10 _:c14n7 . +_:c14n10 _:c14n9 . +_:c14n11 _:c14n10 . +_:c14n11 _:c14n8 . +_:c14n11 _:c14n9 . +_:c14n2 _:c14n0 . +_:c14n2 _:c14n4 . +_:c14n2 _:c14n5 . +_:c14n3 _:c14n0 . +_:c14n3 _:c14n4 . +_:c14n3 _:c14n5 . +_:c14n4 _:c14n1 . +_:c14n4 _:c14n2 . +_:c14n4 _:c14n3 . +_:c14n5 _:c14n1 . +_:c14n5 _:c14n2 . +_:c14n5 _:c14n3 . +_:c14n6 _:c14n7 . +_:c14n6 _:c14n8 . +_:c14n6 _:c14n9 . +_:c14n7 _:c14n10 . +_:c14n7 _:c14n6 . +_:c14n7 _:c14n8 . +_:c14n8 _:c14n11 . +_:c14n8 _:c14n6 . +_:c14n8 _:c14n7 . +_:c14n9 _:c14n10 . +_:c14n9 _:c14n11 . +_:c14n9 _:c14n6 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0046-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0046-in.jsonld new file mode 100644 index 00000000..aea55245 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0046-in.jsonld @@ -0,0 +1,104 @@ +{ + "@context": { + "eg": "http://example.org/vocab#", + "eg:p": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:b6", + "eg:p": [ + "_:b3", + "_:b4", + "_:b5" + ] + }, + { + "@id": "_:c1", + "eg:p": [ + "_:c6", + "_:c5", + "_:c4" + ] + }, + { + "@id": "_:b1", + "eg:p": [ + "_:b3", + "_:b4", + "_:b2" + ] + }, + { + "@id": "_:c4", + "eg:p": [ + "_:c3", + "_:c2", + "_:c1" + ] + }, + { + "@id": "_:c5", + "eg:p": [ + "_:c1", + "_:c2", + "_:c3" + ] + }, + { + "@id": "_:c6", + "eg:p": [ + "_:c3", + "_:c1", + "_:c2" + ] + }, + { + "@id": "_:b2", + "eg:p": [ + "_:b1", + "_:b5", + "_:b3" + ] + }, + { + "@id": "_:c2", + "eg:p": [ + "_:c6", + "_:c5", + "_:c4" + ] + }, + { + "@id": "_:b5", + "eg:p": [ + "_:b6", + "_:b4", + "_:b2" + ] + }, + { + "@id": "_:b3", + "eg:p": [ + "_:b6", + "_:b2", + "_:b1" + ] + }, + { + "@id": "_:b4", + "eg:p": [ + "_:b5", + "_:b1", + "_:b6" + ] + }, + { + "@id": "_:c3", + "eg:p": [ + "_:c5", + "_:c4", + "_:c6" + ] + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0046-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0046-out.nq new file mode 100644 index 00000000..540d3aa0 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0046-out.nq @@ -0,0 +1,36 @@ +_:c14n0 _:c14n1 . +_:c14n0 _:c14n2 . +_:c14n0 _:c14n3 . +_:c14n1 _:c14n0 . +_:c14n1 _:c14n4 . +_:c14n1 _:c14n5 . +_:c14n10 _:c14n11 . +_:c14n10 _:c14n7 . +_:c14n10 _:c14n9 . +_:c14n11 _:c14n10 . +_:c14n11 _:c14n8 . +_:c14n11 _:c14n9 . +_:c14n2 _:c14n0 . +_:c14n2 _:c14n4 . +_:c14n2 _:c14n5 . +_:c14n3 _:c14n0 . +_:c14n3 _:c14n4 . +_:c14n3 _:c14n5 . +_:c14n4 _:c14n1 . +_:c14n4 _:c14n2 . +_:c14n4 _:c14n3 . +_:c14n5 _:c14n1 . +_:c14n5 _:c14n2 . +_:c14n5 _:c14n3 . +_:c14n6 _:c14n7 . +_:c14n6 _:c14n8 . +_:c14n6 _:c14n9 . +_:c14n7 _:c14n10 . +_:c14n7 _:c14n6 . +_:c14n7 _:c14n8 . +_:c14n8 _:c14n11 . +_:c14n8 _:c14n6 . +_:c14n8 _:c14n7 . +_:c14n9 _:c14n10 . +_:c14n9 _:c14n11 . +_:c14n9 _:c14n6 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0047-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0047-in.jsonld new file mode 100644 index 00000000..673bd79f --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0047-in.jsonld @@ -0,0 +1,46 @@ +{ + "@context": { + "eg": "http://example.org/vocab#", + "eg:p": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:b1", + "eg:p": [ + "_:b2" + ] + }, + { + "@id": "_:b2", + "eg:p": [ + "_:b3" + ] + }, + { + "@id": "_:b3", + "eg:z": [ + "foo1", + "foo2" + ] + }, + { + "@id": "_:c1", + "eg:p": [ + "_:c2" + ] + }, + { + "@id": "_:c2", + "eg:p": [ + "_:c3" + ] + }, + { + "@id": "_:c3", + "eg:z": [ + "bar1", + "bar2" + ] + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0047-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0047-out.nq new file mode 100644 index 00000000..1d345e5a --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0047-out.nq @@ -0,0 +1,8 @@ +_:c14n0 "bar1" . +_:c14n0 "bar2" . +_:c14n1 "foo1" . +_:c14n1 "foo2" . +_:c14n2 _:c14n0 . +_:c14n3 _:c14n2 . +_:c14n4 _:c14n1 . +_:c14n5 _:c14n4 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0048-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0048-in.jsonld new file mode 100644 index 00000000..1f9058e8 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0048-in.jsonld @@ -0,0 +1,46 @@ +{ + "@context": { + "eg": "http://example.org/vocab#", + "eg:p": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:c1", + "eg:p": [ + "_:c2" + ] + }, + { + "@id": "_:c2", + "eg:p": [ + "_:c3" + ] + }, + { + "@id": "_:c3", + "eg:z": [ + "bar1", + "bar2" + ] + }, + { + "@id": "_:b1", + "eg:p": [ + "_:b2" + ] + }, + { + "@id": "_:b2", + "eg:p": [ + "_:b3" + ] + }, + { + "@id": "_:b3", + "eg:z": [ + "foo1", + "foo2" + ] + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0048-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0048-out.nq new file mode 100644 index 00000000..1d345e5a --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0048-out.nq @@ -0,0 +1,8 @@ +_:c14n0 "bar1" . +_:c14n0 "bar2" . +_:c14n1 "foo1" . +_:c14n1 "foo2" . +_:c14n2 _:c14n0 . +_:c14n3 _:c14n2 . +_:c14n4 _:c14n1 . +_:c14n5 _:c14n4 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0049-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0049-in.jsonld new file mode 100644 index 00000000..4dd52986 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0049-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "eg": "http://example.org/vocab#", + "eg:p": {"@type": "@id"} + }, + "@id": "http://example.org/test#example", + "eg:p": null +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0043-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0049-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0043-out.nq rename to core/src/test/resources/json-ld-1.0-tests/normalize-0049-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0050-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0050-in.jsonld new file mode 100644 index 00000000..fd16f53a --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0050-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "eg": "http://example.org/vocab#" + }, + "@id": "_:c1", + "eg:array": ["value", null], + "eg:doc": "Test 'null' in various locations", + "eg:null": null, + "eg:object": { + "prop1": "value1", + "prop2": null + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0050-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0050-out.nq new file mode 100644 index 00000000..c0085ed2 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0050-out.nq @@ -0,0 +1,3 @@ +_:c14n1 "value" . +_:c14n1 "Test 'null' in various locations" . +_:c14n1 _:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0051-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0051-in.jsonld new file mode 100644 index 00000000..52e673b3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0051-in.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.org/test#example", + "http://example.org/test#property": "object1" + }, + { + "@id": "http://example.org/test#example", + "http://example.org/test#property": "object2" + }, + { + "@id": "http://example.org/test#example", + "http://example.org/test#property": "object3" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0051-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0051-out.nq new file mode 100644 index 00000000..56ed9a1e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0051-out.nq @@ -0,0 +1,3 @@ + "object1" . + "object2" . + "object3" . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0052-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0052-in.jsonld new file mode 100644 index 00000000..19887c97 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0052-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "http://example.org/test#property1": {"@type": "@id"}, + "http://example.org/test#property2": {"@type": "@id"}, + "uri": "@id" + }, + "http://example.org/test#property1": { + "http://example.org/test#property4": "foo", + "uri": "http://example.org/test#example2" + }, + "http://example.org/test#property2": "http://example.org/test#example3", + "http://example.org/test#property3": { + "uri": "http://example.org/test#example4" + }, + "uri": "http://example.org/test#example1" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0046-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0052-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0046-out.nq rename to core/src/test/resources/json-ld-1.0-tests/normalize-0052-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0053-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0053-in.jsonld new file mode 100644 index 00000000..ef5162dc --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0053-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "prop1": "http://example.org/test#property1", + "prop2": {"@id": "http://example.org/test#property2", "@container": "@list"} + }, + "prop1": {"@list": ["1","2","3"]}, + "prop2": ["4","5","6"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0053-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0053-out.nq new file mode 100644 index 00000000..08ae4d27 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0053-out.nq @@ -0,0 +1,14 @@ +_:c14n0 _:c14n2 . +_:c14n0 _:c14n3 . +_:c14n1 "2" . +_:c14n1 _:c14n5 . +_:c14n2 "1" . +_:c14n2 _:c14n1 . +_:c14n3 "4" . +_:c14n3 _:c14n6 . +_:c14n4 "6" . +_:c14n4 . +_:c14n5 "3" . +_:c14n5 . +_:c14n6 "5" . +_:c14n6 _:c14n4 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0054-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0054-in.jsonld new file mode 100644 index 00000000..58cfd24c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0054-in.jsonld @@ -0,0 +1,64 @@ +{ + "@context": { + "eg": "http://example.org/vocab#", + "eg:p": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:a", + "eg:p": "_:b" + }, + { + "@id": "_:b", + "eg:p": "_:c" + }, + { + "@id": "_:c", + "eg:p": ["_:d","_:z"] + }, + { + "@id": "_:d", + "eg:p": "_:e" + }, + { + "@id": "_:e", + "eg:p": "_:f" + }, + { + "@id": "_:f", + "eg:p": "_:g" + }, + { + "@id": "_:g", + "eg:p": "_:h" + }, + { + "@id": "_:h", + "eg:p": "_:i" + }, + { + "@id": "_:z", + "eg:p": "_:w" + }, + { + "@id": "_:w", + "eg:p": "_:x" + }, + { + "@id": "_:x", + "eg:p": "_:y" + }, + { + "@id": "_:y", + "eg:p": "_:v" + }, + { + "@id": "_:v", + "eg:p": "_:u" + }, + { + "@id": "_:u", + "eg:p": "_:t" + } + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0054-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0054-out.nq new file mode 100644 index 00000000..0c34b2f1 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0054-out.nq @@ -0,0 +1,15 @@ +_:c14n0 _:c14n14 . +_:c14n0 _:c14n7 . +_:c14n1 _:c14n15 . +_:c14n10 _:c14n9 . +_:c14n11 _:c14n10 . +_:c14n12 _:c14n11 . +_:c14n13 _:c14n12 . +_:c14n14 _:c14n13 . +_:c14n15 _:c14n0 . +_:c14n3 _:c14n2 . +_:c14n4 _:c14n3 . +_:c14n5 _:c14n4 . +_:c14n6 _:c14n5 . +_:c14n7 _:c14n6 . +_:c14n9 _:c14n8 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0055-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0055-in.jsonld new file mode 100644 index 00000000..35d2af15 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0055-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "eg": "http://example.org/vocab#", + "eg:p": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:a", + "eg:p": ["_:b", "http://example.com"] + }, + { + "@id": "_:b", + "eg:p": "http://example.org" + } + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0055-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0055-out.nq new file mode 100644 index 00000000..000d870c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0055-out.nq @@ -0,0 +1,3 @@ +_:c14n0 . +_:c14n0 _:c14n1 . +_:c14n1 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0056-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0056-in.jsonld new file mode 100644 index 00000000..395089cf --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0056-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "eg": "http://example.org/vocab#", + "eg:p": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "_:b", + "eg:p": "http://example.org" + }, + { + "@id": "_:a", + "eg:p": ["_:b", "http://example.com"] + } + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0056-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0056-out.nq new file mode 100644 index 00000000..000d870c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0056-out.nq @@ -0,0 +1,3 @@ +_:c14n0 . +_:c14n0 _:c14n1 . +_:c14n1 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0057-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-0057-in.jsonld new file mode 100644 index 00000000..52e0a4b5 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0057-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": { + "@id": "http://xmlns.com/foaf/0.1/homepage", + "@type": "@id" + } + }, + "@id": "_:graph1", + "@graph": { + "name": "Manu Sporny", + "homepage": "http://manu.sporny.org/" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-0057-out.nq b/core/src/test/resources/json-ld-1.0-tests/normalize-0057-out.nq new file mode 100644 index 00000000..460da845 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-0057-out.nq @@ -0,0 +1,2 @@ +_:c14n1 _:c14n0 . +_:c14n1 "Manu Sporny" _:c14n0 . diff --git a/core/src/test/resources/json-ld-1.0-tests/normalize-manifest.jsonld b/core/src/test/resources/json-ld-1.0-tests/normalize-manifest.jsonld new file mode 100644 index 00000000..d4dcc360 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/normalize-manifest.jsonld @@ -0,0 +1,353 @@ +{ + "@context": "http://json-ld.org/test-suite/context.jsonld", + "@id": "", + "@type": "mf:Manifest", + "name": "Normalization", + "description": "JSON-LD to normalized RDF tests output N-Quads and use string comparison.", + "baseIri": "http://json-ld.org/test-suite/tests/", + "sequence": [ + { + "@id": "#t0001", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "simple id", + "input": "normalize-0001-in.jsonld", + "expect": "normalize-0001-out.nq" + }, { + "@id": "#t0002", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "duplicate property iri values", + "input": "normalize-0002-in.jsonld", + "expect": "normalize-0002-out.nq" + }, { + "@id": "#t0003", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "bnode", + "input": "normalize-0003-in.jsonld", + "expect": "normalize-0003-out.nq" + }, { + "@id": "#t0004", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "bnode plus embed w/subject", + "input": "normalize-0004-in.jsonld", + "expect": "normalize-0004-out.nq" + }, { + "@id": "#t0005", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "bnode embed", + "input": "normalize-0005-in.jsonld", + "expect": "normalize-0005-out.nq" + }, { + "@id": "#t0006", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "multiple rdf types", + "input": "normalize-0006-in.jsonld", + "expect": "normalize-0006-out.nq" + }, { + "@id": "#t0007", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "coerce CURIE value", + "input": "normalize-0007-in.jsonld", + "expect": "normalize-0007-out.nq" + }, { + "@id": "#t0008", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "single subject complex", + "input": "normalize-0008-in.jsonld", + "expect": "normalize-0008-out.nq" + }, { + "@id": "#t0009", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "multiple subjects - complex", + "input": "normalize-0009-in.jsonld", + "expect": "normalize-0009-out.nq" + }, { + "@id": "#t0010", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "type", + "input": "normalize-0010-in.jsonld", + "expect": "normalize-0010-out.nq" + }, { + "@id": "#t0011", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "type-coerced type", + "input": "normalize-0011-in.jsonld", + "expect": "normalize-0011-out.nq" + }, { + "@id": "#t0012", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "type-coerced type, remove duplicate reference", + "input": "normalize-0012-in.jsonld", + "expect": "normalize-0012-out.nq" + }, { + "@id": "#t0013", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "type-coerced type, cycle", + "input": "normalize-0013-in.jsonld", + "expect": "normalize-0013-out.nq" + }, { + "@id": "#t0014", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "check types", + "input": "normalize-0014-in.jsonld", + "expect": "normalize-0014-out.nq" + }, { + "@id": "#t0015", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "top level context", + "input": "normalize-0015-in.jsonld", + "expect": "normalize-0015-out.nq" + }, { + "@id": "#t0016", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - dual link - embed", + "input": "normalize-0016-in.jsonld", + "expect": "normalize-0016-out.nq" + }, { + "@id": "#t0017", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - dual link - non-embed", + "input": "normalize-0017-in.jsonld", + "expect": "normalize-0017-out.nq" + }, { + "@id": "#t0018", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - self link", + "input": "normalize-0018-in.jsonld", + "expect": "normalize-0018-out.nq" + }, { + "@id": "#t0019", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - disjoint self links", + "input": "normalize-0019-in.jsonld", + "expect": "normalize-0019-out.nq" + }, { + "@id": "#t0020", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - diamond", + "input": "normalize-0020-in.jsonld", + "expect": "normalize-0020-out.nq" + }, { + "@id": "#t0021", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - circle of 2", + "input": "normalize-0021-in.jsonld", + "expect": "normalize-0021-out.nq" + }, { + "@id": "#t0022", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - double circle of 2", + "input": "normalize-0022-in.jsonld", + "expect": "normalize-0022-out.nq" + }, { + "@id": "#t0023", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - circle of 3", + "input": "normalize-0023-in.jsonld", + "expect": "normalize-0023-out.nq" + }, { + "@id": "#t0024", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - double circle of 3 (1-2-3)", + "input": "normalize-0024-in.jsonld", + "expect": "normalize-0024-out.nq" + }, { + "@id": "#t0025", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - double circle of 3 (1-3-2)", + "input": "normalize-0025-in.jsonld", + "expect": "normalize-0025-out.nq" + }, { + "@id": "#t0026", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - double circle of 3 (2-1-3)", + "input": "normalize-0026-in.jsonld", + "expect": "normalize-0026-out.nq" + }, { + "@id": "#t0027", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - double circle of 3 (2-3-1)", + "input": "normalize-0027-in.jsonld", + "expect": "normalize-0027-out.nq" + }, { + "@id": "#t0028", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - double circle of 3 (3-2-1)", + "input": "normalize-0028-in.jsonld", + "expect": "normalize-0028-out.nq" + }, { + "@id": "#t0029", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - double circle of 3 (3-1-2)", + "input": "normalize-0029-in.jsonld", + "expect": "normalize-0029-out.nq" + }, { + "@id": "#t0030", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "blank node - point at circle of 3", + "input": "normalize-0030-in.jsonld", + "expect": "normalize-0030-out.nq" + }, { + "@id": "#t0031", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "bnode (1)", + "input": "normalize-0031-in.jsonld", + "expect": "normalize-0031-out.nq" + }, { + "@id": "#t0032", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "bnode (2)", + "input": "normalize-0032-in.jsonld", + "expect": "normalize-0032-out.nq" + }, { + "@id": "#t0033", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "disjoint identical subgraphs (1)", + "input": "normalize-0033-in.jsonld", + "expect": "normalize-0033-out.nq" + }, { + "@id": "#t0034", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "disjoint identical subgraphs (2)", + "input": "normalize-0034-in.jsonld", + "expect": "normalize-0034-out.nq" + }, { + "@id": "#t0035", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "reordered w/strings (1)", + "input": "normalize-0035-in.jsonld", + "expect": "normalize-0035-out.nq" + }, { + "@id": "#t0036", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "reordered w/strings (2)", + "input": "normalize-0036-in.jsonld", + "expect": "normalize-0036-out.nq" + }, { + "@id": "#t0037", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "reordered w/strings (3)", + "input": "normalize-0037-in.jsonld", + "expect": "normalize-0037-out.nq" + }, { + "@id": "#t0038", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "reordered 4 bnodes, reordered 2 properties (1)", + "input": "normalize-0038-in.jsonld", + "expect": "normalize-0038-out.nq" + }, { + "@id": "#t0039", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "reordered 4 bnodes, reordered 2 properties (2)", + "input": "normalize-0039-in.jsonld", + "expect": "normalize-0039-out.nq" + }, { + "@id": "#t0040", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "reordered 6 bnodes (1)", + "input": "normalize-0040-in.jsonld", + "expect": "normalize-0040-out.nq" + }, { + "@id": "#t0041", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "reordered 6 bnodes (2)", + "input": "normalize-0041-in.jsonld", + "expect": "normalize-0041-out.nq" + }, { + "@id": "#t0042", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "reordered 6 bnodes (3)", + "input": "normalize-0042-in.jsonld", + "expect": "normalize-0042-out.nq" + }, { + "@id": "#t0043", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "literal with language", + "input": "normalize-0043-in.jsonld", + "expect": "normalize-0043-out.nq" + }, { + "@id": "#t0044", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "evil (1)", + "input": "normalize-0044-in.jsonld", + "expect": "normalize-0044-out.nq" + }, { + "@id": "#t0045", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "evil (2)", + "input": "normalize-0045-in.jsonld", + "expect": "normalize-0045-out.nq" + }, { + "@id": "#t0046", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "evil (3)", + "input": "normalize-0046-in.jsonld", + "expect": "normalize-0046-out.nq" + }, { + "@id": "#t0047", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "deep diff (1)", + "input": "normalize-0047-in.jsonld", + "expect": "normalize-0047-out.nq" + }, { + "@id": "#t0048", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "deep diff (2)", + "input": "normalize-0048-in.jsonld", + "expect": "normalize-0048-out.nq" + }, { + "@id": "#t0049", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "remove null", + "input": "normalize-0049-in.jsonld", + "expect": "normalize-0049-out.nq" + }, { + "@id": "#t0050", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "nulls", + "input": "normalize-0050-in.jsonld", + "expect": "normalize-0050-out.nq" + }, { + "@id": "#t0051", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "merging subjects", + "input": "normalize-0051-in.jsonld", + "expect": "normalize-0051-out.nq" + }, { + "@id": "#t0052", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "alias keywords", + "input": "normalize-0052-in.jsonld", + "expect": "normalize-0052-out.nq" + }, { + "@id": "#t0053", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "@list", + "input": "normalize-0053-in.jsonld", + "expect": "normalize-0053-out.nq" + }, { + "@id": "#t0054", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "t-graph", + "input": "normalize-0054-in.jsonld", + "expect": "normalize-0054-out.nq" + }, { + "@id": "#t0055", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "simple reorder (1)", + "input": "normalize-0055-in.jsonld", + "expect": "normalize-0055-out.nq" + }, { + "@id": "#t0056", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "simple reorder (2)", + "input": "normalize-0056-in.jsonld", + "expect": "normalize-0056-out.nq" + }, { + "@id": "#t0057", + "@type": ["jld:PositiveEvaluationTest", "jld:NormalizeTest"], + "name": "unnamed graph", + "input": "normalize-0057-in.jsonld", + "expect": "normalize-0057-out.nq" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/remote-doc/0001-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0001-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0001-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/remote-doc-0001-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0001-out.jsonld new file mode 100644 index 00000000..5d1957a9 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0001-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://json-ld.org/test-suite/tests/remote-doc-0001-in.jsonld", + "http://example/vocab#term": [{"@value": "object"}] +}] diff --git a/core/src/test/resources/json-ld.org/remote-doc/0002-in.json b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0002-in.json similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0002-in.json rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0002-in.json diff --git a/core/src/test/resources/json-ld-1.0-tests/remote-doc-0002-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0002-out.jsonld new file mode 100644 index 00000000..b41edc71 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0002-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://json-ld.org/test-suite/tests/remote-doc-0002-in.json", + "http://example/vocab#term": [{"@value": "object"}] +}] diff --git a/core/src/test/resources/json-ld.org/remote-doc/0003-in.jldt b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0003-in.jldt similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0003-in.jldt rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0003-in.jldt diff --git a/core/src/test/resources/json-ld-1.0-tests/remote-doc-0003-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0003-out.jsonld new file mode 100644 index 00000000..4564d66f --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0003-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://json-ld.org/test-suite/tests/remote-doc-0003-in.jldt", + "http://example/vocab#term": [{"@value": "object"}] +}] diff --git a/core/src/test/resources/json-ld.org/toRdf/0059-out.nq b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0004-in.jldte similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0059-out.nq rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0004-in.jldte diff --git a/core/src/test/resources/json-ld.org/remote-doc/0009-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0009-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0009-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0009-context.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc/0009-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0009-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0009-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/remote-doc-0009-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0009-out.jsonld new file mode 100644 index 00000000..427bc1e3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0009-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://json-ld.org/test-suite/tests/remote-doc-0009-in.jsonld", + "http://example/0009/term": [{"@value": "value1"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/remote-doc/0010-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0010-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0010-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0010-context.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc/0010-in.json b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0010-in.json similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0010-in.json rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0010-in.json diff --git a/core/src/test/resources/json-ld-1.0-tests/remote-doc-0010-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0010-out.jsonld new file mode 100644 index 00000000..804502ea --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0010-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://json-ld.org/test-suite/tests/remote-doc-0010-in.json", + "http://example/vocab#term": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld.org/remote-doc/0011-context.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0011-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0011-context.jsonld rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0011-context.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc/0011-in.jldt b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0011-in.jldt similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0011-in.jldt rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0011-in.jldt diff --git a/core/src/test/resources/json-ld-1.0-tests/remote-doc-0011-out.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0011-out.jsonld new file mode 100644 index 00000000..04508345 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0011-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://json-ld.org/test-suite/tests/remote-doc-0011-in.jldt", + "http://example/vocab#term": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld.org/remote-doc/0012-context1.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0012-context1.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0012-context1.jsonld rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0012-context1.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc/0012-context2.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0012-context2.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0012-context2.jsonld rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0012-context2.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc/0012-in.json b/core/src/test/resources/json-ld-1.0-tests/remote-doc-0012-in.json similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0012-in.json rename to core/src/test/resources/json-ld-1.0-tests/remote-doc-0012-in.json diff --git a/core/src/test/resources/json-ld-1.0-tests/remote-doc-manifest.jsonld b/core/src/test/resources/json-ld-1.0-tests/remote-doc-manifest.jsonld new file mode 100644 index 00000000..e9d9b4aa --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/remote-doc-manifest.jsonld @@ -0,0 +1,129 @@ +{ + "@context": "http://json-ld.org/test-suite/context.jsonld", + "@id": "", + "@type": "mf:Manifest", + "description": "Tests appropriate document loading behavior as defined in the API", + "name": "Remote document", + "baseIri": "http://json-ld.org/test-suite/tests/", + "sequence": [ + { + "@id": "#t0001", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "load JSON-LD document", + "purpose": "Document loader loads a JSON-LD document.", + "input": "remote-doc-0001-in.jsonld", + "expect": "remote-doc-0001-out.jsonld" + }, { + "@id": "#t0002", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "load JSON document", + "purpose": "Document loader loads a JSON document.", + "input": "remote-doc-0002-in.json", + "expect": "remote-doc-0002-out.jsonld" + }, { + "@id": "#t0003", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "load JSON document with extension-type", + "purpose": "Document loader loads a JSON document having an extension mime-subtype.", + "option": { + "contentType": "application/jldTest+json" + }, + "input": "remote-doc-0003-in.jldt", + "expect": "remote-doc-0003-out.jsonld" + }, { + "@id": "#t0004", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "loading an unknown type raises loading document failed", + "purpose": "Loading a document with a non-JSON mime type raises loading document failed", + "option": { + "contentType": "application/jldTest" + }, + "input": "remote-doc-0004-in.jldte", + "expect": "loading document failed" + }, { + "@id": "#t0005", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Load JSON-LD through 301 redirect", + "purpose": "Loading a document with a redirect should use the redirected URL as document base", + "option": { + "redirectTo": "remote-doc-0001-in.jsonld", + "httpStatus": 301 + }, + "input": "remote-doc-0005-in.jsonld", + "expect": "remote-doc-0001-out.jsonld" + }, { + "@id": "#t0006", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Load JSON-LD through 303 redirect", + "purpose": "Loading a document with a redirect should use the redirected URL as document base", + "option": { + "redirectTo": "remote-doc-0001-in.jsonld", + "httpStatus": 303 + }, + "input": "remote-doc-0006-in.jsonld", + "expect": "remote-doc-0001-out.jsonld" + }, { + "@id": "#t0007", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Load JSON-LD through 307 redirect", + "purpose": "Loading a document with a redirect should use the redirected URL as document base", + "option": { + "redirectTo": "remote-doc-0001-in.jsonld", + "httpStatus": 307 + }, + "input": "remote-doc-0007-in.jsonld", + "expect": "remote-doc-0001-out.jsonld" + }, { + "@id": "#t0008", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Non-existant file (404)", + "purpose": "Loading a non-existant file raises loading document failed error", + "input": "remote-doc-0008-in.jsonld", + "expect": "loading document failed" + }, { + "@id": "#t0009", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "load JSON-LD document with link", + "purpose": "If a context is specified in a link header, it is not used for JSON-LD.", + "option": { + "httpLink": "; rel=\"http://www.w3.org/ns/json-ld#context\"" + }, + "input": "remote-doc-0009-in.jsonld", + "expect": "remote-doc-0009-out.jsonld" + }, { + "@id": "#t0010", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "load JSON document with link", + "purpose": "If a context is specified in a link header, it is used for JSON.", + "option": { + "httpLink": "; rel=\"http://www.w3.org/ns/json-ld#context\"" + }, + "input": "remote-doc-0010-in.json", + "expect": "remote-doc-0010-out.jsonld" + }, { + "@id": "#t0011", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "load JSON document with extension-type with link", + "purpose": "If a context is specified in a link header, it is used for a JSON extension type.", + "input": "remote-doc-0011-in.jldt", + "option": { + "contentType": "application/jldTest+json", + "httpLink": "; rel=\"http://www.w3.org/ns/json-ld#context\"" + }, + "expect": "remote-doc-0011-out.jsonld" + }, { + "@id": "#t0012", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Multiple context link headers", + "purpose": "Loading a file when multiple link headers are returned is an error", + "option": { + "httpLink": [ + "; rel=\"http://www.w3.org/ns/json-ld#context\"", + "; rel=\"http://www.w3.org/ns/json-ld#context\"" + ] + }, + "input": "remote-doc-0012-in.json", + "expect": "multiple context link headers" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0001-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0001-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0001-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0001-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0001-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0001-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0002-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0002-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0002-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0002-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0002-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0002-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0003-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0003-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0003-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0003-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0003-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0003-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0004-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0004-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0004-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0004-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0004-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0004-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0005-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0005-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0005-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0005-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0005-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0005-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0006-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0006-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0006-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0006-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0006-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0006-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0007-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0007-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0007-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0007-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0007-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0007-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0008-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0008-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0008-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0008-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0008-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0008-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0009-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0009-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0009-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0009-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0009-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0009-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0010-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0010-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0010-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0010-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0010-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0010-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0011-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0011-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0011-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0011-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0011-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0011-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0011-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0012-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0012-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0012-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0012-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0012-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0012-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0012-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0013-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0013-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0013-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0013-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0013-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0013-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0014-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0014-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0014-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0014-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0014-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0014-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0015-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0015-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0015-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0015-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0015-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0015-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0016-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0016-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0016-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0016-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0016-out.nq new file mode 100644 index 00000000..0ed95c6e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0016-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0017-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0017-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0017-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0017-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0017-out.nq new file mode 100644 index 00000000..56e22246 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0017-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0018-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0018-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0018-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0018-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0018-out.nq new file mode 100644 index 00000000..3d10901d --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0018-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0019-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0019-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0019-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0019-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0019-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0019-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0020-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0020-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0020-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0020-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0020-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0020-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0022-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0022-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0022-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0022-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0022-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0022-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0023-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0023-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0023-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0023-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0023-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0023-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0024-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0024-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0024-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0024-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0024-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0024-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0025-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0025-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0025-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0025-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0025-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0025-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0025-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0025-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0026-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0026-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0026-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0026-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0026-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0026-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0026-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0027-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0027-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0027-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0027-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0027-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0027-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0027-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0027-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0028-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0028-in.jsonld new file mode 100644 index 00000000..3795dfb1 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0028-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "sec": "http://purl.org/security#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "dc": "http://purl.org/dc/terms/", + "sec:signer": {"@type": "@id"}, + "dc:created": {"@type": "xsd:dateTime"} + }, + "@id": "http://example.org/sig1", + "@type": ["rdf:Graph", "sec:SignedGraph"], + "dc:created": "2011-09-23T20:21:34Z", + "sec:signer": "http://payswarm.example.com/i/john/keys/5", + "sec:signatureValue": "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=", + "@graph": { + "@id": "http://example.org/fact1", + "dc:title": "Hello World!" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0028-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0028-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0028-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0028-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0029-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0029-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0029-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0029-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0029-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0029-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0029-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0029-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0030-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0030-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0030-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0030-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0030-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0030-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0030-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0030-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0031-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0031-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0031-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0031-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0031-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0031-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0031-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0031-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0032-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0032-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0032-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0032-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0032-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0032-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0032-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0033-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0033-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0033-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0033-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0033-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0033-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0033-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0033-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0034-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0034-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0034-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0034-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0034-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0034-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0034-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0034-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0035-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0035-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0035-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0035-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0035-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0035-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0035-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0035-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0036-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0036-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0036-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0036-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0036-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0036-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0036-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0036-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0041-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0041-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0041-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0041-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0085-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0041-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0085-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0041-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0042-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0042-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0042-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0042-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0042-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0042-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0042-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0042-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0043-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0043-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0043-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0043-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0086-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0043-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0086-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0043-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0044-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0044-in.jsonld new file mode 100644 index 00000000..5768520b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0044-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist1": { "@list": [ ] }, + "mylist2": "one item", + "myset2": { "@set": [ ] }, + "myset3": [ "v1" ], + "http://example.org/list1": { "@list": [ null ] }, + "http://example.org/list2": { "@list": [ {"@value": null} ] }, + "http://example.org/set1": { "@set": [ ] }, + "http://example.org/set1": { "@set": [ null ] }, + "http://example.org/set3": [ ], + "http://example.org/set4": [ null ], + "http://example.org/set5": "one item", + "http://example.org/property": { "@list": "one item" } +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0044-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0044-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0044-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0044-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0045-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0045-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0045-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0045-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0045-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0045-out.nq new file mode 100644 index 00000000..fa46f903 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0045-out.nq @@ -0,0 +1,6 @@ + . + "Alice" . + . + "Bob" . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0046-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0046-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0046-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0046-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0046-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0046-out.nq new file mode 100644 index 00000000..a9213cf3 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0046-out.nq @@ -0,0 +1,4 @@ + . + . + . + "foo" . diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0047-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0047-in.jsonld new file mode 100644 index 00000000..b49fac4e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0047-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:date": { + "@type": "xsd:dateTime" + }, + "ex:parent": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#example1", + "ex:date": "2011-01-25T00:00:00Z", + "ex:embed": { + "@id": "http://example.org/test#example2", + "ex:parent": "http://example.org/test#example1" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0047-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0047-out.nq new file mode 100644 index 00000000..5f833b1d --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0047-out.nq @@ -0,0 +1,3 @@ + "2011-01-25T00:00:00Z"^^ . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0048-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0048-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0048-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0048-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0048-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0048-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0048-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0048-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0049-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0049-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0049-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0049-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0052-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0049-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0052-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0049-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0050-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0050-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0050-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0050-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0050-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0050-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0050-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0050-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0051-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0051-in.jsonld new file mode 100644 index 00000000..15815597 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0051-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#book", + "dc:title": "Title", + "ex:contains": "http://example.org/test#chapter" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0051-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0051-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0051-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0051-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0052-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0052-in.jsonld new file mode 100644 index 00000000..d081e7fb --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0052-in.jsonld @@ -0,0 +1,39 @@ +{ + "@context": { + "dc": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:authored": { + "@type": "@id" + }, + "ex:contains": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "dc:description": "Fun", + "dc:title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "ex:authored": "http://example.org/test#chapter", + "foaf:name": "Jane" + }, + { + "@id": "http://example.org/test#john", + "foaf:name": "John" + }, + { + "@id": "http://example.org/test#library", + "ex:contains": { + "@id": "http://example.org/test#book", + "dc:contributor": "Writer", + "dc:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0057-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0052-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0057-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0052-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0053-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0053-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0053-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0053-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0053-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0053-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0053-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0053-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0054-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0054-in.jsonld new file mode 100644 index 00000000..ba913ff2 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0054-in.jsonld @@ -0,0 +1,50 @@ +{ + "@context": { + "ex": "http://example.org/test#", + "property1": { + "@id": "http://example.org/test#property1", + "@type": "@id" + }, + "property2": { + "@id": "ex:property2", + "@type": "@id" + }, + "uri": "@id", + "set": "@set", + "value": "@value", + "type": "@type", + "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" } + }, + "property1": { + "uri": "ex:example2", + "http://example.org/test#property4": "foo" + }, + "property2": "http://example.org/test#example3", + "http://example.org/test#property3": { + "uri": "http://example.org/test#example4" + }, + "ex:property4": { + "uri": "ex:example4", + "ex:property5": [ + { + "set": [ + { + "value": "2012-03-31", + "type": "xsd:date" + } + ] + } + ] + }, + "ex:property6": [ + { + "set": [ + { + "value": null, + "type": "xsd:date" + } + ] + } + ], + "uri": "http://example.org/test#example1" +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0054-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0054-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0054-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0054-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0055-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0055-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0055-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0055-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0055-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0055-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0055-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0055-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0056-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0056-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0056-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0056-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0056-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0056-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0056-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0056-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0057-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0057-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0057-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0057-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0057-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0057-out.nq new file mode 100644 index 00000000..1c8d94af --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0057-out.nq @@ -0,0 +1,9 @@ + . + "Writer" . + "My Book" . + "Fun" . + "Chapter One" . + . + "Jane" . + "John" . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0058-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0058-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0058-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0058-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0058-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0058-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0058-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0058-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0059-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0059-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0059-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0059-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/wf01-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0059-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf01-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0059-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0060-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0060-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0060-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0060-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0060-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0060-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0060-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0060-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0061-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0061-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0061-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0061-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0061-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0061-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0061-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0061-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0062-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0062-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0062-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0062-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0062-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0062-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0062-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0062-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0063-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0063-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0063-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0063-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0063-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0063-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0063-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0063-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0064-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0064-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0064-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0064-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0064-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0064-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0064-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0064-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0065-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0065-in.jsonld new file mode 100644 index 00000000..426de362 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0065-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "foo": "http://example.com/foo/", + "foo:bar": "http://example.com/bar", + "bar": {"@id": "foo:bar", "@type": "@id"}, + "_": "http://example.com/underscore/" + }, + "@type": [ "foo", "foo:bar", "_" ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0065-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0065-out.nq new file mode 100644 index 00000000..57adb84c --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0065-out.nq @@ -0,0 +1,3 @@ +_:b0 . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld.org/flatten/0026-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0066-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0026-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0066-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0066-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0066-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0066-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0066-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0067-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0067-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0067-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0067-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0067-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0067-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0067-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0067-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0068-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0068-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0068-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0068-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0068-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0068-out.nq new file mode 100644 index 00000000..e8b4f18e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0068-out.nq @@ -0,0 +1,4 @@ + "2011-01-25T00:00:00Z"^^ . + . + . + "2012-08-01T00:00:00Z"^^ . diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0069-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0069-in.jsonld new file mode 100644 index 00000000..08cdde33 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0069-in.jsonld @@ -0,0 +1,32 @@ +{ + "@context": { + "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } + }, + "@id": "relativeIris", + "@type": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "../../../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ], + "links": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "./../../../useless/../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0069-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0069-out.nq new file mode 100644 index 00000000..89910136 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0069-out.nq @@ -0,0 +1,34 @@ + _:b0 . + . + . + . + . + . + . + . + . + . + . + . +_:b0 . +_:b0 _:b1 . +_:b1 . +_:b1 _:b2 . +_:b10 . +_:b10 . +_:b2 . +_:b2 _:b3 . +_:b3 . +_:b3 _:b4 . +_:b4 . +_:b4 _:b5 . +_:b5 . +_:b5 _:b6 . +_:b6 . +_:b6 _:b7 . +_:b7 . +_:b7 _:b8 . +_:b8 . +_:b8 _:b9 . +_:b9 . +_:b9 _:b10 . diff --git a/core/src/test/resources/json-ld.org/toRdf/0070-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0070-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0070-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0070-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0070-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0070-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0070-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0070-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0071-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0071-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0071-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0071-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0071-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0071-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0071-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0071-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0072-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0072-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0072-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0072-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0072-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0072-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0072-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0072-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0073-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0073-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0073-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0073-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0073-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0073-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0073-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0073-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0074-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0074-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0074-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0074-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0074-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0074-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0074-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0074-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0075-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0075-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0075-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0075-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0075-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0075-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0075-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0075-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0076-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0076-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0076-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0076-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0076-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0076-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0076-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0076-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0077-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0077-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0077-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0077-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0077-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0077-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0077-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0077-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0078-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0078-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0078-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0078-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0078-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0078-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0078-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0078-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0079-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0079-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0079-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0079-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0079-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0079-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0079-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0079-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0080-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0080-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0080-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0080-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0080-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0080-out.nq new file mode 100644 index 00000000..4059ef58 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0080-out.nq @@ -0,0 +1,4 @@ + "No" . + "indexes" . + . + "The Queen" . diff --git a/core/src/test/resources/json-ld.org/toRdf/0081-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0081-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0081-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0081-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0081-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0081-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0081-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0081-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0082-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0082-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0082-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0082-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0082-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0082-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0082-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0082-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0083-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0083-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0083-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0083-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0083-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0083-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0083-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0083-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0084-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0084-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0084-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0084-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0084-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0084-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0084-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0084-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0085-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0085-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0085-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0085-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/wf02-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0085-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf02-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0085-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0086-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0086-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0086-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0086-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/wf03-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0086-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf03-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0086-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0087-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0087-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0087-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0087-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0087-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0087-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0087-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0087-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0088-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0088-in.jsonld new file mode 100644 index 00000000..005f5e16 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0088-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "term": "http://example.com/terms-are-not-considered-in-id", + "compact-iris": "http://example.com/compact-iris-", + "property": "http://example.com/property", + "@vocab": "http://example.org/vocab-is-not-considered-for-id" + }, + "@id": "term", + "property": [ + { + "@id": "compact-iris:are-considered", + "property": "@id supports the following values: relative, absolute, and compact IRIs" + }, + { + "@id": "../parent-node", + "property": "relative IRIs get resolved against the document's base IRI" + } + ] +} diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0088-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0088-out.nq new file mode 100644 index 00000000..55b4f9ff --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0088-out.nq @@ -0,0 +1,4 @@ + "@id supports the following values: relative, absolute, and compact IRIs" . + "relative IRIs get resolved against the document's base IRI" . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0089-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0089-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0089-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0089-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0089-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0089-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0089-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0089-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0090-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0090-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0090-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0090-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0090-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0090-out.nq new file mode 100644 index 00000000..537edf6e --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0090-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 "Markus" . diff --git a/core/src/test/resources/json-ld.org/toRdf/0091-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0091-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0091-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0091-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0091-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0091-out.nq new file mode 100644 index 00000000..34819079 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0091-out.nq @@ -0,0 +1 @@ + "ok" . diff --git a/core/src/test/resources/json-ld.org/toRdf/0092-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0092-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0092-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0092-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0092-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0092-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0092-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0092-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0093-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0093-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0093-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0093-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0093-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0093-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0093-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0093-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0094-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0094-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0094-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0094-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0094-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0094-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0094-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0094-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0095-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0095-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0095-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0095-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0095-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0095-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0095-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0095-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0096-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0096-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0096-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0096-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0096-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0096-out.nq new file mode 100644 index 00000000..bca879ff --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0096-out.nq @@ -0,0 +1,3 @@ + . + . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld.org/toRdf/0097-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0097-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0097-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0097-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0097-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0097-out.nq new file mode 100644 index 00000000..384f1d91 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0097-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld.org/toRdf/0098-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0098-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0098-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0098-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0098-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0098-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0098-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0098-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0099-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0099-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0099-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0099-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0099-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0099-out.nq new file mode 100644 index 00000000..85da3ac8 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0099-out.nq @@ -0,0 +1,4 @@ + . + . + "property expanded using @vocab" . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0100-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0100-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0100-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0100-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0100-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0100-out.nq new file mode 100644 index 00000000..8f20fb1b --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0100-out.nq @@ -0,0 +1,4 @@ + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0101-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0101-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0101-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0101-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0101-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0101-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0101-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0101-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0102-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0102-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0102-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0102-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0102-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0102-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0102-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0102-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0103-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0103-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0103-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0103-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0103-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0103-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0103-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0103-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0104-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0104-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0104-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0104-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0104-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0104-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0104-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0104-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0105-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0105-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0105-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0105-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0105-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0105-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0105-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0105-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0106-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0106-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0106-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0106-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0106-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0106-out.nq new file mode 100644 index 00000000..1dcbdf7d --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0106-out.nq @@ -0,0 +1,5 @@ + . + "Dave Longley" . + "Markus Lanthaler" . + . + "Compact keys using @vocab" . diff --git a/core/src/test/resources/json-ld.org/toRdf/0107-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0107-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0107-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0107-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0107-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0107-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0107-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0107-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0108-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0108-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0108-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0108-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0108-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0108-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0108-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0108-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0109-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0109-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0109-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0109-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0109-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0109-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0109-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0109-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0110-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0110-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0110-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0110-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0110-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0110-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0110-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0110-out.nq diff --git a/core/src/test/resources/json-ld.org/expand/e045-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0111-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e045-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0111-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0111-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0111-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0111-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0111-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0112-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0112-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0112-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0112-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0112-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0112-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0112-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0112-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0113-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0113-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0113-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0113-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0113-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0113-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0113-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0113-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0114-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0114-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0114-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0114-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0114-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0114-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0114-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0114-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0115-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0115-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0115-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0115-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0115-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0115-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0115-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0115-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0116-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0116-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0116-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0116-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0116-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0116-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0116-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0116-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0117-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0117-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0117-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0117-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0117-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0117-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0117-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0117-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0118-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0118-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0118-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0118-in.jsonld diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-0118-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0118-out.nq new file mode 100644 index 00000000..a9451eef --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-0118-out.nq @@ -0,0 +1,9 @@ +_:b0 _:b0 . +_:b0 _:b0 "plain value" . +_:b0 _:b0 . +_:b0 _:b0 _:b0 . +_:b0 _:b0 _:b1 . +_:b0 _:b0 _:b2 . +_:b0 _:b0 _:b3 . +_:b1 _:b0 "term" . +_:b2 _:b0 "termId" . diff --git a/core/src/test/resources/json-ld.org/toRdf/0119-in.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-0119-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0119-in.jsonld rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0119-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0119-out.nq b/core/src/test/resources/json-ld-1.0-tests/toRdf-0119-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0119-out.nq rename to core/src/test/resources/json-ld-1.0-tests/toRdf-0119-out.nq diff --git a/core/src/test/resources/json-ld-1.0-tests/toRdf-manifest.jsonld b/core/src/test/resources/json-ld-1.0-tests/toRdf-manifest.jsonld new file mode 100644 index 00000000..8abb3e57 --- /dev/null +++ b/core/src/test/resources/json-ld-1.0-tests/toRdf-manifest.jsonld @@ -0,0 +1,812 @@ +{ + "@context": "http://json-ld.org/test-suite/context.jsonld", + "@id": "", + "@type": "mf:Manifest", + "name": "Transform JSON-LD to RDF", + "description": "JSON-LD to RDF tests generate N-Quads output and use string comparison.", + "baseIri": "http://json-ld.org/test-suite/tests/", + "sequence": [ + { + "@id": "#t0001", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Plain literal with URIs", + "purpose": "Tests generation of a triple using full URIs and a plain literal.", + "input": "toRdf-0001-in.jsonld", + "expect": "toRdf-0001-out.nq" + }, { + "@id": "#t0002", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Plain literal with CURIE from default context", + "purpose": "Tests generation of a triple using a CURIE defined in the default context.", + "input": "toRdf-0002-in.jsonld", + "expect": "toRdf-0002-out.nq" + }, { + "@id": "#t0003", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Default subject is BNode", + "purpose": "Tests that a BNode is created if no explicit subject is set.", + "input": "toRdf-0003-in.jsonld", + "expect": "toRdf-0003-out.nq" + }, { + "@id": "#t0004", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Literal with language tag", + "purpose": "Tests that a plain literal is created with a language tag.", + "input": "toRdf-0004-in.jsonld", + "expect": "toRdf-0004-out.nq" + }, { + "@id": "#t0005", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Extended character set literal", + "purpose": "Tests that a literal may be created using extended characters.", + "input": "toRdf-0005-in.jsonld", + "expect": "toRdf-0005-out.nq" + }, { + "@id": "#t0006", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Typed literal", + "purpose": "Tests creation of a literal with a datatype.", + "input": "toRdf-0006-in.jsonld", + "expect": "toRdf-0006-out.nq" + }, { + "@id": "#t0007", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Tests 'a' generates rdf:type and object is implicit IRI", + "purpose": "Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.", + "input": "toRdf-0007-in.jsonld", + "expect": "toRdf-0007-out.nq" + }, { + "@id": "#t0008", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test prefix defined in @context", + "purpose": "Generate an IRI using a prefix defined within an @context.", + "input": "toRdf-0008-in.jsonld", + "expect": "toRdf-0008-out.nq" + }, { + "@id": "#t0009", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test using an empty suffix", + "purpose": "An empty suffix may be used.", + "input": "toRdf-0009-in.jsonld", + "expect": "toRdf-0009-out.nq" + }, { + "@id": "#t0010", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test object processing defines object", + "purpose": "A property referencing an associative array gets object from subject of array.", + "input": "toRdf-0010-in.jsonld", + "expect": "toRdf-0010-out.nq" + }, { + "@id": "#t0011", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test object processing defines object with implicit BNode", + "purpose": "If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.", + "input": "toRdf-0011-in.jsonld", + "expect": "toRdf-0011-out.nq" + }, { + "@id": "#t0012", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Multiple Objects for a Single Property", + "purpose": "Tests that Multiple Objects are for a Single Property using array syntax.", + "input": "toRdf-0012-in.jsonld", + "expect": "toRdf-0012-out.nq" + }, { + "@id": "#t0013", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Creation of an empty list", + "purpose": "Tests that @list: [] generates an empty list.", + "input": "toRdf-0013-in.jsonld", + "expect": "toRdf-0013-out.nq" + }, { + "@id": "#t0014", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Creation of a list with single element", + "purpose": "Tests that @list generates a list.", + "input": "toRdf-0014-in.jsonld", + "expect": "toRdf-0014-out.nq" + }, { + "@id": "#t0015", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Creation of a list with multiple elements", + "purpose": "Tests that list with multiple elements.", + "input": "toRdf-0015-in.jsonld", + "expect": "toRdf-0015-out.nq" + }, { + "@id": "#t0016", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Empty IRI expands to resource location", + "purpose": "Expanding an empty IRI uses the test file location.", + "input": "toRdf-0016-in.jsonld", + "expect": "toRdf-0016-out.nq" + }, { + "@id": "#t0017", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Relative IRI expands relative resource location", + "purpose": "Expanding a relative IRI uses the test file location.", + "input": "toRdf-0017-in.jsonld", + "expect": "toRdf-0017-out.nq" + }, { + "@id": "#t0018", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Frag ID expands relative resource location", + "purpose": "Expanding a fragment uses the test file location.", + "input": "toRdf-0018-in.jsonld", + "expect": "toRdf-0018-out.nq" + }, { + "@id": "#t0019", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test type coercion to anyURI", + "purpose": "Tests coercion of object to anyURI when specified.", + "input": "toRdf-0019-in.jsonld", + "expect": "toRdf-0019-out.nq" + }, { + "@id": "#t0020", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test type coercion to typed literal", + "purpose": "Tests coercion of object to a typed literal when specified.", + "input": "toRdf-0020-in.jsonld", + "expect": "toRdf-0020-out.nq" + }, { + "@id": "#t0022", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test coercion of double value", + "purpose": "Tests that a decimal value generates a xsd:double typed literal;.", + "input": "toRdf-0022-in.jsonld", + "expect": "toRdf-0022-out.nq" + }, { + "@id": "#t0023", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test coercion of integer value", + "purpose": "Tests that a decimal value generates a xsd:integer typed literal.", + "input": "toRdf-0023-in.jsonld", + "expect": "toRdf-0023-out.nq" + }, { + "@id": "#t0024", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test coercion of boolean value", + "purpose": "Tests that a decimal value generates a xsd:boolean typed literal.", + "input": "toRdf-0024-in.jsonld", + "expect": "toRdf-0024-out.nq" + }, { + "@id": "#t0025", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test list coercion with single element", + "purpose": "Tests that an array with a single element on a property with @list coercion creates an RDF Collection.", + "input": "toRdf-0025-in.jsonld", + "expect": "toRdf-0025-out.nq" + }, { + "@id": "#t0026", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Test creation of multiple types", + "purpose": "Tests that @type with an array of types creates multiple types.", + "input": "toRdf-0026-in.jsonld", + "expect": "toRdf-0026-out.nq" + }, { + "@id": "#t0027", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Simple named graph (Wikidata)", + "purpose": "Using @graph with other keys places triples in a named graph.", + "input": "toRdf-0027-in.jsonld", + "expect": "toRdf-0027-out.nq" + }, { + "@id": "#t0028", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Simple named graph", + "purpose": "Signing a graph.", + "input": "toRdf-0028-in.jsonld", + "expect": "toRdf-0028-out.nq" + }, { + "@id": "#t0029", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "named graph with embedded named graph", + "purpose": "Tests that named graphs containing named graphs flatten to single level of graph naming.", + "input": "toRdf-0029-in.jsonld", + "expect": "toRdf-0029-out.nq" + }, { + "@id": "#t0030", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "top-level graph with string subject reference", + "purpose": "Tests graphs containing subject references as strings.", + "input": "toRdf-0030-in.jsonld", + "expect": "toRdf-0030-out.nq" + }, { + "@id": "#t0031", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Reverse property", + "purpose": "Tests conversion of reverse properties.", + "input": "toRdf-0031-in.jsonld", + "expect": "toRdf-0031-out.nq" + }, { + "@id": "#t0032", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@context reordering", + "purpose": "Tests that generated triples do not depend on order of @context.", + "input": "toRdf-0032-in.jsonld", + "expect": "toRdf-0032-out.nq" + }, { + "@id": "#t0033", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@id reordering", + "purpose": "Tests that generated triples do not depend on order of @id.", + "input": "toRdf-0033-in.jsonld", + "expect": "toRdf-0033-out.nq" + }, { + "@id": "#t0034", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "context properties reordering", + "purpose": "Tests that generated triples do not depend on order of properties inside @context.", + "input": "toRdf-0034-in.jsonld", + "expect": "toRdf-0034-out.nq" + }, { + "@id": "#t0035", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "non-fractional numbers converted to xsd:double", + "purpose": "xsd:double's canonical lexical is used when converting numbers without fraction that are coerced to xsd:double", + "input": "toRdf-0035-in.jsonld", + "expect": "toRdf-0035-out.nq" + }, { + "@id": "#t0036", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Use nodeMapGeneration bnode labels", + "purpose": "The toRDF algorithm does not relabel blank nodes; it reuses the counter from the nodeMapGeneration to generate new ones", + "input": "toRdf-0036-in.jsonld", + "expect": "toRdf-0036-out.nq" + }, { + "@id": "#t0041", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "drop free-floating nodes", + "purpose": "Free-floating nodes do not generate RDF triples", + "input": "toRdf-0041-in.jsonld", + "expect": "toRdf-0041-out.nq" + }, { + "@id": "#t0042", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "basic", + "purpose": "Basic RDF conversion", + "input": "toRdf-0042-in.jsonld", + "expect": "toRdf-0042-out.nq" + }, { + "@id": "#t0043", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "drop null and unmapped properties", + "purpose": "Properties mapped to null or which are never mapped are dropped", + "input": "toRdf-0043-in.jsonld", + "expect": "toRdf-0043-out.nq" + }, { + "@id": "#t0044", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "optimize @set, keep empty arrays", + "purpose": "RDF version of expand-0004", + "input": "toRdf-0044-in.jsonld", + "expect": "toRdf-0044-out.nq" + }, { + "@id": "#t0045", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "do not expand aliased @id/@type", + "purpose": "RDF version of expand-0005", + "input": "toRdf-0045-in.jsonld", + "expect": "toRdf-0045-out.nq" + }, { + "@id": "#t0046", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "alias keywords", + "purpose": "RDF version of expand-0006", + "input": "toRdf-0046-in.jsonld", + "expect": "toRdf-0046-out.nq" + }, { + "@id": "#t0047", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "date type-coercion", + "purpose": "Type-coerced dates generate typed literals", + "input": "toRdf-0047-in.jsonld", + "expect": "toRdf-0047-out.nq" + }, { + "@id": "#t0048", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@value with @language", + "purpose": "RDF version of expand-0008", + "input": "toRdf-0048-in.jsonld", + "expect": "toRdf-0048-out.nq" + }, { + "@id": "#t0049", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@graph with terms", + "purpose": "RDF version of expand-0009", + "input": "toRdf-0049-in.jsonld", + "expect": "toRdf-0049-out.nq" + }, { + "@id": "#t0050", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "native types", + "purpose": "Native types generate typed literals", + "input": "toRdf-0050-in.jsonld", + "expect": "toRdf-0050-out.nq" + }, { + "@id": "#t0051", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "coerced @id", + "purpose": "RDF version of expand-0011", + "input": "toRdf-0051-in.jsonld", + "expect": "toRdf-0051-out.nq" + }, { + "@id": "#t0052", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@graph with embed", + "purpose": "RDF version of expand-0012", + "input": "toRdf-0052-in.jsonld", + "expect": "toRdf-0052-out.nq" + }, { + "@id": "#t0053", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand already expanded", + "purpose": "RDF version of expand-0013", + "input": "toRdf-0053-in.jsonld", + "expect": "toRdf-0053-out.nq" + }, { + "@id": "#t0054", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@set of @value objects with keyword aliases", + "purpose": "RDF version of expand-0014", + "input": "toRdf-0054-in.jsonld", + "expect": "toRdf-0054-out.nq" + }, { + "@id": "#t0055", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "collapse set of sets, keep empty lists", + "purpose": "RDF version of expand-0015", + "input": "toRdf-0055-in.jsonld", + "expect": "toRdf-0055-out.nq" + }, { + "@id": "#t0056", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "context reset", + "purpose": "RDF version of expand-0016", + "input": "toRdf-0056-in.jsonld", + "expect": "toRdf-0056-out.nq" + }, { + "@id": "#t0057", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@graph and @id aliased", + "purpose": "RDF version of expand-0017", + "input": "toRdf-0057-in.jsonld", + "expect": "toRdf-0057-out.nq" + }, { + "@id": "#t0058", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "override default @language", + "purpose": "RDF version of expand-0018", + "input": "toRdf-0058-in.jsonld", + "expect": "toRdf-0058-out.nq" + }, { + "@id": "#t0059", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "remove @value = null", + "purpose": "RDF version of expand-0019", + "input": "toRdf-0059-in.jsonld", + "expect": "toRdf-0059-out.nq" + }, { + "@id": "#t0060", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "do not remove @graph if not at top-level", + "purpose": "Embedded @graph without @id creates BNode-labeled named graph", + "input": "toRdf-0060-in.jsonld", + "expect": "toRdf-0060-out.nq" + }, { + "@id": "#t0061", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "do not remove @graph at top-level if not only property", + "purpose": "RDF version of expand-0021", + "input": "toRdf-0061-in.jsonld", + "expect": "toRdf-0061-out.nq" + }, { + "@id": "#t0062", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand value with default language", + "purpose": "RDF version of expand-0022", + "input": "toRdf-0062-in.jsonld", + "expect": "toRdf-0062-out.nq" + }, { + "@id": "#t0063", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Lists and sets of properties with list/set coercion", + "purpose": "RDF version of expand-0023", + "input": "toRdf-0063-in.jsonld", + "expect": "toRdf-0063-out.nq" + }, { + "@id": "#t0064", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Multiple contexts", + "purpose": "RDF version of expand-0024", + "input": "toRdf-0064-in.jsonld", + "expect": "toRdf-0064-out.nq" + }, { + "@id": "#t0065", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Problematic IRI expansion tests", + "purpose": "RDF version of expand-0025", + "input": "toRdf-0065-in.jsonld", + "expect": "toRdf-0065-out.nq" + }, { + "@id": "#t0066", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expanding term mapping to @type uses @type syntax", + "purpose": "RDF version of expand-0026", + "input": "toRdf-0066-in.jsonld", + "expect": "toRdf-0066-out.nq" + }, { + "@id": "#t0067", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Keep duplicate values in @list and @set", + "purpose": "RDF version of expand-0027", + "input": "toRdf-0067-in.jsonld", + "expect": "toRdf-0067-out.nq" + }, { + "@id": "#t0068", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Use @vocab in properties and @type but not in @id", + "purpose": "RDF version of expand-0028", + "input": "toRdf-0068-in.jsonld", + "expect": "toRdf-0068-out.nq" + }, { + "@id": "#t0069", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Relative IRIs", + "purpose": "RDF version of expand-0029", + "input": "toRdf-0069-in.jsonld", + "expect": "toRdf-0069-out.nq" + }, { + "@id": "#t0070", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Language maps", + "purpose": "RDF version of expand-0030", + "input": "toRdf-0070-in.jsonld", + "expect": "toRdf-0070-out.nq" + }, { + "@id": "#t0071", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type-coercion of native types", + "purpose": "RDF version of expand-0031", + "input": "toRdf-0071-in.jsonld", + "expect": "toRdf-0071-out.nq" + }, { + "@id": "#t0072", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Mapping a term to null decouples it from @vocab", + "purpose": "RDF version of expand-0032", + "input": "toRdf-0072-in.jsonld", + "expect": "toRdf-0072-out.nq" + }, { + "@id": "#t0073", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Using @vocab with with type-coercion", + "purpose": "RDF version of expand-0033", + "input": "toRdf-0073-in.jsonld", + "expect": "toRdf-0073-out.nq" + }, { + "@id": "#t0074", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Multiple properties expanding to the same IRI", + "purpose": "RDF version of expand-0034", + "input": "toRdf-0074-in.jsonld", + "expect": "toRdf-0074-out.nq" + }, { + "@id": "#t0075", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Language maps with @vocab, default language, and colliding property", + "purpose": "RDF version of expand-0035", + "input": "toRdf-0075-in.jsonld", + "expect": "toRdf-0075-out.nq" + }, { + "@id": "#t0076", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expanding @index", + "purpose": "RDF version of expand-0036", + "input": "toRdf-0076-in.jsonld", + "expect": "toRdf-0076-out.nq" + }, { + "@id": "#t0077", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expanding @reverse", + "purpose": "RDF version of expand-0037", + "input": "toRdf-0077-in.jsonld", + "expect": "toRdf-0077-out.nq" + }, { + "@id": "#t0078", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Drop blank node predicates by default", + "purpose": "Triples with blank node predicates are dropped by default.", + "input": "toRdf-0078-in.jsonld", + "expect": "toRdf-0078-out.nq" + }, { + "@id": "#t0079", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Using terms in a reverse-maps", + "purpose": "RDF version of expand-0039", + "input": "toRdf-0079-in.jsonld", + "expect": "toRdf-0079-out.nq" + }, { + "@id": "#t0080", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "language and index expansion on non-objects", + "purpose": "RDF version of expand-0040", + "input": "toRdf-0080-in.jsonld", + "expect": "toRdf-0080-out.nq" + }, { + "@id": "#t0081", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Reset the default language", + "purpose": "RDF version of expand-0041", + "input": "toRdf-0081-in.jsonld", + "expect": "toRdf-0081-out.nq" + }, { + "@id": "#t0082", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expanding reverse properties", + "purpose": "RDF version of expand-0042", + "input": "toRdf-0082-in.jsonld", + "expect": "toRdf-0082-out.nq" + }, { + "@id": "#t0083", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Using reverse properties inside a @reverse-container", + "purpose": "RDF version of expand-0043", + "input": "toRdf-0083-in.jsonld", + "expect": "toRdf-0083-out.nq" + }, { + "@id": "#t0084", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Ensure index maps use language mapping", + "purpose": "RDF version of expand-0044", + "input": "toRdf-0084-in.jsonld", + "expect": "toRdf-0084-out.nq" + }, { + "@id": "#t0085", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Top-level value objects are removed", + "purpose": "RDF version of expand-0045", + "input": "toRdf-0085-in.jsonld", + "expect": "toRdf-0085-out.nq" + }, { + "@id": "#t0086", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Free-floating nodes are removed", + "purpose": "RDF version of expand-0046", + "input": "toRdf-0086-in.jsonld", + "expect": "toRdf-0086-out.nq" + }, { + "@id": "#t0087", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Remove free-floating set values and lists", + "purpose": "RDF version of expand-0047", + "input": "toRdf-0087-in.jsonld", + "expect": "toRdf-0087-out.nq" + }, { + "@id": "#t0088", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Terms are ignored in @id", + "purpose": "RDF version of expand-0048", + "input": "toRdf-0088-in.jsonld", + "expect": "toRdf-0088-out.nq" + }, { + "@id": "#t0089", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Using strings as value of a reverse property", + "purpose": "RDF version of expand-0049", + "input": "toRdf-0089-in.jsonld", + "expect": "toRdf-0089-out.nq" + }, { + "@id": "#t0090", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Term definitions with prefix separate from prefix definitions", + "purpose": "RDF version of expand-0050", + "input": "toRdf-0090-in.jsonld", + "expect": "toRdf-0090-out.nq" + }, { + "@id": "#t0091", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expansion of keyword aliases in term definitions", + "purpose": "RDF version of expand-0051", + "input": "toRdf-0091-in.jsonld", + "expect": "toRdf-0091-out.nq" + }, { + "@id": "#t0092", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@vocab-relative IRIs in term definitions", + "purpose": "RDF version of expand-0052", + "input": "toRdf-0092-in.jsonld", + "expect": "toRdf-0092-out.nq" + }, { + "@id": "#t0093", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expand absolute IRI with @type: @vocab", + "purpose": "RDF version of expand-0053", + "input": "toRdf-0093-in.jsonld", + "expect": "toRdf-0093-out.nq" + }, { + "@id": "#t0094", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expand term with @type: @vocab", + "purpose": "RDF version of expand-0054", + "input": "toRdf-0094-in.jsonld", + "expect": "toRdf-0094-out.nq" + }, { + "@id": "#t0095", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expand @vocab-relative term with @type: @vocab", + "purpose": "RDF version of expand-0055", + "input": "toRdf-0095-in.jsonld", + "expect": "toRdf-0095-out.nq" + }, { + "@id": "#t0096", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Use terms with @type: @vocab but not with @type: @id", + "purpose": "RDF version of expand-0056", + "input": "toRdf-0096-in.jsonld", + "expect": "toRdf-0096-out.nq" + }, { + "@id": "#t0097", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expand relative IRI with @type: @vocab", + "purpose": "RDF version of expand-0057", + "input": "toRdf-0097-in.jsonld", + "expect": "toRdf-0097-out.nq" + }, { + "@id": "#t0098", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expand compact IRI with @type: @vocab", + "purpose": "RDF version of expand-0058", + "input": "toRdf-0098-in.jsonld", + "expect": "toRdf-0098-out.nq" + }, { + "@id": "#t0099", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Reset @vocab by setting it to null", + "purpose": "RDF version of expand-0059", + "input": "toRdf-0099-in.jsonld", + "expect": "toRdf-0099-out.nq" + }, { + "@id": "#t0100", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Overwrite document base with @base and reset it again", + "purpose": "RDF version of expand-0060", + "input": "toRdf-0100-in.jsonld", + "expect": "toRdf-0100-out.nq" + }, { + "@id": "#t0101", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Coercing native types to arbitrary datatypes", + "purpose": "RDF version of expand-0061", + "input": "toRdf-0101-in.jsonld", + "expect": "toRdf-0101-out.nq" + }, { + "@id": "#t0102", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Various relative IRIs with with @base", + "purpose": "RDF version of expand-0062", + "input": "toRdf-0102-in.jsonld", + "expect": "toRdf-0102-out.nq" + }, { + "@id": "#t0103", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expand a reverse property with an index-container", + "purpose": "RDF version of expand-0063", + "input": "toRdf-0103-in.jsonld", + "expect": "toRdf-0103-out.nq" + }, { + "@id": "#t0104", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expand reverse property whose values are unlabeled blank nodes", + "purpose": "RDF version of expand-0064", + "input": "toRdf-0104-in.jsonld", + "expect": "toRdf-0104-out.nq" + }, { + "@id": "#t0105", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Keys that are not mapped to an IRI in a reverse-map are dropped", + "purpose": "RDF version of expand-0065", + "input": "toRdf-0105-in.jsonld", + "expect": "toRdf-0105-out.nq" + }, { + "@id": "#t0106", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Use @vocab to expand keys in reverse-maps", + "purpose": "RDF version of expand-0066", + "input": "toRdf-0106-in.jsonld", + "expect": "toRdf-0106-out.nq" + }, { + "@id": "#t0107", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "prefix:://sufffix not a compact IRI", + "purpose": "RDF version of expand-0067", + "input": "toRdf-0107-in.jsonld", + "expect": "toRdf-0107-out.nq" + }, { + "@id": "#t0108", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "_::sufffix not a compact IRI", + "purpose": "RDF version of expand-0068", + "input": "toRdf-0108-in.jsonld", + "expect": "toRdf-0108-out.nq" + }, { + "@id": "#t0109", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Compact IRI as term with type mapping", + "purpose": "RDF version of expand-0069", + "input": "toRdf-0109-in.jsonld", + "expect": "toRdf-0109-out.nq" + }, { + "@id": "#t0110", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Redefine compact IRI with itself", + "purpose": "RDF version of expand-0070", + "input": "toRdf-0110-in.jsonld", + "expect": "toRdf-0110-out.nq" + }, { + "@id": "#t0111", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Redefine terms looking like compact IRIs", + "purpose": "RDF version of expand-0071", + "input": "toRdf-0111-in.jsonld", + "expect": "toRdf-0111-out.nq" + }, { + "@id": "#t0112", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Redefine term using @vocab, not itself", + "purpose": "RDF version of expand-0072", + "input": "toRdf-0112-in.jsonld", + "expect": "toRdf-0112-out.nq" + }, { + "@id": "#t0113", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Dataset with a IRI named graph", + "purpose": "Basic use of creating a named graph using an IRI name", + "input": "toRdf-0113-in.jsonld", + "expect": "toRdf-0113-out.nq" + }, { + "@id": "#t0114", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Dataset with a IRI named graph", + "purpose": "Basic use of creating a named graph using a BNode name", + "input": "toRdf-0114-in.jsonld", + "expect": "toRdf-0114-out.nq" + }, { + "@id": "#t0115", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Dataset with a default and two named graphs", + "purpose": "Dataset with a default and two named graphs (IRI and BNode)", + "input": "toRdf-0115-in.jsonld", + "expect": "toRdf-0115-out.nq" + }, { + "@id": "#t0116", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Dataset from node with embedded named graph", + "purpose": "Embedding @graph in a node creates a named graph", + "input": "toRdf-0116-in.jsonld", + "expect": "toRdf-0116-out.nq" + }, { + "@id": "#t0117", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Dataset from node with embedded named graph (bnode)", + "purpose": "Embedding @graph in a node creates a named graph. Graph name is created if there is no subject", + "input": "toRdf-0117-in.jsonld", + "expect": "toRdf-0117-out.nq" + }, { + "@id": "#t0118", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "produce generalized RDF flag", + "purpose": "Triples with blank node predicates are not dropped if the produce generalized RDF flag is true.", + "option": { + "produceGeneralizedRdf": true + }, + "input": "toRdf-0118-in.jsonld", + "expect": "toRdf-0118-out.nq" + }, { + "@id": "#t0119", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Blank nodes with reverse properties", + "purpose": "Proper (re-)labeling of blank nodes if used with reverse properties.", + "input": "toRdf-0119-in.jsonld", + "expect": "toRdf-0119-out.nq" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/LICENSE.md b/core/src/test/resources/json-ld-api-tests/LICENSE.md similarity index 100% rename from core/src/test/resources/json-ld.org/LICENSE.md rename to core/src/test/resources/json-ld-api-tests/LICENSE.md diff --git a/core/src/test/resources/json-ld.org/README.md b/core/src/test/resources/json-ld-api-tests/README.md similarity index 100% rename from core/src/test/resources/json-ld.org/README.md rename to core/src/test/resources/json-ld-api-tests/README.md diff --git a/core/src/test/resources/json-ld.org/compact-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/compact-manifest.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact-manifest.jsonld rename to core/src/test/resources/json-ld-api-tests/compact-manifest.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0001-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0001-context.jsonld new file mode 100644 index 00000000..998900ca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0001-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {} +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0001-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0001-in.jsonld new file mode 100644 index 00000000..0bfd26f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0001-in.jsonld @@ -0,0 +1 @@ +{"@id": "http://example.org/test#example"} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep06-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0001-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0002-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0002-context.jsonld new file mode 100644 index 00000000..79129cb2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0002-context.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "t1": "http://example.com/t1", + "t2": "http://example.com/t2", + "term1": "http://example.com/term1", + "term2": "http://example.com/term2", + "term3": "http://example.com/term3", + "term4": "http://example.com/term4", + "term5": "http://example.com/term5" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0002-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0002-in.jsonld new file mode 100644 index 00000000..7795576f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0002-in.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": ["v1"], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [4], + "http://example.com/term5": [50, 51] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0002-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0002-out.jsonld new file mode 100644 index 00000000..e4598e55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0002-out.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "t1": "http://example.com/t1", + "t2": "http://example.com/t2", + "term1": "http://example.com/term1", + "term2": "http://example.com/term2", + "term3": "http://example.com/term3", + "term4": "http://example.com/term4", + "term5": "http://example.com/term5" + }, + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0003-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0003-context.jsonld new file mode 100644 index 00000000..998900ca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0003-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {} +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0003-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0003-in.jsonld new file mode 100644 index 00000000..2007f363 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0003-in.jsonld @@ -0,0 +1,12 @@ +{ + "@id": "http://example.org/id", + "http://example.org/property": null, + "regularJson": { + "nonJsonLd": "property", + "deep": [{ + "foo": "bar" + }, { + "bar": "foo" + }] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0003-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0003-out.jsonld new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0003-out.jsonld @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0004-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0004-context.jsonld new file mode 100644 index 00000000..14eac099 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0004-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0004-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0004-in.jsonld new file mode 100644 index 00000000..4b8438f7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0004-in.jsonld @@ -0,0 +1,12 @@ +{ + "@id": "http://example.org/id", + "http://example.com/mylist1": {"@list": []}, + "http://example.com/myset2": {"@set": []}, + "http://example.com/myset3": "v1", + "http://example.org/list1": {"@list": []}, + "http://example.org/list2": {"@list": [null]}, + "http://example.org/set1": {"@set": []}, + "http://example.org/set2": {"@set": [null]}, + "http://example.org/set3": [], + "http://example.org/set4": [null] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0004-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0004-out.jsonld new file mode 100644 index 00000000..dd8299b6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0004-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist1": [], + "myset2": [], + "myset3": ["v1"], + "http://example.org/list1": {"@list": []}, + "http://example.org/list2": {"@list": []}, + "http://example.org/set1": [], + "http://example.org/set2": [], + "http://example.org/set3": [], + "http://example.org/set4": [] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0005-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0005-context.jsonld new file mode 100644 index 00000000..bf190ded --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0005-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ex": "http://example.org/", + "term1": {"@id": "ex:term1", "@type": "ex:datatype"}, + "term2": {"@id": "ex:term2", "@type": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0005-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0005-in.jsonld new file mode 100644 index 00000000..b74125f3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0005-in.jsonld @@ -0,0 +1,6 @@ +{ + "@id": "http://example.org/id1", + "@type": ["http://example.org/Type1", "http://example.org/Type2"], + "http://example.org/term1": {"@value": "v1", "@type": "http://example.org/datatype"}, + "http://example.org/term2": {"@id": "http://example.org/id2"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0005-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0005-out.jsonld new file mode 100644 index 00000000..bfb7b236 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0005-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "ex": "http://example.org/", + "term1": {"@id": "ex:term1", "@type": "ex:datatype"}, + "term2": {"@id": "ex:term2", "@type": "@id"} + }, + "@id": "ex:id1", + "@type": ["ex:Type1", "ex:Type2"], + "term1": "v1", + "term2": "ex:id2" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0006-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0006-context.jsonld new file mode 100644 index 00000000..f9917d22 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0006-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ex": "http://example.org/", + "term1": { "@id": "ex:term1", "@type": "ex:datatype" }, + "term2": "ex:term2" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0006-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0006-in.jsonld new file mode 100644 index 00000000..1ed73085 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0006-in.jsonld @@ -0,0 +1,6 @@ +{ + "@id": "http://example.org/id1", + "@type": ["http://example.org/Type1", "http://example.org/Type2"], + "http://example.org/term1": {"@value": "v1", "@type": "http://example.org/different-datatype"}, + "http://example.org/term2": {"@id": "http://example.org/id2"} +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0006-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0006-out.jsonld new file mode 100644 index 00000000..df187e92 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0006-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "ex": "http://example.org/", + "term1": { + "@id": "ex:term1", + "@type": "ex:datatype" + }, + "term2": "ex:term2" + }, + "@id": "ex:id1", + "@type": ["ex:Type1", "ex:Type2"], + "ex:term1": {"@value": "v1", "@type": "ex:different-datatype"}, + "term2": {"@id": "ex:id2"} +} diff --git a/core/src/test/resources/json-ld.org/compact/0007-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0007-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0007-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0007-context.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0007-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0007-in.jsonld new file mode 100644 index 00000000..6eef84f8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0007-in.jsonld @@ -0,0 +1,27 @@ +{ + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "http://purl.org/dc/elements/1.1/description": ["Fun"], + "http://purl.org/dc/elements/1.1/title": ["Chapter One"] + }, + { + "@id": "http://example.org/test#jane", + "http://example.org/vocab#authored": [{"@id": "http://example.org/test#chapter"}], + "http://xmlns.com/foaf/0.1/name": ["Jane"] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": ["John"] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [{ + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [ "this-is-not-an-IRI" ], + "http://purl.org/dc/elements/1.1/contributor": ["Writer"], + "http://purl.org/dc/elements/1.1/title": ["My Book"] + }] + } + ] +} diff --git a/core/src/test/resources/json-ld.org/compact/0007-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0007-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0007-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0008-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0008-context.jsonld new file mode 100644 index 00000000..770e2ce1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0008-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "http://example.org/test#property1": {"@type": "@id"}, + "http://example.org/test#property2": {"@type": "@id"}, + "http://example.org/test#property3": {"@type": "@id"}, + "uri": "@id" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0008-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0008-in.jsonld new file mode 100644 index 00000000..50bbf4d7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0008-in.jsonld @@ -0,0 +1,13 @@ +[{ + "@id": "http://example.org/test#example1", + "http://example.org/test#property1": [{ + "@id": "http://example.org/test#example2", + "http://example.org/test#property4": ["foo"] + }], + "http://example.org/test#property2": [{ + "@id": "http://example.org/test#example3" + }], + "http://example.org/test#property3": [{ + "@id": "http://example.org/test#example4" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0008-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0008-out.jsonld new file mode 100644 index 00000000..742987ca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0008-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "http://example.org/test#property1": {"@type": "@id"}, + "http://example.org/test#property2": {"@type": "@id"}, + "http://example.org/test#property3": {"@type": "@id"}, + "uri": "@id" + }, + "http://example.org/test#property1": { + "http://example.org/test#property4": "foo", + "uri": "http://example.org/test#example2" + }, + "http://example.org/test#property2": "http://example.org/test#example3", + "http://example.org/test#property3": "http://example.org/test#example4", + "uri": "http://example.org/test#example1" +} diff --git a/core/src/test/resources/json-ld.org/compact/0009-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0009-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0009-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0009-context.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0009-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0009-in.jsonld new file mode 100644 index 00000000..9b70fbab --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0009-in.jsonld @@ -0,0 +1,7 @@ +{ + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": { + "@id": "http://example.org/test#chapter" + }, + "http://purl.org/dc/elements/1.1/title": "Title" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/0009-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0009-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0009-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0010-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0010-context.jsonld new file mode 100644 index 00000000..9f020bd7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0010-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id"}, + "name": "http://xmlns.com/foaf/0.1/name" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0010-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0010-in.jsonld new file mode 100644 index 00000000..831f1ca9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0010-in.jsonld @@ -0,0 +1,13 @@ +[ + { + "@id": "http://example.com/john", + "http://xmlns.com/foaf/0.1/homepage": { + "@id": "http://john.doe.org/" + }, + "http://xmlns.com/foaf/0.1/name": "John Doe" + }, + { + "@id": "http://example.com/jane", + "http://xmlns.com/foaf/0.1/name": "Jane Doe" + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0010-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0010-out.jsonld new file mode 100644 index 00000000..43b3d1d5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0010-out.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "homepage": { + "@id": "http://xmlns.com/foaf/0.1/homepage", + "@type": "@id" + }, + "name": "http://xmlns.com/foaf/0.1/name" + }, + "@graph": [ + { + "@id": "http://example.com/john", + "homepage": "http://john.doe.org/", + "name": "John Doe" + }, + { + "@id": "http://example.com/jane", + "name": "Jane Doe" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0011-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0011-context.jsonld new file mode 100644 index 00000000..9221cc66 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0011-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:date": {"@type": "xsd:dateTime"}, + "ex:parent": {"@type": "@id"}, + "xsd": "http://www.w3.org/2001/XMLSchema#" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0011-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0011-in.jsonld new file mode 100644 index 00000000..c67c7531 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0011-in.jsonld @@ -0,0 +1,13 @@ +{ + "@id": "http://example.org/test#example1", + "http://example.org/vocab#date": { + "@value": "2011-01-25T00:00:00Z", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime" + }, + "http://example.org/vocab#embed": { + "@id": "http://example.org/test#example2", + "http://example.org/vocab#parent": { + "@id": "http://example.org/test#example1" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0011-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0011-out.jsonld new file mode 100644 index 00000000..6bba2326 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0011-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:date": {"@type": "xsd:dateTime"}, + "ex:parent": {"@type": "@id"}, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#example1", + "ex:date": "2011-01-25T00:00:00Z", + "ex:embed": { + "@id": "http://example.org/test#example2", + "ex:parent": "http://example.org/test#example1" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0012-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0012-context.jsonld new file mode 100644 index 00000000..3f53478d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0012-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0012-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0012-in.jsonld new file mode 100644 index 00000000..69ddcf31 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0012-in.jsonld @@ -0,0 +1,5 @@ +{ + "@id": "http://example.org/test", + "http://example.org/vocab#bool": true, + "http://example.org/vocab#int": 123 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0012-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0012-out.jsonld new file mode 100644 index 00000000..059c99d3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0012-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test", + "ex:bool": true, + "ex:int": 123 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0013-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0013-context.jsonld new file mode 100644 index 00000000..3f53478d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0013-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0013-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0013-in.jsonld new file mode 100644 index 00000000..7b2016a5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0013-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.org/test", + "http://example.org/vocab#test": {"@value": "test", "@language": "en"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0013-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0013-out.jsonld new file mode 100644 index 00000000..4ce4f592 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0013-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test", + "ex:test": {"@value": "test", "@language": "en"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0014-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0014-context.jsonld new file mode 100644 index 00000000..c2dc5092 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0014-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id"}, + "name": "http://xmlns.com/foaf/0.1/name", + "data": "@graph" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0014-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0014-in.jsonld new file mode 100644 index 00000000..831f1ca9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0014-in.jsonld @@ -0,0 +1,13 @@ +[ + { + "@id": "http://example.com/john", + "http://xmlns.com/foaf/0.1/homepage": { + "@id": "http://john.doe.org/" + }, + "http://xmlns.com/foaf/0.1/name": "John Doe" + }, + { + "@id": "http://example.com/jane", + "http://xmlns.com/foaf/0.1/name": "Jane Doe" + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0014-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0014-out.jsonld new file mode 100644 index 00000000..2bce180a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0014-out.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "homepage": { + "@id": "http://xmlns.com/foaf/0.1/homepage", + "@type": "@id" + }, + "name": "http://xmlns.com/foaf/0.1/name", + "data": "@graph" + }, + "data": [ + { + "@id": "http://example.com/john", + "homepage": "http://john.doe.org/", + "name": "John Doe" + }, + { + "@id": "http://example.com/jane", + "name": "Jane Doe" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0015-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0015-context.jsonld new file mode 100644 index 00000000..95b5b8b8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0015-context.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "t1": "http://example.com/t1", + "t2": "http://example.com/t2", + "term1": "http://example.com/term", + "term2": {"@id": "http://example.com/term", "@type": "t2"}, + "term3": {"@id": "http://example.com/term", "@language": "en"}, + "term4": {"@id": "http://example.com/term", "@container": "@list"}, + "term5": {"@id": "http://example.com/term", "@language": null}, + "@language": "de" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0015-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0015-in.jsonld new file mode 100644 index 00000000..b0b2b27d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0015-in.jsonld @@ -0,0 +1,12 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term": [ + {"@value": "v1", "@language": "de"}, + {"@value": "v2", "@type": "http://example.com/t2"}, + {"@value": "v3", "@language": "en"}, + {"@list": [1, 2]}, + "v5", + {"@value": "plain literal"} + ] +}] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0015-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0015-out.jsonld new file mode 100644 index 00000000..808b8b67 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0015-out.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "t1": "http://example.com/t1", + "t2": "http://example.com/t2", + "term1": "http://example.com/term", + "term2": {"@id": "http://example.com/term", "@type": "t2"}, + "term3": {"@id": "http://example.com/term", "@language": "en"}, + "term4": {"@id": "http://example.com/term", "@container": "@list"}, + "term5": {"@id": "http://example.com/term", "@language": null}, + "@language": "de" + }, + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": "v2", + "term3": "v3", + "term4": [ 1, 2 ], + "term5": [ "v5", "plain literal" ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0016-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0016-context.jsonld new file mode 100644 index 00000000..beb845de --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0016-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "wd": "http://data.wikipedia.org/vocab#", + "ws": "http://data.wikipedia.org/snaks/", + "wp": "http://en.wikipedia.org/wiki/" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0016-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0016-in.jsonld new file mode 100644 index 00000000..f7154b91 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0016-in.jsonld @@ -0,0 +1,22 @@ +[ + { + "@id": "http://data.wikipedia.org/snaks/Assertions", + "@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": "Statistik Berlin/Brandenburg" } ], + "@graph": [ + { + "@id": "http://en.wikipedia.org/wiki/Berlin", + "http://data.wikipedia.org/vocab#population": [ 3499879 ] + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0016-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0016-out.jsonld new file mode 100644 index 00000000..d40aec5a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0016-out.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "wd": "http://data.wikipedia.org/vocab#", + "ws": "http://data.wikipedia.org/snaks/", + "wp": "http://en.wikipedia.org/wiki/" + }, + "@id": "ws:Assertions", + "@type": "wd:SnakSet", + "@graph": [ + { + "@id": "ws:BerlinFact", + "@type": "wd:Snak", + "@graph": [ + { + "@id": "wp:Berlin", + "wd:population": 3499879 + } + ], + "wd:assertedBy": "Statistik Berlin/Brandenburg" + } + ], + "wd:assertedBy": "Gregg Kellogg" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0017-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0017-context.jsonld new file mode 100644 index 00000000..abfee308 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0017-context.jsonld @@ -0,0 +1,11 @@ +{ + "@context": [ + { + "comment": { "@id": "http://www.w3.org/2000/01/rdf-schema#comment", "@language": "en" } + }, + { + "comment": null, + "comment_en": { "@id": "http://www.w3.org/2000/01/rdf-schema#comment", "@language": "en" } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0017-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0017-in.jsonld new file mode 100644 index 00000000..59902746 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0017-in.jsonld @@ -0,0 +1,6 @@ +{ + "http://www.w3.org/2000/01/rdf-schema#comment": [ + { "@value": "Kommentar auf Deutsch.", "@language": "de" }, + { "@value": "Comment in English.", "@language": "en" } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0017-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0017-out.jsonld new file mode 100644 index 00000000..8126875c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0017-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": [ + { + "comment": { "@id": "http://www.w3.org/2000/01/rdf-schema#comment", "@language": "en" } + }, + { + "comment": null, + "comment_en": { "@id": "http://www.w3.org/2000/01/rdf-schema#comment", "@language": "en" } + } + ], + "comment_en": "Comment in English.", + "http://www.w3.org/2000/01/rdf-schema#comment": { "@value": "Kommentar auf Deutsch.", "@language": "de" } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0018-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0018-context.jsonld new file mode 100644 index 00000000..442fcd16 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0018-context.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "type1": "http://example.com/t1", + "type2": "http://example.com/t2", + "@language": "de", + "term": { "@id": "http://example.com/term" }, + "term1": { "@id": "http://example.com/term", "@container": "@list" }, + "term2": { "@id": "http://example.com/term", "@container": "@list", "@language": "en" }, + "term3": { "@id": "http://example.com/term", "@container": "@list", "@language": null }, + "term4": { "@id": "http://example.com/term", "@container": "@list", "@type": "type1" }, + "term5": { "@id": "http://example.com/term", "@container": "@list", "@type": "type2" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0018-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0018-in.jsonld new file mode 100644 index 00000000..3aab7d0a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0018-in.jsonld @@ -0,0 +1,69 @@ +{ + "@context": { + "type1": "http://example.com/t1", + "type2": "http://example.com/t2" + }, + "@id": "http://example.com/id1", + "http://example.com/term": [ + { + "@set": [ + { "@value": "v0.1", "@language": "de" }, + { "@value": "v0.2", "@language": "en" }, + "v0.3", + 4, + true, + false + ] + }, + { + "@list": [ + { "@value": "v1.1", "@language": "de" }, + { "@value": "v1.2", "@language": "en" }, + "v1.3", + 14, + true, + false + ] + }, + { + "@list": [ + { "@value": "v2.1", "@language": "en" }, + { "@value": "v2.2", "@language": "en" }, + { "@value": "v2.3", "@language": "en" }, + { "@value": "v2.4", "@language": "en" }, + { "@value": "v2.5", "@language": "en" }, + { "@value": "v2.6", "@language": "en" } + ] + }, + { + "@list": [ + "v3.1", + "v3.2", + "v3.3", + "v3.4", + "v3.5", + "v3.6" + ] + }, + { + "@list": [ + { "@value": "v4.1", "@type": "type1" }, + { "@value": "v4.2", "@type": "type1" }, + { "@value": "v4.3", "@type": "type1" }, + { "@value": "v4.4", "@type": "type1" }, + { "@value": "v4.5", "@type": "type1" }, + { "@value": "v4.6", "@type": "type1" } + ] + }, + { + "@list": [ + { "@value": "v5.1", "@type": "type2" }, + { "@value": "v5.2", "@type": "type2" }, + { "@value": "v5.3", "@type": "type2" }, + { "@value": "v5.4", "@type": "type2" }, + { "@value": "v5.5", "@type": "type2" }, + { "@value": "v5.6", "@type": "type2" } + ] + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0018-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0018-out.jsonld new file mode 100644 index 00000000..0c6d6567 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0018-out.jsonld @@ -0,0 +1,62 @@ +{ + "@context": { + "type1": "http://example.com/t1", + "type2": "http://example.com/t2", + "@language": "de", + "term": { "@id": "http://example.com/term" }, + "term1": { "@id": "http://example.com/term", "@container": "@list" }, + "term2": { "@id": "http://example.com/term", "@container": "@list", "@language": "en" }, + "term3": { "@id": "http://example.com/term", "@container": "@list", "@language": null }, + "term4": { "@id": "http://example.com/term", "@container": "@list", "@type": "type1" }, + "term5": { "@id": "http://example.com/term", "@container": "@list", "@type": "type2" } + }, + "@id": "http://example.com/id1", + "term": [ + "v0.1", + { "@value": "v0.2", "@language": "en" }, + { "@value": "v0.3" }, + 4, + true, + false + ], + "term1": [ + "v1.1", + { "@value": "v1.2", "@language": "en" }, + { "@value": "v1.3" }, + 14, + true, + false + ], + "term2": [ + "v2.1", + "v2.2", + "v2.3", + "v2.4", + "v2.5", + "v2.6" + ], + "term3": [ + "v3.1", + "v3.2", + "v3.3", + "v3.4", + "v3.5", + "v3.6" + ], + "term4": [ + "v4.1", + "v4.2", + "v4.3", + "v4.4", + "v4.5", + "v4.6" + ], + "term5": [ + "v5.1", + "v5.2", + "v5.3", + "v5.4", + "v5.5", + "v5.6" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0019-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0019-context.jsonld new file mode 100644 index 00000000..ac6fa08f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0019-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, + "myset": {"@id": "http://example.com/myset", "@container": "@set"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0019-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0019-in.jsonld new file mode 100644 index 00000000..15efa2e3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0019-in.jsonld @@ -0,0 +1,17 @@ +[{ + "@id": "http://example.org/id", + "http://example.com/mylist": [{ + "@list": [ + {"@value": 1}, + {"@value": 2}, + {"@value": 2}, + {"@value": 3} + ] + }], + "http://example.com/myset": [ + {"@value": 1}, + {"@value": 2}, + {"@value": 2}, + {"@value": 3} + ] +}] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0019-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0019-out.jsonld new file mode 100644 index 00000000..6c47cfb7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0019-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, + "myset": {"@id": "http://example.com/myset", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist": [1, 2, 2, 3], + "myset": [1, 2, 2, 3] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0020-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0020-context.jsonld new file mode 100644 index 00000000..6a3482e2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0020-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "ex": "http://example.org/ns#", + "ex:property": {"@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0020-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0020-in.jsonld new file mode 100644 index 00000000..f89e0642 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0020-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://example.org/ns#" + }, + "@id": "ex:property", + "ex:property": { + "@list": [1, 2] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0020-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0020-out.jsonld new file mode 100644 index 00000000..5836103e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0020-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "ex": "http://example.org/ns#", + "ex:property": { + "@container": "@list" + } + }, + "@id": "ex:property", + "ex:property": [1, 2] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0021-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0021-context.jsonld new file mode 100644 index 00000000..c5d301c4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0021-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.com/subdir/", + "vocab/date": { "@type": "vocab/types/dateTime" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0021-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0021-in.jsonld new file mode 100644 index 00000000..a7e716f8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0021-in.jsonld @@ -0,0 +1,23 @@ +[ + { + "@id": "http://example.com/subdir/id/1", + "@type": [ "http://example.com/subdir/vocab/types/Test" ], + "http://example.com/subdir/vocab/date": [ + { + "@value": "2011-01-25T00:00:00Z", + "@type": "http://example.com/subdir/vocab/types/dateTime" + } + ], + "http://example.com/subdir/vocab/embed": [ + { + "@id": "http://example.com/subdir/id/2", + "http://example.com/subdir/vocab/expandedDate": [ + { + "@value": "2012-08-01T00:00:00Z", + "@type": "http://example.com/subdir/vocab/types/dateTime" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0021-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0021-out.jsonld new file mode 100644 index 00000000..2705521b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0021-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.com/subdir/", + "vocab/date": { "@type": "vocab/types/dateTime" } + }, + "@id": "http://example.com/subdir/id/1", + "@type": "vocab/types/Test", + "vocab/date": "2011-01-25T00:00:00Z", + "vocab/embed": { + "@id": "http://example.com/subdir/id/2", + "vocab/expandedDate": { + "@value": "2012-08-01T00:00:00Z", + "@type": "vocab/types/dateTime" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0022-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0022-context.jsonld new file mode 100644 index 00000000..5f77de7e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0022-context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "owl": "http://www.w3.org/2002/07/owl#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "ex": "https://example.org/ns#", + "id": "@id", + "type": "@type", + "ex:properties": { "@container": "@list" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0022-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0022-in.jsonld new file mode 100644 index 00000000..180db840 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0022-in.jsonld @@ -0,0 +1,39 @@ +[ + { + "@id": "https://example.org/ns#Game", + "@type": [ + "http://www.w3.org/2002/07/owl#Class" + ], + "https://example.org/ns#properties": [ + { + "@list": [ + { + "@id": "https://example.org/ns#title" + }, + { + "@id": "https://example.org/ns#slug" + } + ] + } + ] + }, + { + "@id": "https://example.org/ns#properties", + "@type": [ + "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property" + ] + }, + { + "@id": "https://example.org/ns#slug", + "@type": [ + "http://www.w3.org/2002/07/owl#DataProperty", + "http://www.w3.org/2002/07/owl#FunctionalProperty" + ] + }, + { + "@id": "https://example.org/ns#title", + "@type": [ + "http://www.w3.org/2002/07/owl#DataProperty" + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0022-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0022-out.jsonld new file mode 100644 index 00000000..0f256d33 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0022-out.jsonld @@ -0,0 +1,34 @@ +{ + "@context": { + "owl": "http://www.w3.org/2002/07/owl#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "ex": "https://example.org/ns#", + "id": "@id", + "type": "@type", + "ex:properties": { + "@container": "@list" + } + }, + "@graph": [ + { + "id": "ex:Game", + "type": "owl:Class", + "ex:properties": [ + { "id": "ex:title" }, + { "id": "ex:slug" } + ] + }, + { + "id": "ex:properties", + "type": "rdf:Property" + }, + { + "id": "ex:slug", + "type": [ "owl:DataProperty", "owl:FunctionalProperty" ] + }, + { + "id": "ex:title", + "type": "owl:DataProperty" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0023-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0023-context.jsonld new file mode 100644 index 00000000..ec987268 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0023-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "ex": "http://example.com/subdir/", + "ex:vocab/date": { "@type": "ex:vocab/types/dateTime" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0023-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0023-in.jsonld new file mode 100644 index 00000000..a7e716f8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0023-in.jsonld @@ -0,0 +1,23 @@ +[ + { + "@id": "http://example.com/subdir/id/1", + "@type": [ "http://example.com/subdir/vocab/types/Test" ], + "http://example.com/subdir/vocab/date": [ + { + "@value": "2011-01-25T00:00:00Z", + "@type": "http://example.com/subdir/vocab/types/dateTime" + } + ], + "http://example.com/subdir/vocab/embed": [ + { + "@id": "http://example.com/subdir/id/2", + "http://example.com/subdir/vocab/expandedDate": [ + { + "@value": "2012-08-01T00:00:00Z", + "@type": "http://example.com/subdir/vocab/types/dateTime" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0023-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0023-out.jsonld new file mode 100644 index 00000000..747ec943 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0023-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "ex": "http://example.com/subdir/", + "ex:vocab/date": { "@type": "ex:vocab/types/dateTime" } + }, + "@id": "ex:id/1", + "@type": "subdir/vocab/types/Test", + "ex:vocab/date": "2011-01-25T00:00:00Z", + "subdir/vocab/embed": { + "@id": "ex:id/2", + "subdir/vocab/expandedDate": { + "@value": "2012-08-01T00:00:00Z", + "@type": "subdir/vocab/types/dateTime" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0024-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0024-context.jsonld new file mode 100644 index 00000000..26fc17a7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0024-context.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "type1": "http://example.com/t1", + "type2": "http://example.com/t2", + "@language": "de", + "termL": { "@id": "http://example.com/termLanguage" }, + "termLL0": { "@id": "http://example.com/termLanguage", "@container": "@list" }, + "termLL1": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": "en" }, + "termLL2": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": null }, + "termT": { "@id": "http://example.com/termType" }, + "termTL0": { "@id": "http://example.com/termType", "@container": "@list" }, + "termTL1": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type1" }, + "termTL2": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type2" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0024-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0024-in.jsonld new file mode 100644 index 00000000..e25e21f4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0024-in.jsonld @@ -0,0 +1,48 @@ +{ + + "@context": { + "type1": "http://example.com/t1", + "type2": "http://example.com/t2" + }, + "@id": "http://example.com/id1", + "http://example.com/termLanguage": [ + { + "@list": [ + { "@value": "termLL0.1", "@language": "de" }, + { "@value": "termLL0.2", "@language": "de" } + ] + }, + { + "@list": [ + { "@value": "termLL1.1", "@language": "en" }, + { "@value": "termLL1.2", "@language": "en" } + ] + }, + { + "@list": [ + "termLL2.1", + "termLL2.2" + ] + } + ], + "http://example.com/termType": [ + { + "@list": [ + { "@value": "termTL0.1", "@type": "type1" }, + { "@value": "termTL0.2", "@type": "type2" } + ] + }, + { + "@list": [ + { "@value": "termTL1.1", "@type": "type1" }, + { "@value": "termTL1.2", "@type": "type1" } + ] + }, + { + "@list": [ + { "@value": "termTL2.1", "@type": "type2" }, + { "@value": "termTL2.2", "@type": "type2" } + ] + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0024-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0024-out.jsonld new file mode 100644 index 00000000..d9c276f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0024-out.jsonld @@ -0,0 +1,46 @@ +{ + "@context": { + "type1": "http://example.com/t1", + "type2": "http://example.com/t2", + "@language": "de", + "termL": { "@id": "http://example.com/termLanguage" }, + "termLL0": { "@id": "http://example.com/termLanguage", "@container": "@list" }, + "termLL1": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": "en" }, + "termLL2": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": null }, + "termT": { "@id": "http://example.com/termType" }, + "termTL0": { "@id": "http://example.com/termType", "@container": "@list" }, + "termTL1": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type1" }, + "termTL2": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type2" } + }, + "@id": "http://example.com/id1", + "termLL0": [ + "termLL0.1", + "termLL0.2" + ], + "termLL1": [ + "termLL1.1", + "termLL1.2" + ], + "termLL2": [ + "termLL2.1", + "termLL2.2" + ], + "termTL0": [ + { + "@type": "type1", + "@value": "termTL0.1" + }, + { + "@type": "type2", + "@value": "termTL0.2" + } + ], + "termTL1": [ + "termTL1.1", + "termTL1.2" + ], + "termTL2": [ + "termTL2.1", + "termTL2.2" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0025-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0025-context.jsonld new file mode 100644 index 00000000..4e1cf64a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0025-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0025-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0025-in.jsonld new file mode 100644 index 00000000..8859b7af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0025-in.jsonld @@ -0,0 +1,18 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": + [ + { + "@value": "The Queen", + "@language": "en" + }, { + "@value": "Die Königin", + "@language": "de" + }, { + "@value": "Ihre Majestät", + "@language": "de" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0025-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0025-out.jsonld new file mode 100644 index 00000000..ca711673 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0025-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0026-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0026-context.jsonld new file mode 100644 index 00000000..eb75e98e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0026-context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "@language": "it", + "s": { "@id": "label", "@language": "en" }, + "label": { + "@container": "@language" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0026-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0026-in.jsonld new file mode 100644 index 00000000..bf691f95 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0026-in.jsonld @@ -0,0 +1,21 @@ +[{ + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + { + "@value": "Il re", + "@language": "it" + }, { + "@value": "The king", + "@language": "en" + }, { + "@value": "The Queen", + "@language": "en" + }, { + "@value": "Die Königin", + "@language": "de" + }, { + "@value": "Ihre Majestät", + "@language": "de" + } + ] +}] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0026-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0026-out.jsonld new file mode 100644 index 00000000..26e39fcf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0026-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "@language": "it", + "s": { "@id": "label", "@language": "en" }, + "label": { + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "it": "Il re", + "en": [ "The king", "The Queen" ], + "de": [ "Die Königin", "Ihre Majestät" ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0027-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0027-context.jsonld new file mode 100644 index 00000000..6f9d41f3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0027-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "label": "http://example.com/vocab/label", + "container": { "@id": "label", "@container": "@set" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0027-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0027-in.jsonld new file mode 100644 index 00000000..bf691f95 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0027-in.jsonld @@ -0,0 +1,21 @@ +[{ + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + { + "@value": "Il re", + "@language": "it" + }, { + "@value": "The king", + "@language": "en" + }, { + "@value": "The Queen", + "@language": "en" + }, { + "@value": "Die Königin", + "@language": "de" + }, { + "@value": "Ihre Majestät", + "@language": "de" + } + ] +}] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0027-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0027-out.jsonld new file mode 100644 index 00000000..42c9bea9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0027-out.jsonld @@ -0,0 +1,25 @@ +{ + "@context": { + "label": "http://example.com/vocab/label", + "container": { "@id": "label", "@container": "@set" } + }, + "@id": "http://example.com/queen", + "container": [ + { + "@value": "Il re", + "@language": "it" + }, { + "@value": "The king", + "@language": "en" + }, { + "@value": "The Queen", + "@language": "en" + }, { + "@value": "Die Königin", + "@language": "de" + }, { + "@value": "Ihre Majestät", + "@language": "de" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0028-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0028-context.jsonld new file mode 100644 index 00000000..0c1c4564 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0028-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://xmlns.com/foaf/0.1/", + "homepage": { + "@type": "@id" + }, + "uri": "@id" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0028-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0028-in.jsonld new file mode 100644 index 00000000..36961fb0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0028-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@vocab": "http://xmlns.com/foaf/0.1/", + "homepage": { + "@type": "@id" + }, + "uri": "@id" + }, + "uri": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "homepage": "http://www.markus-lanthaler.com/" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0028-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0028-out.jsonld new file mode 100644 index 00000000..36961fb0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0028-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@vocab": "http://xmlns.com/foaf/0.1/", + "homepage": { + "@type": "@id" + }, + "uri": "@id" + }, + "uri": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "homepage": "http://www.markus-lanthaler.com/" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0029-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0029-context.jsonld new file mode 100644 index 00000000..fb52cf10 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0029-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "author": {"@id": "http://example.com/vocab/author", "@container": "@index" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0029-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0029-in.jsonld new file mode 100644 index 00000000..c63f933b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0029-in.jsonld @@ -0,0 +1,10 @@ +[{ + "@id": "http://example.com/article", + "http://example.com/vocab/author": [{ + "@id": "http://example.org/person/1", + "@index": "regular" + }, { + "@id": "http://example.org/guest/cd24f329aa", + "@index": "guest" + }] +}] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0029-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0029-out.jsonld new file mode 100644 index 00000000..55400485 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0029-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "author": { + "@id": "http://example.com/vocab/author", + "@container": "@index" + } + }, + "@id": "http://example.com/article", + "author": { + "regular": { + "@id": "http://example.org/person/1" + }, + "guest": { + "@id": "http://example.org/guest/cd24f329aa" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0030-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0030-context.jsonld new file mode 100644 index 00000000..422e5cf7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0030-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "property": "http://example.com/property", + "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0030-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0030-in.jsonld new file mode 100644 index 00000000..4552a800 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0030-in.jsonld @@ -0,0 +1,117 @@ +[ + { + "@id": "http://example.org/indexTest", + "http://example.com/container": [ + { + "@id": "http://example.org/nodeWithoutIndexA", + "@index": "A" + }, + { + "@id": "http://example.org/nodeWithIndexA", + "@index": "this overrides the 'A' index from the container" + }, + { + "@value": 1, + "@index": "A" + }, + { + "@value": true, + "@index": "A" + }, + { + "@value": false, + "@index": "A" + }, + { + "@value": "simple string A", + "@index": "A" + }, + { + "@value": "typed literal A", + "@type": "http://example.org/type", + "@index": "A" + }, + { + "@value": "language-tagged string A", + "@language": "en", + "@index": "A" + }, + { + "@value": "simple string B", + "@index": "B" + }, + { + "@id": "http://example.org/nodeWithoutIndexC", + "@index": "C" + }, + { + "@id": "http://example.org/nodeWithIndexC", + "@index": "this overrides the 'C' index from the container" + }, + { + "@value": 3, + "@index": "C" + }, + { + "@value": true, + "@index": "C" + }, + { + "@value": false, + "@index": "C" + }, + { + "@value": "simple string C", + "@index": "C" + }, + { + "@value": "typed literal C", + "@type": "http://example.org/type", + "@index": "C" + }, + { + "@value": "language-tagged string C", + "@language": "en", + "@index": "C" + } + ], + "http://example.com/property": [ + { + "@id": "http://example.org/nodeWithoutIndexProp" + }, + { + "@id": "http://example.org/nodeWithIndexProp", + "@index": "prop" + }, + { + "@value": 3, + "@index": "prop" + }, + { + "@value": true, + "@index": "prop" + }, + { + "@value": false, + "@index": "prop" + }, + { + "@value": "simple string no index" + }, + { + "@value": "typed literal Prop", + "@type": "http://example.org/type", + "@index": "prop" + }, + { + "@value": "language-tagged string Prop", + "@language": "en", + "@index": "prop" + }, + { + "@value": "index using an array with just one element (automatic recovery)", + "@index": "prop" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0030-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0030-out.jsonld new file mode 100644 index 00000000..76b5f4d0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0030-out.jsonld @@ -0,0 +1,86 @@ +{ + "@context": { + "property": "http://example.com/property", + "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } + }, + "@id": "http://example.org/indexTest", + "indexContainer": { + "A": [ + { + "@id": "http://example.org/nodeWithoutIndexA" + }, + 1, + true, + false, + "simple string A", + { + "@value": "typed literal A", + "@type": "http://example.org/type" + }, + { + "@value": "language-tagged string A", + "@language": "en" + } + ], + "this overrides the 'A' index from the container": { + "@id": "http://example.org/nodeWithIndexA" + }, + "B": "simple string B", + "C": [ + { + "@id": "http://example.org/nodeWithoutIndexC" + }, + 3, + true, + false, + "simple string C", + { + "@value": "typed literal C", + "@type": "http://example.org/type" + }, + { + "@value": "language-tagged string C", + "@language": "en" + } + ], + "this overrides the 'C' index from the container": { + "@id": "http://example.org/nodeWithIndexC" + } + }, + "property": [ + { + "@id": "http://example.org/nodeWithoutIndexProp" + }, + { + "@id": "http://example.org/nodeWithIndexProp", + "@index": "prop" + }, + { + "@value": 3, + "@index": "prop" + }, + { + "@value": true, + "@index": "prop" + }, + { + "@value": false, + "@index": "prop" + }, + "simple string no index", + { + "@value": "typed literal Prop", + "@type": "http://example.org/type", + "@index": "prop" + }, + { + "@value": "language-tagged string Prop", + "@language": "en", + "@index": "prop" + }, + { + "@value": "index using an array with just one element (automatic recovery)", + "@index": "prop" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0031-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0031-context.jsonld new file mode 100644 index 00000000..8e214847 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0031-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0031-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0031-in.jsonld new file mode 100644 index 00000000..c03623ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0031-in.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0031-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0031-out.jsonld new file mode 100644 index 00000000..7e65af4a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0031-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0032-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0032-context.jsonld new file mode 100644 index 00000000..df67a7d4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0032-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0032-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0032-in.jsonld new file mode 100644 index 00000000..c03623ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0032-in.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0032-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0032-out.jsonld new file mode 100644 index 00000000..7c3549ee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0032-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0033-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0033-context.jsonld new file mode 100644 index 00000000..5ae4350a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0033-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0033-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0033-in.jsonld new file mode 100644 index 00000000..c03623ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0033-in.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0033-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0033-out.jsonld new file mode 100644 index 00000000..60cf9ac2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0033-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0034-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0034-context.jsonld new file mode 100644 index 00000000..5ae4350a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0034-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0034-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0034-in.jsonld new file mode 100644 index 00000000..d6d2ab38 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0034-in.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/people/markus", + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + }, + { + "@id": "http://example.com/people/gregg", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] + } + ], + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0034-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0034-out.jsonld new file mode 100644 index 00000000..8ef24370 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0034-out.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + { + "@id": "http://example.com/people/gregg", + "name": "Gregg Kellogg" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0035-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0035-context.jsonld new file mode 100644 index 00000000..b61dab00 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0035-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0035-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0035-in.jsonld new file mode 100644 index 00000000..f63e141a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0035-in.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave" + }, + { + "@id": "http://example.com/people/gregg" + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0035-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0035-out.jsonld new file mode 100644 index 00000000..3f10e016 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0035-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + "http://example.com/people/dave", + "http://example.com/people/gregg" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0036-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0036-context.jsonld new file mode 100644 index 00000000..a4b35c51 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0036-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0036-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0036-in.jsonld new file mode 100644 index 00000000..ffa49d96 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0036-in.jsonld @@ -0,0 +1,20 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "@index": "Dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + }, + { + "@id": "http://example.com/people/gregg", + "@index": "Gregg", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0036-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0036-out.jsonld new file mode 100644 index 00000000..a9a83b0c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0036-out.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": { + "Dave": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "Gregg": { + "@id": "http://example.com/people/gregg", + "name": "Gregg Kellogg" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0037-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0037-context.jsonld new file mode 100644 index 00000000..42f8b2d7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0037-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows", + "@vocab": "http://example.com/vocab/" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0037-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0037-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0037-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0037-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0037-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0037-out.jsonld new file mode 100644 index 00000000..b3a9bd80 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0037-out.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows", + "@vocab": "http://example.com/vocab/" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "noTerm": { + "@id": "relative-node", + "name": "Compact keys using @vocab" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0038-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0038-context.jsonld new file mode 100644 index 00000000..2db116e3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0038-context.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "site": "http://example.com/", + "site-cd": "site:site-schema/content-deployment/", + "title": { + "@id": "site-cd:node/article/title", + "@container": "@index" + }, + "body": { + "@id": "site-cd:node/article/body", + "@container": "@index" + }, + "field_tags": { + "@id": "site-cd:node/article/field_tags", + "@container": "@index" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0038-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0038-in.jsonld new file mode 100644 index 00000000..28b8f32b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0038-in.jsonld @@ -0,0 +1,85 @@ +{ + "@context": { + "site": "http://example.com/", + "site-cd": "site:site-schema/content-deployment/", + "title": { + "@id": "site-cd:node/article/title", + "@container": "@index" + }, + "body": { + "@id": "site-cd:node/article/body", + "@container": "@index" + }, + "field_tags": { + "@id": "site-cd:node/article/field_tags", + "@container": "@index" + } + }, + "@id": "site:node/1", + "@type": "site-cd:node/article", + "title": { + "en": [ + { + "@context": { + "value": "site-cd:node/article/title/value" + }, + "@type": "site-cd:field-types/title_field", + "value": "This is the English title" + } + ], + "es": [ + { + "@context": { + "value": "site-cd:node/article/title/value" + }, + "@type": "site-cd:field-types/title_field", + "value": "Este es el t’tulo espa–ol" + } + ] + }, + "body": { + "en": [ + { + "@context": { + "value": "site-cd:node/article/body/value", + "summary": "site-cd:node/article/body/summary", + "format": "site-cd:node/article/body/format" + }, + "@type": "site-cd:field-types/text_with_summary", + "value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.", + "summary": "This is the teaser for the body.", + "format": "full_html" + } + ] + }, + "field_tags": { + "en": [ + { + "@context": { + "uuid": "site-cd:taxonomy/term/uuid" + }, + "@type": "site-cd:taxonomy/term", + "@id": "site:taxonomy/term/1", + "uuid": "e34b982c-98ac-4862-9b00-fa771a388010" + } + ], + "es": [ + { + "@context": { + "uuid": "site-cd:taxonomy/term/uuid" + }, + "@type": "site-cd:taxonomy/term", + "@id": "site:taxonomy/term/1", + "uuid": "e34b982c-98ac-4862-9b00-fa771a388010" + }, + { + "@context": { + "uuid": "site-cd:taxonomy/term/uuid" + }, + "@type": "site-cd:taxonomy/term", + "@id": "site:taxonomy/term/2", + "uuid": "a55b982c-58ac-4862-9b00-aa221a388010" + } + ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0038-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0038-out.jsonld new file mode 100644 index 00000000..78369d19 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0038-out.jsonld @@ -0,0 +1,57 @@ +{ + "@context": { + "site": "http://example.com/", + "site-cd": "site:site-schema/content-deployment/", + "title": { + "@id": "site-cd:node/article/title", + "@container": "@index" + }, + "body": { + "@id": "site-cd:node/article/body", + "@container": "@index" + }, + "field_tags": { + "@id": "site-cd:node/article/field_tags", + "@container": "@index" + } + }, + "@id": "site:node/1", + "@type": "site-cd:node/article", + "title": { + "en": { + "@type": "site-cd:field-types/title_field", + "title:/value": "This is the English title" + }, + "es": { + "@type": "site-cd:field-types/title_field", + "title:/value": "Este es el t’tulo espa–ol" + } + }, + "body": { + "en": { + "@type": "site-cd:field-types/text_with_summary", + "body:/value": "This is the English body. There is no Spanish body, so this will be displayed for both the English and Spanish versions.", + "body:/summary": "This is the teaser for the body.", + "body:/format": "full_html" + } + }, + "field_tags": { + "en": { + "@type": "site-cd:taxonomy/term", + "@id": "site:taxonomy/term/1", + "site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010" + }, + "es": [ + { + "@type": "site-cd:taxonomy/term", + "@id": "site:taxonomy/term/1", + "site-cd:taxonomy/term/uuid": "e34b982c-98ac-4862-9b00-fa771a388010" + }, + { + "@type": "site-cd:taxonomy/term", + "@id": "site:taxonomy/term/2", + "site-cd:taxonomy/term/uuid": "a55b982c-58ac-4862-9b00-aa221a388010" + } + ] + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0038a-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0038a-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0038a-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0038a-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0039-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0039-context.jsonld new file mode 100644 index 00000000..998900ca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0039-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {} +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0039-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0039-in.jsonld new file mode 100644 index 00000000..0e1bfa70 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0039-in.jsonld @@ -0,0 +1,11 @@ +[ + { + "@id": "http://example.com/graph/1", + "@graph": [ + { + "@id": "http://example.com/node/1", + "http://example.com/property": [ { "@value": "property" } ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0039-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0039-out.jsonld new file mode 100644 index 00000000..cfd1e6f7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0039-out.jsonld @@ -0,0 +1,9 @@ +{ + "@id": "http://example.com/graph/1", + "@graph": [ + { + "@id": "http://example.com/node/1", + "http://example.com/property": "property" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0040-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0040-context.jsonld new file mode 100644 index 00000000..998900ca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0040-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {} +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0040-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0040-in.jsonld new file mode 100644 index 00000000..268fdca3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0040-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://me.markus-lanthaler.com/", + "http://example.com/list": { + "@list": [ + "one item" + ] + } + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0040-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0040-out.jsonld new file mode 100644 index 00000000..efc0abf0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0040-out.jsonld @@ -0,0 +1,8 @@ +{ + "@id": "http://me.markus-lanthaler.com/", + "http://example.com/list": { + "@list": [ + "one item" + ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0041-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0041-context.jsonld new file mode 100644 index 00000000..91515d6b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0041-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "name": { "@id": "http://example.com/property", "@container": "@list" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0041-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0041-in.jsonld new file mode 100644 index 00000000..7110b987 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0041-in.jsonld @@ -0,0 +1,15 @@ +[ + { + "@id": "http://example.com/node", + "http://example.com/property": [ + { + "@index": "an index", + "@list": [ + { + "@value": "one item" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0041-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0041-out.jsonld new file mode 100644 index 00000000..7881a11d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0041-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "name": { "@id": "http://example.com/property", "@container": "@list" } + }, + "@id": "http://example.com/node", + "http://example.com/property": { + "@list": [ + "one item" + ], + "@index": "an index" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0042-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0042-context.jsonld new file mode 100644 index 00000000..68bb529e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0042-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "listAlias": "@list", + "indexAlias": "@index" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0042-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0042-in.jsonld new file mode 100644 index 00000000..9ac7b73b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0042-in.jsonld @@ -0,0 +1,15 @@ +[ + { + "@id": "http://example.com/node", + "http://example.com/property": [ + { + "@list": [ + { + "@value": "one item" + } + ], + "@index": "an index" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0042-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0042-out.jsonld new file mode 100644 index 00000000..b7af449b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0042-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "listAlias": "@list", + "indexAlias": "@index" + }, + "@id": "http://example.com/node", + "http://example.com/property": { + "listAlias": [ + "one item" + ], + "indexAlias": "an index" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0043-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0043-context.jsonld new file mode 100644 index 00000000..6ad117d6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0043-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "name": "http://xmlns.com/foaf/0.1/name" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0043-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0043-in.jsonld new file mode 100644 index 00000000..2f1d8272 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0043-in.jsonld @@ -0,0 +1,8 @@ +[ + { + "@id": "http://example.com/node", + "http://example.com/name": [ + { "@value": "Markus Lanthaler" } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0043-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0043-out.jsonld new file mode 100644 index 00000000..bbba7479 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0043-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "name": "http://xmlns.com/foaf/0.1/name" + }, + "@id": "http://example.com/node", + "http://example.com/name": "Markus Lanthaler" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0044-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0044-context.jsonld new file mode 100644 index 00000000..27fbdfff --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0044-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": { "@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" }, + "knowsVocab": { "@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@vocab" }, + "DefinedTerm": "http://example.com/people/DefinedTerm" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0044-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0044-in.jsonld new file mode 100644 index 00000000..d6e842c9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0044-in.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave" + }, + { + "@id": "http://example.com/people/DefinedTerm" + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0044-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0044-out.jsonld new file mode 100644 index 00000000..3a13df69 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0044-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": { "@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" }, + "knowsVocab": { "@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@vocab" }, + "DefinedTerm": "http://example.com/people/DefinedTerm" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": "http://example.com/people/dave", + "knowsVocab": "DefinedTerm" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0045-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0045-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0045-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0045-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0045-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0045-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0045-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0045-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0045-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0045-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0045-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0045-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0046-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0046-context.jsonld new file mode 100644 index 00000000..998900ca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0046-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {} +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0046-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0046-in.jsonld new file mode 100644 index 00000000..7bd3ee0e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0046-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://me.markus-lanthaler.com/", + "http://xmlns.com/foaf/0.1/name": "Markus Lanthaler" + }, + { + "@id": "http://greggkellogg.net/foaf#me", + "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg" + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0046-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0046-out.jsonld new file mode 100644 index 00000000..32bffd4d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0046-out.jsonld @@ -0,0 +1,12 @@ +{ + "@graph": [ + { + "@id": "http://me.markus-lanthaler.com/", + "http://xmlns.com/foaf/0.1/name": "Markus Lanthaler" + }, + { + "@id": "http://greggkellogg.net/foaf#me", + "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0047-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0047-context.jsonld new file mode 100644 index 00000000..850aa0dd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0047-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@base": "http://example.com/", + "link": { "@id": "http://example.com/link", "@type": "@id" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0047-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0047-in.jsonld new file mode 100644 index 00000000..51eda26a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0047-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@base": "http://example.com/", + "link": { "@id": "http://example.com/link", "@type": "@id" } + }, + "link": "relative-url" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0047-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0047-out.jsonld new file mode 100644 index 00000000..51eda26a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0047-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@base": "http://example.com/", + "link": { "@id": "http://example.com/link", "@type": "@id" } + }, + "link": "relative-url" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0048-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0048-context.jsonld new file mode 100644 index 00000000..9dd70c2d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0048-context.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@language": "de", + "propertyLanguageNull": { + "@id": "http://example.com/propertyA", + "@language": null + }, + "propertyNoLang": "http://example.com/propertyA", + "propertyB": "http://example.com/propertyB" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0048-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0048-in.jsonld new file mode 100644 index 00000000..f25f71a3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0048-in.jsonld @@ -0,0 +1,4 @@ +{ + "http://example.com/propertyA": 5, + "http://example.com/propertyB": 5 +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0048-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0048-out.jsonld new file mode 100644 index 00000000..a14bac08 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0048-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@language": "de", + "propertyLanguageNull": { + "@id": "http://example.com/propertyA", + "@language": null + }, + "propertyNoLang": "http://example.com/propertyA", + "propertyB": "http://example.com/propertyB" + }, + "propertyLanguageNull": 5, + "propertyB": 5 +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0049-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0049-context.jsonld new file mode 100644 index 00000000..559cb535 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0049-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "property": { "@id": "http://example.org", "@type": "@id" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0049-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0049-in.jsonld new file mode 100644 index 00000000..99258812 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0049-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "property": { "@id": "http://example.org", "@type": "@id" } + }, + "property": { "@list": [ "http://example.com/node/a", "http://example.com/node/b", "http://example.com/node/c" ] } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0049-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0049-out.jsonld new file mode 100644 index 00000000..99258812 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0049-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "property": { "@id": "http://example.org", "@type": "@id" } + }, + "property": { "@list": [ "http://example.com/node/a", "http://example.com/node/b", "http://example.com/node/c" ] } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0050-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0050-context.jsonld new file mode 100644 index 00000000..5ae4350a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0050-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0050-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0050-in.jsonld new file mode 100644 index 00000000..f63e141a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0050-in.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave" + }, + { + "@id": "http://example.com/people/gregg" + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0050-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0050-out.jsonld new file mode 100644 index 00000000..438ecb5c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0050-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + { "@id": "http://example.com/people/dave" }, + { "@id": "http://example.com/people/gregg" } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0051-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0051-context.jsonld new file mode 100644 index 00000000..998900ca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0051-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {} +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0051-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0051-in.jsonld new file mode 100644 index 00000000..7d086fa7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0051-in.jsonld @@ -0,0 +1,5 @@ +{ + "http://example.org/term": { + "@list": [1] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0051-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0051-out.jsonld new file mode 100644 index 00000000..7d086fa7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0051-out.jsonld @@ -0,0 +1,5 @@ +{ + "http://example.org/term": { + "@list": [1] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0052-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0052-context.jsonld new file mode 100644 index 00000000..22482804 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0052-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "graph": "@graph", + "term": "http://example.org/term" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0052-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0052-in.jsonld new file mode 100644 index 00000000..0780a0ea --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0052-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "graph": "@graph", + "term": "http://example.org/term" + }, + "graph": [ + { + "term": { + "@list": [1] + } + }, + { + "term": { + "@list": [2] + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0052-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0052-out.jsonld new file mode 100644 index 00000000..0780a0ea --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0052-out.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "graph": "@graph", + "term": "http://example.org/term" + }, + "graph": [ + { + "term": { + "@list": [1] + } + }, + { + "term": { + "@list": [2] + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0053-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0053-context.jsonld new file mode 100644 index 00000000..490c4cdf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0053-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"} + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0053-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0053-in.jsonld new file mode 100644 index 00000000..7be3023c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0053-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/term": [{"@id": "http://example.org/enum"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0053-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0053-out.jsonld new file mode 100644 index 00000000..3ac3ea98 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0053-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"} + }, + "term": "http://example.org/enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0054-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0054-context.jsonld new file mode 100644 index 00000000..6bc8522a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0054-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"}, + "enum": {"@id": "http://example.org/enum"} + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0054-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0054-in.jsonld new file mode 100644 index 00000000..7be3023c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0054-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/term": [{"@id": "http://example.org/enum"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0054-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0054-out.jsonld new file mode 100644 index 00000000..680afbf0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0054-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"}, + "enum": {"@id": "http://example.org/enum"} + }, + "term": "enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0055-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0055-context.jsonld new file mode 100644 index 00000000..6bc8522a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0055-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"}, + "enum": {"@id": "http://example.org/enum"} + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0055-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0055-in.jsonld new file mode 100644 index 00000000..680afbf0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0055-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"}, + "enum": {"@id": "http://example.org/enum"} + }, + "term": "enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0055-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0055-out.jsonld new file mode 100644 index 00000000..680afbf0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0055-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"}, + "enum": {"@id": "http://example.org/enum"} + }, + "term": "enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0056-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0056-context.jsonld new file mode 100644 index 00000000..6b167d61 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0056-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"}, + "doNotSelect": {"@id": "http://example.org/term"}, + "enum": {"@id": "http://example.org/enum"} + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0056-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0056-in.jsonld new file mode 100644 index 00000000..7be3023c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0056-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/term": [{"@id": "http://example.org/enum"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0056-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0056-out.jsonld new file mode 100644 index 00000000..b9e3dc45 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0056-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"}, + "doNotSelect": {"@id": "http://example.org/term"}, + "enum": {"@id": "http://example.org/enum"} + }, + "term": "enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0057-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0057-context.jsonld new file mode 100644 index 00000000..dd554d96 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0057-context.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepageID": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, + "homepageV": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, + "linkID": { "@id": "http://example.com/link", "@type": "@id" }, + "linkV": { "@id": "http://example.com/link", "@type": "@vocab" }, + "MarkusHomepage": "http://www.markus-lanthaler.com/", + "relative-iri": "http://example.com/error-if-this-is-used-for-link" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0057-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0057-in.jsonld new file mode 100644 index 00000000..47a30751 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0057-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepageID": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, + "homepageV": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, + "linkID": { "@id": "http://example.com/link", "@type": "@id" }, + "linkV": { "@id": "http://example.com/link", "@type": "@vocab" }, + "MarkusHomepage": "http://www.markus-lanthaler.com/", + "relative-iri": "http://example.com/error-if-this-is-used-for-link" + }, + "@id": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "homepageV": "MarkusHomepage", + "linkID": "relative-iri" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0057-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0057-out.jsonld new file mode 100644 index 00000000..47a30751 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0057-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepageID": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id" }, + "homepageV": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, + "linkID": { "@id": "http://example.com/link", "@type": "@id" }, + "linkV": { "@id": "http://example.com/link", "@type": "@vocab" }, + "MarkusHomepage": "http://www.markus-lanthaler.com/", + "relative-iri": "http://example.com/error-if-this-is-used-for-link" + }, + "@id": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "homepageV": "MarkusHomepage", + "linkID": "relative-iri" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0058-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0058-context.jsonld new file mode 100644 index 00000000..15958db6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0058-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "notChosen": {"@id": "http://example.org/term", "@type": "@vocab"}, + "chosen": {"@id": "http://example.org/term", "@type": "@id"} + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0058-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0058-in.jsonld new file mode 100644 index 00000000..7be3023c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0058-in.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/term": [{"@id": "http://example.org/enum"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0058-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0058-out.jsonld new file mode 100644 index 00000000..83ffd521 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0058-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "notChosen": {"@id": "http://example.org/term", "@type": "@vocab"}, + "chosen": {"@id": "http://example.org/term", "@type": "@id"} + }, + "chosen": "http://example.org/enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0059-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0059-context.jsonld new file mode 100644 index 00000000..af661cf9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0059-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "Bar": "http://example.com/vocab#Bar", + "foo": { + "@id": "http://example.com/vocab#foo", + "@type": "@vocab" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0059-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0059-in.jsonld new file mode 100644 index 00000000..1d38d4ac --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0059-in.jsonld @@ -0,0 +1,8 @@ +[ + { + "http://example.com/vocab#foo": [ + { "@id": "http://example.com/vocab#Bar" }, + { "@id": "http://example.com/vocab#Baz" } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0059-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0059-out.jsonld new file mode 100644 index 00000000..75f71560 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0059-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "Bar": "http://example.com/vocab#Bar", + "foo": { + "@id": "http://example.com/vocab#foo", + "@type": "@vocab" + } + }, + "foo": [ + "Bar", + "http://example.com/vocab#Baz" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0060-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0060-context.jsonld new file mode 100644 index 00000000..a308b57b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0060-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "Bar": "http://example.com/vocab#Bar", + "foo": { + "@id": "http://example.com/vocab#foo", + "@type": "@id" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0060-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0060-in.jsonld new file mode 100644 index 00000000..1d38d4ac --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0060-in.jsonld @@ -0,0 +1,8 @@ +[ + { + "http://example.com/vocab#foo": [ + { "@id": "http://example.com/vocab#Bar" }, + { "@id": "http://example.com/vocab#Baz" } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0060-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0060-out.jsonld new file mode 100644 index 00000000..c183efb0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0060-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "Bar": "http://example.com/vocab#Bar", + "foo": { + "@id": "http://example.com/vocab#foo", + "@type": "@id" + } + }, + "foo": [ + "http://example.com/vocab#Bar", + "http://example.com/vocab#Baz" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0061-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0061-context.jsonld new file mode 100644 index 00000000..a8fcd898 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0061-context.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "Bar": "http://example.com/vocab#Bar", + "fooI": { + "@id": "http://example.com/vocab#foo", + "@type": "@id" + }, + "fooV": { + "@id": "http://example.com/vocab#foo", + "@type": "@vocab" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0061-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0061-in.jsonld new file mode 100644 index 00000000..1d38d4ac --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0061-in.jsonld @@ -0,0 +1,8 @@ +[ + { + "http://example.com/vocab#foo": [ + { "@id": "http://example.com/vocab#Bar" }, + { "@id": "http://example.com/vocab#Baz" } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0061-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0061-out.jsonld new file mode 100644 index 00000000..beec5afb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0061-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "Bar": "http://example.com/vocab#Bar", + "fooI": { + "@id": "http://example.com/vocab#foo", + "@type": "@id" + }, + "fooV": { + "@id": "http://example.com/vocab#foo", + "@type": "@vocab" + } + }, + "fooV": "Bar", + "fooI": "http://example.com/vocab#Baz" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0062-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0062-context.jsonld new file mode 100644 index 00000000..82745ef2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0062-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0062-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0062-in.jsonld new file mode 100644 index 00000000..732cc923 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0062-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" } + }, + "term": "not-a-term-thus-a-relative-IRI" +} diff --git a/core/src/test/resources/json-ld.org/compact/0062-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0062-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0062-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0062-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0063-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0063-context.jsonld new file mode 100644 index 00000000..e06e6dcf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0063-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" }, + "prefix": "http://example.com/vocab#" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0063-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0063-in.jsonld new file mode 100644 index 00000000..68dc3249 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0063-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" }, + "prefix": "http://example.com/vocab#" + }, + "term": "prefix:suffix" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0063-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0063-out.jsonld new file mode 100644 index 00000000..68dc3249 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0063-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" }, + "prefix": "http://example.com/vocab#" + }, + "term": "prefix:suffix" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0064-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0064-context.jsonld new file mode 100644 index 00000000..99bef741 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0064-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "property": { "@id": "http://example.com/property", "@container": "@index" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0064-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0064-in.jsonld new file mode 100644 index 00000000..6a7f2267 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0064-in.jsonld @@ -0,0 +1,17 @@ +[ + { + "@id": "http://example.com.com/", + "http://example.com/property": [ + { + "@value": "Deutsche Zeichenfolge in @index-map", + "@index": "first", + "@language": "de" + }, + { + "@value": "English string in @index-map", + "@index": "second", + "@language": "en" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0064-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0064-out.jsonld new file mode 100644 index 00000000..5bc1ec0a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0064-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "property": { "@id": "http://example.com/property", "@container": "@index" } + }, + "@id": "http://example.com.com/", + "property": { + "first": { + "@language": "de", + "@value": "Deutsche Zeichenfolge in @index-map" + }, + "second": { + "@language": "en", + "@value": "English string in @index-map" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0065-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0065-context.jsonld new file mode 100644 index 00000000..17d7c1ae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0065-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "property": { "@id": "http://example.com/property", "@container": "@language" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0065-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0065-in.jsonld new file mode 100644 index 00000000..6a7f2267 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0065-in.jsonld @@ -0,0 +1,17 @@ +[ + { + "@id": "http://example.com.com/", + "http://example.com/property": [ + { + "@value": "Deutsche Zeichenfolge in @index-map", + "@index": "first", + "@language": "de" + }, + { + "@value": "English string in @index-map", + "@index": "second", + "@language": "en" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0065-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0065-out.jsonld new file mode 100644 index 00000000..6a7a8f20 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0065-out.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "property": { "@id": "http://example.com/property", "@container": "@language" } + }, + "@id": "http://example.com.com/", + "http://example.com/property": [ + { + "@index": "first", + "@language": "de", + "@value": "Deutsche Zeichenfolge in @index-map" + }, + { + "@index": "second", + "@language": "en", + "@value": "English string in @index-map" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0066-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0066-context.jsonld new file mode 100644 index 00000000..1f8f0b46 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0066-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0066-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0066-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0066-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0066-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0066-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0066-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0066-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0066-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0067-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0067-context.jsonld new file mode 100644 index 00000000..5ae4350a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0067-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0067-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0067-in.jsonld new file mode 100644 index 00000000..273226d2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0067-in.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + }, + { + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0067-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0067-out.jsonld new file mode 100644 index 00000000..dc313893 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0067-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + { + "name": "Dave Longley" + }, + { + "name": "Gregg Kellogg" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0068-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0068-context.jsonld new file mode 100644 index 00000000..73fc1013 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0068-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@set" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0068-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0068-in.jsonld new file mode 100644 index 00000000..6aaa37a9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0068-in.jsonld @@ -0,0 +1,13 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave" + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0068-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0068-out.jsonld new file mode 100644 index 00000000..7c179361 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0068-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@set" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + { "@id": "http://example.com/people/dave" } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0069-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0069-context.jsonld new file mode 100644 index 00000000..73fc1013 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0069-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@set" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0069-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0069-in.jsonld new file mode 100644 index 00000000..6aaa37a9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0069-in.jsonld @@ -0,0 +1,13 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave" + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0069-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0069-out.jsonld new file mode 100644 index 00000000..7c179361 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0069-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@set" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + { "@id": "http://example.com/people/dave" } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0070-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0070-context.jsonld new file mode 100644 index 00000000..b1fde0c0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0070-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": "http://example/term" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0070-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0070-in.jsonld new file mode 100644 index 00000000..94e6d6a6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0070-in.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example/foo", + "http://example/term": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/compact/0070-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0070-out.jsonld new file mode 100644 index 00000000..136cb3a7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0070-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "term": "http://example/term" + }, + "@graph": [{ + "@id": "http://example/foo", + "term": ["value"] + }] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0071-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0071-context.jsonld new file mode 100644 index 00000000..cdb3a52b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0071-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": "http://example.com/foo" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0071-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0071-in.jsonld new file mode 100644 index 00000000..7122f823 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0071-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [{ + "foo": "http://example.com/foo" + }, { + "bar": "http://example.com/bar" + }], + "foo": "foo-value", + "bar": "bar-value" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0071-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0071-out.jsonld new file mode 100644 index 00000000..e916361e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0071-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "foo": "http://example.com/foo" + }, + "foo": "foo-value", + "http://example.com/bar": "bar-value" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0072-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0072-context.jsonld new file mode 100644 index 00000000..0026dacf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0072-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@language": "en" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0072-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0072-in.jsonld new file mode 100644 index 00000000..35f7cdd3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0072-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.com/foo": "foo-value" +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/0072-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0072-out.jsonld new file mode 100644 index 00000000..298459cf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0072-out.jsonld @@ -0,0 +1,8 @@ +{ + "http://example.com/foo": { + "@value": "foo-value" + }, + "@context": { + "@language": "en" + } +} diff --git a/core/src/test/resources/json-ld.org/compact/0073-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0073-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0073-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0073-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0073-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0073-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0073-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0073-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0073-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0073-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0073-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0073-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0074-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0074-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0074-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0074-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0074-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0074-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0074-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0074-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0074-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0074-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0074-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0074-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0075-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0075-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0075-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0075-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0075-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0075-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0075-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0075-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0075-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0075-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0075-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0075-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0076-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0076-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0076-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0076-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0076-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0076-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0076-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0076-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0076-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0076-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0076-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0076-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0077-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0077-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0077-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0077-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0077-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0077-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0077-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0077-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0077-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0077-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0077-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0077-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0078-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0078-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0078-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0078-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0078-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0078-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0078-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0078-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0078-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0078-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0078-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0078-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0079-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0079-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0079-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0079-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0079-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0079-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0079-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0079-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0079-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0079-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0079-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0079-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0080-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0080-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0080-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0080-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0080-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0080-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0080-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0080-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0080-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0080-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0080-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0080-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0081-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0081-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0081-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0081-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0081-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0081-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0081-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0081-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0081-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0081-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0081-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0081-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0082-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0082-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0082-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0082-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0082-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0082-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0082-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0082-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0082-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0082-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0082-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0082-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0083-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0083-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0083-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0083-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0083-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0083-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0083-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0083-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0083-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0083-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0083-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0083-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0084-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0084-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0084-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0084-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0084-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0084-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0084-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0084-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0084-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0084-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0084-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0084-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0085-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0085-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0085-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0085-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0085-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0085-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0085-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0085-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0085-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0085-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0085-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0085-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0086-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0086-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0086-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0086-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0086-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0086-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0086-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0086-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0086-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0086-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0086-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0086-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0087-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0087-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0087-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0087-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0087-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0087-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0087-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0087-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0087-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0087-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0087-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0087-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0088-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0088-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0088-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0088-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0088-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0088-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0088-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0088-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0088-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0088-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0088-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0088-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0089-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0089-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0089-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0089-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0089-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0089-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0089-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0089-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0089-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0089-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0089-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0089-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0090-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0090-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0090-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0090-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0090-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0090-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0090-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0090-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0090-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0090-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0090-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0090-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0091-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0091-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0091-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0091-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0091-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0091-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0091-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0091-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0091-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0091-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0091-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0091-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0092-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0092-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0092-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0092-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0092-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0092-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0092-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0092-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0092-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0092-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0092-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0092-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0093-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0093-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0093-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0093-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0093-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0093-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0093-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0093-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0093-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0093-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0093-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0093-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0094-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0094-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0094-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0094-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0094-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0094-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0094-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0094-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0094-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0094-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0094-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0094-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0095-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0095-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0095-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0095-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0095-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0095-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0095-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0095-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0095-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0095-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0095-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0095-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0096-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0096-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0096-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0096-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0096-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0096-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0096-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0096-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0096-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0096-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0096-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0096-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0097-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0097-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0097-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0097-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0097-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0097-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0097-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0097-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0097-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0097-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0097-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0097-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0098-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0098-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0098-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0098-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0098-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0098-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0098-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0098-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0098-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0098-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0098-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0098-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0099-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0099-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0099-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0099-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0099-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0099-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0099-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0099-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0099-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0099-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0099-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0099-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0100-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0100-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0100-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0100-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0100-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0100-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0100-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0100-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0100-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0100-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0100-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0100-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0101-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0101-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0101-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0101-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0101-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0101-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0101-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0101-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0101-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0101-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0101-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0101-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0102-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0102-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0102-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0102-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0102-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0102-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0102-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0102-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0102-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0102-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0102-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0102-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0103-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0103-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0103-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0103-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0103-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0103-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0103-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0103-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0103-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0103-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0103-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0103-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0104-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0104-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0104-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0104-context.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0104-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0104-in.jsonld new file mode 100644 index 00000000..9bcd4848 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0104-in.jsonld @@ -0,0 +1,3 @@ +{ + "@type": "http://example.org/type" +} diff --git a/core/src/test/resources/json-ld.org/compact/0104-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0104-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0104-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0104-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0105-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0105-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0105-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0105-context.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0105-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0105-in.jsonld new file mode 100644 index 00000000..9bcd4848 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0105-in.jsonld @@ -0,0 +1,3 @@ +{ + "@type": "http://example.org/type" +} diff --git a/core/src/test/resources/json-ld.org/compact/0105-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0105-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0105-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0105-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0106-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0106-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0106-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0106-context.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/0106-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0106-in.jsonld new file mode 100644 index 00000000..9bcd4848 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0106-in.jsonld @@ -0,0 +1,3 @@ +{ + "@type": "http://example.org/type" +} diff --git a/core/src/test/resources/json-ld.org/compact/0106-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0106-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0106-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0106-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0107-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0107-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0107-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0107-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0107-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0107-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0107-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0107-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0107-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0107-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0107-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0107-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0108-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0108-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0108-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0108-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0108-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0108-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0108-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0108-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/0108-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0108-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/0108-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/0108-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c001-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c001-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c001-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c001-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c002-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c002-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c002-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c002-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c003-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c003-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c003-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c003-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c003-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c003-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c003-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c004-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c004-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c004-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c004-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c004-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c004-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c004-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c005-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c005-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c005-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c005-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c005-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c005-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c005-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c005-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c006-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c006-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c006-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c006-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c006-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c006-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c006-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c006-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c007-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c007-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c007-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c007-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c007-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c007-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c007-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c007-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c008-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c008-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c008-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c008-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c008-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c008-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c008-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c008-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c009-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c009-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c009-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c009-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c009-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c009-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c009-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c009-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c010-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c010-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c010-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c010-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c010-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c010-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c010-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c010-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c011-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c011-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c011-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c011-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c011-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c011-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c011-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c011-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c011-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c011-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c012-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c012-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c012-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c012-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c012-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c012-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c012-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c012-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c012-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c013-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c013-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c013-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c013-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c013-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c013-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c013-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c013-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c014-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c014-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c014-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c014-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c014-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c014-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c014-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c014-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c015-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c015-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c015-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c015-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c015-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c015-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c015-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c015-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c016-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c016-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c016-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c016-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c016-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c016-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c016-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c016-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c017-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c017-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c017-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c017-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c017-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c017-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c017-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c017-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c018-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c018-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c018-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c018-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c018-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c018-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c018-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c018-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c019-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c019-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c019-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c019-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c019-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c019-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c019-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c019-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c020-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c020-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c020-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c020-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c020-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c020-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c020-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c020-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c020-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c020-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c021-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c021-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c021-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c021-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c021-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c021-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c021-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c021-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c021-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c021-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c021-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c021-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c022-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c022-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c022-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c022-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c022-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c022-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c022-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c022-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c022-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c022-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c023-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c023-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c023-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c023-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c023-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c023-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c023-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c023-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c023-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c023-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c024-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c024-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c024-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c024-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c024-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c024-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c024-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c024-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c024-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c024-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c025-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c025-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c025-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c025-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c025-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c025-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c025-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c025-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/c025-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c025-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/c025-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/c025-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/e001-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/e001-context.jsonld new file mode 100644 index 00000000..29f4e232 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/e001-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "list": {"@id": "http://example/list", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/e001-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/e001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/e001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/e001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/e002-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/e002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/e002-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/e002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/e002-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/e002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/e002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/e002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/en01-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/en01-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/en01-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/en01-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/en01-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/en01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/en01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/en01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep04-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep04-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep04-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep04-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep04-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep05-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep05-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep05-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep05-context.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/ep05-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep05-in.jsonld new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/ep05-in.jsonld @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep06-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep06-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep06-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep06-context.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/compact/ep06-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep06-in.jsonld new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/ep06-in.jsonld @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/compact/ep07-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep07-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep07-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep07-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep07-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep07-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep07-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep07-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep08-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep08-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep08-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep08-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep08-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep08-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep08-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep08-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep09-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep09-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep09-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep09-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep09-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep09-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep09-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep09-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep10-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep10-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep10-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep10-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep10-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep10-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep10-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep10-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep11-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep11-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep11-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep11-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep11-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep11-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep11-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep11-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep12-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep12-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep12-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep12-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep12-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep12-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep12-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep12-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep13-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep13-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep13-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep13-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep13-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep13-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep13-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep13-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep14-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep14-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep14-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep14-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep14-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep14-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep14-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep14-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep15-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep15-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep15-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep15-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/ep15-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/ep15-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/ep15-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/ep15-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/h001-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/h001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h001-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/h001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/h001-in.html b/core/src/test/resources/json-ld-api-tests/compact/h001-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h001-in.html rename to core/src/test/resources/json-ld-api-tests/compact/h001-in.html diff --git a/core/src/test/resources/json-ld.org/compact/h001-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/h001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/h001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/h002-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/h002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h002-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/h002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/h002-in.html b/core/src/test/resources/json-ld-api-tests/compact/h002-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h002-in.html rename to core/src/test/resources/json-ld-api-tests/compact/h002-in.html diff --git a/core/src/test/resources/json-ld.org/compact/h002-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/h002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/h002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/h003-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/h003-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h003-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/h003-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/h003-in.html b/core/src/test/resources/json-ld-api-tests/compact/h003-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h003-in.html rename to core/src/test/resources/json-ld-api-tests/compact/h003-in.html diff --git a/core/src/test/resources/json-ld.org/compact/h003-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/h003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/h003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/h004-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/h004-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h004-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/h004-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/h004-in.html b/core/src/test/resources/json-ld-api-tests/compact/h004-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h004-in.html rename to core/src/test/resources/json-ld-api-tests/compact/h004-in.html diff --git a/core/src/test/resources/json-ld.org/compact/h004-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/h004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/h004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/h004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js01-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js01-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js01-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js01-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js01-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js01-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js01-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js01-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js01-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js02-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js02-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js02-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js02-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js02-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js02-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js02-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js03-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js03-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js03-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js03-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js03-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js03-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js03-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js03-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js03-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js04-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js04-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js04-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js04-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js04-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js04-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js04-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js04-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js04-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js05-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js05-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js05-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js05-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js05-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js05-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js05-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js05-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js05-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js06-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js06-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js06-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js06-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js06-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js06-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js06-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js06-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js06-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js06-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js06-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js07-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js07-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js07-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js07-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js07-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js07-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js07-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js07-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js07-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js07-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js07-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js07-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js08-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js08-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js08-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js08-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js08-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js08-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js08-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js08-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js08-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js08-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js08-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js08-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js09-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js09-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js09-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js09-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js09-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js09-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js09-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js09-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/js09-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js09-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/js09-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/js09-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li01-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li01-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li01-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li01-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li01-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li01-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li01-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li01-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li01-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li02-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li02-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li02-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li02-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li02-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li02-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li02-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li03-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li03-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li03-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li03-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li03-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li03-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li03-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li03-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li03-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li04-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li04-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li04-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li04-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li04-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li04-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li04-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li04-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li04-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li05-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li05-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li05-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li05-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li05-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/li05-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/li05-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/li05-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/li05-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m001-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m001-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m001-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m001-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m002-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m002-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m002-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m002-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m003-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m003-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m003-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m003-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m003-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m003-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m003-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m004-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m004-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m004-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m004-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m004-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m004-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m004-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m005-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m005-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m005-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m005-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m005-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m005-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m005-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m005-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m006-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m006-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m006-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m006-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m006-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m006-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m006-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m006-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m007-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m007-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m007-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m007-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m007-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m007-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m007-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m007-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m008-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m008-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m008-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m008-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m008-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m008-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m008-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m008-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m009-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m009-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m009-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m009-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m009-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m009-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m009-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m009-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m010-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m010-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m010-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m010-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m010-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m010-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m010-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m010-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m011-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m011-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m011-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m011-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m011-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m011-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m011-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m011-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m011-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m011-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m012-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m012-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m012-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m012-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m012-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m012-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m012-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m012-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m012-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m013-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m013-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m013-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m013-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m013-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m013-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m013-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m013-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m014-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m014-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m014-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m014-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m014-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m014-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m014-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m014-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m015-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m015-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m015-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m015-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m015-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m015-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m015-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m015-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m016-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m016-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m016-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m016-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m016-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m016-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m016-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m016-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m017-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m017-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m017-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m017-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m017-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m017-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m017-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m017-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m018-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m018-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m018-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m018-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m018-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m018-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m018-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m018-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m019-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m019-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m019-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m019-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m019-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m019-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/m019-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/m019-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/m019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n001-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n001-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n001-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n001-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n002-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n002-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n002-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n002-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n003-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n003-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n003-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n003-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n003-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n003-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n003-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n004-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n004-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n004-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n004-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n004-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n004-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n004-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n005-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n005-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n005-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n005-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n005-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n005-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n005-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n005-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n006-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n006-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n006-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n006-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n006-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n006-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n006-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n006-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n007-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n007-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n007-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n007-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n007-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n007-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n007-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n007-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n008-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n008-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n008-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n008-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n008-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n008-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n008-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n008-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n009-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n009-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n009-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n009-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n009-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n009-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n009-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n009-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n010-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n010-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n010-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n010-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n010-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n010-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/n010-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/n010-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/n010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p001-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p001-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p001-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p001-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p002-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p002-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p002-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p002-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p003-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p003-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p003-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p003-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p003-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p003-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p003-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p004-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p004-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p004-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p004-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p004-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p004-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p004-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p005-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p005-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p005-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p005-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p005-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p005-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p005-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p005-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p006-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p006-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p006-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p006-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p006-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p006-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p006-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p006-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p007-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p007-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p007-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p007-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p007-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p007-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p007-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p007-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p008-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p008-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p008-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p008-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p008-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p008-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/p008-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/p008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/p008-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/p008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi01-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi01-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi01-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi01-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi01-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi01-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi01-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi01-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi01-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi02-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi02-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi02-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi02-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi02-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi02-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi02-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi03-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi03-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi03-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi03-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi03-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi03-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi03-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi03-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi03-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi04-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi04-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi04-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi04-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi04-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi04-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi04-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi04-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi04-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi05-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi05-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi05-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi05-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi05-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi05-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi05-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi05-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi05-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi06-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi06-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi06-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi06-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi06-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi06-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi06-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pi06-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pi06-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pi06-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pi06-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr01-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr01-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr01-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr01-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr01-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr02-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr02-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr02-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr02-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr02-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr03-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr03-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr03-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr03-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr03-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr04-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr04-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr04-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr04-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr04-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr04-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr04-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr04-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr04-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr05-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr05-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr05-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr05-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr05-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/pr05-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr05-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/pr05-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/pr05-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/r001-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/r001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/r001-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/r001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/r001-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/r001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/r001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/r001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/r001-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/r001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/r001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/r001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/r002-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/r002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/r002-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/r002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/r002-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/r002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/r002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/r002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/r002-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/r002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/r002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/r002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/s001-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/s001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/s001-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/s001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/s001-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/s001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/s001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/s001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/s001-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/s001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/s001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/s001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/s002-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/s002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/s002-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/s002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/s002-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/s002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/s002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/s002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/s002-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/s002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/s002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/s002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/tn01-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/tn01-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/tn01-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/tn01-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/tn01-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/tn01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/tn01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/tn01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/tn01-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/tn01-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/tn01-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/tn01-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/tn02-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/tn02-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/tn02-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/tn02-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/tn02-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/tn02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/tn02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/tn02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/tn02-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/tn02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/tn02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/tn02-out.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/tn03-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/tn03-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/tn03-context.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/tn03-context.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/tn03-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/tn03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/tn03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/tn03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/compact/tn03-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/tn03-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/compact/tn03-out.jsonld rename to core/src/test/resources/json-ld-api-tests/compact/tn03-out.jsonld diff --git a/core/src/test/resources/json-ld.org/context.jsonld b/core/src/test/resources/json-ld-api-tests/context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/context.jsonld rename to core/src/test/resources/json-ld-api-tests/context.jsonld diff --git a/core/src/test/resources/json-ld.org/expand-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/expand-manifest.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand-manifest.jsonld rename to core/src/test/resources/json-ld-api-tests/expand-manifest.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0001-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0001-in.jsonld new file mode 100644 index 00000000..0bfd26f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0001-in.jsonld @@ -0,0 +1 @@ +{"@id": "http://example.org/test#example"} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0001-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0001-out.jsonld new file mode 100644 index 00000000..1e3ec721 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0001-out.jsonld @@ -0,0 +1 @@ +[ ] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0002-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0002-in.jsonld new file mode 100644 index 00000000..e4598e55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0002-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "t1": "http://example.com/t1", + "t2": "http://example.com/t2", + "term1": "http://example.com/term1", + "term2": "http://example.com/term2", + "term3": "http://example.com/term3", + "term4": "http://example.com/term4", + "term5": "http://example.com/term5" + }, + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld.org/expand/hc01-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc01-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0002-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0003-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0003-in.jsonld new file mode 100644 index 00000000..2007f363 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0003-in.jsonld @@ -0,0 +1,12 @@ +{ + "@id": "http://example.org/id", + "http://example.org/property": null, + "regularJson": { + "nonJsonLd": "property", + "deep": [{ + "foo": "bar" + }, { + "bar": "foo" + }] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0003-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0003-out.jsonld new file mode 100644 index 00000000..1e3ec721 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0003-out.jsonld @@ -0,0 +1 @@ +[ ] diff --git a/core/src/test/resources/json-ld.org/expand/0004-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0004-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0004-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0004-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0005-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0005-in.jsonld new file mode 100644 index 00000000..33622d53 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0005-in.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": { + "@id": "http://xmlns.com/foaf/0.1/homepage", + "@type": "@id" + }, + "know": "http://xmlns.com/foaf/0.1/knows", + "@iri": "@id" + }, + "@id": "#me", + "know": [ + { + "@id": "http://example.com/bob#me", + "name": "Bob", + "homepage": "http://example.com/bob" + }, { + "@id": "http://example.com/alice#me", + "name": "Alice", + "homepage": "http://example.com/alice" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0005-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0005-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0005-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0006-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0006-in.jsonld new file mode 100644 index 00000000..045e2a2a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0006-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://example.org/test#property1": { + "@type": "@id" + }, + "http://example.org/test#property2": { + "@type": "@id" + }, + "uri": "@id" + }, + "http://example.org/test#property1": { + "http://example.org/test#property4": "foo", + "uri": "http://example.org/test#example2" + }, + "http://example.org/test#property2": "http://example.org/test#example3", + "http://example.org/test#property3": { + "uri": "http://example.org/test#example4" + }, + "uri": "http://example.org/test#example1" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0006-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0006-out.jsonld new file mode 100644 index 00000000..84a109a0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0006-out.jsonld @@ -0,0 +1,13 @@ +[{ + "@id": "http://example.org/test#example1", + "http://example.org/test#property1": [{ + "@id": "http://example.org/test#example2", + "http://example.org/test#property4": [{"@value": "foo"}] + }], + "http://example.org/test#property2": [{ + "@id": "http://example.org/test#example3" + }], + "http://example.org/test#property3": [{ + "@id": "http://example.org/test#example4" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0007-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0007-in.jsonld new file mode 100644 index 00000000..b49fac4e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0007-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:date": { + "@type": "xsd:dateTime" + }, + "ex:parent": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#example1", + "ex:date": "2011-01-25T00:00:00Z", + "ex:embed": { + "@id": "http://example.org/test#example2", + "ex:parent": "http://example.org/test#example1" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0007-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0007-out.jsonld new file mode 100644 index 00000000..76279e1b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0007-out.jsonld @@ -0,0 +1,13 @@ +[{ + "@id": "http://example.org/test#example1", + "http://example.org/vocab#date": [{ + "@value": "2011-01-25T00:00:00Z", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime" + }], + "http://example.org/vocab#embed": [{ + "@id": "http://example.org/test#example2", + "http://example.org/vocab#parent": [{ + "@id": "http://example.org/test#example1" + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0008-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0008-in.jsonld new file mode 100644 index 00000000..a17b9493 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0008-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test", + "ex:test": { "@value": "test", "@language": "en" }, + "ex:drop-lang-only": { "@language": "en" }, + "ex:keep-full-value": { "@value": "only value" } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0008-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0008-out.jsonld new file mode 100644 index 00000000..91cb7a56 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0008-out.jsonld @@ -0,0 +1,7 @@ +[ + { + "@id": "http://example.org/test", + "http://example.org/vocab#test": [ { "@value": "test", "@language": "en" } ], + "http://example.org/vocab#keep-full-value": [ {"@value": "only value"} ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0009-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0009-in.jsonld new file mode 100644 index 00000000..6acef5c5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0009-in.jsonld @@ -0,0 +1,43 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "authored": "http://example.org/test#chapter", + "name": "Jane" + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0009-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0009-out.jsonld new file mode 100644 index 00000000..376c11cd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0009-out.jsonld @@ -0,0 +1,29 @@ +[ + { + "@id": "http://example.org/test#chapter", + "http://purl.org/dc/elements/1.1/description": [{"@value": "Fun"}], + "http://purl.org/dc/elements/1.1/title": [{"@value": "Chapter One"}] + }, + { + "@id": "http://example.org/test#jane", + "http://example.org/vocab#authored": [{ + "@id": "http://example.org/test#chapter" + }], + "http://xmlns.com/foaf/0.1/name": [{"@value": "Jane"}] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": [{"@value": "John"}] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [{ + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [{ + "@id": "http://example.org/test#chapter" + }], + "http://purl.org/dc/elements/1.1/contributor": [{"@value": "Writer"}], + "http://purl.org/dc/elements/1.1/title": [{"@value": "My Book"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0010-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0010-in.jsonld new file mode 100644 index 00000000..f2d0a384 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0010-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "d": "http://purl.org/dc/elements/1.1/", + "e": "http://example.org/vocab#", + "f": "http://xmlns.com/foaf/0.1/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test", + "e:bool": true, + "e:int": 123 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0010-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0010-out.jsonld new file mode 100644 index 00000000..5c60b4a4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0010-out.jsonld @@ -0,0 +1,5 @@ +[{ + "@id": "http://example.org/test", + "http://example.org/vocab#bool": [{"@value": true}], + "http://example.org/vocab#int": [{"@value": 123}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0011-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0011-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0011-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0011-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0011-out.jsonld new file mode 100644 index 00000000..08a05db9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0011-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [{ + "@id": "http://example.org/test#chapter" + }], + "http://purl.org/dc/elements/1.1/title": [{"@value": "Title"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0012-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0012-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0012-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0012-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0012-out.jsonld new file mode 100644 index 00000000..376c11cd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0012-out.jsonld @@ -0,0 +1,29 @@ +[ + { + "@id": "http://example.org/test#chapter", + "http://purl.org/dc/elements/1.1/description": [{"@value": "Fun"}], + "http://purl.org/dc/elements/1.1/title": [{"@value": "Chapter One"}] + }, + { + "@id": "http://example.org/test#jane", + "http://example.org/vocab#authored": [{ + "@id": "http://example.org/test#chapter" + }], + "http://xmlns.com/foaf/0.1/name": [{"@value": "Jane"}] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": [{"@value": "John"}] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [{ + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [{ + "@id": "http://example.org/test#chapter" + }], + "http://purl.org/dc/elements/1.1/contributor": [{"@value": "Writer"}], + "http://purl.org/dc/elements/1.1/title": [{"@value": "My Book"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0013-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0013-in.jsonld new file mode 100644 index 00000000..7795576f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0013-in.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": ["v1"], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [4], + "http://example.com/term5": [50, 51] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc02-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0014-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0014-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0014-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0014-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0014-out.jsonld new file mode 100644 index 00000000..748e6d54 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0014-out.jsonld @@ -0,0 +1,31 @@ +[ + { + "http://example.org/test#property1": [ + { + "@id": "http://example.org/test#example2", + "http://example.org/test#property4": [ + {"@value": "foo"} + ] + } + ], + "http://example.org/test#property2": [ + { "@id": "http://example.org/test#example3" } + ], + "http://example.org/test#property3": [ + { "@id": "http://example.org/test#example4" } + ], + "http://example.org/test#property4": [ + { + "@id": "http://example.org/test#example4", + "http://example.org/test#property5": [ + { + "@value": "2012-03-31", + "@type": "http://www.w3.org/2001/XMLSchema#date" + } + ] + } + ], + "http://example.org/test#property6": [], + "@id": "http://example.org/test#example1" + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0015-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0015-in.jsonld new file mode 100644 index 00000000..ae60d731 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0015-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set" }, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set" } + }, + "@id": "http://example.org/id", + "mylist1": [], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "myset3": [ { "@set": [ "hello", "this" ] }, "will", { "@set": [ "be", "collapsed" ] } ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0015-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0015-out.jsonld new file mode 100644 index 00000000..c627939f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0015-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.org/id", + "http://example.com/mylist1": [ { "@list": [] } ], + "http://example.com/myset1": [ ], + "http://example.com/myset2": [ ], + "http://example.com/myset3": [ + {"@value": "hello"}, + {"@value": "this"}, + {"@value": "will"}, + {"@value": "be"}, + {"@value": "collapsed"} ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0016-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0016-in.jsonld new file mode 100644 index 00000000..c151040a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0016-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "myproperty": { "@id": "http://example.com/myproperty" }, + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set" } + }, + "@id": "http://example.org/id1", + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "myproperty": { + "@context": null, + "@id": "http://example.org/id2", + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "http://example.org/myproperty2": "ok" + }, + "http://example.com/emptyobj": { + "@context": null, + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0016-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0016-out.jsonld new file mode 100644 index 00000000..3403e10a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0016-out.jsonld @@ -0,0 +1,18 @@ +[ + { + "@id": "http://example.org/id1", + "http://example.com/mylist1": [ { "@list": [] } ], + "http://example.com/mylist2": [ + { "@list": [ {"@value": 2}, {"@value": "hi"} ] } + ], + "http://example.com/myset1": [ ], + "http://example.com/myset2": [ ], + "http://example.com/myproperty": [ + { + "@id": "http://example.org/id2", + "http://example.org/myproperty2": [ {"@value": "ok"} ] + } + ], + "http://example.com/emptyobj": [ { } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0017-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0017-in.jsonld new file mode 100644 index 00000000..dea8bf80 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0017-in.jsonld @@ -0,0 +1,45 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + }, + "id": "@id", + "data": "@graph" + }, + "data": [ + { + "id": "http://example.org/test#chapter", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "authored": "http://example.org/test#chapter", + "name": "Jane" + }, + { + "id": "http://example.org/test#john", + "name": "John" + }, + { + "id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0017-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0017-out.jsonld new file mode 100644 index 00000000..376c11cd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0017-out.jsonld @@ -0,0 +1,29 @@ +[ + { + "@id": "http://example.org/test#chapter", + "http://purl.org/dc/elements/1.1/description": [{"@value": "Fun"}], + "http://purl.org/dc/elements/1.1/title": [{"@value": "Chapter One"}] + }, + { + "@id": "http://example.org/test#jane", + "http://example.org/vocab#authored": [{ + "@id": "http://example.org/test#chapter" + }], + "http://xmlns.com/foaf/0.1/name": [{"@value": "Jane"}] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": [{"@value": "John"}] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [{ + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [{ + "@id": "http://example.org/test#chapter" + }], + "http://purl.org/dc/elements/1.1/contributor": [{"@value": "Writer"}], + "http://purl.org/dc/elements/1.1/title": [{"@value": "My Book"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0018-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0018-in.jsonld new file mode 100644 index 00000000..21933fda --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0018-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "@language": "en", + "de": { "@id": "ex:german", "@language": "de" }, + "nolang": { "@id": "ex:nolang", "@language": null } + }, + "@id": "http://example.org/test", + "ex:test-default": [ + "hello", + 1, + true + ], + "de": [ + "hallo", + 2, + true + ], + "nolang": [ + "no language", + 3, + false + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0018-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0018-out.jsonld new file mode 100644 index 00000000..12d54b26 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0018-out.jsonld @@ -0,0 +1,8 @@ +[ + { + "@id": "http://example.org/test", + "http://example.org/vocab#test-default": [ { "@value": "hello", "@language": "en" }, { "@value": 1 }, { "@value": true } ], + "http://example.org/vocab#german": [ { "@value": "hallo", "@language": "de" }, { "@value": 2 }, { "@value": true } ], + "http://example.org/vocab#nolang": [ {"@value": "no language"}, { "@value": 3 }, { "@value": false } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0019-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0019-in.jsonld new file mode 100644 index 00000000..b91f8860 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0019-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "myproperty": "http://example.com/myproperty" + }, + "myproperty": { "@value" : null } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0019-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0019-out.jsonld new file mode 100644 index 00000000..1e3ec721 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0019-out.jsonld @@ -0,0 +1 @@ +[ ] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0020-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0020-in.jsonld new file mode 100644 index 00000000..989e1192 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0020-in.jsonld @@ -0,0 +1,51 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "@graph": [ + { + "@id": "http://example.org/test#jane", + "name": "Jane", + "authored": { + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#chapter2", + "description": "More fun", + "title": "Chapter Two" + } + ] + } + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0020-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0020-out.jsonld new file mode 100644 index 00000000..2e929d09 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0020-out.jsonld @@ -0,0 +1,37 @@ +[ + { + "@id": "http://example.org/test#jane", + "http://xmlns.com/foaf/0.1/name": [ {"@value": "Jane"} ], + "http://example.org/vocab#authored": [ + { + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "http://purl.org/dc/elements/1.1/description": [ {"@value": "Fun"} ], + "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter One"} ] + }, + { + "@id": "http://example.org/test#chapter2", + "http://purl.org/dc/elements/1.1/description": [ {"@value": "More fun"} ], + "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter Two"} ] + } + ] + } + ] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": [ {"@value": "John"} ] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ], + "http://purl.org/dc/elements/1.1/contributor": [ {"@value": "Writer"} ], + "http://purl.org/dc/elements/1.1/title": [ {"@value": "My Book"} ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0021-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0021-in.jsonld new file mode 100644 index 00000000..e52fd1b8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0021-in.jsonld @@ -0,0 +1,56 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "title": "My first graph", + "@graph": [ + { + "@id": "http://example.org/test#jane", + "name": "Jane", + "authored": { + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#chapter2", + "description": "More fun", + "title": "Chapter Two" + }, + { + "@id": "http://example.org/test#chapter3", + "title": "Chapter Three" + } + ] + } + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0021-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0021-out.jsonld new file mode 100644 index 00000000..99a5aa54 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0021-out.jsonld @@ -0,0 +1,46 @@ +[ + { + "http://purl.org/dc/elements/1.1/title": [ {"@value": "My first graph"} ], + "@graph": [ + { + "@id": "http://example.org/test#jane", + "http://xmlns.com/foaf/0.1/name": [ {"@value": "Jane"} ], + "http://example.org/vocab#authored": [ + { + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "http://purl.org/dc/elements/1.1/description": [ {"@value": "Fun"} ], + "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter One"} ] + }, + { + "@id": "http://example.org/test#chapter2", + "http://purl.org/dc/elements/1.1/description": [ {"@value": "More fun"} ], + "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter Two"} ] + }, + { + "@id": "http://example.org/test#chapter3", + "http://purl.org/dc/elements/1.1/title": [ {"@value": "Chapter Three"} ] + } + ] + } + ] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": [ {"@value": "John"} ] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [ { "@id": "http://example.org/test#chapter" } ], + "http://purl.org/dc/elements/1.1/contributor": [ {"@value": "Writer"} ], + "http://purl.org/dc/elements/1.1/title": [ {"@value": "My Book"} ] + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0022-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0022-in.jsonld new file mode 100644 index 00000000..e7f938ae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0022-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": "http://example.com/term", + "@language": "en" + }, + "term": "v" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0022-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0022-out.jsonld new file mode 100644 index 00000000..ebdf8d4a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0022-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/term": [{"@value": "v", "@language": "en"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0023-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0023-in.jsonld new file mode 100644 index 00000000..2a33783d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0023-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "xsd": "http://www.w3.org/2001/XMLSchema#", + "idlist": {"@id": "http://example.com/idlist", "@container": "@list", "@type": "@id"}, + "datelist": {"@id": "http://example.com/datelist", "@container": "@list", "@type": "xsd:date"}, + "idset": {"@id": "http://example.com/idset", "@container": "@set", "@type": "@id"}, + "dateset": {"@id": "http://example.com/dateset", "@container": "@set", "@type": "xsd:date"}, + "idprop": {"@id": "http://example.com/idprop", "@type": "@id" }, + "dateprop": {"@id": "http://example.com/dateprop", "@type": "xsd:date" }, + "idprop2": {"@id": "http://example.com/idprop2", "@type": "@id" }, + "dateprop2": {"@id": "http://example.com/dateprop2", "@type": "xsd:date" } + }, + "idlist": ["http://example.org/id"], + "datelist": ["2012-04-12"], + "idprop": {"@list": ["http://example.org/id"]}, + "dateprop": {"@list": ["2012-04-12"]}, + "idset": ["http://example.org/id"], + "dateset": ["2012-04-12"], + "idprop2": {"@set": ["http://example.org/id"]}, + "dateprop2": {"@set": ["2012-04-12"]} +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0023-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0023-out.jsonld new file mode 100644 index 00000000..66e0285c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0023-out.jsonld @@ -0,0 +1,12 @@ +[ + { + "http://example.com/idlist": [{"@list": [{"@id": "http://example.org/id"}]}], + "http://example.com/datelist": [{"@list": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}]}], + "http://example.com/idprop": [{"@list": [{"@id": "http://example.org/id"}]}], + "http://example.com/dateprop": [{"@list": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}]}], + "http://example.com/idset": [{"@id": "http://example.org/id"}], + "http://example.com/dateset": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}], + "http://example.com/idprop2": [{"@id": "http://example.org/id"}], + "http://example.com/dateprop2": [{"@value": "2012-04-12","@type": "http://www.w3.org/2001/XMLSchema#date"}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0024-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0024-in.jsonld new file mode 100644 index 00000000..fcf010c4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0024-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": [ + { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage","@type": "@id"} + }, + {"ical": "http://www.w3.org/2002/12/cal/ical#"} + ], + "@id": "http://example.com/speakers#Alice", + "name": "Alice", + "homepage": "http://xkcd.com/177/", + "ical:summary": "Alice Talk", + "ical:location": "Lyon Convention Centre, Lyon, France" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0024-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0024-out.jsonld new file mode 100644 index 00000000..f2b21d8d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0024-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "http://example.com/speakers#Alice", + "http://xmlns.com/foaf/0.1/name": [{"@value": "Alice"}], + "http://xmlns.com/foaf/0.1/homepage": [{"@id": "http://xkcd.com/177/"}], + "http://www.w3.org/2002/12/cal/ical#summary": [{"@value": "Alice Talk"}], + "http://www.w3.org/2002/12/cal/ical#location": [{"@value": "Lyon Convention Centre, Lyon, France"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/0025-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0025-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0025-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0025-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0025-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0025-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0025-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0025-out.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0066-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0026-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0066-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0026-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0026-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0026-out.jsonld new file mode 100644 index 00000000..75dc58d9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0026-out.jsonld @@ -0,0 +1,21 @@ +[ + { + "@id": "http://example.com/a", + "@type": [ + "http://example.com/b" + ] + }, + { + "@id": "http://example.com/c", + "@type": [ + "http://example.com/d", + "http://example.com/e" + ] + }, + { + "@id": "http://example.com/f", + "@type": [ + "http://example.com/g" + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0027-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0027-in.jsonld new file mode 100644 index 00000000..6c47cfb7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0027-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, + "myset": {"@id": "http://example.com/myset", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist": [1, 2, 2, 3], + "myset": [1, 2, 2, 3] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0027-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0027-out.jsonld new file mode 100644 index 00000000..15efa2e3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0027-out.jsonld @@ -0,0 +1,17 @@ +[{ + "@id": "http://example.org/id", + "http://example.com/mylist": [{ + "@list": [ + {"@value": 1}, + {"@value": 2}, + {"@value": 2}, + {"@value": 3} + ] + }], + "http://example.com/myset": [ + {"@value": 1}, + {"@value": 2}, + {"@value": 2}, + {"@value": 3} + ] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0028-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0028-in.jsonld new file mode 100644 index 00000000..4f05d0e4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0028-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/vocab#", + "date": { "@type": "dateTime" } + }, + "@id": "example1", + "@type": "test", + "date": "2011-01-25T00:00:00Z", + "embed": { + "@id": "example2", + "expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "dateTime" } + } +} diff --git a/core/src/test/resources/json-ld.org/expand/0028-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0028-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0028-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0028-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0029-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0029-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0029-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0029-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0029-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0029-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0029-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0029-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0030-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0030-in.jsonld new file mode 100644 index 00000000..ca711673 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0030-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0030-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0030-out.jsonld new file mode 100644 index 00000000..b598483f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0030-out.jsonld @@ -0,0 +1,18 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": + [ + { + "@value": "Die Königin", + "@language": "de" + }, { + "@value": "Ihre Majestät", + "@language": "de" + }, { + "@value": "The Queen", + "@language": "en" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0031-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0031-in.jsonld new file mode 100644 index 00000000..192ff27c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0031-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "ex:integer": { "@type": "xsd:integer" }, + "ex:double": { "@type": "xsd:double" }, + "ex:boolean": { "@type": "xsd:boolean" } + }, + "@id": "http://example.org/test#example1", + "ex:integer": 1, + "ex:double": 123.45, + "ex:boolean": true +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0031-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0031-out.jsonld new file mode 100644 index 00000000..8b87d714 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0031-out.jsonld @@ -0,0 +1,17 @@ +[ + { + "@id": "http://example.org/test#example1", + "http://example.org/vocab#integer": [ { + "@value": 1, + "@type": "http://www.w3.org/2001/XMLSchema#integer" + } ], + "http://example.org/vocab#double": [ { + "@value": 123.45, + "@type": "http://www.w3.org/2001/XMLSchema#double" + } ], + "http://example.org/vocab#boolean": [ { + "@value": true, + "@type": "http://www.w3.org/2001/XMLSchema#boolean" + } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0032-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0032-in.jsonld new file mode 100644 index 00000000..920554fc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0032-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://xmlns.com/foaf/0.1/", + "from": null, + "university": { "@id": null } + }, + "@id": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "from": "Italy", + "university": "TU Graz" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0032-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0032-out.jsonld new file mode 100644 index 00000000..abdba13a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0032-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://me.markus-lanthaler.com/", + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "Markus Lanthaler" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0033-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0033-in.jsonld new file mode 100644 index 00000000..abf6feed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0033-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab#", + "homepage": { + "@type": "@id" + }, + "created_at": { + "@type": "http://www.w3.org/2001/XMLSchema#date" + } + }, + "name": "Markus Lanthaler", + "homepage": "http://www.markus-lanthaler.com/", + "created_at": "2012-10-28" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0033-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0033-out.jsonld new file mode 100644 index 00000000..5637ced3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0033-out.jsonld @@ -0,0 +1,12 @@ +[{ + "http://example.com/vocab#name": [{ + "@value": "Markus Lanthaler" + }], + "http://example.com/vocab#homepage": [{ + "@id": "http://www.markus-lanthaler.com/" + }], + "http://example.com/vocab#created_at": [{ + "@value": "2012-10-28", + "@type": "http://www.w3.org/2001/XMLSchema#date" + }] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0034-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0034-in.jsonld new file mode 100644 index 00000000..22bb6039 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0034-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "colliding": "http://example.com/vocab/collidingTerm" + }, + "@id": "http://example.com/IriCollissions", + "colliding": [ + "value 1", + 2 + ], + "collidingTerm": [ + 3, + "four" + ], + "http://example.com/vocab/collidingTerm": 5 +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0034-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0034-out.jsonld new file mode 100644 index 00000000..afa7687b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0034-out.jsonld @@ -0,0 +1,17 @@ +[{ + "@id": "http://example.com/IriCollissions", + "http://example.com/vocab/collidingTerm": [ + { + "@value": "value 1" + }, { + "@value": 2 + }, { + "@value": 3 + }, { + "@value": "four" + }, + { + "@value": 5 + } + ] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0035-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0035-in.jsonld new file mode 100644 index 00000000..7bf59112 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0035-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "@language": "it", + "label": { + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + }, + "http://example.com/vocab/label": [ + "Il re", + { "@value": "The king", "@language": "en" } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0035-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0035-out.jsonld new file mode 100644 index 00000000..74a5f42a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0035-out.jsonld @@ -0,0 +1,21 @@ +[{ + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + { + "@value": "Il re", + "@language": "it" + }, { + "@value": "The king", + "@language": "en" + }, { + "@value": "Die Königin", + "@language": "de" + }, { + "@value": "Ihre Majestät", + "@language": "de" + }, { + "@value": "The Queen", + "@language": "en" + } + ] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0036-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0036-in.jsonld new file mode 100644 index 00000000..23c99b55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0036-in.jsonld @@ -0,0 +1,90 @@ +{ + "@context": { + "property": "http://example.com/property", + "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } + }, + "@id": "http://example.org/indexTest", + "indexContainer": { + "A": [ + { + "@id": "http://example.org/nodeWithoutIndexA" + }, + { + "@id": "http://example.org/nodeWithIndexA", + "@index": "this overrides the 'A' index from the container" + }, + 1, + true, + false, + null, + "simple string A", + { + "@value": "typed literal A", + "@type": "http://example.org/type" + }, + { + "@value": "language-tagged string A", + "@language": "en" + } + ], + "B": "simple string B", + "C": [ + { + "@id": "http://example.org/nodeWithoutIndexC" + }, + { + "@id": "http://example.org/nodeWithIndexC", + "@index": "this overrides the 'C' index from the container" + }, + 3, + true, + false, + null, + "simple string C", + { + "@value": "typed literal C", + "@type": "http://example.org/type" + }, + { + "@value": "language-tagged string C", + "@language": "en" + } + ] + }, + "property": [ + { + "@id": "http://example.org/nodeWithoutIndexProp" + }, + { + "@id": "http://example.org/nodeWithIndexProp", + "@index": "prop" + }, + { + "@value": 3, + "@index": "prop" + }, + { + "@value": true, + "@index": "prop" + }, + { + "@value": false, + "@index": "prop" + }, + { + "@value": null, + "@index": "prop" + }, + "simple string no index", + { + "@value": "typed literal Prop", + "@type": "http://example.org/type", + "@index": "prop" + }, + { + "@value": "language-tagged string Prop", + "@language": "en", + "@index": "prop" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0036-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0036-out.jsonld new file mode 100644 index 00000000..850353e2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0036-out.jsonld @@ -0,0 +1,113 @@ +[ + { + "@id": "http://example.org/indexTest", + "http://example.com/container": [ + { + "@id": "http://example.org/nodeWithoutIndexA", + "@index": "A" + }, + { + "@id": "http://example.org/nodeWithIndexA", + "@index": "this overrides the 'A' index from the container" + }, + { + "@value": 1, + "@index": "A" + }, + { + "@value": true, + "@index": "A" + }, + { + "@value": false, + "@index": "A" + }, + { + "@value": "simple string A", + "@index": "A" + }, + { + "@value": "typed literal A", + "@type": "http://example.org/type", + "@index": "A" + }, + { + "@value": "language-tagged string A", + "@language": "en", + "@index": "A" + }, + { + "@value": "simple string B", + "@index": "B" + }, + { + "@id": "http://example.org/nodeWithoutIndexC", + "@index": "C" + }, + { + "@id": "http://example.org/nodeWithIndexC", + "@index": "this overrides the 'C' index from the container" + }, + { + "@value": 3, + "@index": "C" + }, + { + "@value": true, + "@index": "C" + }, + { + "@value": false, + "@index": "C" + }, + { + "@value": "simple string C", + "@index": "C" + }, + { + "@value": "typed literal C", + "@type": "http://example.org/type", + "@index": "C" + }, + { + "@value": "language-tagged string C", + "@language": "en", + "@index": "C" + } + ], + "http://example.com/property": [ + { + "@id": "http://example.org/nodeWithoutIndexProp" + }, + { + "@id": "http://example.org/nodeWithIndexProp", + "@index": "prop" + }, + { + "@value": 3, + "@index": "prop" + }, + { + "@value": true, + "@index": "prop" + }, + { + "@value": false, + "@index": "prop" + }, + { + "@value": "simple string no index" + }, + { + "@value": "typed literal Prop", + "@type": "http://example.org/type", + "@index": "prop" + }, + { + "@value": "language-tagged string Prop", + "@language": "en", + "@index": "prop" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0037-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0037-in.jsonld new file mode 100644 index 00000000..7e65af4a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0037-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0037-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0037-out.jsonld new file mode 100644 index 00000000..c03623ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0037-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0038-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0038-in.jsonld new file mode 100644 index 00000000..17071294 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0038-in.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "term": "_:term", + "termId": { "@id": "term", "@type": "@id" } + }, + "@id": "_:term", + "@type": "_:term", + "term": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Bx", + "term": "term" + }, + "plain value", + { + "@id": "_:term" + } + ], + "termId": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Cx", + "term": "termId" + }, + "term:AppendedToBlankNode", + "_:termAppendedToBlankNode", + "relativeIri", + { + "@id": "_:term" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/expand/0038-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0038-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0038-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0038-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0039-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0039-in.jsonld new file mode 100644 index 00000000..7c3549ee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0039-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0039-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0039-out.jsonld new file mode 100644 index 00000000..c03623ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0039-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0040-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0040-in.jsonld new file mode 100644 index 00000000..2d02e0ad --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0040-in.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + }, + "indexes": { + "@id": "vocab:index", + "@container": "@index" + } + }, + "@id": "http://example.com/queen", + "label": [ + "The Queen" + ], + "indexes": + [ + "No", + "indexes", + { "@id": "asTheValueIsntAnObject" } + ] +} diff --git a/core/src/test/resources/json-ld.org/expand/0040-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0040-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0040-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0040-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0041-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0041-in.jsonld new file mode 100644 index 00000000..7915153e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0041-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "property": "http://example.com/property", + "nested": "http://example.com/nested", + "@language": "en" + }, + "property": "this is English", + "nested": { + "@context": { + "@language": null + }, + "property": "and this is a plain string" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0041-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0041-out.jsonld new file mode 100644 index 00000000..923a5200 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0041-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "http://example.com/property": [ { "@value": "this is English", "@language": "en" } ], + "http://example.com/nested": [ + { + "http://example.com/property": [ { "@value": "and this is a plain string" } ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0042-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0042-in.jsonld new file mode 100644 index 00000000..60cf9ac2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0042-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0042-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0042-out.jsonld new file mode 100644 index 00000000..c03623ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0042-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0043-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0043-in.jsonld new file mode 100644 index 00000000..8ef07587 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0043-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "isKnownBy": [ + { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + { + "@id": "http://example.com/people/gregg", + "name": "Gregg Kellogg" + } + ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0043-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0043-out.jsonld new file mode 100644 index 00000000..d6d2ab38 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0043-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/people/markus", + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + }, + { + "@id": "http://example.com/people/gregg", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] + } + ], + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0044-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0044-in.jsonld new file mode 100644 index 00000000..c12bd7b2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0044-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "property": { "@id": "http://example.com/vocab/property", "@language": "de" }, + "indexMap": { "@id": "http://example.com/vocab/indexMap", "@language": "en", "@container": "@index" } + }, + "@id": "http://example.com/node", + "property": [ + { + "@id": "http://example.com/propertyValueNode", + "indexMap": { + "expands to english string": "simple string" + } + }, + "einfacher String" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0044-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0044-out.jsonld new file mode 100644 index 00000000..d5192b92 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0044-out.jsonld @@ -0,0 +1,21 @@ +[ + { + "@id": "http://example.com/node", + "http://example.com/vocab/property": [ + { + "@id": "http://example.com/propertyValueNode", + "http://example.com/vocab/indexMap": [ + { + "@value": "simple string", + "@language": "en", + "@index": "expands to english string" + } + ] + }, + { + "@value": "einfacher String", + "@language": "de" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0045-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0045-in.jsonld new file mode 100644 index 00000000..09207e31 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0045-in.jsonld @@ -0,0 +1,3 @@ +{ + "@value": "free-floating value" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0045-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0045-out.jsonld new file mode 100644 index 00000000..1e3ec721 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0045-out.jsonld @@ -0,0 +1 @@ +[ ] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0046-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0046-in.jsonld new file mode 100644 index 00000000..081a8877 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0046-in.jsonld @@ -0,0 +1,14 @@ +{ + "@graph": [ + { "@id": "http://example.com/free-floating-node" }, + { "@value": "free-floating value object" }, + { "@value": "free-floating value language-tagged string", "@language": "en" }, + { "@value": "free-floating value typed value", "@type": "http://example.com/type" }, + "free-floating plain string", + true, + false, + null, + 1, + 1.5 + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0046-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0046-out.jsonld new file mode 100644 index 00000000..1e3ec721 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0046-out.jsonld @@ -0,0 +1 @@ +[ ] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0047-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0047-in.jsonld new file mode 100644 index 00000000..90d54114 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0047-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "property": "http://example.com/property" + }, + "@graph": [ + { + "@set": [ + "free-floating strings in set objects are removed", + { + "@id": "http://example.com/free-floating-node" + }, + { + "@id": "http://example.com/node", + "property": "nodes with properties are not removed" + } + ] + }, + { + "@list": [ + "lists are removed even though they represent an invisible linked structure, they have no real meaning", + { + "@id": "http://example.com/node-in-free-floating-list", + "property": "everything inside a free-floating list is removed with the list; also nodes with properties" + } + ] + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0047-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0047-out.jsonld new file mode 100644 index 00000000..dba2d8ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0047-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/node", + "http://example.com/property": [ + { + "@value": "nodes with properties are not removed" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/expand/0048-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0048-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0048-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0048-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0048-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0048-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0048-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0048-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0049-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0049-in.jsonld new file mode 100644 index 00000000..3f10e016 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0049-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + "http://example.com/people/dave", + "http://example.com/people/gregg" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0049-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0049-out.jsonld new file mode 100644 index 00000000..f63e141a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0049-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave" + }, + { + "@id": "http://example.com/people/gregg" + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0050-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0050-in.jsonld new file mode 100644 index 00000000..01b24726 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0050-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "issue": { "@id": "http://example.com/issue/", "@type": "@id" }, + "issue:raisedBy": { "@container": "@set" } + }, + "issue": "/issue/1", + "issue:raisedBy": "Markus" +} diff --git a/core/src/test/resources/json-ld.org/expand/0050-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0050-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0050-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0050-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0051-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0051-in.jsonld new file mode 100644 index 00000000..77b7fbd8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0051-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": [ + { "id": "@id" }, + { "url": "id" } + ], + "url": "/issue/1", + "http://example.com/property": "ok" +} diff --git a/core/src/test/resources/json-ld.org/expand/0051-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0051-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0051-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0051-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0052-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0052-in.jsonld new file mode 100644 index 00000000..ee3d9d2e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0052-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "property": "vocabRelativeProperty" + }, + "property": "must expand to http://example.org/vocabRelativeProperty", + "http://example.org/property": "ok" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0052-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0052-out.jsonld new file mode 100644 index 00000000..27501fbe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0052-out.jsonld @@ -0,0 +1,6 @@ +[ + { + "http://example.org/property": [ { "@value": "ok" } ], + "http://example.org/vocabRelativeProperty": [ { "@value": "must expand to http://example.org/vocabRelativeProperty" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0053-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0053-in.jsonld new file mode 100644 index 00000000..3ac3ea98 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0053-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"} + }, + "term": "http://example.org/enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0053-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0053-out.jsonld new file mode 100644 index 00000000..7be3023c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0053-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/term": [{"@id": "http://example.org/enum"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0054-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0054-in.jsonld new file mode 100644 index 00000000..680afbf0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0054-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"}, + "enum": {"@id": "http://example.org/enum"} + }, + "term": "enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0054-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0054-out.jsonld new file mode 100644 index 00000000..7be3023c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0054-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/term": [{"@id": "http://example.org/enum"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0055-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0055-in.jsonld new file mode 100644 index 00000000..1c5ed3b0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0055-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "term": {"@id": "http://example.org/term", "@type": "@vocab"} + }, + "term": "enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0055-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0055-out.jsonld new file mode 100644 index 00000000..7be3023c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0055-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/term": [{"@id": "http://example.org/enum"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0056-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0056-in.jsonld new file mode 100644 index 00000000..6d5b0cb9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0056-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, + "link": { "@id": "http://example.com/link", "@type": "@id" }, + "MarkusHomepage": "http://www.markus-lanthaler.com/", + "relative-iri": "http://example.com/error-if-this-is-used-for-link" + }, + "@id": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "homepage": "MarkusHomepage", + "link": "relative-iri" +} diff --git a/core/src/test/resources/json-ld.org/expand/0056-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0056-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0056-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0056-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0057-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0057-in.jsonld new file mode 100644 index 00000000..732cc923 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0057-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" } + }, + "term": "not-a-term-thus-a-relative-IRI" +} diff --git a/core/src/test/resources/json-ld.org/expand/0057-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0057-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0057-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0057-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0058-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0058-in.jsonld new file mode 100644 index 00000000..68dc3249 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0058-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" }, + "prefix": "http://example.com/vocab#" + }, + "term": "prefix:suffix" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0058-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0058-out.jsonld new file mode 100644 index 00000000..f127a40d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0058-out.jsonld @@ -0,0 +1,5 @@ +[ + { + "http://example.org/term": [ { "@id": "http://example.com/vocab#suffix" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0059-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0059-in.jsonld new file mode 100644 index 00000000..05f582f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0059-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.org/vocab#" + }, + "@id": "example-with-vocab", + "@type": "vocab-prefixed", + "property": "property expanded using @vocab", + "embed": { + "@context": { + "@vocab": null + }, + "@id": "example-vocab-reset", + "@type": "document-relative", + "property": "@vocab reset, property will be dropped" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/0059-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0059-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0059-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0059-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0060-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0060-in.jsonld new file mode 100644 index 00000000..dbae017a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0060-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "property": "http://example.com/vocab#property" + }, + "@id": "../document-relative", + "@type": "#document-relative", + "property": { + "@context": { + "@base": "http://example.org/test/" + }, + "@id": "../document-base-overwritten", + "@type": "#document-base-overwritten", + "property": [ + { + "@context": null, + "@id": "../document-relative", + "@type": "#document-relative", + "property": "context completely reset, drops property" + }, + { + "@context": { + "@base": null + }, + "@id": "../document-relative", + "@type": "#document-relative", + "property": "only @base is cleared" + } + ] + } +} diff --git a/core/src/test/resources/json-ld.org/expand/0060-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0060-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0060-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0060-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0061-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0061-in.jsonld new file mode 100644 index 00000000..45c1d511 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0061-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "property": { + "@id": "http://example.com/property", + "@type": "http://example.com/datatype" + } + }, + "property": [ 1, true, false, 5.1 ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0061-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0061-out.jsonld new file mode 100644 index 00000000..bdde6474 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0061-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "http://example.com/property": [ + { "@value": 1, "@type": "http://example.com/datatype" }, + { "@value": true, "@type": "http://example.com/datatype" }, + { "@value": false, "@type": "http://example.com/datatype" }, + { "@value": 5.1, "@type": "http://example.com/datatype" } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0062-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0062-in.jsonld new file mode 100644 index 00000000..fb472514 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0062-in.jsonld @@ -0,0 +1,35 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file#with-a-fragment", + "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } + }, + "@id": "relativeIris", + "@type": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "../../../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ], + "links": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "./../../../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative", + "//example.org/../scheme-relative", + "//example.org/.././useless/../../scheme-relative" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0062-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0062-out.jsonld new file mode 100644 index 00000000..5a939f0e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0062-out.jsonld @@ -0,0 +1,35 @@ +[ + { + "@id": "http://example.com/some/deep/directory/and/relativeIris", + "@type": [ + "http://example.com/some/deep/directory/and/link", + "http://example.com/some/deep/directory/and/file#fragment-works", + "http://example.com/some/deep/directory/and/file?query=works", + "http://example.com/some/deep/directory/and/", + "http://example.com/some/deep/directory/", + "http://example.com/some/deep/directory/parent", + "http://example.com/some/deep/parent-parent-eq-root", + "http://example.com/still-root", + "http://example.com/too-many-dots", + "http://example.com/absolute", + "http://example.org/scheme-relative" + ], + "http://www.example.com/link": [ { + "@list": [ + { "@id": "http://example.com/some/deep/directory/and/link" }, + { "@id": "http://example.com/some/deep/directory/and/file#fragment-works" }, + { "@id": "http://example.com/some/deep/directory/and/file?query=works" }, + { "@id": "http://example.com/some/deep/directory/and/" }, + { "@id": "http://example.com/some/deep/directory/" }, + { "@id": "http://example.com/some/deep/directory/parent" }, + { "@id": "http://example.com/some/deep/parent-parent-eq-root" }, + { "@id": "http://example.com/still-root" }, + { "@id": "http://example.com/too-many-dots" }, + { "@id": "http://example.com/absolute" }, + { "@id": "http://example.org/scheme-relative" }, + { "@id": "http://example.org/scheme-relative" }, + { "@id": "http://example.org/scheme-relative" } + ] + } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0063-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0063-in.jsonld new file mode 100644 index 00000000..a9a83b0c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0063-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": { + "Dave": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "Gregg": { + "@id": "http://example.com/people/gregg", + "name": "Gregg Kellogg" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0063-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0063-out.jsonld new file mode 100644 index 00000000..ffa49d96 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0063-out.jsonld @@ -0,0 +1,20 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "@index": "Dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + }, + { + "@id": "http://example.com/people/gregg", + "@index": "Gregg", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0064-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0064-in.jsonld new file mode 100644 index 00000000..dc313893 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0064-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + { + "name": "Dave Longley" + }, + { + "name": "Gregg Kellogg" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0064-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0064-out.jsonld new file mode 100644 index 00000000..273226d2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0064-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + }, + { + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0065-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0065-in.jsonld new file mode 100644 index 00000000..116e0504 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0065-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "relative-iri": { + "@id": "relative-node", + "name": "Keys that are not mapped to an IRI in a reverse-map are dropped" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0065-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0065-out.jsonld new file mode 100644 index 00000000..c03623ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0065-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ] + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0066-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0066-in.jsonld new file mode 100644 index 00000000..b3a9bd80 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0066-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows", + "@vocab": "http://example.com/vocab/" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "noTerm": { + "@id": "relative-node", + "name": "Compact keys using @vocab" + } + } +} diff --git a/core/src/test/resources/json-ld.org/expand/0066-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0066-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0066-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0066-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0067-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0067-in.jsonld new file mode 100644 index 00000000..a8e29a67 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0067-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "http": "http://example.com/this-prefix-would-overwrite-all-http-iris" + }, + "@id": "http://example.org/node1", + "@type": "http://example.org/type", + "http://example.org/property": "all these IRIs remain unchanged because they are interpreted as absolute IRIs" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0067-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0067-out.jsonld new file mode 100644 index 00000000..403b92c2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0067-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "@id": "http://example.org/node1", + "@type": ["http://example.org/type"], + "http://example.org/property": [ + { "@value": "all these IRIs remain unchanged because they are interpreted as absolute IRIs" } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0068-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0068-in.jsonld new file mode 100644 index 00000000..ab52e5e7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0068-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "_": "http://example.com/this-prefix-would-overwrite-all-blank-node-identifiers" + }, + "@id": "_:node1", + "@type": "_:type", + "_:property": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0068-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0068-out.jsonld new file mode 100644 index 00000000..aa98b316 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0068-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "@id": "_:node1", + "@type": [ "_:type" ], + "_:property": [ + { "@value": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0069-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0069-in.jsonld new file mode 100644 index 00000000..8f4a9aa9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0069-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "rdfs:subClassOf": { "@id": "rdfs:subClassOf", "@type": "@id" } + }, + "@id": "http://example.com/vocab#class", + "@type": "rdfs:Class", + "rdfs:subClassOf": "http://example.com/vocab#someOtherClass" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0069-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0069-out.jsonld new file mode 100644 index 00000000..4ca55346 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0069-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "@id": "http://example.com/vocab#class", + "@type": [ "http://www.w3.org/2000/01/rdf-schema#Class" ], + "http://www.w3.org/2000/01/rdf-schema#subClassOf": [ + { "@id": "http://example.com/vocab#someOtherClass"} + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0070-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0070-in.jsonld new file mode 100644 index 00000000..59733fb5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0070-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "prefix": "http://www.example.org/vocab#", + "prefix:foo": "prefix:foo" + }, + "@id": "http://example.com/vocab#id", + "@type": "prefix:Class", + "prefix:foo": "bar" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0070-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0070-out.jsonld new file mode 100644 index 00000000..ff650442 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0070-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "@id": "http://example.com/vocab#id", + "@type": [ "http://www.example.org/vocab#Class" ], + "http://www.example.org/vocab#foo": [ + { "@value": "bar"} + ] + } +] diff --git a/core/src/test/resources/json-ld.org/toRdf/0111-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0071-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0111-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0071-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0071-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0071-out.jsonld new file mode 100644 index 00000000..b09249d5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0071-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "http://example.com/vocab#term": [ + { "@value": "value of v:term" } + ], + "http://example.com/vocab#termId": [ + { "@value": "value of v:termId" } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0072-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0072-in.jsonld new file mode 100644 index 00000000..dcfa1b40 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0072-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "term": "v:somethingElse" + }, + { + "@vocab": "http://example.com/anotherVocab#", + "term": "term" + } + ], + "term": "value of term" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0072-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0072-out.jsonld new file mode 100644 index 00000000..7be24c32 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0072-out.jsonld @@ -0,0 +1,7 @@ +[ + { + "http://example.com/anotherVocab#term": [ + { "@value": "value of term" } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0073-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0073-in.jsonld new file mode 100644 index 00000000..78873bd8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0073-in.jsonld @@ -0,0 +1,16 @@ +{ + "@id": "ex:node1", + "owl:sameAs": { + "@id": "ex:node2", + "rdfs:label": "Node 2", + "link": "ex:node3", + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#" + } + }, + "@context": { + "ex": "http://example.org/", + "owl": "http://www.w3.org/2002/07/owl#", + "link": { "@id": "ex:link", "@type": "@id" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0073-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0073-out.jsonld new file mode 100644 index 00000000..7a8eefda --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0073-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.org/node1", + "http://www.w3.org/2002/07/owl#sameAs": [ + { + "@id": "http://example.org/node2", + "http://example.org/link": [ + { "@id": "http://example.org/node3" } + ], + "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Node 2" } ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0074-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0074-in.jsonld new file mode 100644 index 00000000..070a328f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0074-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "ex": "http://example.org/", + "owl": "http://www.w3.org/2002/07/owl#", + "link": { + "@id": "ex:link", + "@type": "@id" + } + }, + "owl:sameAs": { + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#" + }, + "rdfs:label": "Node 2", + "link": "ex:node3", + "@id": "ex:node2" + }, + "@id": "ex:node1" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0074-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0074-out.jsonld new file mode 100644 index 00000000..7a8eefda --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0074-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.org/node1", + "http://www.w3.org/2002/07/owl#sameAs": [ + { + "@id": "http://example.org/node2", + "http://example.org/link": [ + { "@id": "http://example.org/node3" } + ], + "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Node 2" } ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0075-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0075-in.jsonld new file mode 100644 index 00000000..23dd106b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0075-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "_:" + }, + "@id": "ex:node1", + "b1": "blank node property 1", + "b2": "blank node property 1" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0075-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0075-out.jsonld new file mode 100644 index 00000000..eac1f920 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0075-out.jsonld @@ -0,0 +1,7 @@ +[ + { + "@id": "ex:node1", + "_:b1": [ { "@value": "blank node property 1" } ], + "_:b2": [ { "@value": "blank node property 1" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0076-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0076-in.jsonld new file mode 100644 index 00000000..8793b622 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0076-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld.org/expand/0089-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0076-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0089-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0076-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0077-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0077-context.jsonld new file mode 100644 index 00000000..79129cb2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0077-context.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "t1": "http://example.com/t1", + "t2": "http://example.com/t2", + "term1": "http://example.com/term1", + "term2": "http://example.com/term2", + "term3": "http://example.com/term3", + "term4": "http://example.com/term4", + "term5": "http://example.com/term5" + } +} diff --git a/core/src/test/resources/json-ld.org/expand/hc04-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0077-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0077-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/hc03-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0077-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc03-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0077-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0078-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0078-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0078-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0078-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0078-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0078-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0078-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0078-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0079-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0079-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0079-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0079-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0079-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0079-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0079-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0079-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0080-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0080-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0080-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0080-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0080-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0080-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0080-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0080-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0081-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0081-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0081-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0081-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0081-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0081-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0081-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0081-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0082-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0082-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0082-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0082-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0082-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0082-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0082-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0082-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0083-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0083-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0083-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0083-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0083-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0083-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0083-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0083-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0084-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0084-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0084-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0084-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0084-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0084-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0084-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0084-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0085-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0085-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0085-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0085-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0085-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0085-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0085-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0085-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0086-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0086-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0086-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0086-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0086-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0086-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0086-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0086-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0087-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0087-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0087-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0087-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0087-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0087-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0087-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0087-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0088-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0088-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0088-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0088-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0088-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0088-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0088-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0088-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0089-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0089-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0089-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0089-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/0089-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0089-out.jsonld new file mode 100644 index 00000000..9e0896bc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0089-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example/base/relative-iri", + "http://prop": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld.org/expand/0090-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0090-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0090-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0090-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0090-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0090-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0090-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0090-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0091-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0091-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0091-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0091-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0091-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0091-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0091-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0091-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0092-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0092-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0092-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0092-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0092-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0092-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0092-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0092-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0093-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0093-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0093-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0093-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0093-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0093-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0093-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0093-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0094-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0094-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0094-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0094-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0094-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0094-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0094-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0094-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0095-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0095-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0095-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0095-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0095-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0095-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0095-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0095-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0096-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0096-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0096-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0096-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0096-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0096-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0096-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0096-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0097-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0097-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0097-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0097-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0097-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0097-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0097-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0097-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0098-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0098-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0098-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0098-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0098-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0098-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0098-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0098-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0099-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0099-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0099-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0099-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0099-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0099-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0099-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0099-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0100-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0100-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0100-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0100-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0100-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0100-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0100-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0100-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0101-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0101-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0101-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0101-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0101-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0101-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0101-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0101-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0102-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0102-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0102-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0102-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0102-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0102-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0102-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0102-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0103-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0103-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0103-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0103-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0103-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0103-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0103-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0103-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0104-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0104-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0104-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0104-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0104-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0104-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0104-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0104-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0105-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0105-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0105-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0105-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0105-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0105-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0105-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0105-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0106-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0106-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0106-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0106-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0106-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0106-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0106-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0106-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0107-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0107-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0107-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0107-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0107-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0107-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0107-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0107-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0108-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0108-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0108-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0108-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0108-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0108-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0108-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0108-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0109-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0109-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0109-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0109-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0109-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0109-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0109-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0109-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0110-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0110-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0110-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0110-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0110-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0110-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0110-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0110-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0111-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0111-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0111-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0111-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0111-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0111-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0111-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0111-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0112-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0112-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0112-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0112-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0112-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0112-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0112-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0112-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0113-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0113-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0113-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0113-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/0113-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0113-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/0113-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/0113-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c001-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c001-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c002-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c002-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c003-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c003-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c003-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c004-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c004-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c004-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c005-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c005-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c005-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c005-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c006-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c006-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c006-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c006-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c007-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c007-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c007-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c007-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c008-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c008-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c008-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c008-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c009-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c009-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c009-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c009-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c010-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c010-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c010-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c010-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c011-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c011-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c011-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c011-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c011-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c011-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c012-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c012-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c012-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c012-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c012-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c013-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c013-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c013-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c013-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c014-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c014-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c014-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c014-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c015-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c015-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c015-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c015-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c016-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c016-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c016-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c016-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c017-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c017-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c017-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c017-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c017-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c017-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c017-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c017-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c018-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c018-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c018-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c018-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c018-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c018-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c019-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c019-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c019-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c019-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c019-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c019-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c020-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c020-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c020-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c020-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c020-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c020-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c020-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c020-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c021-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c021-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c021-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c021-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c021-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c021-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c021-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c021-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c022-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c022-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c022-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c022-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c022-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c022-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c022-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c022-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c023-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c023-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c023-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c023-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c023-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c023-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c023-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c023-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c024-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c024-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c024-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c024-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c024-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c024-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c024-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c025-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c025-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c025-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c025-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/c025-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c025-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/c025-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/c025-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/e001-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e001-in.jsonld new file mode 100644 index 00000000..4d295897 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e001-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@type": "@id" + }, + "@type": "http://example.org/type" +} diff --git a/core/src/test/resources/json-ld.org/expand/e002-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/e002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/e003-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e003-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/e003-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/e004-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e004-in.jsonld new file mode 100644 index 00000000..77391915 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e004-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "tag:non-dereferencable-iri", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld.org/expand/e005-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e005-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/e005-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/e006-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e006-in.jsonld new file mode 100644 index 00000000..f30126f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e006-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": true, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e007-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e007-in.jsonld new file mode 100644 index 00000000..17033fc0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e007-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@base": true}, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e008-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e008-in.jsonld new file mode 100644 index 00000000..af74aecb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e008-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": true}, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e009-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e009-in.jsonld new file mode 100644 index 00000000..d35c6348 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e009-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@language": true}, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e010-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e010-in.jsonld new file mode 100644 index 00000000..f686eac9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e010-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "term:term"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e011-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e011-in.jsonld new file mode 100644 index 00000000..f42f32d7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e011-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": true + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e012-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e012-in.jsonld new file mode 100644 index 00000000..5d4295ad --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e012-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@type": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e013-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e013-in.jsonld new file mode 100644 index 00000000..9a968432 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e013-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@type": "_:not-an-iri"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e014-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e014-in.jsonld new file mode 100644 index 00000000..c6b1007e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e014-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@reverse": "http://example/reverse"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e015-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e015-in.jsonld new file mode 100644 index 00000000..2a805bc8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e015-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@reverse": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e016-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e016-in.jsonld new file mode 100644 index 00000000..492bfd0c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e016-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@reverse": "@reverse"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e017-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e017-in.jsonld new file mode 100644 index 00000000..403acef9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e017-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@reverse": "http://example/reverse", "@container": "@list"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e018-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e018-in.jsonld new file mode 100644 index 00000000..9a9e2afa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e018-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e019-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e019-in.jsonld new file mode 100644 index 00000000..04f67abe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e019-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "@context"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e020-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e020-in.jsonld new file mode 100644 index 00000000..dff3ba52 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e020-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@container": "@set"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e021-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e021-in.jsonld new file mode 100644 index 00000000..8fdc3753 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e021-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@container": "@id"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e022-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e022-in.jsonld new file mode 100644 index 00000000..37f0e71c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e022-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@language": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e023-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e023-in.jsonld new file mode 100644 index 00000000..3162bb46 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e023-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@type": "relative/iri"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e024-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/e024-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/e025-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e025-in.jsonld new file mode 100644 index 00000000..0b66e9af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e025-in.jsonld @@ -0,0 +1,6 @@ +{ + "@id": "http://example/foo", + "@reverse": { + "@id": "http://example/bar" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e026-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e026-in.jsonld new file mode 100644 index 00000000..36a12b8b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e026-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "id": "@id", + "ID": "@id" + }, + "id": "http://example/foo", + "ID": "http://example/bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e027-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e027-in.jsonld new file mode 100644 index 00000000..76d36d5a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e027-in.jsonld @@ -0,0 +1,3 @@ +{ + "@id": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e028-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e028-in.jsonld new file mode 100644 index 00000000..6c8f7762 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e028-in.jsonld @@ -0,0 +1,3 @@ +{ + "@type": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e029-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e029-in.jsonld new file mode 100644 index 00000000..c669c9e5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e029-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/prop": {"@value": ["foo"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e030-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e030-in.jsonld new file mode 100644 index 00000000..abba6cee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e030-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/prop": {"@value": "foo", "@language": true} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e031-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e031-in.jsonld new file mode 100644 index 00000000..f0c5c462 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e031-in.jsonld @@ -0,0 +1,7 @@ +{ + "http://example.com/vocab/indexMap": { + "@value": "simple string", + "@language": "en", + "@index": true + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e032-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/e032-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/e033-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e033-in.jsonld new file mode 100644 index 00000000..a57607fa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e033-in.jsonld @@ -0,0 +1,5 @@ +{ + "http://example/prop": { + "@reverse": true + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e034-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e034-in.jsonld new file mode 100644 index 00000000..d48c68b8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e034-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": "Dave Longley" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/e035-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e035-in.jsonld new file mode 100644 index 00000000..c523c942 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e035-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": true + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/e036-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e036-in.jsonld new file mode 100644 index 00000000..8e9ff8b5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e036-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@reverse": "http://example/reverse"} + }, + "@id": "http://example/foo", + "term": {"@list": ["http://example/bar"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e037-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e037-in.jsonld new file mode 100644 index 00000000..0a2d1750 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e037-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": "bar", "@id": "http://example/baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e038-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e038-in.jsonld new file mode 100644 index 00000000..20d4a7b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e038-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": "bar", "@language": "en", "@type": "http://example/type"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e039-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e039-in.jsonld new file mode 100644 index 00000000..0d03781b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e039-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": true, "@language": "en"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e040-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e040-in.jsonld new file mode 100644 index 00000000..ea9b6303 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e040-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": "bar", "@type": "_:dt"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e041-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e041-in.jsonld new file mode 100644 index 00000000..c7ad513c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e041-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/prop": {"@list": ["foo"], "@id": "http://example/bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e042-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e042-in.jsonld new file mode 100644 index 00000000..41360255 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e042-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@type": {"@container": "@set"} + }, + "@type": "http://example.org/type" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/e043-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e043-in.jsonld new file mode 100644 index 00000000..36d8cac7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e043-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.com/a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b" + }, { + "@id": "http://example.com/c", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ + "http://example.com/d", + "http://example.com/e" + ] + }, { + "@id": "http://example.com/f", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/expand/e044-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e044-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/e044-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/e044-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/e045-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e045-in.jsonld new file mode 100644 index 00000000..598c43fe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e045-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "v:term": "v:somethingElse", + "v:termId": { "@id": "v:somethingElseId" } + }, + { + "v:term": "v:term", + "v:termId": { "@id": "v:termId" } + } + ], + "v:term": "value of v:term", + "v:termId": "value of v:termId" +} diff --git a/core/src/test/resources/json-ld.org/expand/ec01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/ec01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/ec01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/ec01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/em01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/em01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/em01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/em01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/en01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/en01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/en01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/en01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/en02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/en02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/en02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/en02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/en03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/en03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/en03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/en03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/en04-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/en04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/en04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/en04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/en05-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/en05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/en05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/en05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/en06-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/en06-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/en06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/en06-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/ep01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/ep01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/ep01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/ep01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/ep02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/ep02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/ep02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/ep02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/ep03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/ep03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/ep03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/ep03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/es01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/es01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/es01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/es01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/es02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/es02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/es02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/es02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h001-in.html b/core/src/test/resources/json-ld-api-tests/expand/h001-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h001-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h001-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h001-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h002-in.html b/core/src/test/resources/json-ld-api-tests/expand/h002-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h002-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h002-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h002-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h003-in.html b/core/src/test/resources/json-ld-api-tests/expand/h003-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h003-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h003-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h003-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h004-in.html b/core/src/test/resources/json-ld-api-tests/expand/h004-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h004-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h004-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h004-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h005-in.html b/core/src/test/resources/json-ld-api-tests/expand/h005-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h005-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h005-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h005-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h005-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h006-in.html b/core/src/test/resources/json-ld-api-tests/expand/h006-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h006-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h006-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h006-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h006-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h007-in.html b/core/src/test/resources/json-ld-api-tests/expand/h007-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h007-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h007-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h007-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h007-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h008-in.html b/core/src/test/resources/json-ld-api-tests/expand/h008-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h008-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h008-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h008-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h008-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h009-in.html b/core/src/test/resources/json-ld-api-tests/expand/h009-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h009-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h009-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h009-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h009-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h010-in.html b/core/src/test/resources/json-ld-api-tests/expand/h010-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h010-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h010-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h010-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h010-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h011-in.html b/core/src/test/resources/json-ld-api-tests/expand/h011-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h011-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h011-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h012-in.html b/core/src/test/resources/json-ld-api-tests/expand/h012-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h012-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h012-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h013-in.html b/core/src/test/resources/json-ld-api-tests/expand/h013-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h013-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h013-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h014-in.html b/core/src/test/resources/json-ld-api-tests/expand/h014-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h014-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h014-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h015-in.html b/core/src/test/resources/json-ld-api-tests/expand/h015-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h015-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h015-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h016-in.html b/core/src/test/resources/json-ld-api-tests/expand/h016-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h016-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h016-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h017-in.html b/core/src/test/resources/json-ld-api-tests/expand/h017-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h017-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h017-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h018-in.html b/core/src/test/resources/json-ld-api-tests/expand/h018-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h018-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h018-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h018-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h018-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h018-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h018-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h019-in.html b/core/src/test/resources/json-ld-api-tests/expand/h019-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h019-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h019-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h019-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h019-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h019-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h019-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h020-in.html b/core/src/test/resources/json-ld-api-tests/expand/h020-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h020-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h020-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h020-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h020-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h020-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h020-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h021-in.html b/core/src/test/resources/json-ld-api-tests/expand/h021-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h021-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h021-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h021-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h021-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h021-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h021-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/h022-in.html b/core/src/test/resources/json-ld-api-tests/expand/h022-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h022-in.html rename to core/src/test/resources/json-ld-api-tests/expand/h022-in.html diff --git a/core/src/test/resources/json-ld.org/expand/h022-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/h022-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/h022-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/h022-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/hc01-context.html b/core/src/test/resources/json-ld-api-tests/expand/hc01-context.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc01-context.html rename to core/src/test/resources/json-ld-api-tests/expand/hc01-context.html diff --git a/core/src/test/resources/json-ld.org/expand/hc01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/hc01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/hc01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/hc04-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/hc01-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc04-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/hc01-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/hc02-context.html b/core/src/test/resources/json-ld-api-tests/expand/hc02-context.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc02-context.html rename to core/src/test/resources/json-ld-api-tests/expand/hc02-context.html diff --git a/core/src/test/resources/json-ld.org/expand/hc02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/hc02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/hc02-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/hc02-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/hc02-out.jsonld new file mode 100644 index 00000000..cc8e658e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/hc02-out.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": [{"@value": "v1"}], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [{"@value": 4}], + "http://example.com/term5": [{"@value": 50}, {"@value": 51}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc03-context.html b/core/src/test/resources/json-ld-api-tests/expand/hc03-context.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc03-context.html rename to core/src/test/resources/json-ld-api-tests/expand/hc03-context.html diff --git a/core/src/test/resources/json-ld.org/expand/hc03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/hc03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/hc03-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/hc03-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/hc03-out.jsonld new file mode 100644 index 00000000..cc8e658e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/hc03-out.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": [{"@value": "v1"}], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [{"@value": 4}], + "http://example.com/term5": [{"@value": 50}, {"@value": 51}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc04-context.html b/core/src/test/resources/json-ld-api-tests/expand/hc04-context.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc04-context.html rename to core/src/test/resources/json-ld-api-tests/expand/hc04-context.html diff --git a/core/src/test/resources/json-ld-api-tests/expand/hc04-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/hc04-in.jsonld new file mode 100644 index 00000000..5c5741fd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/hc04-in.jsonld @@ -0,0 +1,9 @@ +{ + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/hc04-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/hc04-out.jsonld new file mode 100644 index 00000000..cc8e658e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/hc04-out.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": [{"@value": "v1"}], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [{"@value": 4}], + "http://example.com/term5": [{"@value": 50}, {"@value": 51}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/hc05-context.html b/core/src/test/resources/json-ld-api-tests/expand/hc05-context.html similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc05-context.html rename to core/src/test/resources/json-ld-api-tests/expand/hc05-context.html diff --git a/core/src/test/resources/json-ld.org/expand/hc05-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/hc05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/hc05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/hc05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js01-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js01-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js01-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js01-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js02-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js02-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js03-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js03-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js03-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js03-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js04-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js04-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js04-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js04-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js04-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js05-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js05-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js05-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js05-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js05-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js06-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js06-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js06-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js06-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js06-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js06-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js06-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js07-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js07-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js07-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js07-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js07-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js07-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js07-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js07-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js08-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js08-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js08-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js08-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js08-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js08-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js08-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js08-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js09-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js09-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js09-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js09-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js09-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js09-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js09-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js09-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js10-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js10-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js10-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js10-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/js10-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js10-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/js10-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/js10-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/l001-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/l001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/l001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/l001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/l001-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/l001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/l001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/l001-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/li01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li01-in.jsonld new file mode 100644 index 00000000..75ec1a87 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/li01-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.com/foo": {"@list": [{"@list": ["baz"]}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li01-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li01-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li01-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li01-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li02-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li02-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/expand/li03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li03-in.jsonld new file mode 100644 index 00000000..f5e78e4d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/li03-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [{"@list": ["baz"]}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/expand/li03-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li03-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li03-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li03-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li04-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li04-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li04-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li04-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li04-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li05-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li05-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li05-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li05-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li05-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li06-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li06-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li06-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li06-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li06-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li06-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li06-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li07-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li07-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li07-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li07-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li07-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li07-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li07-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li07-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li08-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li08-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li08-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li08-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li08-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li08-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li08-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li08-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li09-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li09-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li09-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li09-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li09-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li09-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li09-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li09-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li10-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li10-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li10-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li10-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/li10-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/li10-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/li10-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/li10-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m001-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m001-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m002-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m002-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m003-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m003-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m003-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m004-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m004-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m004-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m005-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m005-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m005-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m005-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m006-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m006-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m006-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m006-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m007-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m007-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m007-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m007-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m008-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m008-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m008-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m008-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m008-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m008-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m008-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m008-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m009-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m009-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m009-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m009-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m009-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m009-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m009-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m010-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m010-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m010-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m010-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m010-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m010-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m010-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m011-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m011-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m011-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m011-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m011-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m011-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m012-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m012-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m012-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m012-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m012-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m012-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m012-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m013-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m013-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m013-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m013-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m013-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m013-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m014-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m014-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m014-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m014-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m014-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m014-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m014-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m014-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m015-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m015-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m015-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m015-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m015-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m015-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m015-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m015-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m016-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m016-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m016-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m016-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/m016-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m016-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/m016-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/m016-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n001-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n001-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n002-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n002-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n003-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n003-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n003-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n004-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n004-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n004-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n005-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n005-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n005-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n005-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n005-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n005-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n005-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n006-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n006-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n006-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n006-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n006-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n006-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n006-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n006-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n007-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n007-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n007-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n007-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/n007-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n007-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/n007-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/n007-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/p001-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/p001-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/p001-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/p001-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/p001-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/p001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/p001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/p001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/p002-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/p002-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/p002-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/p002-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/p002-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/p002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/p002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/p002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/p003-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/p003-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/p003-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/p003-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/p003-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/p003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/p003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/p003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/p004-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/p004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/p004-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/p004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/p004-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/p004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/p004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/p004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi04-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi05-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi06-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi06-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi06-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi06-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi06-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi06-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi06-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi07-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi07-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi07-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi07-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi07-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi07-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi07-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi07-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi08-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi08-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi08-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi08-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi08-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi08-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi08-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi08-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi09-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi09-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi09-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi09-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi09-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi09-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi09-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi09-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi10-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi10-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi10-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi10-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi10-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi10-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi10-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi10-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi11-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi11-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi11-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi11-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pi11-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pi11-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pi11-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pi11-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr02-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr02-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr04-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr05-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr06-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr06-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr06-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr06-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr06-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr06-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr06-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr08-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr08-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr08-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr08-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr09-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr09-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr09-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr09-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr10-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr10-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr10-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr10-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr10-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr10-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr10-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr10-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr11-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr11-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr11-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr11-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr12-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr12-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr12-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr12-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr13-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr13-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr13-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr13-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr13-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr13-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr13-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr13-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr14-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr14-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr14-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr14-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr14-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr14-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr14-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr14-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr15-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr15-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr15-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr15-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr15-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr15-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr15-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr15-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr16-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr16-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr16-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr16-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr16-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr16-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr16-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr16-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr17-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr17-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr17-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr17-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr18-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr18-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr18-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr18-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr19-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr19-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr19-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr19-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr19-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr19-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr19-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr19-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr20-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr20-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr20-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr20-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr21-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr21-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr21-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr21-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr22-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr22-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr22-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr22-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr22-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr22-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr22-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr22-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr23-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr23-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr23-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr23-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr23-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr23-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr23-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr23-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr24-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr24-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr24-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr24-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr24-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr24-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr24-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr24-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr25-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr25-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr25-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr25-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr25-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr25-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr25-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr25-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr26-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr26-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr26-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr26-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr27-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr27-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr27-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr27-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr27-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr27-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr27-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr27-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr28-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr28-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr28-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr28-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr29-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr29-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr29-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr29-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/pr29-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr29-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/pr29-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/pr29-out.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/tn01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/tn01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/tn01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/tn01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/tn02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/tn02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/tn02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/tn02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/expand/tn02-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/tn02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/expand/tn02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/expand/tn02-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/flatten-manifest.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten-manifest.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten-manifest.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0001-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0001-in.jsonld new file mode 100644 index 00000000..0bfd26f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0001-in.jsonld @@ -0,0 +1 @@ +{"@id": "http://example.org/test#example"} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0001-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0001-out.jsonld new file mode 100644 index 00000000..1e3ec721 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0001-out.jsonld @@ -0,0 +1 @@ +[ ] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0002-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0002-in.jsonld new file mode 100644 index 00000000..e4598e55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0002-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "t1": "http://example.com/t1", + "t2": "http://example.com/t2", + "term1": "http://example.com/term1", + "term2": "http://example.com/term2", + "term3": "http://example.com/term3", + "term4": "http://example.com/term4", + "term5": "http://example.com/term5" + }, + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0002-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0002-out.jsonld new file mode 100644 index 00000000..6c72e2d5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0002-out.jsonld @@ -0,0 +1,38 @@ +[ + { + "@id": "http://example.com/id1", + "@type": [ + "http://example.com/t1" + ], + "http://example.com/term1": [ + { + "@value": "v1" + } + ], + "http://example.com/term2": [ + { + "@type": "http://example.com/t2", + "@value": "v2" + } + ], + "http://example.com/term3": [ + { + "@language": "en", + "@value": "v3" + } + ], + "http://example.com/term4": [ + { + "@value": 4 + } + ], + "http://example.com/term5": [ + { + "@value": 50 + }, + { + "@value": 51 + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0003-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0003-in.jsonld new file mode 100644 index 00000000..2007f363 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0003-in.jsonld @@ -0,0 +1,12 @@ +{ + "@id": "http://example.org/id", + "http://example.org/property": null, + "regularJson": { + "nonJsonLd": "property", + "deep": [{ + "foo": "bar" + }, { + "bar": "foo" + }] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0003-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0003-out.jsonld new file mode 100644 index 00000000..1e3ec721 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0003-out.jsonld @@ -0,0 +1 @@ +[ ] diff --git a/core/src/test/resources/json-ld.org/flatten/0004-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0004-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0004-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0004-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0004-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0004-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0005-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0005-in.jsonld new file mode 100644 index 00000000..33622d53 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0005-in.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": { + "@id": "http://xmlns.com/foaf/0.1/homepage", + "@type": "@id" + }, + "know": "http://xmlns.com/foaf/0.1/knows", + "@iri": "@id" + }, + "@id": "#me", + "know": [ + { + "@id": "http://example.com/bob#me", + "name": "Bob", + "homepage": "http://example.com/bob" + }, { + "@id": "http://example.com/alice#me", + "name": "Alice", + "homepage": "http://example.com/alice" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/0005-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0005-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0005-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0005-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0006-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0006-in.jsonld new file mode 100644 index 00000000..045e2a2a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0006-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://example.org/test#property1": { + "@type": "@id" + }, + "http://example.org/test#property2": { + "@type": "@id" + }, + "uri": "@id" + }, + "http://example.org/test#property1": { + "http://example.org/test#property4": "foo", + "uri": "http://example.org/test#example2" + }, + "http://example.org/test#property2": "http://example.org/test#example3", + "http://example.org/test#property3": { + "uri": "http://example.org/test#example4" + }, + "uri": "http://example.org/test#example1" +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0006-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0006-out.jsonld new file mode 100644 index 00000000..ed4c0b0c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0006-out.jsonld @@ -0,0 +1,28 @@ +[ + { + "@id": "http://example.org/test#example1", + "http://example.org/test#property1": [ + { + "@id": "http://example.org/test#example2" + } + ], + "http://example.org/test#property2": [ + { + "@id": "http://example.org/test#example3" + } + ], + "http://example.org/test#property3": [ + { + "@id": "http://example.org/test#example4" + } + ] + }, + { + "@id": "http://example.org/test#example2", + "http://example.org/test#property4": [ + { + "@value": "foo" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0007-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0007-in.jsonld new file mode 100644 index 00000000..b49fac4e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0007-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:date": { + "@type": "xsd:dateTime" + }, + "ex:parent": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#example1", + "ex:date": "2011-01-25T00:00:00Z", + "ex:embed": { + "@id": "http://example.org/test#example2", + "ex:parent": "http://example.org/test#example1" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0007-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0007-out.jsonld new file mode 100644 index 00000000..34ab5847 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0007-out.jsonld @@ -0,0 +1,24 @@ +[ + { + "@id": "http://example.org/test#example1", + "http://example.org/vocab#date": [ + { + "@value": "2011-01-25T00:00:00Z", + "@type": "http://www.w3.org/2001/XMLSchema#dateTime" + } + ], + "http://example.org/vocab#embed": [ + { + "@id": "http://example.org/test#example2" + } + ] + }, + { + "@id": "http://example.org/test#example2", + "http://example.org/vocab#parent": [ + { + "@id": "http://example.org/test#example1" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0008-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0008-in.jsonld new file mode 100644 index 00000000..a17b9493 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0008-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test", + "ex:test": { "@value": "test", "@language": "en" }, + "ex:drop-lang-only": { "@language": "en" }, + "ex:keep-full-value": { "@value": "only value" } +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0008-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0008-out.jsonld new file mode 100644 index 00000000..9d155e37 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0008-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.org/test", + "http://example.org/vocab#keep-full-value": [ + { + "@value": "only value" + } + ], + "http://example.org/vocab#test": [ + { + "@language": "en", + "@value": "test" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0009-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0009-in.jsonld new file mode 100644 index 00000000..6acef5c5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0009-in.jsonld @@ -0,0 +1,43 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "authored": "http://example.org/test#chapter", + "name": "Jane" + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0009-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0009-out.jsonld new file mode 100644 index 00000000..0d773a1c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0009-out.jsonld @@ -0,0 +1,62 @@ +[ + { + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#chapter" + } + ], + "http://purl.org/dc/elements/1.1/contributor": [ + { + "@value": "Writer" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "My Book" + } + ] + }, + { + "@id": "http://example.org/test#chapter", + "http://purl.org/dc/elements/1.1/description": [ + { + "@value": "Fun" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "Chapter One" + } + ] + }, + { + "@id": "http://example.org/test#jane", + "http://example.org/vocab#authored": [ + { + "@id": "http://example.org/test#chapter" + } + ], + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "Jane" + } + ] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "John" + } + ] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#book" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0010-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0010-in.jsonld new file mode 100644 index 00000000..f2d0a384 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0010-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "d": "http://purl.org/dc/elements/1.1/", + "e": "http://example.org/vocab#", + "f": "http://xmlns.com/foaf/0.1/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test", + "e:bool": true, + "e:int": 123 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0010-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0010-out.jsonld new file mode 100644 index 00000000..c42d4701 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0010-out.jsonld @@ -0,0 +1,15 @@ +[ + { + "@id": "http://example.org/test", + "http://example.org/vocab#bool": [ + { + "@value": true + } + ], + "http://example.org/vocab#int": [ + { + "@value": 123 + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/0011-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0011-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0011-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0011-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0011-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0011-out.jsonld new file mode 100644 index 00000000..641638f7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0011-out.jsonld @@ -0,0 +1,15 @@ +[ + { + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#chapter" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "Title" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/flatten/0012-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0012-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0012-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0012-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0012-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0012-out.jsonld new file mode 100644 index 00000000..0d773a1c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0012-out.jsonld @@ -0,0 +1,62 @@ +[ + { + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#chapter" + } + ], + "http://purl.org/dc/elements/1.1/contributor": [ + { + "@value": "Writer" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "My Book" + } + ] + }, + { + "@id": "http://example.org/test#chapter", + "http://purl.org/dc/elements/1.1/description": [ + { + "@value": "Fun" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "Chapter One" + } + ] + }, + { + "@id": "http://example.org/test#jane", + "http://example.org/vocab#authored": [ + { + "@id": "http://example.org/test#chapter" + } + ], + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "Jane" + } + ] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "John" + } + ] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#book" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0013-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0013-in.jsonld new file mode 100644 index 00000000..7795576f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0013-in.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": ["v1"], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [4], + "http://example.com/term5": [50, 51] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0013-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0013-out.jsonld new file mode 100644 index 00000000..6c72e2d5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0013-out.jsonld @@ -0,0 +1,38 @@ +[ + { + "@id": "http://example.com/id1", + "@type": [ + "http://example.com/t1" + ], + "http://example.com/term1": [ + { + "@value": "v1" + } + ], + "http://example.com/term2": [ + { + "@type": "http://example.com/t2", + "@value": "v2" + } + ], + "http://example.com/term3": [ + { + "@language": "en", + "@value": "v3" + } + ], + "http://example.com/term4": [ + { + "@value": 4 + } + ], + "http://example.com/term5": [ + { + "@value": 50 + }, + { + "@value": 51 + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0014-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0014-in.jsonld new file mode 100644 index 00000000..ba913ff2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0014-in.jsonld @@ -0,0 +1,50 @@ +{ + "@context": { + "ex": "http://example.org/test#", + "property1": { + "@id": "http://example.org/test#property1", + "@type": "@id" + }, + "property2": { + "@id": "ex:property2", + "@type": "@id" + }, + "uri": "@id", + "set": "@set", + "value": "@value", + "type": "@type", + "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" } + }, + "property1": { + "uri": "ex:example2", + "http://example.org/test#property4": "foo" + }, + "property2": "http://example.org/test#example3", + "http://example.org/test#property3": { + "uri": "http://example.org/test#example4" + }, + "ex:property4": { + "uri": "ex:example4", + "ex:property5": [ + { + "set": [ + { + "value": "2012-03-31", + "type": "xsd:date" + } + ] + } + ] + }, + "ex:property6": [ + { + "set": [ + { + "value": null, + "type": "xsd:date" + } + ] + } + ], + "uri": "http://example.org/test#example1" +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0014-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0014-out.jsonld new file mode 100644 index 00000000..0ffd6710 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0014-out.jsonld @@ -0,0 +1,45 @@ +[ + { + "@id": "http://example.org/test#example1", + "http://example.org/test#property1": [ + { + "@id": "http://example.org/test#example2" + } + ], + "http://example.org/test#property2": [ + { + "@id": "http://example.org/test#example3" + } + ], + "http://example.org/test#property3": [ + { + "@id": "http://example.org/test#example4" + } + ], + "http://example.org/test#property4": [ + { + "@id": "http://example.org/test#example4" + } + ], + "http://example.org/test#property6": [ + + ] + }, + { + "@id": "http://example.org/test#example2", + "http://example.org/test#property4": [ + { + "@value": "foo" + } + ] + }, + { + "@id": "http://example.org/test#example4", + "http://example.org/test#property5": [ + { + "@type": "http://www.w3.org/2001/XMLSchema#date", + "@value": "2012-03-31" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0015-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0015-in.jsonld new file mode 100644 index 00000000..ae60d731 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0015-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set" }, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set" } + }, + "@id": "http://example.org/id", + "mylist1": [], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "myset3": [ { "@set": [ "hello", "this" ] }, "will", { "@set": [ "be", "collapsed" ] } ] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0015-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0015-out.jsonld new file mode 100644 index 00000000..a69271bf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0015-out.jsonld @@ -0,0 +1,35 @@ +[ + { + "@id": "http://example.org/id", + "http://example.com/mylist1": [ + { + "@list": [ + + ] + } + ], + "http://example.com/myset1": [ + + ], + "http://example.com/myset2": [ + + ], + "http://example.com/myset3": [ + { + "@value": "hello" + }, + { + "@value": "this" + }, + { + "@value": "will" + }, + { + "@value": "be" + }, + { + "@value": "collapsed" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0016-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0016-in.jsonld new file mode 100644 index 00000000..c151040a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0016-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "myproperty": { "@id": "http://example.com/myproperty" }, + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set" } + }, + "@id": "http://example.org/id1", + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "myproperty": { + "@context": null, + "@id": "http://example.org/id2", + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "http://example.org/myproperty2": "ok" + }, + "http://example.com/emptyobj": { + "@context": null, + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0016-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0016-out.jsonld new file mode 100644 index 00000000..ffb3983a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0016-out.jsonld @@ -0,0 +1,48 @@ +[ + { + "@id": "http://example.org/id1", + "http://example.com/emptyobj": [ + { + "@id": "_:b0" + } + ], + "http://example.com/mylist1": [ + { + "@list": [ + + ] + } + ], + "http://example.com/mylist2": [ + { + "@list": [ + { + "@value": 2 + }, + { + "@value": "hi" + } + ] + } + ], + "http://example.com/myproperty": [ + { + "@id": "http://example.org/id2" + } + ], + "http://example.com/myset1": [ + + ], + "http://example.com/myset2": [ + + ] + }, + { + "@id": "http://example.org/id2", + "http://example.org/myproperty2": [ + { + "@value": "ok" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0017-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0017-in.jsonld new file mode 100644 index 00000000..dea8bf80 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0017-in.jsonld @@ -0,0 +1,45 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + }, + "id": "@id", + "data": "@graph" + }, + "data": [ + { + "id": "http://example.org/test#chapter", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "authored": "http://example.org/test#chapter", + "name": "Jane" + }, + { + "id": "http://example.org/test#john", + "name": "John" + }, + { + "id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0017-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0017-out.jsonld new file mode 100644 index 00000000..0d773a1c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0017-out.jsonld @@ -0,0 +1,62 @@ +[ + { + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#chapter" + } + ], + "http://purl.org/dc/elements/1.1/contributor": [ + { + "@value": "Writer" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "My Book" + } + ] + }, + { + "@id": "http://example.org/test#chapter", + "http://purl.org/dc/elements/1.1/description": [ + { + "@value": "Fun" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "Chapter One" + } + ] + }, + { + "@id": "http://example.org/test#jane", + "http://example.org/vocab#authored": [ + { + "@id": "http://example.org/test#chapter" + } + ], + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "Jane" + } + ] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "John" + } + ] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#book" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0018-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0018-in.jsonld new file mode 100644 index 00000000..21933fda --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0018-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "@language": "en", + "de": { "@id": "ex:german", "@language": "de" }, + "nolang": { "@id": "ex:nolang", "@language": null } + }, + "@id": "http://example.org/test", + "ex:test-default": [ + "hello", + 1, + true + ], + "de": [ + "hallo", + 2, + true + ], + "nolang": [ + "no language", + 3, + false + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0018-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0018-out.jsonld new file mode 100644 index 00000000..2297bc26 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0018-out.jsonld @@ -0,0 +1,40 @@ +[ + { + "@id": "http://example.org/test", + "http://example.org/vocab#german": [ + { + "@value": "hallo", + "@language": "de" + }, + { + "@value": 2 + }, + { + "@value": true + } + ], + "http://example.org/vocab#nolang": [ + { + "@value": "no language" + }, + { + "@value": 3 + }, + { + "@value": false + } + ], + "http://example.org/vocab#test-default": [ + { + "@value": "hello", + "@language": "en" + }, + { + "@value": 1 + }, + { + "@value": true + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0019-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0019-in.jsonld new file mode 100644 index 00000000..b91f8860 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0019-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "myproperty": "http://example.com/myproperty" + }, + "myproperty": { "@value" : null } +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0019-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0019-out.jsonld new file mode 100644 index 00000000..1e3ec721 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0019-out.jsonld @@ -0,0 +1 @@ +[ ] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0020-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0020-in.jsonld new file mode 100644 index 00000000..989e1192 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0020-in.jsonld @@ -0,0 +1,51 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "@graph": [ + { + "@id": "http://example.org/test#jane", + "name": "Jane", + "authored": { + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#chapter2", + "description": "More fun", + "title": "Chapter Two" + } + ] + } + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0020-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0020-out.jsonld new file mode 100644 index 00000000..9ce7303b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0020-out.jsonld @@ -0,0 +1,80 @@ +[ + { + "@id": "_:b0", + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "http://purl.org/dc/elements/1.1/description": [ + { + "@value": "Fun" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "Chapter One" + } + ] + }, + { + "@id": "http://example.org/test#chapter2", + "http://purl.org/dc/elements/1.1/description": [ + { + "@value": "More fun" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "Chapter Two" + } + ] + } + ] + }, + { + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#chapter" + } + ], + "http://purl.org/dc/elements/1.1/contributor": [ + { + "@value": "Writer" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "My Book" + } + ] + }, + { + "@id": "http://example.org/test#jane", + "http://example.org/vocab#authored": [ + { + "@id": "_:b0" + } + ], + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "Jane" + } + ] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "John" + } + ] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#book" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0021-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0021-in.jsonld new file mode 100644 index 00000000..e52fd1b8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0021-in.jsonld @@ -0,0 +1,56 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "title": "My first graph", + "@graph": [ + { + "@id": "http://example.org/test#jane", + "name": "Jane", + "authored": { + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#chapter2", + "description": "More fun", + "title": "Chapter Two" + }, + { + "@id": "http://example.org/test#chapter3", + "title": "Chapter Three" + } + ] + } + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0021-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0021-out.jsonld new file mode 100644 index 00000000..1b9868be --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0021-out.jsonld @@ -0,0 +1,98 @@ +[ + { + "@id": "_:b0", + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "My first graph" + } + ], + "@graph": [ + { + "@id": "http://example.org/test#book", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#chapter" + } + ], + "http://purl.org/dc/elements/1.1/contributor": [ + { + "@value": "Writer" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "My Book" + } + ] + }, + { + "@id": "http://example.org/test#jane", + "http://example.org/vocab#authored": [ + { + "@id": "_:b1" + } + ], + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "Jane" + } + ] + }, + { + "@id": "http://example.org/test#john", + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "John" + } + ] + }, + { + "@id": "http://example.org/test#library", + "http://example.org/vocab#contains": [ + { + "@id": "http://example.org/test#book" + } + ] + } + ] + }, + { + "@id": "_:b1", + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "http://purl.org/dc/elements/1.1/description": [ + { + "@value": "Fun" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "Chapter One" + } + ] + }, + { + "@id": "http://example.org/test#chapter2", + "http://purl.org/dc/elements/1.1/description": [ + { + "@value": "More fun" + } + ], + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "Chapter Two" + } + ] + }, + { + "@id": "http://example.org/test#chapter3", + "http://purl.org/dc/elements/1.1/title": [ + { + "@value": "Chapter Three" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0022-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0022-in.jsonld new file mode 100644 index 00000000..e7f938ae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0022-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": "http://example.com/term", + "@language": "en" + }, + "term": "v" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0022-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0022-out.jsonld new file mode 100644 index 00000000..1de1e9b6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0022-out.jsonld @@ -0,0 +1,11 @@ +[ + { + "@id": "_:b0", + "http://example.com/term": [ + { + "@value": "v", + "@language": "en" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0023-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0023-in.jsonld new file mode 100644 index 00000000..2a33783d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0023-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "xsd": "http://www.w3.org/2001/XMLSchema#", + "idlist": {"@id": "http://example.com/idlist", "@container": "@list", "@type": "@id"}, + "datelist": {"@id": "http://example.com/datelist", "@container": "@list", "@type": "xsd:date"}, + "idset": {"@id": "http://example.com/idset", "@container": "@set", "@type": "@id"}, + "dateset": {"@id": "http://example.com/dateset", "@container": "@set", "@type": "xsd:date"}, + "idprop": {"@id": "http://example.com/idprop", "@type": "@id" }, + "dateprop": {"@id": "http://example.com/dateprop", "@type": "xsd:date" }, + "idprop2": {"@id": "http://example.com/idprop2", "@type": "@id" }, + "dateprop2": {"@id": "http://example.com/dateprop2", "@type": "xsd:date" } + }, + "idlist": ["http://example.org/id"], + "datelist": ["2012-04-12"], + "idprop": {"@list": ["http://example.org/id"]}, + "dateprop": {"@list": ["2012-04-12"]}, + "idset": ["http://example.org/id"], + "dateset": ["2012-04-12"], + "idprop2": {"@set": ["http://example.org/id"]}, + "dateprop2": {"@set": ["2012-04-12"]} +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0023-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0023-out.jsonld new file mode 100644 index 00000000..b9318340 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0023-out.jsonld @@ -0,0 +1,65 @@ +[ + { + "@id": "_:b0", + "http://example.com/datelist": [ + { + "@list": [ + { + "@value": "2012-04-12", + "@type": "http://www.w3.org/2001/XMLSchema#date" + } + ] + } + ], + "http://example.com/dateprop": [ + { + "@list": [ + { + "@value": "2012-04-12", + "@type": "http://www.w3.org/2001/XMLSchema#date" + } + ] + } + ], + "http://example.com/dateprop2": [ + { + "@value": "2012-04-12", + "@type": "http://www.w3.org/2001/XMLSchema#date" + } + ], + "http://example.com/dateset": [ + { + "@value": "2012-04-12", + "@type": "http://www.w3.org/2001/XMLSchema#date" + } + ], + "http://example.com/idlist": [ + { + "@list": [ + { + "@id": "http://example.org/id" + } + ] + } + ], + "http://example.com/idprop": [ + { + "@list": [ + { + "@id": "http://example.org/id" + } + ] + } + ], + "http://example.com/idprop2": [ + { + "@id": "http://example.org/id" + } + ], + "http://example.com/idset": [ + { + "@id": "http://example.org/id" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0024-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0024-in.jsonld new file mode 100644 index 00000000..fcf010c4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0024-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": [ + { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage","@type": "@id"} + }, + {"ical": "http://www.w3.org/2002/12/cal/ical#"} + ], + "@id": "http://example.com/speakers#Alice", + "name": "Alice", + "homepage": "http://xkcd.com/177/", + "ical:summary": "Alice Talk", + "ical:location": "Lyon Convention Centre, Lyon, France" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0024-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0024-out.jsonld new file mode 100644 index 00000000..8c0a7c6d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0024-out.jsonld @@ -0,0 +1,25 @@ +[ + { + "@id": "http://example.com/speakers#Alice", + "http://www.w3.org/2002/12/cal/ical#location": [ + { + "@value": "Lyon Convention Centre, Lyon, France" + } + ], + "http://www.w3.org/2002/12/cal/ical#summary": [ + { + "@value": "Alice Talk" + } + ], + "http://xmlns.com/foaf/0.1/homepage": [ + { + "@id": "http://xkcd.com/177/" + } + ], + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "Alice" + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/flatten/0025-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0025-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0025-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0025-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0025-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0025-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0025-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0025-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0026-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0026-in.jsonld new file mode 100644 index 00000000..36d8cac7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0026-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.com/a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b" + }, { + "@id": "http://example.com/c", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ + "http://example.com/d", + "http://example.com/e" + ] + }, { + "@id": "http://example.com/f", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0026-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0026-out.jsonld new file mode 100644 index 00000000..9104544c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0026-out.jsonld @@ -0,0 +1,21 @@ +[ + { + "@id": "http://example.com/a", + "@type": [ + "http://example.com/b" + ] + }, + { + "@id": "http://example.com/c", + "@type": [ + "http://example.com/d", + "http://example.com/e" + ] + }, + { + "@id": "http://example.com/f", + "@type": [ + "http://example.com/g" + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0027-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0027-in.jsonld new file mode 100644 index 00000000..6c47cfb7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0027-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, + "myset": {"@id": "http://example.com/myset", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist": [1, 2, 2, 3], + "myset": [1, 2, 2, 3] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0027-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0027-out.jsonld new file mode 100644 index 00000000..ba237d63 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0027-out.jsonld @@ -0,0 +1,34 @@ +[ + { + "@id": "http://example.org/id", + "http://example.com/mylist": [ + { + "@list": [ + { + "@value": 1 + }, + { + "@value": 2 + }, + { + "@value": 2 + }, + { + "@value": 3 + } + ] + } + ], + "http://example.com/myset": [ + { + "@value": 1 + }, + { + "@value": 2 + }, + { + "@value": 3 + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0028-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0028-in.jsonld new file mode 100644 index 00000000..4f05d0e4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0028-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/vocab#", + "date": { "@type": "dateTime" } + }, + "@id": "example1", + "@type": "test", + "date": "2011-01-25T00:00:00Z", + "embed": { + "@id": "example2", + "expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "dateTime" } + } +} diff --git a/core/src/test/resources/json-ld.org/flatten/0028-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0028-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0028-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0028-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0030-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0030-in.jsonld new file mode 100644 index 00000000..ca711673 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0030-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0030-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0030-out.jsonld new file mode 100644 index 00000000..0907ec14 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0030-out.jsonld @@ -0,0 +1,19 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + { + "@value": "Die Königin", + "@language": "de" + }, + { + "@value": "Ihre Majestät", + "@language": "de" + }, + { + "@value": "The Queen", + "@language": "en" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0031-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0031-in.jsonld new file mode 100644 index 00000000..192ff27c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0031-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "ex:integer": { "@type": "xsd:integer" }, + "ex:double": { "@type": "xsd:double" }, + "ex:boolean": { "@type": "xsd:boolean" } + }, + "@id": "http://example.org/test#example1", + "ex:integer": 1, + "ex:double": 123.45, + "ex:boolean": true +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0031-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0031-out.jsonld new file mode 100644 index 00000000..57906bfa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0031-out.jsonld @@ -0,0 +1,23 @@ +[ + { + "@id": "http://example.org/test#example1", + "http://example.org/vocab#boolean": [ + { + "@value": true, + "@type": "http://www.w3.org/2001/XMLSchema#boolean" + } + ], + "http://example.org/vocab#double": [ + { + "@value": 123.45, + "@type": "http://www.w3.org/2001/XMLSchema#double" + } + ], + "http://example.org/vocab#integer": [ + { + "@value": 1, + "@type": "http://www.w3.org/2001/XMLSchema#integer" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0032-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0032-in.jsonld new file mode 100644 index 00000000..920554fc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0032-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://xmlns.com/foaf/0.1/", + "from": null, + "university": { "@id": null } + }, + "@id": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "from": "Italy", + "university": "TU Graz" +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0032-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0032-out.jsonld new file mode 100644 index 00000000..fbe9a156 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0032-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://me.markus-lanthaler.com/", + "http://xmlns.com/foaf/0.1/name": [ + { + "@value": "Markus Lanthaler" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0033-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0033-in.jsonld new file mode 100644 index 00000000..abf6feed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0033-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab#", + "homepage": { + "@type": "@id" + }, + "created_at": { + "@type": "http://www.w3.org/2001/XMLSchema#date" + } + }, + "name": "Markus Lanthaler", + "homepage": "http://www.markus-lanthaler.com/", + "created_at": "2012-10-28" +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0033-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0033-out.jsonld new file mode 100644 index 00000000..ad4046a7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0033-out.jsonld @@ -0,0 +1,21 @@ +[ + { + "@id": "_:b0", + "http://example.com/vocab#created_at": [ + { + "@value": "2012-10-28", + "@type": "http://www.w3.org/2001/XMLSchema#date" + } + ], + "http://example.com/vocab#homepage": [ + { + "@id": "http://www.markus-lanthaler.com/" + } + ], + "http://example.com/vocab#name": [ + { + "@value": "Markus Lanthaler" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0034-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0034-in.jsonld new file mode 100644 index 00000000..22bb6039 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0034-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "colliding": "http://example.com/vocab/collidingTerm" + }, + "@id": "http://example.com/IriCollissions", + "colliding": [ + "value 1", + 2 + ], + "collidingTerm": [ + 3, + "four" + ], + "http://example.com/vocab/collidingTerm": 5 +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0034-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0034-out.jsonld new file mode 100644 index 00000000..cdc4df49 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0034-out.jsonld @@ -0,0 +1,22 @@ +[ + { + "@id": "http://example.com/IriCollissions", + "http://example.com/vocab/collidingTerm": [ + { + "@value": "value 1" + }, + { + "@value": 2 + }, + { + "@value": 3 + }, + { + "@value": "four" + }, + { + "@value": 5 + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0035-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0035-in.jsonld new file mode 100644 index 00000000..7bf59112 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0035-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "@language": "it", + "label": { + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + }, + "http://example.com/vocab/label": [ + "Il re", + { "@value": "The king", "@language": "en" } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0035-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0035-out.jsonld new file mode 100644 index 00000000..c3509762 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0035-out.jsonld @@ -0,0 +1,27 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + { + "@value": "Il re", + "@language": "it" + }, + { + "@language": "en", + "@value": "The king" + }, + { + "@value": "Die Königin", + "@language": "de" + }, + { + "@value": "Ihre Majestät", + "@language": "de" + }, + { + "@value": "The Queen", + "@language": "en" + } + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0036-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0036-in.jsonld new file mode 100644 index 00000000..23c99b55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0036-in.jsonld @@ -0,0 +1,90 @@ +{ + "@context": { + "property": "http://example.com/property", + "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } + }, + "@id": "http://example.org/indexTest", + "indexContainer": { + "A": [ + { + "@id": "http://example.org/nodeWithoutIndexA" + }, + { + "@id": "http://example.org/nodeWithIndexA", + "@index": "this overrides the 'A' index from the container" + }, + 1, + true, + false, + null, + "simple string A", + { + "@value": "typed literal A", + "@type": "http://example.org/type" + }, + { + "@value": "language-tagged string A", + "@language": "en" + } + ], + "B": "simple string B", + "C": [ + { + "@id": "http://example.org/nodeWithoutIndexC" + }, + { + "@id": "http://example.org/nodeWithIndexC", + "@index": "this overrides the 'C' index from the container" + }, + 3, + true, + false, + null, + "simple string C", + { + "@value": "typed literal C", + "@type": "http://example.org/type" + }, + { + "@value": "language-tagged string C", + "@language": "en" + } + ] + }, + "property": [ + { + "@id": "http://example.org/nodeWithoutIndexProp" + }, + { + "@id": "http://example.org/nodeWithIndexProp", + "@index": "prop" + }, + { + "@value": 3, + "@index": "prop" + }, + { + "@value": true, + "@index": "prop" + }, + { + "@value": false, + "@index": "prop" + }, + { + "@value": null, + "@index": "prop" + }, + "simple string no index", + { + "@value": "typed literal Prop", + "@type": "http://example.org/type", + "@index": "prop" + }, + { + "@value": "language-tagged string Prop", + "@language": "en", + "@index": "prop" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0036-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0036-out.jsonld new file mode 100644 index 00000000..c4392f9a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0036-out.jsonld @@ -0,0 +1,128 @@ +[ + { + "@id": "http://example.org/indexTest", + "http://example.com/container": [ + { + "@id": "http://example.org/nodeWithoutIndexA" + }, + { + "@id": "http://example.org/nodeWithIndexA" + }, + { + "@value": 1, + "@index": "A" + }, + { + "@value": true, + "@index": "A" + }, + { + "@value": false, + "@index": "A" + }, + { + "@value": "simple string A", + "@index": "A" + }, + { + "@type": "http://example.org/type", + "@value": "typed literal A", + "@index": "A" + }, + { + "@language": "en", + "@value": "language-tagged string A", + "@index": "A" + }, + { + "@value": "simple string B", + "@index": "B" + }, + { + "@id": "http://example.org/nodeWithoutIndexC" + }, + { + "@id": "http://example.org/nodeWithIndexC" + }, + { + "@value": 3, + "@index": "C" + }, + { + "@value": true, + "@index": "C" + }, + { + "@value": false, + "@index": "C" + }, + { + "@value": "simple string C", + "@index": "C" + }, + { + "@type": "http://example.org/type", + "@value": "typed literal C", + "@index": "C" + }, + { + "@language": "en", + "@value": "language-tagged string C", + "@index": "C" + } + ], + "http://example.com/property": [ + { + "@id": "http://example.org/nodeWithoutIndexProp" + }, + { + "@id": "http://example.org/nodeWithIndexProp" + }, + { + "@index": "prop", + "@value": 3 + }, + { + "@index": "prop", + "@value": true + }, + { + "@index": "prop", + "@value": false + }, + { + "@value": "simple string no index" + }, + { + "@index": "prop", + "@type": "http://example.org/type", + "@value": "typed literal Prop" + }, + { + "@index": "prop", + "@language": "en", + "@value": "language-tagged string Prop" + } + ] + }, + { + "@id": "http://example.org/nodeWithIndexA", + "@index": "this overrides the 'A' index from the container" + }, + { + "@id": "http://example.org/nodeWithIndexC", + "@index": "this overrides the 'C' index from the container" + }, + { + "@id": "http://example.org/nodeWithIndexProp", + "@index": "prop" + }, + { + "@id": "http://example.org/nodeWithoutIndexA", + "@index": "A" + }, + { + "@id": "http://example.org/nodeWithoutIndexC", + "@index": "C" + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0037-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0037-in.jsonld new file mode 100644 index 00000000..f63e141a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0037-in.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "@id": "http://example.com/people/dave" + }, + { + "@id": "http://example.com/people/gregg" + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0037-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0037-out.jsonld new file mode 100644 index 00000000..486a1c47 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0037-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com/people/dave", + "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ] + }, + { + "@id": "http://example.com/people/gregg", + "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ] + }, + { + "@id": "http://example.com/people/markus", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0038-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0038-in.jsonld new file mode 100644 index 00000000..17071294 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0038-in.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "term": "_:term", + "termId": { "@id": "term", "@type": "@id" } + }, + "@id": "_:term", + "@type": "_:term", + "term": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Bx", + "term": "term" + }, + "plain value", + { + "@id": "_:term" + } + ], + "termId": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Cx", + "term": "termId" + }, + "term:AppendedToBlankNode", + "_:termAppendedToBlankNode", + "relativeIri", + { + "@id": "_:term" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/flatten/0038-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0038-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0038-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0038-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0039-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0039-in.jsonld new file mode 100644 index 00000000..9fa97625 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0039-in.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "http://example.com/people/markus", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": [ + { + "http://xmlns.com/foaf/0.1/name": "Dave Longley" + }, + { + "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg" + } + ] + }, + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0039-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0039-out.jsonld new file mode 100644 index 00000000..a5fa10be --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0039-out.jsonld @@ -0,0 +1,16 @@ +[ + { + "@id": "_:b0", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Dave Longley" } ], + "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ] + }, + { + "@id": "_:b1", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Gregg Kellogg" } ], + "http://xmlns.com/foaf/0.1/knows": [ { "@id": "http://example.com/people/markus" } ] + }, + { + "@id": "http://example.com/people/markus", + "http://xmlns.com/foaf/0.1/name": [ { "@value": "Markus Lanthaler" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0040-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0040-in.jsonld new file mode 100644 index 00000000..2d02e0ad --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0040-in.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + }, + "indexes": { + "@id": "vocab:index", + "@container": "@index" + } + }, + "@id": "http://example.com/queen", + "label": [ + "The Queen" + ], + "indexes": + [ + "No", + "indexes", + { "@id": "asTheValueIsntAnObject" } + ] +} diff --git a/core/src/test/resources/json-ld.org/flatten/0040-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0040-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0040-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0040-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0041-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0041-in.jsonld new file mode 100644 index 00000000..9eece68d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0041-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "property": "http://example.com/property" + }, + "@graph": [ + { + "@set": [ + "free-floating strings in set objects are removed", + { + "@id": "http://example.com/free-floating-node" + }, + { + "@id": "http://example.com/node", + "property": "nodes with properties are not removed" + } + ] + }, + { + "@list": [ + "lists are removed even though they represent an invisible linked structure, they have no real meaning" + ] + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0041-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0041-out.jsonld new file mode 100644 index 00000000..dba2d8ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0041-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/node", + "http://example.com/property": [ + { + "@value": "nodes with properties are not removed" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0042-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0042-in.jsonld new file mode 100644 index 00000000..2ac94d4f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0042-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "test": "http://example.com/list" + }, + "@id": "list-equivalence-test", + "test": [ + { "@list": [ "1", "2" ] }, + { "@list": [ "1", "2" ] } + ] +} diff --git a/core/src/test/resources/json-ld.org/flatten/0042-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0042-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0042-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0042-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0043-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0043-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0043-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0043-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0043-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0043-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0043-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0043-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0044-context.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0044-context.jsonld new file mode 100644 index 00000000..b1fde0c0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0044-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": "http://example/term" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0044-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0044-in.jsonld new file mode 100644 index 00000000..94e6d6a6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0044-in.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example/foo", + "http://example/term": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0044-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0044-out.jsonld new file mode 100644 index 00000000..136cb3a7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0044-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "term": "http://example/term" + }, + "@graph": [{ + "@id": "http://example/foo", + "term": ["value"] + }] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0045-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0045-in.jsonld new file mode 100644 index 00000000..088bb2ff --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0045-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "foo": "http://example.org/foo", + "bar": { "@reverse": "http://example.org/bar", "@type": "@id" } + }, + "foo": "Foo", + "bar": [ "http://example.org/origin", "_:b0" ] +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten/0045-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0045-out.jsonld new file mode 100644 index 00000000..abd9a00f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/0045-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "_:b0", + "http://example.org/foo": [ { "@value": "Foo" } ] + }, + { + "@id": "_:b1", + "http://example.org/bar": [ { "@id": "_:b0" } ] + }, + { + "@id": "http://example.org/origin", + "http://example.org/bar": [ { "@id": "_:b0" } ] + } +] diff --git a/core/src/test/resources/json-ld.org/flatten/0046-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0046-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0046-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0046-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0046-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0046-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0046-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0046-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0047-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0047-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0047-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0047-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0047-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0047-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0047-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0047-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0048-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0048-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0048-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0048-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0048-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0048-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0048-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0048-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0049-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0049-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0049-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0049-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/0049-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/0049-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/0049-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/0049-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/flatten/e001-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/e001-in.jsonld new file mode 100644 index 00000000..d2e4b8bc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/e001-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example/foo", + "@index": "bar" + }, + { + "@id": "http://example/foo", + "@index": "baz" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/flatten/h001-context.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/h001-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h001-context.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/h001-context.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/h001-in.html b/core/src/test/resources/json-ld-api-tests/flatten/h001-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h001-in.html rename to core/src/test/resources/json-ld-api-tests/flatten/h001-in.html diff --git a/core/src/test/resources/json-ld.org/flatten/h001-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/h001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/h001-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/h002-context.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/h002-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h002-context.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/h002-context.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/h002-in.html b/core/src/test/resources/json-ld-api-tests/flatten/h002-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h002-in.html rename to core/src/test/resources/json-ld-api-tests/flatten/h002-in.html diff --git a/core/src/test/resources/json-ld.org/flatten/h002-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/h002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/h002-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/h003-context.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/h003-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h003-context.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/h003-context.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/h003-in.html b/core/src/test/resources/json-ld-api-tests/flatten/h003-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h003-in.html rename to core/src/test/resources/json-ld-api-tests/flatten/h003-in.html diff --git a/core/src/test/resources/json-ld.org/flatten/h003-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/h003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/h003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/h004-context.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/h004-context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h004-context.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/h004-context.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/h004-in.html b/core/src/test/resources/json-ld-api-tests/flatten/h004-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h004-in.html rename to core/src/test/resources/json-ld-api-tests/flatten/h004-in.html diff --git a/core/src/test/resources/json-ld.org/flatten/h004-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/h004-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/h004-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/h004-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/li01-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/li01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/li01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/li01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/li01-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/li01-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/li01-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/li01-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/li02-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/li02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/li02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/li02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/li02-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/li02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/li02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/li02-out.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/li03-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/li03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/li03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/li03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/flatten/li03-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/li03-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/flatten/li03-out.jsonld rename to core/src/test/resources/json-ld-api-tests/flatten/li03-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf-manifest.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf-manifest.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf-manifest.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0001-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0001-in.nq new file mode 100644 index 00000000..d2a4a3a6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0001-in.nq @@ -0,0 +1,5 @@ + . + . + "Plain" . + "2012-05-12"^^ . + "English"@en . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0001-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0001-out.jsonld new file mode 100644 index 00000000..c498d2b1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0001-out.jsonld @@ -0,0 +1,12 @@ +[ + { + "@id": "http://example.com/Subj1", + "@type": ["http://example.com/Type"], + "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}], + "http://example.com/prop2": [ + {"@value": "Plain"}, + {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"}, + {"@value": "English", "@language": "en"} + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0002-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0002-in.nq new file mode 100644 index 00000000..9ec666d2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0002-in.nq @@ -0,0 +1,5 @@ + "true"^^ . + "false"^^ . + "1"^^ . + "1.1"^^ . + "1.1E-1"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0002-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0002-out.jsonld new file mode 100644 index 00000000..5fc21685 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0002-out.jsonld @@ -0,0 +1,27 @@ +[ + { + "@id": "http://example.com/Subj1", + "http://example.com/prop": [ + { + "@value": "true", + "@type": "http://www.w3.org/2001/XMLSchema#boolean" + }, + { + "@value": "false", + "@type": "http://www.w3.org/2001/XMLSchema#boolean" + }, + { + "@value": "1", + "@type": "http://www.w3.org/2001/XMLSchema#integer" + }, + { + "@value": "1.1", + "@type": "http://www.w3.org/2001/XMLSchema#decimal" + }, + { + "@value": "1.1E-1", + "@type": "http://www.w3.org/2001/XMLSchema#double" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0003-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0003-in.nq new file mode 100644 index 00000000..90054b2c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0003-in.nq @@ -0,0 +1,6 @@ + . +_:a . + _:a . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0003-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0003-out.jsonld new file mode 100644 index 00000000..ce60daef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0003-out.jsonld @@ -0,0 +1,19 @@ +[ + { + "@id": "_:a", + "@type": ["http://example.com/SubType"] + }, + { + "@id": "http://example.com/Subj1", + "@type": ["http://example.com/Type"], + "http://example.com/ref": [ + {"@id": "_:a"}, + {"@id": "http://example.com/Subj2"} + ] + }, + { + "@id": "http://example.com/Subj2", + "@type": ["http://example.com/Type"], + "http://example.com/ref": [{"@id": "http://example.com/Subj1"}] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0004-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0004-in.nq new file mode 100644 index 00000000..6e88e659 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0004-in.nq @@ -0,0 +1,10 @@ + . +_:a "apple" . +_:a _:b . +_:b "bananna" . +_:b . + _:a . + . +_:c . +_:c . + _:c . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0004-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0004-out.jsonld new file mode 100644 index 00000000..2dd24731 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0004-out.jsonld @@ -0,0 +1,18 @@ +[ + { + "@id": "http://example.com/Subj1", + "@type": ["http://example.com/Type"], + "http://example.com/literalList": [{ + "@list": [ + {"@value": "apple"}, + {"@value": "bananna"} + ] + }], + "http://example.com/emptyList": [{ + "@list": [] + }], + "http://example.com/iriList": [{ + "@list": [{"@id": "http://example.com/iri"}] + }] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0005-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0005-in.nq new file mode 100644 index 00000000..d99820ec --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0005-in.nq @@ -0,0 +1,9 @@ + . + . +_:a "a" . +_:a _:b . +_:b "b" . +_:b . + _:a . + . + "Graph" . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0005-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0005-out.jsonld new file mode 100644 index 00000000..a87ac2ea --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0005-out.jsonld @@ -0,0 +1,20 @@ +[ + { + "@id": "http://example.com/U", + "@graph": [ + { + "@id": "http://example.com/Subj1", + "@type": ["http://example.com/Type"], + "http://example.com/ref": [{"@id": "http://example.com/U"}], + "http://example.com/list": [{ + "@list": [ + {"@value": "a"}, + {"@value": "b"} + ] + }] + } + ], + "@type": ["http://example.com/Graph"], + "http://example.com/name": [{"@value": "Graph"}] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0006-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0006-in.nq new file mode 100644 index 00000000..0f3f0281 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0006-in.nq @@ -0,0 +1,14 @@ + . + . + _:a . +_:a "a" . +_:a _:b . +_:b "b" . +_:b . + . + . + _:c . +_:c "c" . +_:c _:d . +_:d "d" . +_:d . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0006-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0006-out.jsonld new file mode 100644 index 00000000..9bbdbaa6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0006-out.jsonld @@ -0,0 +1,34 @@ +[ + { + "@id": "http://example.com/U", + "@graph": [ + { + "@id": "http://example.com/Subj1", + "@type": ["http://example.com/Type"], + "http://example.com/ref": [{"@id": "http://example.com/U"}], + "http://example.com/list": [{ + "@list": [ + {"@value": "a"}, + {"@value": "b"} + ] + }] + } + ] + }, + { + "@id": "http://example.com/V", + "@graph": [ + { + "@id": "http://example.com/Subj1", + "@type": ["http://example.com/Type2"], + "http://example.com/ref": [{"@id": "http://example.com/V"}], + "http://example.com/list": [{ + "@list": [ + {"@value": "c"}, + {"@value": "d"} + ] + }] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0007-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0007-in.nq new file mode 100644 index 00000000..ad8557af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0007-in.nq @@ -0,0 +1,5 @@ + . + "http://gregkellogg.net/foaf#me" . + . + "http://www.statistik-berlin-brandenburg.de/" . + "3499879"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0007-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0007-out.jsonld new file mode 100644 index 00000000..e837c6d4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0007-out.jsonld @@ -0,0 +1,27 @@ +[ + { + "@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"} + ], + "@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/"}] + } + ] + }, + { + "@id": "http://data.wikipedia.org/snaks/BerlinFact", + "@graph": [ + { + "@id": "http://en.wikipedia.org/wiki/Berlin", + "http://data.wikipedia.org/vocab#population": [{ + "@value": "3499879", + "@type": "http://www.w3.org/2001/XMLSchema#integer" + }] + } + ] + } +] diff --git a/core/src/test/resources/json-ld.org/fromRdf/li03-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0008-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/li03-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/0008-in.nq diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0008-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0008-out.jsonld new file mode 100644 index 00000000..ce6e1822 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0008-out.jsonld @@ -0,0 +1,50 @@ +[ + { + "@id": "_:b1", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b1" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ + { + "@list": [ + { "@value": "b2" }, + { "@value": "b3" } + ] + } + ] + }, + { + "@id": "_:c1", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "c1" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ + { + "@list": [ + { "@value": "c2" }, + { "@value": "c3" } + ] + } + ] + }, + { + "@id": "_:lista", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a1" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ + { + "@list": [ + { "@value": "a2" }, + { "@value": "a3" } + ] + } + ] + }, + { + "@id": "http://example.com", + "http://example.com/property": [ + { + "@list": [ + { "@id": "_:lista" }, + { "@id": "_:b1" }, + { "@id": "_:c1" } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0009-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0009-in.nq new file mode 100644 index 00000000..91fff6bd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0009-in.nq @@ -0,0 +1,7 @@ + . + "a" . + _:b . +_:b "b" . +_:b _:c . +_:c "c" . +_:c . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0009-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0009-out.jsonld new file mode 100644 index 00000000..e58e7563 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0009-out.jsonld @@ -0,0 +1,18 @@ +[ + { + "@id": "http://example.com", + "http://example.com/property": [ { "@id": "http://example.com/list" } ] + }, + { + "@id": "http://example.com/list", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ + { + "@list": [ + { "@value": "b" }, + { "@value": "c" } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0010-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0010-in.nq new file mode 100644 index 00000000..be9e012d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0010-in.nq @@ -0,0 +1,6 @@ + _:a . +_:a "a" . +_:a _:b . +_:b "b" . +_:b _:c . +_:c "c" . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0010-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0010-out.jsonld new file mode 100644 index 00000000..54036dd6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0010-out.jsonld @@ -0,0 +1,20 @@ +[ + { + "@id": "_:a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] + }, + { + "@id": "_:b", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:c" } ] + }, + { + "@id": "_:c", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "c" } ] + }, + { + "@id": "http://example.com", + "http://example.com/property": [ { "@id": "_:a" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0011-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0011-in.nq new file mode 100644 index 00000000..ef525710 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0011-in.nq @@ -0,0 +1,8 @@ + _:a . +_:a "a" . +_:a _:b . +_:b "b" . +_:b "This list node has also properties other than rdf:first and rdf:rest" . +_:b _:c . +_:c "c" . +_:c . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0011-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0011-out.jsonld new file mode 100644 index 00000000..811e31c2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0011-out.jsonld @@ -0,0 +1,25 @@ +[ + { + "@id": "_:a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] + }, + { + "@id": "_:b", + "http://example.com/other-property": [ + { "@value": "This list node has also properties other than rdf:first and rdf:rest" } + ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ + { + "@list": [ + { "@value": "c" } + ] + } + ] + }, + { + "@id": "http://example.com", + "http://example.com/property": [ { "@id": "_:a" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0012-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0012-in.nq new file mode 100644 index 00000000..d8edbdc1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0012-in.nq @@ -0,0 +1,7 @@ + _:a . +_:a "a" . +_:a _:b . +_:b "b" . +_:b _:c . +_:c "c" . +_:c _:b . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0012-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0012-out.jsonld new file mode 100644 index 00000000..b33cc8ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0012-out.jsonld @@ -0,0 +1,21 @@ +[ + { + "@id": "_:a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] + }, + { + "@id": "_:b", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:c" } ] + }, + { + "@id": "_:c", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "c" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] + }, + { + "@id": "http://example.com", + "http://example.com/property": [ { "@id": "_:a" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0013-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0013-in.nq new file mode 100644 index 00000000..45ac1cab --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0013-in.nq @@ -0,0 +1,8 @@ + _:a . +_:a "a" . +_:a _:b . +_:b "b1" . +_:b "b2" . +_:b _:c . +_:c "c" . +_:c . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0013-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0013-out.jsonld new file mode 100644 index 00000000..dc4874f8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0013-out.jsonld @@ -0,0 +1,27 @@ +[ + { + "@id": "_:a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] + }, + { + "@id": "_:b", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ + { "@value": "b1" }, + { "@value": "b2" } + ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ + { + "@list": [ + { + "@value": "c" + } + ] + } + ] + }, + { + "@id": "http://example.com", + "http://example.com/property": [ { "@id": "_:a" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0014-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0014-in.nq new file mode 100644 index 00000000..68dfb57b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0014-in.nq @@ -0,0 +1,10 @@ + _:a . +_:a "a" . +_:a _:b . +_:b "b" . +_:b _:c . +_:b _:d . +_:c "c" . +_:c . +_:d "d" . +_:d . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0014-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0014-out.jsonld new file mode 100644 index 00000000..2eb7a477 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0014-out.jsonld @@ -0,0 +1,19 @@ +[ + { + "@id": "_:a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@id": "_:b" } ] + }, + { + "@id": "_:b", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "b" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ + { "@list": [ { "@value": "c" } ] }, + { "@list": [ { "@value": "d" } ] } + ] + }, + { + "@id": "http://example.com", + "http://example.com/property": [ { "@id": "_:a" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0015-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0015-in.nq new file mode 100644 index 00000000..f30175ea --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0015-in.nq @@ -0,0 +1,3 @@ + _:a . +_:a "a" . +_:a "b" . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0015-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0015-out.jsonld new file mode 100644 index 00000000..feb930b8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0015-out.jsonld @@ -0,0 +1,11 @@ +[ + { + "@id": "_:a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#first": [ { "@value": "a" } ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest": [ { "@value": "b" } ] + }, + { + "@id": "http://example.com", + "http://example.com/property": [ { "@id": "_:a" } ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0016-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0016-in.nq new file mode 100644 index 00000000..fcccffe6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0016-in.nq @@ -0,0 +1,11 @@ + _:b0 . +_:b0 . +_:b0 "A" . +_:b0 _:b1 . +_:b1 "B" . +_:b1 _:b2 . +_:b1 . +_:b1 . +_:b1 . +_:b2 "C" . +_:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0016-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0016-out.jsonld new file mode 100644 index 00000000..1ecddd1d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0016-out.jsonld @@ -0,0 +1,20 @@ +[ + { + "@id": "http://example.com/", + "http://example.com/list": [ + { + "@list": [ + { + "@value": "A" + }, + { + "@value": "B" + }, + { + "@value": "C" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0017-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0017-in.nq new file mode 100644 index 00000000..8796c62e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0017-in.nq @@ -0,0 +1,9 @@ + "1" . + "1" . + "2"^^ . + "2"^^ . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0017-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0017-out.jsonld new file mode 100644 index 00000000..5a47d269 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0017-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com/nodeA", + "http://example.com/property": [ + { "@value": "1" }, + { + "@value": "2", + "@type": "http://www.w3.org/2001/XMLSchema#integer" + }, + { "@id": "http://example.com/nodeB" } + ], + "@type": [ "http://example.com/TypeA" ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0018-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0018-in.nq new file mode 100644 index 00000000..9ec666d2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0018-in.nq @@ -0,0 +1,5 @@ + "true"^^ . + "false"^^ . + "1"^^ . + "1.1"^^ . + "1.1E-1"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0018-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0018-out.jsonld new file mode 100644 index 00000000..3412f7a6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0018-out.jsonld @@ -0,0 +1,12 @@ +[ + { + "@id": "http://example.com/Subj1", + "http://example.com/prop": [ + { "@value": true }, + { "@value": false }, + { "@value": 1 }, + { "@value": "1.1", "@type": "http://www.w3.org/2001/XMLSchema#decimal"}, + { "@value": 0.11 } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0019-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0019-in.nq new file mode 100644 index 00000000..d2a4a3a6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0019-in.nq @@ -0,0 +1,5 @@ + . + . + "Plain" . + "2012-05-12"^^ . + "English"@en . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/0019-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0019-out.jsonld new file mode 100644 index 00000000..77ce6121 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/0019-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "http://example.com/Subj1", + "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}], + "http://example.com/prop2": [ + {"@value": "Plain"}, + {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"}, + {"@value": "English", "@language": "en"} + ], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ + {"@id": "http://example.com/Type"} + ] + } +] diff --git a/core/src/test/resources/json-ld.org/fromRdf/0020-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0020-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0020-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/0020-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0020-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0020-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0020-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/0020-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0021-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0021-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0021-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/0021-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0021-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0021-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0021-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/0021-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0022-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0022-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0022-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/0022-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0022-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0022-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0022-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/0022-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0023-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0023-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0023-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/0023-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0023-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0023-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0023-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/0023-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0024-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0024-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0024-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/0024-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0024-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0024-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0024-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/0024-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0025-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0025-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0025-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/0025-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0025-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0025-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0025-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/0025-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/0026-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/0026-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0026-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/0026-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/0026-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/0026-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/0026-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/0026-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/js01-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js01-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js01-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/js01-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/js01-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/js01-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js01-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/js01-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/js02-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js02-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js02-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/js02-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/js02-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/js02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/js02-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/js03-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js03-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js03-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/js03-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/js03-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/js03-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js03-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/js03-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/js04-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js04-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js04-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/js04-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/js04-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/js04-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js04-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/js04-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/js05-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js05-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js05-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/js05-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/js05-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/js05-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js05-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/js05-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/js06-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js06-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js06-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/js06-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/js06-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/js06-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js06-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/js06-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/js07-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js07-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js07-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/js07-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/js07-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/js07-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/js07-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/js07-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/li01-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/li01-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/li01-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/li01-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/li01-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/li01-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/li01-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/li01-out.jsonld diff --git a/core/src/test/resources/json-ld.org/fromRdf/li02-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/li02-in.nq similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/li02-in.nq rename to core/src/test/resources/json-ld-api-tests/fromRdf/li02-in.nq diff --git a/core/src/test/resources/json-ld.org/fromRdf/li02-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/li02-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/li02-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/li02-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/li03-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/li03-in.nq new file mode 100644 index 00000000..878e33ed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/li03-in.nq @@ -0,0 +1,28 @@ + _:outerlist . +_:outerlist _:lista . +_:outerlist _:b0 . + +_:lista "a1" . +_:lista _:a2 . +_:a2 "a2" . +_:a2 _:a3 . +_:a3 "a3" . +_:a3 . + +_:c0 _:c1 . +_:c0 . +_:c1 "c1" . +_:c1 _:c2 . +_:c2 "c2" . +_:c2 _:c3 . +_:c3 "c3" . +_:c3 . + +_:b0 _:b1 . +_:b0 _:c0 . +_:b1 "b1" . +_:b1 _:b2 . +_:b2 "b2" . +_:b2 _:b3 . +_:b3 "b3" . +_:b3 . diff --git a/core/src/test/resources/json-ld.org/fromRdf/li03-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/li03-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/fromRdf/li03-out.jsonld rename to core/src/test/resources/json-ld-api-tests/fromRdf/li03-out.jsonld diff --git a/core/src/test/resources/json-ld.org/manifest.jsonld b/core/src/test/resources/json-ld-api-tests/manifest.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/manifest.jsonld rename to core/src/test/resources/json-ld-api-tests/manifest.jsonld diff --git a/core/src/test/resources/json-ld.org/mk_vocab.rb b/core/src/test/resources/json-ld-api-tests/mk_vocab.rb similarity index 100% rename from core/src/test/resources/json-ld.org/mk_vocab.rb rename to core/src/test/resources/json-ld-api-tests/mk_vocab.rb diff --git a/core/src/test/resources/json-ld.org/remote-doc-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc-manifest.jsonld rename to core/src/test/resources/json-ld-api-tests/remote-doc-manifest.jsonld diff --git a/core/src/test/resources/json-ld.org/remote-doc/.htaccess b/core/src/test/resources/json-ld-api-tests/remote-doc/.htaccess similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/.htaccess rename to core/src/test/resources/json-ld-api-tests/remote-doc/.htaccess diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0001-in.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0001-in.jsonld new file mode 100644 index 00000000..681f6787 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0001-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/vocab#" + }, + "@id": "", + "term": "object" +} diff --git a/core/src/test/resources/json-ld.org/remote-doc/0001-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0001-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0001-out.jsonld rename to core/src/test/resources/json-ld-api-tests/remote-doc/0001-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0002-in.json b/core/src/test/resources/json-ld-api-tests/remote-doc/0002-in.json new file mode 100644 index 00000000..681f6787 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0002-in.json @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/vocab#" + }, + "@id": "", + "term": "object" +} diff --git a/core/src/test/resources/json-ld.org/remote-doc/0002-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0002-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0002-out.jsonld rename to core/src/test/resources/json-ld-api-tests/remote-doc/0002-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0003-in.jldt b/core/src/test/resources/json-ld-api-tests/remote-doc/0003-in.jldt new file mode 100644 index 00000000..681f6787 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0003-in.jldt @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/vocab#" + }, + "@id": "", + "term": "object" +} diff --git a/core/src/test/resources/json-ld.org/remote-doc/0003-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0003-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0003-out.jsonld rename to core/src/test/resources/json-ld-api-tests/remote-doc/0003-out.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/wf05-out.nq b/core/src/test/resources/json-ld-api-tests/remote-doc/0004-in.jldte similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf05-out.nq rename to core/src/test/resources/json-ld-api-tests/remote-doc/0004-in.jldte diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0009-context.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0009-context.jsonld new file mode 100644 index 00000000..c76725ed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0009-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@vocab": "http://example/vocab#" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0009-in.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0009-in.jsonld new file mode 100644 index 00000000..71663163 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0009-in.jsonld @@ -0,0 +1,5 @@ +[{ + "@id": "", + "http://example/0009/term": "value1", + "term": "value2" +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/remote-doc/0009-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0009-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0009-out.jsonld rename to core/src/test/resources/json-ld-api-tests/remote-doc/0009-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0010-context.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0010-context.jsonld new file mode 100644 index 00000000..c76725ed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0010-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@vocab": "http://example/vocab#" + } +} diff --git a/core/src/test/resources/json-ld.org/remote-doc/0013-in.json b/core/src/test/resources/json-ld-api-tests/remote-doc/0010-in.json similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0013-in.json rename to core/src/test/resources/json-ld-api-tests/remote-doc/0010-in.json diff --git a/core/src/test/resources/json-ld.org/remote-doc/0010-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0010-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0010-out.jsonld rename to core/src/test/resources/json-ld-api-tests/remote-doc/0010-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0011-context.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0011-context.jsonld new file mode 100644 index 00000000..c76725ed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0011-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@vocab": "http://example/vocab#" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0011-in.jldt b/core/src/test/resources/json-ld-api-tests/remote-doc/0011-in.jldt new file mode 100644 index 00000000..d76b9971 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0011-in.jldt @@ -0,0 +1,4 @@ +[{ + "@id": "", + "term": "value" +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/remote-doc/0011-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0011-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0011-out.jsonld rename to core/src/test/resources/json-ld-api-tests/remote-doc/0011-out.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0012-context1.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0012-context1.jsonld new file mode 100644 index 00000000..c76725ed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0012-context1.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@vocab": "http://example/vocab#" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0012-context2.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0012-context2.jsonld new file mode 100644 index 00000000..c76725ed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0012-context2.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@vocab": "http://example/vocab#" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0012-in.json b/core/src/test/resources/json-ld-api-tests/remote-doc/0012-in.json new file mode 100644 index 00000000..d76b9971 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0012-in.json @@ -0,0 +1,4 @@ +[{ + "@id": "", + "term": "value" +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/remote-doc/0013-context.html b/core/src/test/resources/json-ld-api-tests/remote-doc/0013-context.html similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0013-context.html rename to core/src/test/resources/json-ld-api-tests/remote-doc/0013-context.html diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/0013-in.json b/core/src/test/resources/json-ld-api-tests/remote-doc/0013-in.json new file mode 100644 index 00000000..d76b9971 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/0013-in.json @@ -0,0 +1,4 @@ +[{ + "@id": "", + "term": "value" +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/remote-doc/0013-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/0013-out.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/remote-doc/0013-out.jsonld rename to core/src/test/resources/json-ld-api-tests/remote-doc/0013-out.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0120-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0120-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0120-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0120-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0120-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0120-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0120-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0120-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0121-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0121-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0121-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0121-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0121-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0121-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0121-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0121-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0122-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0122-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0122-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0122-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0122-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0122-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0122-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0122-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0123-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0123-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0123-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0123-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0123-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0123-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0123-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0123-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0124-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0124-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0124-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0124-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0124-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0124-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0124-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0124-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0125-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0125-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0125-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0125-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0125-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0125-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0125-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0125-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0127-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0127-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0127-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0127-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0127-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0127-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0127-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0127-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0129-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0129-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0129-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0129-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0129-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0129-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0129-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0129-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0130-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0130-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0130-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0130-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0130-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0130-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0130-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0130-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0131-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0131-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0131-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0131-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0131-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0131-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0131-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0131-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0132-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-0132-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0132-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-0132-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0132-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf-0132-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0132-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf-0132-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-manifest.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf-manifest.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf-manifest.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0001-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0001-in.jsonld new file mode 100644 index 00000000..fc4e3810 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0001-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://greggkellogg.net/foaf#me", + "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0001-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0001-out.nq new file mode 100644 index 00000000..f7238bfc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0001-out.nq @@ -0,0 +1 @@ + "Gregg Kellogg" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0002-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0002-in.jsonld new file mode 100644 index 00000000..bd662d13 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0002-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"foaf": "http://xmlns.com/foaf/0.1/"}, + "@id": "http://greggkellogg.net/foaf#me", + "foaf:name": "Gregg Kellogg" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0002-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0002-out.nq new file mode 100644 index 00000000..f7238bfc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0002-out.nq @@ -0,0 +1 @@ + "Gregg Kellogg" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0003-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0003-in.jsonld new file mode 100644 index 00000000..7955fff4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0003-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foaf": "http://xmlns.com/foaf/0.1/"}, + "@type": "foaf:Person" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0003-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0003-out.nq new file mode 100644 index 00000000..abb5581a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0003-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0004-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0004-in.jsonld new file mode 100644 index 00000000..31d68b86 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0004-in.jsonld @@ -0,0 +1,6 @@ +{ + "http://www.w3.org/2000/01/rdf-schema#label": { + "@value": "A plain literal with a lang tag.", + "@language": "en-us" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0004-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0004-out.nq new file mode 100644 index 00000000..27d42d9d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0004-out.nq @@ -0,0 +1 @@ +_:b0 "A plain literal with a lang tag."@en-us . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0005-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0005-in.jsonld new file mode 100644 index 00000000..1b04c4e7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0005-in.jsonld @@ -0,0 +1,6 @@ +{ + "@id": "http://greggkellogg.net/foaf#me", + "http://xmlns.com/foaf/0.1/knows": { + "http://xmlns.com/foaf/0.1/name": {"@value": "Herman Iván", "@language": "hu"} + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0005-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0005-out.nq new file mode 100644 index 00000000..69274a94 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0005-out.nq @@ -0,0 +1,2 @@ + _:b0 . +_:b0 "Herman Iván"@hu . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0006-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0006-in.jsonld new file mode 100644 index 00000000..f83b97c5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0006-in.jsonld @@ -0,0 +1,7 @@ +{ + "@id": "http://greggkellogg.net/foaf#me", + "http://purl.org/dc/terms/created": { + "@value": "1957-02-27", + "@type": "http://www.w3.org/2001/XMLSchema#date" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0006-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0006-out.nq new file mode 100644 index 00000000..232d9928 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0006-out.nq @@ -0,0 +1 @@ + "1957-02-27"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0007-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0007-in.jsonld new file mode 100644 index 00000000..5d2c77d9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0007-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://greggkellogg.net/foaf#me", + "@type": "http://xmlns.com/foaf/0.1/Person" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0007-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0007-out.nq new file mode 100644 index 00000000..7f647003 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0007-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0008-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0008-in.jsonld new file mode 100644 index 00000000..f767f653 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0008-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"d": "http://example.com/default#"}, + "d:foo": "bar" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0008-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0008-out.nq new file mode 100644 index 00000000..b9aed32f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0008-out.nq @@ -0,0 +1 @@ +_:b0 "bar" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0009-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0009-in.jsonld new file mode 100644 index 00000000..5efb8076 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0009-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": "http://example.com/default#"}, + "foo:": "bar" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0009-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0009-out.nq new file mode 100644 index 00000000..20fe7691 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0009-out.nq @@ -0,0 +1 @@ +_:b0 "bar" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0010-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0010-in.jsonld new file mode 100644 index 00000000..1ecc30b6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0010-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": {"foaf": "http://xmlns.com/foaf/0.1/"}, + "@id": "http://greggkellogg.net/foaf#me", + "foaf:knows": { + "@id": "http://manu.sporny.org/#me", + "foaf:name": "Manu Sporny" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0010-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0010-out.nq new file mode 100644 index 00000000..35c39991 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0010-out.nq @@ -0,0 +1,2 @@ + . + "Manu Sporny" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0011-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0011-in.jsonld new file mode 100644 index 00000000..853938fa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0011-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "foaf": "http://xmlns.com/foaf/0.1/" + }, + "@id": "http://greggkellogg.net/foaf#me", + "foaf:knows": { + "foaf:name": "Dave Longley" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0011-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0011-out.nq new file mode 100644 index 00000000..019740b5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0011-out.nq @@ -0,0 +1,2 @@ + _:b0 . +_:b0 "Dave Longley" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0012-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0012-in.jsonld new file mode 100644 index 00000000..2b326172 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0012-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "foaf": "http://xmlns.com/foaf/0.1/" + }, + "@id": "http://greggkellogg.net/foaf#me", + "foaf:knows": ["Manu Sporny", "Dave Longley"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0012-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0012-out.nq new file mode 100644 index 00000000..203fc141 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0012-out.nq @@ -0,0 +1,2 @@ + "Dave Longley" . + "Manu Sporny" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0013-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0013-in.jsonld new file mode 100644 index 00000000..d5b025d1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0013-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "foaf": "http://xmlns.com/foaf/0.1/" + }, + "@id": "http://greggkellogg.net/foaf#me", + "foaf:knows": {"@list": []} +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0013-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0013-out.nq new file mode 100644 index 00000000..f334b9bd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0013-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0014-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0014-in.jsonld new file mode 100644 index 00000000..327284f5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0014-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "foaf": "http://xmlns.com/foaf/0.1/" + }, + "@id": "http://greggkellogg.net/foaf#me", + "foaf:knows": {"@list": ["Manu Sporny"]} +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0014-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0014-out.nq new file mode 100644 index 00000000..9a2730cc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0014-out.nq @@ -0,0 +1,3 @@ + _:b0 . +_:b0 "Manu Sporny" . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0015-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0015-in.jsonld new file mode 100644 index 00000000..b340db46 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0015-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "foaf": "http://xmlns.com/foaf/0.1/" + }, + "@id": "http://greggkellogg.net/foaf#me", + "foaf:knows": {"@list": ["Manu Sporny", "Dave Longley"]} +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0015-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0015-out.nq new file mode 100644 index 00000000..7bab72ef --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0015-out.nq @@ -0,0 +1,5 @@ + _:b0 . +_:b0 "Manu Sporny" . +_:b0 _:b1 . +_:b1 "Dave Longley" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0016-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0016-in.jsonld new file mode 100644 index 00000000..bdd01c9b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0016-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "", + "@type": "http://www.w3.org/2000/01/rdf-schema#Resource" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0016-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0016-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0016-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0016-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0017-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0017-in.jsonld new file mode 100644 index 00000000..7e39ca80 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0017-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "a/b", + "@type": "http://www.w3.org/2000/01/rdf-schema#Resource" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0017-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0017-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0017-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0017-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0018-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0018-in.jsonld new file mode 100644 index 00000000..64ee0c96 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0018-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "#frag", + "@type": "http://www.w3.org/2000/01/rdf-schema#Resource" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0018-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0018-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0018-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0018-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0019-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0019-in.jsonld new file mode 100644 index 00000000..0e0e3e3f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0019-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "foaf": "http://xmlns.com/foaf/0.1/", + "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id"} + }, + "@id": "http://greggkellogg.net/foaf#me", + "knows": "http://manu.sporny.org/#me" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0019-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0019-out.nq new file mode 100644 index 00000000..bbc020fc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0019-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0020-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0020-in.jsonld new file mode 100644 index 00000000..804b2fcd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0020-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "xsd": "http://www.w3.org/2001/XMLSchema#", + "created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:date"} + }, + "@id": "http://greggkellogg.net/foaf#me", + "created": "1957-02-27" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0020-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0020-out.nq new file mode 100644 index 00000000..232d9928 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0020-out.nq @@ -0,0 +1 @@ + "1957-02-27"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0022-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0022-in.jsonld new file mode 100644 index 00000000..31b76ad2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0022-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": { "measure": "http://example/measure#"}, + "measure:cups": 5.3 +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0022-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0022-out.nq new file mode 100644 index 00000000..31092dd7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0022-out.nq @@ -0,0 +1 @@ +_:b0 "5.3E0"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0023-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0023-in.jsonld new file mode 100644 index 00000000..be260796 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0023-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": { "chem": "http://example/chem#"}, + "chem:protons": 12 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0023-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0023-out.nq new file mode 100644 index 00000000..d5a91bd1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0023-out.nq @@ -0,0 +1 @@ +_:b0 "12"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0024-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0024-in.jsonld new file mode 100644 index 00000000..777318ae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0024-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": { "sensor": "http://example/sensor#"}, + "sensor:active": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0024-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0024-out.nq new file mode 100644 index 00000000..f0582851 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0024-out.nq @@ -0,0 +1 @@ +_:b0 "true"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0025-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0025-in.jsonld new file mode 100644 index 00000000..a00107b6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0025-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@container": "@list"} + }, + "@id": "http://greggkellogg.net/foaf#me", + "knows": ["Manu Sporny"] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0025-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0025-out.nq new file mode 100644 index 00000000..9a2730cc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0025-out.nq @@ -0,0 +1,3 @@ + _:b0 . +_:b0 "Manu Sporny" . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0026-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0026-in.jsonld new file mode 100644 index 00000000..bb3ba6a8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0026-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"rdfs": "http://www.w3.org/2000/01/rdf-schema#"}, + "@type": ["rdfs:Resource", "rdfs:Class"] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0026-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0026-out.nq new file mode 100644 index 00000000..9030c08b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0026-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0027-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0027-in.jsonld new file mode 100644 index 00000000..920dcb82 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0027-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "ex": "http://example.org/", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "ex:locatedIn": {"@type": "@id"}, + "ex:hasPopulaton": {"@type": "xsd:integer"}, + "ex:hasReference": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/ParisFact1", + "@type": "rdf:Graph", + "@graph": { + "@id": "http://example.org/location/Paris#this", + "ex:locatedIn": "http://example.org/location/France#this" + }, + "ex:hasReference": ["http://www.britannica.com/", "http://www.wikipedia.org/", "http://www.brockhaus.de/"] + }, + { + "@id": "http://example.org/ParisFact2", + "@type": "rdf:Graph", + "@graph": { + "@id": "http://example.org/location/Paris#this", + "ex:hasPopulation": 7000000 + }, + "ex:hasReference": "http://www.wikipedia.org/" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0027-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0027-out.nq new file mode 100644 index 00000000..e77f2baa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0027-out.nq @@ -0,0 +1,8 @@ + . + . + . + . + . + . + "7000000"^^ . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0028-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0028-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0028-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/0028-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0028-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0028-out.nq new file mode 100644 index 00000000..68b12ab9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0028-out.nq @@ -0,0 +1,6 @@ + "Hello World!" . + "2011-09-23T20:21:34Z"^^ . + "OGQzNGVkMzVm4NTIyZTkZDYMmMzQzNmExMgoYzI43Q3ODIyOWM32NjI=" . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0029-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0029-in.jsonld new file mode 100644 index 00000000..4a7a16cc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0029-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "wd": "http://data.wikipedia.org/vocab#", + "ws": "http://data.wikipedia.org/snaks/", + "wp": "http://en.wikipedia.org/wiki/" + }, + "@id": "ws:Assertions", + "@type": "wd:SnakSet", + "@graph": { + "@id": "ws:BerlinFact", + "@type": "wd:Snak", + "@graph": { + "@id": "wp:Berlin", + "wd:population": 3499879 + }, + "wd:assertedBy": "http://www.statistik-berlin-brandenburg.de/" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0029-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0029-out.nq new file mode 100644 index 00000000..b3d81238 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0029-out.nq @@ -0,0 +1,4 @@ + . + "http://www.statistik-berlin-brandenburg.de/" . + . + "3499879"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0030-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0030-in.jsonld new file mode 100644 index 00000000..dc9cff6b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0030-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "xsd": "http://www.w3.org/2001/XMLSchema#", + "knows": "http://xmlns.com/foaf/0.1/knows", + "name": "http://xmlns.com/foaf/0.1/name", + "asOf": "http://example.org/asOf" + }, + "@id": "http://example.org/linked-data-graph", + "asOf": {"@value": "2012-04-09", "@type": "xsd:date"}, + "@graph": + [ + { + "@id": "http://manu.sporny.org/i/public", + "@type": "foaf:Person", + "name": "Manu Sporny", + "knows": "http://greggkellogg.net/foaf#me" + }, + { + "@id": "http://greggkellogg.net/foaf#me", + "@type": "foaf:Person", + "name": "Gregg Kellogg", + "knows": "http://manu.sporny.org/i/public" + }, + { + "@id": "http://www.markus-lanthaler.com/" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0030-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0030-out.nq new file mode 100644 index 00000000..709e7fb7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0030-out.nq @@ -0,0 +1,7 @@ + "2012-04-09"^^ . + . + "http://manu.sporny.org/i/public" . + "Gregg Kellogg" . + . + "http://greggkellogg.net/foaf#me" . + "Manu Sporny" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0031-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0031-in.jsonld new file mode 100644 index 00000000..c3172323 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0031-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "defines": { "@reverse": "rdfs:definedBy" }, + "label": "rdfs:label" + }, + "@id": "http://example.com/vocab", + "label": "My vocabulary", + "defines": [ + { + "@id": "http://example.com/vocab#property", + "label": "A property" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0031-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0031-out.nq new file mode 100644 index 00000000..70485565 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0031-out.nq @@ -0,0 +1,3 @@ + . + "A property" . + "My vocabulary" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0032-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0032-in.jsonld new file mode 100644 index 00000000..78873bd8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0032-in.jsonld @@ -0,0 +1,16 @@ +{ + "@id": "ex:node1", + "owl:sameAs": { + "@id": "ex:node2", + "rdfs:label": "Node 2", + "link": "ex:node3", + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#" + } + }, + "@context": { + "ex": "http://example.org/", + "owl": "http://www.w3.org/2002/07/owl#", + "link": { "@id": "ex:link", "@type": "@id" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0032-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0032-out.nq new file mode 100644 index 00000000..119504f6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0032-out.nq @@ -0,0 +1,3 @@ + . + . + "Node 2" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0033-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0033-in.jsonld new file mode 100644 index 00000000..070a328f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0033-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "ex": "http://example.org/", + "owl": "http://www.w3.org/2002/07/owl#", + "link": { + "@id": "ex:link", + "@type": "@id" + } + }, + "owl:sameAs": { + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#" + }, + "rdfs:label": "Node 2", + "link": "ex:node3", + "@id": "ex:node2" + }, + "@id": "ex:node1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0033-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0033-out.nq new file mode 100644 index 00000000..119504f6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0033-out.nq @@ -0,0 +1,3 @@ + . + . + "Node 2" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0034-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0034-in.jsonld new file mode 100644 index 00000000..e6113232 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0034-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "link": { "@id": "ex:link", "@type": "@id" }, + "ex": "http://example.org/", + "owl": "http://www.w3.org/2002/07/owl#" + }, + "@id": "ex:node1", + "owl:sameAs": { + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#" + }, + "@id": "ex:node2", + "rdfs:label": "Node 2", + "link": "ex:node3" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0034-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0034-out.nq new file mode 100644 index 00000000..119504f6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0034-out.nq @@ -0,0 +1,3 @@ + . + . + "Node 2" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0035-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0035-in.jsonld new file mode 100644 index 00000000..bf6a9502 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0035-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "double": { + "@id": "http://example.com/double", + "@type": "http://www.w3.org/2001/XMLSchema#double" + }, + "integer": { + "@id": "http://example.com/integer", + "@type": "http://www.w3.org/2001/XMLSchema#integer" + } + }, + "double": [1, 2.2 ], + "integer": [8, 9.9 ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0035-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0035-out.nq new file mode 100644 index 00000000..cbbaaedb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0035-out.nq @@ -0,0 +1,4 @@ +_:b0 "1.0E0"^^ . +_:b0 "2.2E0"^^ . +_:b0 "8"^^ . +_:b0 "9.9E0"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0036-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0036-in.jsonld new file mode 100644 index 00000000..0197274c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0036-in.jsonld @@ -0,0 +1,7 @@ +{ + "@id": "http://example.com/", + "ex:prop1": { + "@list": [ { "@id": "_:x1" }, { "@id": "_:x2" } ] + }, + "ex:prop2": { "@id": "_:x3" } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0036-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0036-out.nq new file mode 100644 index 00000000..79f81425 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0036-out.nq @@ -0,0 +1,6 @@ + _:b3 . + _:b2 . +_:b3 _:b0 . +_:b3 _:b4 . +_:b4 _:b1 . +_:b4 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0041-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0041-in.jsonld new file mode 100644 index 00000000..0bfd26f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0041-in.jsonld @@ -0,0 +1 @@ +{"@id": "http://example.org/test#example"} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/wf06-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0041-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf06-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0041-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0042-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0042-in.jsonld new file mode 100644 index 00000000..e4598e55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0042-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "t1": "http://example.com/t1", + "t2": "http://example.com/t2", + "term1": "http://example.com/term1", + "term2": "http://example.com/term2", + "term3": "http://example.com/term3", + "term4": "http://example.com/term4", + "term5": "http://example.com/term5" + }, + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0042-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0042-out.nq new file mode 100644 index 00000000..54f0bc03 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0042-out.nq @@ -0,0 +1,7 @@ + "v1" . + "v2"^^ . + "v3"@en . + "4"^^ . + "50"^^ . + "51"^^ . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0043-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0043-in.jsonld new file mode 100644 index 00000000..2007f363 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0043-in.jsonld @@ -0,0 +1,12 @@ +{ + "@id": "http://example.org/id", + "http://example.org/property": null, + "regularJson": { + "nonJsonLd": "property", + "deep": [{ + "foo": "bar" + }, { + "bar": "foo" + }] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/wf07-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0043-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf07-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0043-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0044-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0044-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0044-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/0044-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0044-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0044-out.nq new file mode 100644 index 00000000..fdb2e633 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0044-out.nq @@ -0,0 +1,11 @@ + . + _:b0 . + "v1" . + . + . + _:b1 . + "one item" . +_:b0 "one item" . +_:b0 . +_:b1 "one item" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0045-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0045-in.jsonld new file mode 100644 index 00000000..33622d53 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0045-in.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": { + "@id": "http://xmlns.com/foaf/0.1/homepage", + "@type": "@id" + }, + "know": "http://xmlns.com/foaf/0.1/knows", + "@iri": "@id" + }, + "@id": "#me", + "know": [ + { + "@id": "http://example.com/bob#me", + "name": "Bob", + "homepage": "http://example.com/bob" + }, { + "@id": "http://example.com/alice#me", + "name": "Alice", + "homepage": "http://example.com/alice" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld.org/toRdf/0045-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0045-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0045-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0045-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0046-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0046-in.jsonld new file mode 100644 index 00000000..045e2a2a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0046-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://example.org/test#property1": { + "@type": "@id" + }, + "http://example.org/test#property2": { + "@type": "@id" + }, + "uri": "@id" + }, + "http://example.org/test#property1": { + "http://example.org/test#property4": "foo", + "uri": "http://example.org/test#example2" + }, + "http://example.org/test#property2": "http://example.org/test#example3", + "http://example.org/test#property3": { + "uri": "http://example.org/test#example4" + }, + "uri": "http://example.org/test#example1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0046-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0046-out.nq new file mode 100644 index 00000000..a9213cf3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0046-out.nq @@ -0,0 +1,4 @@ + . + . + . + "foo" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0047-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0047-in.jsonld new file mode 100644 index 00000000..b49fac4e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0047-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:date": { + "@type": "xsd:dateTime" + }, + "ex:parent": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#example1", + "ex:date": "2011-01-25T00:00:00Z", + "ex:embed": { + "@id": "http://example.org/test#example2", + "ex:parent": "http://example.org/test#example1" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0047-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0047-out.nq new file mode 100644 index 00000000..5f833b1d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0047-out.nq @@ -0,0 +1,3 @@ + "2011-01-25T00:00:00Z"^^ . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0048-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0048-in.jsonld new file mode 100644 index 00000000..a17b9493 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0048-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test", + "ex:test": { "@value": "test", "@language": "en" }, + "ex:drop-lang-only": { "@language": "en" }, + "ex:keep-full-value": { "@value": "only value" } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0048-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0048-out.nq new file mode 100644 index 00000000..d0af636b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0048-out.nq @@ -0,0 +1,2 @@ + "only value" . + "test"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0049-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0049-in.jsonld new file mode 100644 index 00000000..6acef5c5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0049-in.jsonld @@ -0,0 +1,43 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "authored": "http://example.org/test#chapter", + "name": "Jane" + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0049-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0049-out.nq new file mode 100644 index 00000000..1c8d94af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0049-out.nq @@ -0,0 +1,9 @@ + . + "Writer" . + "My Book" . + "Fun" . + "Chapter One" . + . + "Jane" . + "John" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0050-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0050-in.jsonld new file mode 100644 index 00000000..f2d0a384 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0050-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "d": "http://purl.org/dc/elements/1.1/", + "e": "http://example.org/vocab#", + "f": "http://xmlns.com/foaf/0.1/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test", + "e:bool": true, + "e:int": 123 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0050-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0050-out.nq new file mode 100644 index 00000000..5fe1cc05 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0050-out.nq @@ -0,0 +1,2 @@ + "true"^^ . + "123"^^ . diff --git a/core/src/test/resources/json-ld.org/toRdf/0051-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0051-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0051-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/0051-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0051-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0051-out.nq new file mode 100644 index 00000000..c581db6a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0051-out.nq @@ -0,0 +1,2 @@ + . + "Title" . diff --git a/core/src/test/resources/json-ld.org/toRdf/0052-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0052-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0052-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/0052-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0052-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0052-out.nq new file mode 100644 index 00000000..1c8d94af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0052-out.nq @@ -0,0 +1,9 @@ + . + "Writer" . + "My Book" . + "Fun" . + "Chapter One" . + . + "Jane" . + "John" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0053-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0053-in.jsonld new file mode 100644 index 00000000..7795576f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0053-in.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": ["v1"], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [4], + "http://example.com/term5": [50, 51] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0053-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0053-out.nq new file mode 100644 index 00000000..54f0bc03 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0053-out.nq @@ -0,0 +1,7 @@ + "v1" . + "v2"^^ . + "v3"@en . + "4"^^ . + "50"^^ . + "51"^^ . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0054-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0054-in.jsonld new file mode 100644 index 00000000..ba913ff2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0054-in.jsonld @@ -0,0 +1,50 @@ +{ + "@context": { + "ex": "http://example.org/test#", + "property1": { + "@id": "http://example.org/test#property1", + "@type": "@id" + }, + "property2": { + "@id": "ex:property2", + "@type": "@id" + }, + "uri": "@id", + "set": "@set", + "value": "@value", + "type": "@type", + "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" } + }, + "property1": { + "uri": "ex:example2", + "http://example.org/test#property4": "foo" + }, + "property2": "http://example.org/test#example3", + "http://example.org/test#property3": { + "uri": "http://example.org/test#example4" + }, + "ex:property4": { + "uri": "ex:example4", + "ex:property5": [ + { + "set": [ + { + "value": "2012-03-31", + "type": "xsd:date" + } + ] + } + ] + }, + "ex:property6": [ + { + "set": [ + { + "value": null, + "type": "xsd:date" + } + ] + } + ], + "uri": "http://example.org/test#example1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0054-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0054-out.nq new file mode 100644 index 00000000..a84697e1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0054-out.nq @@ -0,0 +1,6 @@ + . + . + . + . + "foo" . + "2012-03-31"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0055-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0055-in.jsonld new file mode 100644 index 00000000..ae60d731 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0055-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set" }, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set" } + }, + "@id": "http://example.org/id", + "mylist1": [], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "myset3": [ { "@set": [ "hello", "this" ] }, "will", { "@set": [ "be", "collapsed" ] } ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0055-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0055-out.nq new file mode 100644 index 00000000..ecd95e6a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0055-out.nq @@ -0,0 +1,6 @@ + . + "be" . + "collapsed" . + "hello" . + "this" . + "will" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0056-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0056-in.jsonld new file mode 100644 index 00000000..c151040a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0056-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "myproperty": { "@id": "http://example.com/myproperty" }, + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set" } + }, + "@id": "http://example.org/id1", + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "myproperty": { + "@context": null, + "@id": "http://example.org/id2", + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "http://example.org/myproperty2": "ok" + }, + "http://example.com/emptyobj": { + "@context": null, + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0056-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0056-out.nq new file mode 100644 index 00000000..c5363743 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0056-out.nq @@ -0,0 +1,9 @@ + _:b0 . + . + _:b1 . + . + "ok" . +_:b1 "2"^^ . +_:b1 _:b2 . +_:b2 "hi" . +_:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0057-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0057-in.jsonld new file mode 100644 index 00000000..dea8bf80 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0057-in.jsonld @@ -0,0 +1,45 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + }, + "id": "@id", + "data": "@graph" + }, + "data": [ + { + "id": "http://example.org/test#chapter", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "authored": "http://example.org/test#chapter", + "name": "Jane" + }, + { + "id": "http://example.org/test#john", + "name": "John" + }, + { + "id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0057-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0057-out.nq new file mode 100644 index 00000000..1c8d94af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0057-out.nq @@ -0,0 +1,9 @@ + . + "Writer" . + "My Book" . + "Fun" . + "Chapter One" . + . + "Jane" . + "John" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0058-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0058-in.jsonld new file mode 100644 index 00000000..21933fda --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0058-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "@language": "en", + "de": { "@id": "ex:german", "@language": "de" }, + "nolang": { "@id": "ex:nolang", "@language": null } + }, + "@id": "http://example.org/test", + "ex:test-default": [ + "hello", + 1, + true + ], + "de": [ + "hallo", + 2, + true + ], + "nolang": [ + "no language", + 3, + false + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0058-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0058-out.nq new file mode 100644 index 00000000..aaa1eccc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0058-out.nq @@ -0,0 +1,9 @@ + "2"^^ . + "hallo"@de . + "true"^^ . + "3"^^ . + "false"^^ . + "no language" . + "1"^^ . + "hello"@en . + "true"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0059-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0059-in.jsonld new file mode 100644 index 00000000..b91f8860 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0059-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "myproperty": "http://example.com/myproperty" + }, + "myproperty": { "@value" : null } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0059-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0059-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0060-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0060-in.jsonld new file mode 100644 index 00000000..989e1192 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0060-in.jsonld @@ -0,0 +1,51 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "@graph": [ + { + "@id": "http://example.org/test#jane", + "name": "Jane", + "authored": { + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#chapter2", + "description": "More fun", + "title": "Chapter Two" + } + ] + } + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0060-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0060-out.nq new file mode 100644 index 00000000..440b2f7b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0060-out.nq @@ -0,0 +1,11 @@ + . + "Writer" . + "My Book" . + "Fun" _:b0 . + "Chapter One" _:b0 . + "More fun" _:b0 . + "Chapter Two" _:b0 . + _:b0 . + "Jane" . + "John" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0061-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0061-in.jsonld new file mode 100644 index 00000000..e52fd1b8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0061-in.jsonld @@ -0,0 +1,56 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "title": "My first graph", + "@graph": [ + { + "@id": "http://example.org/test#jane", + "name": "Jane", + "authored": { + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#chapter2", + "description": "More fun", + "title": "Chapter Two" + }, + { + "@id": "http://example.org/test#chapter3", + "title": "Chapter Three" + } + ] + } + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0061-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0061-out.nq new file mode 100644 index 00000000..841a3d49 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0061-out.nq @@ -0,0 +1,13 @@ + _:b0 . + "Writer" _:b0 . + "My Book" _:b0 . + "Fun" _:b1 . + "Chapter One" _:b1 . + "More fun" _:b1 . + "Chapter Two" _:b1 . + "Chapter Three" _:b1 . + _:b1 _:b0 . + "Jane" _:b0 . + "John" _:b0 . + _:b0 . +_:b0 "My first graph" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0062-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0062-in.jsonld new file mode 100644 index 00000000..e7f938ae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0062-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": "http://example.com/term", + "@language": "en" + }, + "term": "v" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0062-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0062-out.nq new file mode 100644 index 00000000..80c93983 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0062-out.nq @@ -0,0 +1 @@ +_:b0 "v"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0063-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0063-in.jsonld new file mode 100644 index 00000000..2a33783d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0063-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "xsd": "http://www.w3.org/2001/XMLSchema#", + "idlist": {"@id": "http://example.com/idlist", "@container": "@list", "@type": "@id"}, + "datelist": {"@id": "http://example.com/datelist", "@container": "@list", "@type": "xsd:date"}, + "idset": {"@id": "http://example.com/idset", "@container": "@set", "@type": "@id"}, + "dateset": {"@id": "http://example.com/dateset", "@container": "@set", "@type": "xsd:date"}, + "idprop": {"@id": "http://example.com/idprop", "@type": "@id" }, + "dateprop": {"@id": "http://example.com/dateprop", "@type": "xsd:date" }, + "idprop2": {"@id": "http://example.com/idprop2", "@type": "@id" }, + "dateprop2": {"@id": "http://example.com/dateprop2", "@type": "xsd:date" } + }, + "idlist": ["http://example.org/id"], + "datelist": ["2012-04-12"], + "idprop": {"@list": ["http://example.org/id"]}, + "dateprop": {"@list": ["2012-04-12"]}, + "idset": ["http://example.org/id"], + "dateset": ["2012-04-12"], + "idprop2": {"@set": ["http://example.org/id"]}, + "dateprop2": {"@set": ["2012-04-12"]} +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0063-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0063-out.nq new file mode 100644 index 00000000..2b1ed62f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0063-out.nq @@ -0,0 +1,16 @@ +_:b0 _:b1 . +_:b0 "2012-04-12"^^ . +_:b0 _:b2 . +_:b0 "2012-04-12"^^ . +_:b0 _:b3 . +_:b0 . +_:b0 _:b4 . +_:b0 . +_:b1 "2012-04-12"^^ . +_:b1 . +_:b2 "2012-04-12"^^ . +_:b2 . +_:b3 . +_:b3 . +_:b4 . +_:b4 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0064-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0064-in.jsonld new file mode 100644 index 00000000..fcf010c4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0064-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": [ + { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage","@type": "@id"} + }, + {"ical": "http://www.w3.org/2002/12/cal/ical#"} + ], + "@id": "http://example.com/speakers#Alice", + "name": "Alice", + "homepage": "http://xkcd.com/177/", + "ical:summary": "Alice Talk", + "ical:location": "Lyon Convention Centre, Lyon, France" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0064-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0064-out.nq new file mode 100644 index 00000000..1ed3b1ca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0064-out.nq @@ -0,0 +1,4 @@ + "Lyon Convention Centre, Lyon, France" . + "Alice Talk" . + . + "Alice" . diff --git a/core/src/test/resources/json-ld.org/toRdf/0065-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0065-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0065-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/0065-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0065-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0065-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0065-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0065-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0066-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0066-in.jsonld new file mode 100644 index 00000000..36d8cac7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0066-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.com/a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b" + }, { + "@id": "http://example.com/c", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ + "http://example.com/d", + "http://example.com/e" + ] + }, { + "@id": "http://example.com/f", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0066-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0066-out.nq new file mode 100644 index 00000000..093e6294 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0066-out.nq @@ -0,0 +1,4 @@ + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0067-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0067-in.jsonld new file mode 100644 index 00000000..6c47cfb7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0067-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, + "myset": {"@id": "http://example.com/myset", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist": [1, 2, 2, 3], + "myset": [1, 2, 2, 3] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0067-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0067-out.nq new file mode 100644 index 00000000..d089ef53 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0067-out.nq @@ -0,0 +1,12 @@ + _:b0 . + "1"^^ . + "2"^^ . + "3"^^ . +_:b0 "1"^^ . +_:b0 _:b1 . +_:b1 "2"^^ . +_:b1 _:b2 . +_:b2 "2"^^ . +_:b2 _:b3 . +_:b3 "3"^^ . +_:b3 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0068-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0068-in.jsonld new file mode 100644 index 00000000..4f05d0e4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0068-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/vocab#", + "date": { "@type": "dateTime" } + }, + "@id": "example1", + "@type": "test", + "date": "2011-01-25T00:00:00Z", + "embed": { + "@id": "example2", + "expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "dateTime" } + } +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0068-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0068-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0068-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0068-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/0069-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0069-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0069-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/0069-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0069-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0069-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0069-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0069-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0070-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0070-in.jsonld new file mode 100644 index 00000000..ca711673 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0070-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0070-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0070-out.nq new file mode 100644 index 00000000..c171a406 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0070-out.nq @@ -0,0 +1,3 @@ + "Die Königin"@de . + "Ihre Majestät"@de . + "The Queen"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0071-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0071-in.jsonld new file mode 100644 index 00000000..192ff27c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0071-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "ex:integer": { "@type": "xsd:integer" }, + "ex:double": { "@type": "xsd:double" }, + "ex:boolean": { "@type": "xsd:boolean" } + }, + "@id": "http://example.org/test#example1", + "ex:integer": 1, + "ex:double": 123.45, + "ex:boolean": true +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0071-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0071-out.nq new file mode 100644 index 00000000..3812698c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0071-out.nq @@ -0,0 +1,3 @@ + "true"^^ . + "1.2345E2"^^ . + "1"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0072-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0072-in.jsonld new file mode 100644 index 00000000..920554fc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0072-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://xmlns.com/foaf/0.1/", + "from": null, + "university": { "@id": null } + }, + "@id": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "from": "Italy", + "university": "TU Graz" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0072-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0072-out.nq new file mode 100644 index 00000000..fe7cd665 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0072-out.nq @@ -0,0 +1 @@ + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0073-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0073-in.jsonld new file mode 100644 index 00000000..abf6feed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0073-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab#", + "homepage": { + "@type": "@id" + }, + "created_at": { + "@type": "http://www.w3.org/2001/XMLSchema#date" + } + }, + "name": "Markus Lanthaler", + "homepage": "http://www.markus-lanthaler.com/", + "created_at": "2012-10-28" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0073-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0073-out.nq new file mode 100644 index 00000000..58e36e13 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0073-out.nq @@ -0,0 +1,3 @@ +_:b0 "2012-10-28"^^ . +_:b0 . +_:b0 "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0074-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0074-in.jsonld new file mode 100644 index 00000000..22bb6039 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0074-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "colliding": "http://example.com/vocab/collidingTerm" + }, + "@id": "http://example.com/IriCollissions", + "colliding": [ + "value 1", + 2 + ], + "collidingTerm": [ + 3, + "four" + ], + "http://example.com/vocab/collidingTerm": 5 +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0074-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0074-out.nq new file mode 100644 index 00000000..a1c2f661 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0074-out.nq @@ -0,0 +1,5 @@ + "2"^^ . + "3"^^ . + "5"^^ . + "four" . + "value 1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0075-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0075-in.jsonld new file mode 100644 index 00000000..7bf59112 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0075-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "@language": "it", + "label": { + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + }, + "http://example.com/vocab/label": [ + "Il re", + { "@value": "The king", "@language": "en" } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0075-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0075-out.nq new file mode 100644 index 00000000..a7b58eed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0075-out.nq @@ -0,0 +1,5 @@ + "Die Königin"@de . + "Ihre Majestät"@de . + "Il re"@it . + "The Queen"@en . + "The king"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0076-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0076-in.jsonld new file mode 100644 index 00000000..23c99b55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0076-in.jsonld @@ -0,0 +1,90 @@ +{ + "@context": { + "property": "http://example.com/property", + "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } + }, + "@id": "http://example.org/indexTest", + "indexContainer": { + "A": [ + { + "@id": "http://example.org/nodeWithoutIndexA" + }, + { + "@id": "http://example.org/nodeWithIndexA", + "@index": "this overrides the 'A' index from the container" + }, + 1, + true, + false, + null, + "simple string A", + { + "@value": "typed literal A", + "@type": "http://example.org/type" + }, + { + "@value": "language-tagged string A", + "@language": "en" + } + ], + "B": "simple string B", + "C": [ + { + "@id": "http://example.org/nodeWithoutIndexC" + }, + { + "@id": "http://example.org/nodeWithIndexC", + "@index": "this overrides the 'C' index from the container" + }, + 3, + true, + false, + null, + "simple string C", + { + "@value": "typed literal C", + "@type": "http://example.org/type" + }, + { + "@value": "language-tagged string C", + "@language": "en" + } + ] + }, + "property": [ + { + "@id": "http://example.org/nodeWithoutIndexProp" + }, + { + "@id": "http://example.org/nodeWithIndexProp", + "@index": "prop" + }, + { + "@value": 3, + "@index": "prop" + }, + { + "@value": true, + "@index": "prop" + }, + { + "@value": false, + "@index": "prop" + }, + { + "@value": null, + "@index": "prop" + }, + "simple string no index", + { + "@value": "typed literal Prop", + "@type": "http://example.org/type", + "@index": "prop" + }, + { + "@value": "language-tagged string Prop", + "@language": "en", + "@index": "prop" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0076-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0076-out.nq new file mode 100644 index 00000000..5fc76bd7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0076-out.nq @@ -0,0 +1,25 @@ + "1"^^ . + "3"^^ . + "false"^^ . + "false"^^ . + "language-tagged string A"@en . + "language-tagged string C"@en . + "simple string A" . + "simple string B" . + "simple string C" . + "true"^^ . + "true"^^ . + "typed literal A"^^ . + "typed literal C"^^ . + . + . + . + . + "3"^^ . + "false"^^ . + "language-tagged string Prop"@en . + "simple string no index" . + "true"^^ . + "typed literal Prop"^^ . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0077-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0077-in.jsonld new file mode 100644 index 00000000..7e65af4a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0077-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0077-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0077-out.nq new file mode 100644 index 00000000..787901b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0077-out.nq @@ -0,0 +1,3 @@ + . + "Dave Longley" . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0078-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0078-in.jsonld new file mode 100644 index 00000000..17071294 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0078-in.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "term": "_:term", + "termId": { "@id": "term", "@type": "@id" } + }, + "@id": "_:term", + "@type": "_:term", + "term": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Bx", + "term": "term" + }, + "plain value", + { + "@id": "_:term" + } + ], + "termId": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Cx", + "term": "termId" + }, + "term:AppendedToBlankNode", + "_:termAppendedToBlankNode", + "relativeIri", + { + "@id": "_:term" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0078-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0078-out.nq new file mode 100644 index 00000000..bca23603 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0078-out.nq @@ -0,0 +1 @@ +_:b0 _:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0079-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0079-in.jsonld new file mode 100644 index 00000000..7c3549ee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0079-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0079-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0079-out.nq new file mode 100644 index 00000000..787901b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0079-out.nq @@ -0,0 +1,3 @@ + . + "Dave Longley" . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0080-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0080-in.jsonld new file mode 100644 index 00000000..2d02e0ad --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0080-in.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + }, + "indexes": { + "@id": "vocab:index", + "@container": "@index" + } + }, + "@id": "http://example.com/queen", + "label": [ + "The Queen" + ], + "indexes": + [ + "No", + "indexes", + { "@id": "asTheValueIsntAnObject" } + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0080-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0080-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0080-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0080-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0081-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0081-in.jsonld new file mode 100644 index 00000000..7915153e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0081-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "property": "http://example.com/property", + "nested": "http://example.com/nested", + "@language": "en" + }, + "property": "this is English", + "nested": { + "@context": { + "@language": null + }, + "property": "and this is a plain string" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0081-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0081-out.nq new file mode 100644 index 00000000..d938ed71 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0081-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b0 "this is English"@en . +_:b1 "and this is a plain string" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0082-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0082-in.jsonld new file mode 100644 index 00000000..60cf9ac2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0082-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0082-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0082-out.nq new file mode 100644 index 00000000..787901b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0082-out.nq @@ -0,0 +1,3 @@ + . + "Dave Longley" . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0083-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0083-in.jsonld new file mode 100644 index 00000000..8ef07587 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0083-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "isKnownBy": [ + { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + { + "@id": "http://example.com/people/gregg", + "name": "Gregg Kellogg" + } + ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0083-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0083-out.nq new file mode 100644 index 00000000..82f12f7f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0083-out.nq @@ -0,0 +1,5 @@ + "Dave Longley" . + "Gregg Kellogg" . + . + . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0084-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0084-in.jsonld new file mode 100644 index 00000000..c12bd7b2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0084-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "property": { "@id": "http://example.com/vocab/property", "@language": "de" }, + "indexMap": { "@id": "http://example.com/vocab/indexMap", "@language": "en", "@container": "@index" } + }, + "@id": "http://example.com/node", + "property": [ + { + "@id": "http://example.com/propertyValueNode", + "indexMap": { + "expands to english string": "simple string" + } + }, + "einfacher String" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0084-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0084-out.nq new file mode 100644 index 00000000..21981f04 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0084-out.nq @@ -0,0 +1,3 @@ + "einfacher String"@de . + . + "simple string"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0085-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0085-in.jsonld new file mode 100644 index 00000000..09207e31 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0085-in.jsonld @@ -0,0 +1,3 @@ +{ + "@value": "free-floating value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0085-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0085-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0086-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0086-in.jsonld new file mode 100644 index 00000000..081a8877 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0086-in.jsonld @@ -0,0 +1,14 @@ +{ + "@graph": [ + { "@id": "http://example.com/free-floating-node" }, + { "@value": "free-floating value object" }, + { "@value": "free-floating value language-tagged string", "@language": "en" }, + { "@value": "free-floating value typed value", "@type": "http://example.com/type" }, + "free-floating plain string", + true, + false, + null, + 1, + 1.5 + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0086-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0086-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0087-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0087-in.jsonld new file mode 100644 index 00000000..90d54114 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0087-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "property": "http://example.com/property" + }, + "@graph": [ + { + "@set": [ + "free-floating strings in set objects are removed", + { + "@id": "http://example.com/free-floating-node" + }, + { + "@id": "http://example.com/node", + "property": "nodes with properties are not removed" + } + ] + }, + { + "@list": [ + "lists are removed even though they represent an invisible linked structure, they have no real meaning", + { + "@id": "http://example.com/node-in-free-floating-list", + "property": "everything inside a free-floating list is removed with the list; also nodes with properties" + } + ] + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0087-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0087-out.nq new file mode 100644 index 00000000..f9b7ee6f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0087-out.nq @@ -0,0 +1 @@ + "nodes with properties are not removed" . diff --git a/core/src/test/resources/json-ld.org/toRdf/0088-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0088-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0088-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/0088-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0088-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0088-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0088-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0088-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0089-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0089-in.jsonld new file mode 100644 index 00000000..3f10e016 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0089-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + "http://example.com/people/dave", + "http://example.com/people/gregg" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0089-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0089-out.nq new file mode 100644 index 00000000..fe5c7f32 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0089-out.nq @@ -0,0 +1,3 @@ + . + . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0090-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0090-in.jsonld new file mode 100644 index 00000000..01b24726 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0090-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "issue": { "@id": "http://example.com/issue/", "@type": "@id" }, + "issue:raisedBy": { "@container": "@set" } + }, + "issue": "/issue/1", + "issue:raisedBy": "Markus" +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0090-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0090-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0090-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0090-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0091-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0091-in.jsonld new file mode 100644 index 00000000..77b7fbd8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0091-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": [ + { "id": "@id" }, + { "url": "id" } + ], + "url": "/issue/1", + "http://example.com/property": "ok" +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0091-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0091-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0091-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0091-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0092-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0092-in.jsonld new file mode 100644 index 00000000..ee3d9d2e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0092-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "property": "vocabRelativeProperty" + }, + "property": "must expand to http://example.org/vocabRelativeProperty", + "http://example.org/property": "ok" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0092-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0092-out.nq new file mode 100644 index 00000000..7e88362c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0092-out.nq @@ -0,0 +1,2 @@ +_:b0 "ok" . +_:b0 "must expand to http://example.org/vocabRelativeProperty" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0093-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0093-in.jsonld new file mode 100644 index 00000000..3ac3ea98 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0093-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"} + }, + "term": "http://example.org/enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0093-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0093-out.nq new file mode 100644 index 00000000..fe48284d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0093-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0094-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0094-in.jsonld new file mode 100644 index 00000000..680afbf0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0094-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"}, + "enum": {"@id": "http://example.org/enum"} + }, + "term": "enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0094-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0094-out.nq new file mode 100644 index 00000000..fe48284d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0094-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0095-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0095-in.jsonld new file mode 100644 index 00000000..1c5ed3b0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0095-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "term": {"@id": "http://example.org/term", "@type": "@vocab"} + }, + "term": "enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0095-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0095-out.nq new file mode 100644 index 00000000..fe48284d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0095-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0096-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0096-in.jsonld new file mode 100644 index 00000000..6d5b0cb9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0096-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, + "link": { "@id": "http://example.com/link", "@type": "@id" }, + "MarkusHomepage": "http://www.markus-lanthaler.com/", + "relative-iri": "http://example.com/error-if-this-is-used-for-link" + }, + "@id": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "homepage": "MarkusHomepage", + "link": "relative-iri" +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0096-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0096-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0096-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0096-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0097-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0097-in.jsonld new file mode 100644 index 00000000..732cc923 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0097-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" } + }, + "term": "not-a-term-thus-a-relative-IRI" +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0097-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0097-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0097-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0097-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0098-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0098-in.jsonld new file mode 100644 index 00000000..68dc3249 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0098-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" }, + "prefix": "http://example.com/vocab#" + }, + "term": "prefix:suffix" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0098-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0098-out.nq new file mode 100644 index 00000000..49cae840 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0098-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0099-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0099-in.jsonld new file mode 100644 index 00000000..05f582f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0099-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.org/vocab#" + }, + "@id": "example-with-vocab", + "@type": "vocab-prefixed", + "property": "property expanded using @vocab", + "embed": { + "@context": { + "@vocab": null + }, + "@id": "example-vocab-reset", + "@type": "document-relative", + "property": "@vocab reset, property will be dropped" + } +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0099-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0099-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0099-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0099-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0100-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0100-in.jsonld new file mode 100644 index 00000000..2a2d1905 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0100-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "property": "http://example.com/vocab#property" + }, + "@id": "../document-relative", + "@type": "#document-relative", + "property": { + "@context": { + "@base": "http://example.org/test/" + }, + "@id": "../document-base-overwritten", + "@type": "#document-base-overwritten", + "property": [ + { + "@context": null, + "@id": "../document-relative", + "@type": "#document-relative", + "property": "context completely reset, drops property" + }, + { + "@context": { + "@base": null + }, + "@id": "../document-relative", + "@type": "#document-relative", + "property": "@base is set to none" + } + ] + } +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0100-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0100-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0100-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0100-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0101-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0101-in.jsonld new file mode 100644 index 00000000..45c1d511 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0101-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "property": { + "@id": "http://example.com/property", + "@type": "http://example.com/datatype" + } + }, + "property": [ 1, true, false, 5.1 ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0101-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0101-out.nq new file mode 100644 index 00000000..00a8ffe3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0101-out.nq @@ -0,0 +1,4 @@ +_:b0 "1"^^ . +_:b0 "5.1E0"^^ . +_:b0 "false"^^ . +_:b0 "true"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0102-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0102-in.jsonld new file mode 100644 index 00000000..fb472514 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0102-in.jsonld @@ -0,0 +1,35 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file#with-a-fragment", + "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } + }, + "@id": "relativeIris", + "@type": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "../../../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ], + "links": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "./../../../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative", + "//example.org/../scheme-relative", + "//example.org/.././useless/../../scheme-relative" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0102-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0102-out.nq new file mode 100644 index 00000000..d5f5db3e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0102-out.nq @@ -0,0 +1,38 @@ + _:b0 . + . + . + . + . + . + . + . + . + . + . + . +_:b0 . +_:b0 _:b1 . +_:b1 . +_:b1 _:b2 . +_:b10 . +_:b10 _:b11 . +_:b11 . +_:b11 _:b12 . +_:b12 . +_:b12 . +_:b2 . +_:b2 _:b3 . +_:b3 . +_:b3 _:b4 . +_:b4 . +_:b4 _:b5 . +_:b5 . +_:b5 _:b6 . +_:b6 . +_:b6 _:b7 . +_:b7 . +_:b7 _:b8 . +_:b8 . +_:b8 _:b9 . +_:b9 . +_:b9 _:b10 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0103-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0103-in.jsonld new file mode 100644 index 00000000..a9a83b0c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0103-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": { + "Dave": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "Gregg": { + "@id": "http://example.com/people/gregg", + "name": "Gregg Kellogg" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0103-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0103-out.nq new file mode 100644 index 00000000..d907850e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0103-out.nq @@ -0,0 +1,5 @@ + . + "Dave Longley" . + . + "Gregg Kellogg" . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0104-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0104-in.jsonld new file mode 100644 index 00000000..dc313893 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0104-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + { + "name": "Dave Longley" + }, + { + "name": "Gregg Kellogg" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0104-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0104-out.nq new file mode 100644 index 00000000..15b58420 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0104-out.nq @@ -0,0 +1,5 @@ + "Markus Lanthaler" . +_:b0 . +_:b0 "Dave Longley" . +_:b1 . +_:b1 "Gregg Kellogg" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0105-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0105-in.jsonld new file mode 100644 index 00000000..116e0504 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0105-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "relative-iri": { + "@id": "relative-node", + "name": "Keys that are not mapped to an IRI in a reverse-map are dropped" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0105-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0105-out.nq new file mode 100644 index 00000000..787901b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0105-out.nq @@ -0,0 +1,3 @@ + . + "Dave Longley" . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0106-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0106-in.jsonld new file mode 100644 index 00000000..b3a9bd80 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0106-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows", + "@vocab": "http://example.com/vocab/" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "noTerm": { + "@id": "relative-node", + "name": "Compact keys using @vocab" + } + } +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0106-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0106-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0106-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0106-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0107-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0107-in.jsonld new file mode 100644 index 00000000..a8e29a67 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0107-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "http": "http://example.com/this-prefix-would-overwrite-all-http-iris" + }, + "@id": "http://example.org/node1", + "@type": "http://example.org/type", + "http://example.org/property": "all these IRIs remain unchanged because they are interpreted as absolute IRIs" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0107-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0107-out.nq new file mode 100644 index 00000000..c33dd89a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0107-out.nq @@ -0,0 +1,2 @@ + "all these IRIs remain unchanged because they are interpreted as absolute IRIs" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0108-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0108-in.jsonld new file mode 100644 index 00000000..ab52e5e7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0108-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "_": "http://example.com/this-prefix-would-overwrite-all-blank-node-identifiers" + }, + "@id": "_:node1", + "@type": "_:type", + "_:property": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0108-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0108-out.nq new file mode 100644 index 00000000..6a736bb1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0108-out.nq @@ -0,0 +1 @@ +_:b1 _:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0109-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0109-in.jsonld new file mode 100644 index 00000000..8f4a9aa9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0109-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "rdfs:subClassOf": { "@id": "rdfs:subClassOf", "@type": "@id" } + }, + "@id": "http://example.com/vocab#class", + "@type": "rdfs:Class", + "rdfs:subClassOf": "http://example.com/vocab#someOtherClass" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0109-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0109-out.nq new file mode 100644 index 00000000..eb20efc7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0109-out.nq @@ -0,0 +1,2 @@ + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0110-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0110-in.jsonld new file mode 100644 index 00000000..59733fb5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0110-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "prefix": "http://www.example.org/vocab#", + "prefix:foo": "prefix:foo" + }, + "@id": "http://example.com/vocab#id", + "@type": "prefix:Class", + "prefix:foo": "bar" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0110-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0110-out.nq new file mode 100644 index 00000000..532caa7a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0110-out.nq @@ -0,0 +1,2 @@ + "bar" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0111-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0111-in.jsonld new file mode 100644 index 00000000..598c43fe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0111-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "v:term": "v:somethingElse", + "v:termId": { "@id": "v:somethingElseId" } + }, + { + "v:term": "v:term", + "v:termId": { "@id": "v:termId" } + } + ], + "v:term": "value of v:term", + "v:termId": "value of v:termId" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0111-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0111-out.nq new file mode 100644 index 00000000..3f78e2ce --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0111-out.nq @@ -0,0 +1,2 @@ +_:b0 "value of v:term" . +_:b0 "value of v:termId" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0112-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0112-in.jsonld new file mode 100644 index 00000000..dcfa1b40 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0112-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "term": "v:somethingElse" + }, + { + "@vocab": "http://example.com/anotherVocab#", + "term": "term" + } + ], + "term": "value of term" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0112-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0112-out.nq new file mode 100644 index 00000000..8799e69b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0112-out.nq @@ -0,0 +1 @@ +_:b0 "value of term" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0113-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0113-in.jsonld new file mode 100644 index 00000000..3c337f02 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0113-in.jsonld @@ -0,0 +1,7 @@ +{ + "@id": "http://example/g", + "@graph": { + "@id": "http://example/s", + "http://example/p": {"@id": "http://example/o"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0113-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0113-out.nq new file mode 100644 index 00000000..a52ec902 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0113-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0114-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0114-in.jsonld new file mode 100644 index 00000000..9f170b51 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0114-in.jsonld @@ -0,0 +1,7 @@ +{ + "@id": "_:g", + "@graph": { + "@id": "http://example/s", + "http://example/p": {"@id": "http://example/o"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0114-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0114-out.nq new file mode 100644 index 00000000..58a2adc7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0114-out.nq @@ -0,0 +1 @@ + _:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0115-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0115-in.jsonld new file mode 100644 index 00000000..c7191848 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0115-in.jsonld @@ -0,0 +1,20 @@ +{ + "@graph": [{ + "@id": "http://example/s0", + "http://example/p0": {"@id": "http://example/o0"} + }, + { + "@id": "http://example/g", + "@graph": { + "@id": "http://example/s1", + "http://example/p1": {"@id": "http://example/o1"} + } + }, + { + "@id": "_:g", + "@graph": { + "@id": "http://example/s2", + "http://example/p2": {"@id": "http://example/o2"} + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0115-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0115-out.nq new file mode 100644 index 00000000..975388bf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0115-out.nq @@ -0,0 +1,3 @@ + . + . + _:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0116-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0116-in.jsonld new file mode 100644 index 00000000..d5749891 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0116-in.jsonld @@ -0,0 +1,8 @@ +{ + "@id": "http://example/s0", + "http://example/p0": {"@id": "http://example/o0"}, + "@graph": { + "@id": "http://example/s1", + "http://example/p1": {"@id": "http://example/o1"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0116-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0116-out.nq new file mode 100644 index 00000000..a7887a9f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0116-out.nq @@ -0,0 +1,2 @@ + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0117-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0117-in.jsonld new file mode 100644 index 00000000..cdd79a85 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0117-in.jsonld @@ -0,0 +1,7 @@ +{ + "http://example/p0": {"@id": "http://example/o0"}, + "@graph": { + "@id": "http://example/s1", + "http://example/p1": {"@id": "http://example/o1"} + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0117-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0117-out.nq new file mode 100644 index 00000000..1fdb0e0e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0117-out.nq @@ -0,0 +1,2 @@ + _:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0118-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0118-in.jsonld new file mode 100644 index 00000000..17071294 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0118-in.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "term": "_:term", + "termId": { "@id": "term", "@type": "@id" } + }, + "@id": "_:term", + "@type": "_:term", + "term": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Bx", + "term": "term" + }, + "plain value", + { + "@id": "_:term" + } + ], + "termId": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Cx", + "term": "termId" + }, + "term:AppendedToBlankNode", + "_:termAppendedToBlankNode", + "relativeIri", + { + "@id": "_:term" + } + ] +} diff --git a/core/src/test/resources/json-ld.org/toRdf/0118-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0118-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0118-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0118-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0119-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0119-in.jsonld new file mode 100644 index 00000000..088bb2ff --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0119-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "foo": "http://example.org/foo", + "bar": { "@reverse": "http://example.org/bar", "@type": "@id" } + }, + "foo": "Foo", + "bar": [ "http://example.org/origin", "_:b0" ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0119-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0119-out.nq new file mode 100644 index 00000000..6fbbe3de --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0119-out.nq @@ -0,0 +1,3 @@ + _:b0 . +_:b0 "Foo" . +_:b1 _:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0120-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0120-in.jsonld new file mode 100644 index 00000000..ad2884b9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0120-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/d;p?q", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s001", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s002", "urn:ex:p": "g"}, + {"@id": "urn:ex:s003", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s004", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s005", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s006", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s007", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s008", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s009", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s010", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s011", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s012", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s013", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s014", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s015", "urn:ex:p": ""}, + {"@id": "urn:ex:s016", "urn:ex:p": "."}, + {"@id": "urn:ex:s017", "urn:ex:p": "./"}, + {"@id": "urn:ex:s018", "urn:ex:p": ".."}, + {"@id": "urn:ex:s019", "urn:ex:p": "../"}, + {"@id": "urn:ex:s020", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s021", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s022", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s023", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s024", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s025", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s026", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s027", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s028", "urn:ex:p": "g."}, + {"@id": "urn:ex:s029", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s030", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s031", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s032", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s033", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s034", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s035", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s036", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s037", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s038", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s039", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s040", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s041", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s042", "urn:ex:p": "http:g"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0120-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0120-out.nq new file mode 100644 index 00000000..8503e524 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0120-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0121-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0121-in.jsonld new file mode 100644 index 00000000..86a197dc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0121-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/d/", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s043", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s044", "urn:ex:p": "g"}, + {"@id": "urn:ex:s045", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s046", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s047", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s048", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s049", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s050", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s051", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s052", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s053", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s054", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s055", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s056", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s057", "urn:ex:p": ""}, + {"@id": "urn:ex:s058", "urn:ex:p": "."}, + {"@id": "urn:ex:s059", "urn:ex:p": "./"}, + {"@id": "urn:ex:s060", "urn:ex:p": ".."}, + {"@id": "urn:ex:s061", "urn:ex:p": "../"}, + {"@id": "urn:ex:s062", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s063", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s064", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s065", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s066", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s067", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s068", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s069", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s070", "urn:ex:p": "g."}, + {"@id": "urn:ex:s071", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s072", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s073", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s074", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s075", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s076", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s077", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s078", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s079", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s080", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s081", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s082", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s083", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s084", "urn:ex:p": "http:g"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0121-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0121-out.nq new file mode 100644 index 00000000..b0a0231a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0121-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0122-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0122-in.jsonld new file mode 100644 index 00000000..f6c240c0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0122-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/./d;p?q", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s085", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s086", "urn:ex:p": "g"}, + {"@id": "urn:ex:s087", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s088", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s089", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s090", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s091", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s092", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s093", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s094", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s095", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s096", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s097", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s098", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s099", "urn:ex:p": ""}, + {"@id": "urn:ex:s100", "urn:ex:p": "."}, + {"@id": "urn:ex:s101", "urn:ex:p": "./"}, + {"@id": "urn:ex:s102", "urn:ex:p": ".."}, + {"@id": "urn:ex:s103", "urn:ex:p": "../"}, + {"@id": "urn:ex:s104", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s105", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s106", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s107", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s108", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s109", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s110", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s111", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s112", "urn:ex:p": "g."}, + {"@id": "urn:ex:s113", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s114", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s115", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s116", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s117", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s118", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s119", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s120", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s121", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s122", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s123", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s124", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s125", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s126", "urn:ex:p": "http:g"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0122-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0122-out.nq new file mode 100644 index 00000000..fd518304 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0122-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0123-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0123-in.jsonld new file mode 100644 index 00000000..006fa689 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0123-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/../d;p?q", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s127", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s128", "urn:ex:p": "g"}, + {"@id": "urn:ex:s129", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s130", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s131", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s132", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s133", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s134", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s135", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s136", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s137", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s138", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s139", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s140", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s141", "urn:ex:p": ""}, + {"@id": "urn:ex:s142", "urn:ex:p": "."}, + {"@id": "urn:ex:s143", "urn:ex:p": "./"}, + {"@id": "urn:ex:s144", "urn:ex:p": ".."}, + {"@id": "urn:ex:s145", "urn:ex:p": "../"}, + {"@id": "urn:ex:s146", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s147", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s148", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s149", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s150", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s151", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s152", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s153", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s154", "urn:ex:p": "g."}, + {"@id": "urn:ex:s155", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s156", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s157", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s158", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s159", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s160", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s161", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s162", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s163", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s164", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s165", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s166", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s167", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s168", "urn:ex:p": "http:g"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0123-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0123-out.nq new file mode 100644 index 00000000..59af1ece --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0123-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0124-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0124-in.jsonld new file mode 100644 index 00000000..d75b3d8c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0124-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/.", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s169", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s170", "urn:ex:p": "g"}, + {"@id": "urn:ex:s171", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s172", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s173", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s174", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s175", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s176", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s177", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s178", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s179", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s180", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s181", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s182", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s183", "urn:ex:p": ""}, + {"@id": "urn:ex:s184", "urn:ex:p": "."}, + {"@id": "urn:ex:s185", "urn:ex:p": "./"}, + {"@id": "urn:ex:s186", "urn:ex:p": ".."}, + {"@id": "urn:ex:s187", "urn:ex:p": "../"}, + {"@id": "urn:ex:s188", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s189", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s190", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s191", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s192", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s193", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s194", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s195", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s196", "urn:ex:p": "g."}, + {"@id": "urn:ex:s197", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s198", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s199", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s200", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s201", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s202", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s203", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s204", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s205", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s206", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s207", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s208", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s209", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s210", "urn:ex:p": "http:g"} + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0124-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0124-out.nq new file mode 100644 index 00000000..7a57e0e6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0124-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0125-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0125-in.jsonld new file mode 100644 index 00000000..2e1adc8b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0125-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/..", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s211", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s212", "urn:ex:p": "g"}, + {"@id": "urn:ex:s213", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s214", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s215", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s216", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s217", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s218", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s219", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s220", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s221", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s222", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s223", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s224", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s225", "urn:ex:p": ""}, + {"@id": "urn:ex:s226", "urn:ex:p": "."}, + {"@id": "urn:ex:s227", "urn:ex:p": "./"}, + {"@id": "urn:ex:s228", "urn:ex:p": ".."}, + {"@id": "urn:ex:s229", "urn:ex:p": "../"}, + {"@id": "urn:ex:s230", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s231", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s232", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s233", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s234", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s235", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s236", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s237", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s238", "urn:ex:p": "g."}, + {"@id": "urn:ex:s239", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s240", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s241", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s242", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s243", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s244", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s245", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s246", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s247", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s248", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s249", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s250", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s251", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s252", "urn:ex:p": "http:g"} + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0125-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0125-out.nq new file mode 100644 index 00000000..89a3f659 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0125-out.nq @@ -0,0 +1,42 @@ + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0126-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0126-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0126-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/0126-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0126-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0126-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0126-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0126-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0127-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0127-in.jsonld new file mode 100644 index 00000000..eec91f99 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0127-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": {"@base": "http://abc/def/ghi", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s295", "urn:ex:p": "."}, + {"@id": "urn:ex:s296", "urn:ex:p": ".?a=b"}, + {"@id": "urn:ex:s297", "urn:ex:p": ".#a=b"}, + {"@id": "urn:ex:s298", "urn:ex:p": ".."}, + {"@id": "urn:ex:s299", "urn:ex:p": "..?a=b"}, + {"@id": "urn:ex:s300", "urn:ex:p": "..#a=b"} + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0127-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0127-out.nq new file mode 100644 index 00000000..65e26022 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0127-out.nq @@ -0,0 +1,6 @@ + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld.org/toRdf/0128-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0128-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0128-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/0128-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/0128-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0128-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/0128-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/0128-out.nq diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0129-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0129-in.jsonld new file mode 100644 index 00000000..a199895e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0129-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": {"@base": "http://abc/d:f/ghi", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s304", "urn:ex:p": "xyz"}, + {"@id": "urn:ex:s305", "urn:ex:p": "./xyz"}, + {"@id": "urn:ex:s306", "urn:ex:p": "../xyz"} + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0129-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0129-out.nq new file mode 100644 index 00000000..31bce616 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0129-out.nq @@ -0,0 +1,3 @@ + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0130-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0130-in.jsonld new file mode 100644 index 00000000..bb11d1fe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0130-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"@base": "tag:example", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s307", "urn:ex:p": "a"} + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0130-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0130-out.nq new file mode 100644 index 00000000..48c95173 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0130-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0131-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0131-in.jsonld new file mode 100644 index 00000000..86954242 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0131-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"@base": "tag:example/foo", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s308", "urn:ex:p": "a"} + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0131-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0131-out.nq new file mode 100644 index 00000000..4c420b35 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0131-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0132-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/0132-in.jsonld new file mode 100644 index 00000000..d26b45b6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0132-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"@base": "tag:example/foo/", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s309", "urn:ex:p": "a"} + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/0132-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/0132-out.nq new file mode 100644 index 00000000..7215f758 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/0132-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld.org/toRdf/h001-in.html b/core/src/test/resources/json-ld-api-tests/toRdf/h001-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/h001-in.html rename to core/src/test/resources/json-ld-api-tests/toRdf/h001-in.html diff --git a/core/src/test/resources/json-ld.org/toRdf/h001-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/h001-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/h001-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/h001-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/h002-in.html b/core/src/test/resources/json-ld-api-tests/toRdf/h002-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/h002-in.html rename to core/src/test/resources/json-ld-api-tests/toRdf/h002-in.html diff --git a/core/src/test/resources/json-ld.org/toRdf/h002-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/h002-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/h002-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/h002-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/h003-in.html b/core/src/test/resources/json-ld-api-tests/toRdf/h003-in.html similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/h003-in.html rename to core/src/test/resources/json-ld-api-tests/toRdf/h003-in.html diff --git a/core/src/test/resources/json-ld.org/toRdf/h003-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/h003-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/h003-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/h003-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js01-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js01-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js01-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js01-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js02-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js02-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js02-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js02-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js03-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js03-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js03-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js03-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js04-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js04-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js04-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js04-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js04-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js05-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js05-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js05-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js05-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js06-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js06-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js06-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js06-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js06-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js06-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js07-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js07-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js07-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js07-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js07-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js07-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js07-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js07-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js08-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js08-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js08-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js08-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js08-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js08-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js08-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js08-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js09-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js09-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js09-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js09-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js09-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js09-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js09-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js09-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js10-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js10-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js10-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js10-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js10-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js10-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js10-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js10-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js11-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js11-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js11-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js11-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js11-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js11-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js11-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js11-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js12-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js12-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js12-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js12-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js12-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js12-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js12-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js12-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/js13-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js13-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js13-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/js13-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/js13-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js13-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/js13-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/js13-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/li01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/li01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/li01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/li01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/li01-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/li01-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/li01-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/li01-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/li02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/li02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/li02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/li02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/li02-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/li02-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/li02-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/li02-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/nt01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt02-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt03-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt04-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt05-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt06-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt06-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt07-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt07-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt07-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt07-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt08-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt08-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt08-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt08-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt09-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt09-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt09-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt09-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt10-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt10-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt10-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt10-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt11-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt11-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt11-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt11-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt12-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt12-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt12-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt12-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt13-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt13-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt13-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt13-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt14-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt14-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt14-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt14-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt15-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt15-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt15-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt15-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/nt16-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/nt16-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/nt16-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/nt16-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/rt01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/rt01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/rt01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/rt01-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/rt01-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/rt01-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/rt01-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/rt01-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/wf01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/wf01-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf01-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/wf01-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/wf01-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/wf01-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld.org/toRdf/wf02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/wf02-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf02-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/wf02-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/wf02-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/wf02-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld.org/toRdf/wf03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/wf03-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf03-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/wf03-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/wf03-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/wf03-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld.org/toRdf/wf04-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/wf04-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf04-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/wf04-in.jsonld diff --git a/core/src/test/resources/json-ld.org/toRdf/wf04-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/wf04-out.nq similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf04-out.nq rename to core/src/test/resources/json-ld-api-tests/toRdf/wf04-out.nq diff --git a/core/src/test/resources/json-ld.org/toRdf/wf05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/wf05-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf05-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/wf05-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/wf05-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/wf05-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld.org/toRdf/wf06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/wf06-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf06-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/wf06-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/wf06-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/wf06-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld.org/toRdf/wf07-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/wf07-in.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/toRdf/wf07-in.jsonld rename to core/src/test/resources/json-ld-api-tests/toRdf/wf07-in.jsonld diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/wf07-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/wf07-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld.org/vocab.html b/core/src/test/resources/json-ld-api-tests/vocab.html similarity index 100% rename from core/src/test/resources/json-ld.org/vocab.html rename to core/src/test/resources/json-ld-api-tests/vocab.html diff --git a/core/src/test/resources/json-ld.org/vocab.jsonld b/core/src/test/resources/json-ld-api-tests/vocab.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/vocab.jsonld rename to core/src/test/resources/json-ld-api-tests/vocab.jsonld diff --git a/core/src/test/resources/json-ld.org/vocab.ttl b/core/src/test/resources/json-ld-api-tests/vocab.ttl similarity index 100% rename from core/src/test/resources/json-ld.org/vocab.ttl rename to core/src/test/resources/json-ld-api-tests/vocab.ttl diff --git a/core/src/test/resources/json-ld.org/vocab_context.jsonld b/core/src/test/resources/json-ld-api-tests/vocab_context.jsonld similarity index 100% rename from core/src/test/resources/json-ld.org/vocab_context.jsonld rename to core/src/test/resources/json-ld-api-tests/vocab_context.jsonld diff --git a/core/src/test/resources/json-ld.org/vocab_template.haml b/core/src/test/resources/json-ld-api-tests/vocab_template.haml similarity index 100% rename from core/src/test/resources/json-ld.org/vocab_template.haml rename to core/src/test/resources/json-ld-api-tests/vocab_template.haml From 7783fc759e5a6b998cf06772f80b45f5f6bf82ef Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Mon, 9 Dec 2019 10:16:43 +0100 Subject: [PATCH 05/22] Improve test outputs --- .../com/github/jsonldjava/core/JsonLdProcessorTest.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java b/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java index 48e1bbbb..7dda0535 100644 --- a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java +++ b/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java @@ -43,6 +43,7 @@ import com.github.jsonldjava.utils.TestUtils; @RunWith(Parameterized.class) + public class JsonLdProcessorTest { private static final String TEST_DIR = "json-ld-api-tests"; @@ -177,7 +178,7 @@ public static void writeReport() } } - @Parameters(name = "{0}{1}") + @Parameters(name = "{0}|{1}") public static Collection data() throws URISyntaxException, IOException { // TODO: look into getting the test data from github, which will help @@ -210,8 +211,10 @@ public static Collection data() throws URISyntaxException, IOException || testType.contains("jld:ToRDFTest") || testType.contains("jld:NormalizeTest")) { // System.out.println("Adding test: " + test.get("name")); - rdata.add(new Object[] { (String) manifest.get("baseIri") + in.getName(), - test.get("@id"), test }); + rdata.add(new Object[] { /*(String) manifest.get("baseIri") + in.getName(),*/ + manifest.get("name"), + String.format("%s: %s (%s)", test.get("name"), test.get("purpose"), test.get("@id")), + test }); } else { // TODO: many disabled while implementation is incomplete System.out.println("Skipping test: " + test.get("name")); From aaaf6d245136a143d9ed8e58a993ce49732f185e Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Mon, 9 Dec 2019 14:00:38 +0100 Subject: [PATCH 06/22] Set up option to run the json-ld-framing test suite --- .../jsonldjava/core/JsonLdProcessorTest.java | 6 +- .../json-ld-framing-tests/LICENSE.md | 2 + .../resources/json-ld-framing-tests/README.md | 61 + .../resources/json-ld-framing-tests/Rakefile | 16 + .../json-ld-framing-tests/frame-manifest.html | 2830 +++++++++++++++++ .../frame-manifest.jsonld | 778 +++++ .../frame/0001-frame.jsonld | 13 + .../frame/0001-in.jsonld | 27 + .../frame/0001-out.jsonld | 22 + .../frame/0002-frame.jsonld | 13 + .../frame/0002-in.jsonld | 28 + .../frame/0002-out.jsonld | 23 + .../frame/0003-frame.jsonld | 7 + .../frame/0003-in.jsonld | 29 + .../frame/0003-out.jsonld | 7 + .../frame/0004-frame.jsonld | 8 + .../frame/0004-in.jsonld | 27 + .../frame/0004-out.jsonld | 23 + .../frame/0005-frame.jsonld | 19 + .../frame/0005-in.jsonld | 29 + .../frame/0005-out.jsonld | 21 + .../frame/0006-frame.jsonld | 13 + .../frame/0006-in.jsonld | 30 + .../frame/0006-out.jsonld | 22 + .../frame/0007-frame.jsonld | 13 + .../frame/0007-in.jsonld | 32 + .../frame/0007-out.jsonld | 25 + .../frame/0008-frame.jsonld | 14 + .../frame/0008-in.jsonld | 38 + .../frame/0008-out.jsonld | 40 + .../frame/0009-frame.jsonld | 24 + .../frame/0009-in.jsonld | 19 + .../frame/0009-out.jsonld | 20 + .../frame/0010-frame.jsonld | 13 + .../frame/0010-in.jsonld | 15 + .../frame/0010-out.jsonld | 18 + .../frame/0011-frame.jsonld | 12 + .../frame/0011-in.jsonld | 15 + .../frame/0011-out.jsonld | 14 + .../frame/0012-frame.jsonld | 8 + .../frame/0012-in.jsonld | 20 + .../frame/0012-out.jsonld | 20 + .../frame/0013-frame.jsonld | 5 + .../frame/0013-in.jsonld | 15 + .../frame/0013-out.jsonld | 16 + .../frame/0014-frame.jsonld | 6 + .../frame/0014-in.jsonld | 14 + .../frame/0014-out.jsonld | 24 + .../frame/0015-frame.jsonld | 93 + .../frame/0015-in.jsonld | 70 + .../frame/0015-out.jsonld | 128 + .../frame/0016-frame.jsonld | 8 + .../frame/0016-in.jsonld | 19 + .../frame/0016-out.jsonld | 15 + .../frame/0017-frame.jsonld | 13 + .../frame/0017-in.jsonld | 21 + .../frame/0017-out.jsonld | 22 + .../frame/0018-frame.jsonld | 4 + .../frame/0018-in.jsonld | 16 + .../frame/0018-out.jsonld | 7 + .../frame/0019-frame.jsonld | 6 + .../frame/0019-in.jsonld | 20 + .../frame/0019-out.jsonld | 30 + .../frame/0020-frame.jsonld | 1 + .../frame/0020-in.jsonld | 34 + .../frame/0020-out.jsonld | 80 + .../frame/0021-frame.jsonld | 7 + .../frame/0021-in.jsonld | 32 + .../frame/0021-out.jsonld | 46 + .../frame/0022-frame.jsonld | 4 + .../frame/0022-in.jsonld | 10 + .../frame/0022-out.jsonld | 7 + .../frame/0023-frame.jsonld | 5 + .../frame/0023-in.jsonld | 11 + .../frame/0023-out.jsonld | 6 + .../frame/0024-frame.jsonld | 6 + .../frame/0024-in.jsonld | 10 + .../frame/0024-out.jsonld | 12 + .../frame/0025-frame.jsonld | 6 + .../frame/0025-in.jsonld | 14 + .../frame/0025-out.jsonld | 16 + .../frame/0026-frame.jsonld | 5 + .../frame/0026-in.jsonld | 7 + .../frame/0026-out.jsonld | 5 + .../frame/0027-frame.jsonld | 5 + .../frame/0027-in.jsonld | 7 + .../frame/0027-out.jsonld | 12 + .../frame/0028-frame.jsonld | 5 + .../frame/0028-in.jsonld | 11 + .../frame/0028-out.jsonld | 14 + .../frame/0029-frame.jsonld | 8 + .../frame/0029-in.jsonld | 11 + .../frame/0029-out.jsonld | 13 + .../frame/0030-frame.jsonld | 12 + .../frame/0030-in.jsonld | 15 + .../frame/0030-out.jsonld | 14 + .../frame/0031-frame.jsonld | 4 + .../frame/0031-in.jsonld | 12 + .../frame/0031-out.jsonld | 5 + .../frame/0032-frame.jsonld | 4 + .../frame/0032-in.jsonld | 11 + .../frame/0032-out.jsonld | 5 + .../frame/0033-frame.jsonld | 4 + .../frame/0033-in.jsonld | 15 + .../frame/0033-out.jsonld | 10 + .../frame/0034-frame.jsonld | 5 + .../frame/0034-in.jsonld | 12 + .../frame/0034-out.jsonld | 6 + .../frame/0035-frame.jsonld | 6 + .../frame/0035-in.jsonld | 20 + .../frame/0035-out.jsonld | 10 + .../frame/0036-frame.jsonld | 7 + .../frame/0036-in.jsonld | 7 + .../frame/0036-out.jsonld | 7 + .../frame/0037-frame.jsonld | 6 + .../frame/0037-in.jsonld | 7 + .../frame/0037-out.jsonld | 7 + .../frame/0038-frame.jsonld | 4 + .../frame/0038-in.jsonld | 5 + .../frame/0038-out.jsonld | 5 + .../frame/0039-frame.jsonld | 4 + .../frame/0039-in.jsonld | 5 + .../frame/0039-out.jsonld | 5 + .../frame/0040-frame.jsonld | 6 + .../frame/0040-in.jsonld | 7 + .../frame/0040-out.jsonld | 7 + .../frame/0041-frame.jsonld | 6 + .../frame/0041-in.jsonld | 7 + .../frame/0041-out.jsonld | 7 + .../frame/0042-frame.jsonld | 6 + .../frame/0042-in.jsonld | 7 + .../frame/0042-out.jsonld | 7 + .../frame/0043-frame.jsonld | 4 + .../frame/0043-in.jsonld | 5 + .../frame/0043-out.jsonld | 5 + .../frame/0044-frame.jsonld | 4 + .../frame/0044-in.jsonld | 5 + .../frame/0044-out.jsonld | 5 + .../frame/0045-frame.jsonld | 6 + .../frame/0045-in.jsonld | 19 + .../frame/0045-out.jsonld | 7 + .../frame/0046-frame.jsonld | 4 + .../frame/0046-in.jsonld | 11 + .../frame/0046-out.jsonld | 10 + .../frame/0047-frame.jsonld | 5 + .../frame/0047-in.jsonld | 12 + .../frame/0047-out.jsonld | 12 + .../frame/0048-frame.jsonld | 7 + .../frame/0048-in.jsonld | 19 + .../frame/0048-out.jsonld | 16 + .../frame/0049-frame.jsonld | 9 + .../frame/0049-in.jsonld | 20 + .../frame/0049-out.jsonld | 21 + .../frame/0050-frame.jsonld | 8 + .../frame/0050-in.jsonld | 21 + .../frame/0050-out.jsonld | 21 + .../frame/0051-frame.jsonld | 9 + .../frame/0051-in.jsonld | 8 + .../frame/0051-out.jsonld | 12 + .../frame/0052-frame.jsonld | 4 + .../frame/0052-in.jsonld | 15 + .../frame/0053-frame.jsonld | 4 + .../frame/0053-in.jsonld | 15 + .../frame/0054-frame.jsonld | 9 + .../frame/0054-in.jsonld | 15 + .../frame/0055-frame.jsonld | 4 + .../frame/0055-in.jsonld | 11 + .../frame/0055-out.jsonld | 11 + .../frame/0056-frame.jsonld | 11 + .../frame/0056-in.jsonld | 15 + .../frame/0056-out.jsonld | 27 + .../frame/0057-frame.jsonld | 11 + .../frame/0057-in.jsonld | 15 + .../frame/0057-out.jsonld | 27 + .../frame/0058-frame.jsonld | 11 + .../frame/0058-in.jsonld | 15 + .../frame/0058-out.jsonld | 7 + .../frame/0059-frame.jsonld | 7 + .../frame/0059-in.jsonld | 9 + .../frame/0059-out.jsonld | 13 + .../frame/0060-frame.jsonld | 7 + .../frame/0060-in.jsonld | 9 + .../frame/0060-out.jsonld | 9 + .../frame/0061-frame.jsonld | 17 + .../frame/0061-in.jsonld | 24 + .../frame/0061-out.jsonld | 25 + .../frame/0062-frame.jsonld | 15 + .../frame/0062-in.jsonld | 16 + .../frame/0062-out.jsonld | 24 + .../frame/0063-frame.jsonld | 11 + .../frame/0063-in.jsonld | 9 + .../frame/0063-out.jsonld | 12 + .../frame/0064-frame.jsonld | 5 + .../frame/0064-in.jsonld | 5 + .../frame/0064-out.jsonld | 6 + .../frame/eo01-frame.jsonld | 13 + .../frame/eo01-in.jsonld | 15 + .../frame/eo01-out.jsonld | 15 + .../frame/eo02-frame.jsonld | 8 + .../frame/eo02-in.jsonld | 9 + .../frame/eo02-out.jsonld | 9 + .../frame/g001-frame.jsonld | 13 + .../frame/g001-in.jsonld | 27 + .../frame/g001-out.jsonld | 20 + .../frame/g002-frame.jsonld | 20 + .../frame/g002-in.jsonld | 29 + .../frame/g002-out.jsonld | 26 + .../frame/g003-frame.jsonld | 20 + .../frame/g003-in.jsonld | 29 + .../frame/g003-out.jsonld | 23 + .../frame/g004-frame.jsonld | 20 + .../frame/g004-in.jsonld | 29 + .../frame/g004-out.jsonld | 23 + .../frame/g005-frame.jsonld | 21 + .../frame/g005-in.jsonld | 40 + .../frame/g005-out.jsonld | 38 + .../frame/g006-frame.jsonld | 24 + .../frame/g006-in.jsonld | 50 + .../frame/g006-out.jsonld | 44 + .../frame/g007-frame.jsonld | 24 + .../frame/g007-in.jsonld | 73 + .../frame/g007-out.jsonld | 85 + .../frame/g008-frame.jsonld | 35 + .../frame/g008-in.jsonld | 77 + .../frame/g008-out.jsonld | 91 + .../frame/g009-frame.jsonld | 15 + .../frame/g009-in.jsonld | 52 + .../frame/g009-out.jsonld | 37 + .../frame/g010-frame.jsonld | 10 + .../frame/g010-in.jsonld | 21 + .../frame/g010-out.jsonld | 23 + .../frame/in01-frame.jsonld | 15 + .../frame/in01-in.jsonld | 7 + .../frame/in01-out.jsonld | 13 + .../frame/in02-frame.jsonld | 14 + .../frame/in02-in.jsonld | 7 + .../frame/in02-out.jsonld | 12 + .../frame/in03-frame.jsonld | 24 + .../frame/in03-in.jsonld | 42 + .../frame/in03-out.jsonld | 51 + .../frame/p010-out.jsonld | 15 + .../frame/p020-out.jsonld | 79 + .../frame/p021-out.jsonld | 46 + .../frame/p046-out.jsonld | 6 + .../frame/p049-out.jsonld | 17 + .../frame/p050-frame.jsonld | 8 + .../frame/p050-in.jsonld | 8 + .../frame/p050-out.jsonld | 7 + .../frame/ra01-frame.jsonld | 6 + .../frame/ra01-in.jsonld | 16 + .../frame/ra01-out.jsonld | 6 + .../frame/ra02-frame.jsonld | 6 + .../frame/ra02-in.jsonld | 17 + .../frame/ra02-out.jsonld | 6 + .../frame/ra03-frame.jsonld | 10 + .../frame/ra03-in.jsonld | 21 + .../frame/ra03-out.jsonld | 11 + .../json-ld-framing-tests/index.html | 105 + .../json-ld-framing-tests/manifest.html | 105 + .../json-ld-framing-tests/manifest.jsonld | 10 + .../json-ld-framing-tests/template.haml | 138 + 261 files changed, 8345 insertions(+), 1 deletion(-) create mode 100644 core/src/test/resources/json-ld-framing-tests/LICENSE.md create mode 100644 core/src/test/resources/json-ld-framing-tests/README.md create mode 100644 core/src/test/resources/json-ld-framing-tests/Rakefile create mode 100644 core/src/test/resources/json-ld-framing-tests/frame-manifest.html create mode 100644 core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0001-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0001-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0001-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0002-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0002-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0002-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0003-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0003-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0003-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0004-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0004-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0004-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0005-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0005-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0005-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0006-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0006-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0006-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0007-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0007-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0007-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0008-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0008-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0008-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0009-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0009-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0009-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0010-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0010-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0010-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0011-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0011-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0011-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0012-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0012-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0012-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0013-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0013-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0013-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0014-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0014-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0014-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0015-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0015-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0015-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0016-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0016-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0016-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0017-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0017-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0017-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0018-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0018-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0018-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0019-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0019-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0019-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0020-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0020-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0020-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0021-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0021-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0021-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0022-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0022-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0022-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0023-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0023-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0023-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0024-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0024-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0024-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0025-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0025-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0025-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0026-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0026-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0026-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0027-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0027-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0027-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0028-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0028-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0028-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0029-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0029-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0029-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0030-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0030-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0030-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0031-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0031-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0031-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0032-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0032-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0032-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0033-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0033-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0033-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0034-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0034-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0034-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0035-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0035-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0035-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0036-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0036-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0036-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0037-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0037-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0037-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0038-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0038-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0038-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0039-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0039-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0039-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0040-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0040-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0040-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0041-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0041-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0041-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0042-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0042-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0042-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0043-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0043-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0043-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0044-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0044-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0044-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0045-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0045-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0045-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0046-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0046-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0046-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0047-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0047-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0047-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0048-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0048-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0048-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0049-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0049-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0049-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0050-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0050-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0050-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0051-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0051-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0051-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0052-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0052-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0053-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0053-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0054-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0054-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0055-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0055-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0055-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0056-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0056-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0056-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0057-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0057-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0057-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0058-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0058-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0058-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0059-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0059-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0059-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0060-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0060-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0060-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0061-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0061-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0061-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0062-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0062-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0062-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0063-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0063-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0063-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0064-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0064-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0064-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/eo01-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/eo01-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/eo01-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/eo02-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/eo02-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/eo02-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g001-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g001-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g001-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g002-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g002-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g002-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g003-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g003-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g003-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g004-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g004-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g004-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g005-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g005-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g005-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g006-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g006-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g006-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g007-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g007-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g007-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g008-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g008-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g008-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g009-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g009-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g009-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g010-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g010-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/g010-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/in01-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/in01-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/in01-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/in02-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/in02-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/in02-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/in03-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/in03-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/in03-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/p010-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/p020-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/p021-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/p046-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/p049-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/p050-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/p050-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/p050-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/ra01-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/ra01-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/ra01-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/ra02-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/ra02-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/ra02-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/ra03-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/ra03-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/ra03-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/index.html create mode 100644 core/src/test/resources/json-ld-framing-tests/manifest.html create mode 100644 core/src/test/resources/json-ld-framing-tests/manifest.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/template.haml diff --git a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java b/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java index 7dda0535..8e17ff89 100644 --- a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java +++ b/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java @@ -47,7 +47,11 @@ public class JsonLdProcessorTest { private static final String TEST_DIR = "json-ld-api-tests"; + // option: run the json-ld-framing test suite: + // (https://github.com/w3c/json-ld-framing/blob/master/tests/README.md) + // private static final String TEST_DIR = "json-ld-framing-tests"; // option: run the old 1.0 test suite: + // (https://github.com/json-ld/json-ld.org/tree/master/test-suite/tests) // private static final String TEST_DIR = "json-ld-1.0-tests"; private static final String MANIFEST_FILE = "manifest.jsonld"; @@ -226,7 +230,7 @@ public static Collection data() throws URISyntaxException, IOException private static List loadManifestFiles(final File testDir) { List manifestfiles = new ArrayList(); - if (testDir.getName().equals("json-ld-api-tests")) { + if (!testDir.getName().equals("json-ld-1.0-tests")) { final File mainManifestFile = new File(testDir, MANIFEST_FILE); Map mainManifest; try { diff --git a/core/src/test/resources/json-ld-framing-tests/LICENSE.md b/core/src/test/resources/json-ld-framing-tests/LICENSE.md new file mode 100644 index 00000000..5342a9b1 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/LICENSE.md @@ -0,0 +1,2 @@ +The JSON-LD Test Suite is covered by the dual-licensing approach described in +[LICENSES FOR W3C TEST SUITES](https://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html). diff --git a/core/src/test/resources/json-ld-framing-tests/README.md b/core/src/test/resources/json-ld-framing-tests/README.md new file mode 100644 index 00000000..ce057b0c --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/README.md @@ -0,0 +1,61 @@ +# Introduction + +The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors. + +More information and an RDFS definition of the test vocabulary can be found at [vocab](https://w3c.github.io/json-ld-api/tests/vocab). + +# Design + +Tests driven from a top-level [manifest](manifest.jsonld) and are defined for [frame](frame-manifest.jsonld): + +* [frame](frame-manifest.jsonld) tests have _input_, _frame_ and _expected_ documents. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. Additionally, if the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. + +Unless `processingMode` is set explicitly in a test entry, `processingMode` is compatible with both `json-ld-1.0` and `json-ld-1.1`. + +Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference. + +## JSON-LD Object comparison + +If algorithms are invoked with the `ordered` flag set to `true`, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for _fromRdf_, unless the input quads are also ordered). If `ordered` is `false`, then the following algorithm will ensure arrays other than values of `@list` are compared without regard to order. + +JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality. + +* JSON objects are compared member by member without regard to the ordering of members within the object. Each member must have a corresponding member in the object being compared to. Values are compared recursively. +* JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is `@list`). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of `@list`, the order of these items is significant. +* JSON values are compared using strict equality. +* Values of `@language`, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way. + +Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have `@container: @list` and the comparison algorithm will not consider ordering significant. + +# Running tests + +The top-level [manifest](manifest.jsonld) references the specific test manifests, which in turn reference each test associated with a particular type of behavior. +Implementations create their own infrastructure for running the test suite. In particular, the following should be considered: + +* Some algorithms, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of `@list`. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition). +* Some implementations may choose an alternative Blank Node Label algorithm, the comparison between documents containing blank node labels should take this into consideration. (One way to do this may be to reduce both results and _expected_ to datsets to extract a bijective mapping of blank node labels between the two datasets as described in [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism)). +* Note that the `"@embed": "@once"` test behavior requires that the `ordered` option be set to `true` for repeatability. + +# Contributing + +If you would like to contribute a new test or a fix to an existing test, +please follow these steps: + +1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, + that you will be creating a new test or fix and the purpose of the + change. +2. Clone the git repository: git://github.com/w3c/json-ld-framing.git +3. Make your changes and submit them via github, or via a 'git format-patch' + to the [JSON-LD Working Group mailing list](mailto:json-ld-wg@w3.org). + +# Distribution + Distributed under the [W3C Test Suite License](http://www.w3.org/Consortium/Legal/2008/04-testsuite-license). To contribute to a W3C Test Suite, see the [policies and contribution forms](http://www.w3.org/2004/10/27-testcases). + +# Disclaimer + UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF. diff --git a/core/src/test/resources/json-ld-framing-tests/Rakefile b/core/src/test/resources/json-ld-framing-tests/Rakefile new file mode 100644 index 00000000..dcb6cbcc --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/Rakefile @@ -0,0 +1,16 @@ +require 'bundler/setup' +require 'haml' +require 'json' +task default: %w( + manifest.html + frame-manifest.html) + +# Rule to build HTML files +rule '.html' => ['.jsonld', 'template.haml'] do |task| + puts "build #{task.name} from #{task.prerequisites.first}" + @template ||= File.read(File.expand_path('../template.haml', __FILE__)) + @engine ||= Haml::Engine.new(@template, format: :html5) + manifest = JSON.parse File.read(File.expand_path("../#{task.prerequisites.first}", __FILE__)) + html = @engine.render(self, manifest: manifest, json_file: task.prerequisites.first) + File.open(File.expand_path("../#{task.name}", __FILE__), "w") {|f| f.write(html)} +end diff --git a/core/src/test/resources/json-ld-framing-tests/frame-manifest.html b/core/src/test/resources/json-ld-framing-tests/frame-manifest.html new file mode 100644 index 00000000..3bded256 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame-manifest.html @@ -0,0 +1,2830 @@ + + + + + +Framing + + + + + +

+ +W3C + +

+

Framing

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +frame-manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD API Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

frame tests have input, frame and expected documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output.

+ +

Additionally, if the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+ +

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior. +Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-framing.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+
+
baseIri
+
https://w3c.github.io/json-ld-api/tests/
+
+

JSON-LD Framing tests.

+
+

+Test sequence: +

+
+
+Test t0001 Library framing example +
+
+
+
id
+
#t0001
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Basic example used in playgrond and spec examples.
+
input
+
+frame/0001-in.jsonld +
+
frame
+
+frame/0001-frame.jsonld +
+
expect
+
+frame/0001-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0002 reframe w/extra CURIE value. +
+
+
+
id
+
#t0002
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Append extra values to output.
+
input
+
+frame/0002-in.jsonld +
+
frame
+
+frame/0002-frame.jsonld +
+
expect
+
+frame/0002-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0003 reframe (null) +
+
+
+
id
+
#t0003
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Do not match without a matching @type
+
input
+
+frame/0003-in.jsonld +
+
frame
+
+frame/0003-frame.jsonld +
+
expect
+
+frame/0003-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0004 reframe (type) +
+
+
+
id
+
#t0004
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Multiple matches on @type.
+
input
+
+frame/0004-in.jsonld +
+
frame
+
+frame/0004-frame.jsonld +
+
expect
+
+frame/0004-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0005 reframe (explicit) +
+
+
+
id
+
#t0005
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
If property is not in frame, and explicit is true, do not add any values for property to output.
+
input
+
+frame/0005-in.jsonld +
+
frame
+
+frame/0005-frame.jsonld +
+
expect
+
+frame/0005-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0006 reframe (non-explicit) +
+
+
+
id
+
#t0006
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Unless the explicit is false, processors append extra values to output.
+
input
+
+frame/0006-in.jsonld +
+
frame
+
+frame/0006-frame.jsonld +
+
expect
+
+frame/0006-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0007 input has multiple types +
+
+
+
id
+
#t0007
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
If property is a keyword, processors add property and objects to output.
+
input
+
+frame/0007-in.jsonld +
+
frame
+
+frame/0007-frame.jsonld +
+
expect
+
+frame/0007-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0008 array framing cases +
+
+
+
id
+
#t0008
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Various cases showing array output for @container: @set, and non-embedding of node values if @embed: false.
+
input
+
+frame/0008-in.jsonld +
+
frame
+
+frame/0008-frame.jsonld +
+
expect
+
+frame/0008-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0009 default value +
+
+
+
id
+
#t0009
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Processors MUST skip property and property frame if property frame contains @omitDefault with a value of true. Processors MUST add property to output with a new dictionary having a property @preserve and a value that is a copy of the value of @default in frame if it exists, or the string @null otherwise.
+
input
+
+frame/0009-in.jsonld +
+
frame
+
+frame/0009-frame.jsonld +
+
expect
+
+frame/0009-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0010 property CURIE conflict +
+
+
+
id
+
#t0010
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
(Not really framing) A term looking like a CURIE becomes a CURIE when framing/compacting if defined as such in frame/context in json-ld-1.0.
+
input
+
+frame/0010-in.jsonld +
+
frame
+
+frame/0010-frame.jsonld +
+
expect
+
+frame/0010-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test t0011 @embed true/false +
+
+
+
id
+
#t0011
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
@embed within a frame controls the object embed flag when processing that frame (true and false values) in json-ld-1.0 mode.
+
input
+
+frame/0011-in.jsonld +
+
frame
+
+frame/0011-frame.jsonld +
+
expect
+
+frame/0011-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0012 Array frame +
+
+
+
id
+
#t0012
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Multiple values for @type in frame match different nodes having one or the other type. With @embed false, nodes are serialized as multiple array values of @graph.
+
input
+
+frame/0012-in.jsonld +
+
frame
+
+frame/0012-frame.jsonld +
+
expect
+
+frame/0012-out.jsonld +
+
+
+
+Test t0013 Replace existing embed +
+
+
+
id
+
#t0013
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
An empty frame matches all objects, even if embedded, causing them to be serialized under @graph.
+
input
+
+frame/0013-in.jsonld +
+
frame
+
+frame/0013-frame.jsonld +
+
expect
+
+frame/0013-out.jsonld +
+
+
+
+Test t0014 Replace existing embed on 2nd pass +
+
+
+
id
+
#t0014
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
An embedded node which matches the top-level frame (on @type) is framed under @graph and continues to be embedded. Other nodes continue to be embedded.
+
input
+
+frame/0014-in.jsonld +
+
frame
+
+frame/0014-frame.jsonld +
+
expect
+
+frame/0014-out.jsonld +
+
+
+
+Test t0015 Replace deeply-nested embed +
+
+
+
id
+
#t0015
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Torture test.
+
input
+
+frame/0015-in.jsonld +
+
frame
+
+frame/0015-frame.jsonld +
+
expect
+
+frame/0015-out.jsonld +
+
+
+
+Test t0016 Use @type in ducktype filter +
+
+
+
id
+
#t0016
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Match if node has a @type property and frame has a @type property containing only an empty dictionary.
+
input
+
+frame/0016-in.jsonld +
+
frame
+
+frame/0016-frame.jsonld +
+
expect
+
+frame/0016-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0017 Non-flat input +
+
+
+
id
+
#t0017
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Framing flattens expanded input, allowing for deeply embedded input to be re-framed.
+
input
+
+frame/0017-in.jsonld +
+
frame
+
+frame/0017-frame.jsonld +
+
expect
+
+frame/0017-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0018 no frame @context but @graph output +
+
+
+
id
+
#t0018
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Set framing context to the value of @context from frame, if it exists, or to a new empty context, otherwise.
+
input
+
+frame/0018-in.jsonld +
+
frame
+
+frame/0018-frame.jsonld +
+
expect
+
+frame/0018-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0019 Resources can be re-embedded again in each top-level frame match +
+
+
+
id
+
#t0019
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
@type matching matches nodes at top-level, and embedding causes them be embedded where referenced.
+
input
+
+frame/0019-in.jsonld +
+
frame
+
+frame/0019-frame.jsonld +
+
expect
+
+frame/0019-out.jsonld +
+
+
+
+Test t0020 Blank nodes in an array +
+
+
+
id
+
#t0020
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Empty frame matches all nodes at top-level, and repeats where embedded in json-ld-1.0 mode.
+
input
+
+frame/0020-in.jsonld +
+
frame
+
+frame/0020-frame.jsonld +
+
expect
+
+frame/0020-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0021 Blank nodes in @type +
+
+
+
id
+
#t0021
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Empty frame matches all nodes at top-level, and repeats where embedded (with list content) in json-ld-1.0 mode.
+
input
+
+frame/0021-in.jsonld +
+
frame
+
+frame/0021-frame.jsonld +
+
expect
+
+frame/0021-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0022 Match on @id +
+
+
+
id
+
#t0022
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Match if node and frame both have the same @id property.
+
input
+
+frame/0022-in.jsonld +
+
frame
+
+frame/0022-frame.jsonld +
+
expect
+
+frame/0022-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0023 No match on [] +
+
+
+
id
+
#t0023
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
No match if node has a property where frame has an empty array for that same property.
+
input
+
+frame/0023-in.jsonld +
+
frame
+
+frame/0023-frame.jsonld +
+
expect
+
+frame/0023-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0024 match on any common properties if @requireAll: false +
+
+
+
id
+
#t0024
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Match if @requireAll is false and both node and frame contain common non-keyword properties of any value.
+
input
+
+frame/0024-in.jsonld +
+
frame
+
+frame/0024-frame.jsonld +
+
expect
+
+frame/0024-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0025 @requireAll with missing values and @default +
+
+
+
id
+
#t0025
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Match if @requireAll is true and frame contains a non-keyword key not present in node, where the value is a JSON object containing only the key @default with any value.
+
input
+
+frame/0025-in.jsonld +
+
frame
+
+frame/0025-frame.jsonld +
+
expect
+
+frame/0025-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0026 explicitly excludes unframed properties (@explicit: true) +
+
+
+
id
+
#t0026
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
If property is not in frame, and explicit is true, processors must not add any values for property to output.
+
input
+
+frame/0026-in.jsonld +
+
frame
+
+frame/0026-frame.jsonld +
+
expect
+
+frame/0026-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0027 non-existent framed properties create null property +
+
+
+
id
+
#t0027
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Recursively, replace all key-value pairs in compacted results where the key is @preserve with the value from the key-pair. If the value from the key-pair is @null, replace the value with null.
+
input
+
+frame/0027-in.jsonld +
+
frame
+
+frame/0027-frame.jsonld +
+
expect
+
+frame/0027-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0028 embed matched frames with @reverse +
+
+
+
id
+
#t0028
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
If frame has the property @reverse, then for each reverse property and sub frame that are the values of @reverse in frame.
+
input
+
+frame/0028-in.jsonld +
+
frame
+
+frame/0028-frame.jsonld +
+
expect
+
+frame/0028-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0029 embed matched frames with reversed property +
+
+
+
id
+
#t0029
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
If frame has the property @reverse, then for each reverse property and sub frame that are the values of @reverse in frame.
+
input
+
+frame/0029-in.jsonld +
+
frame
+
+frame/0029-frame.jsonld +
+
expect
+
+frame/0029-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0030 @embed @always/@never +
+
+
+
id
+
#t0030
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
@embed within a frame controls the object embed flag when processing that frame (@always and @never values).
+
input
+
+frame/0030-in.jsonld +
+
frame
+
+frame/0030-frame.jsonld +
+
expect
+
+frame/0030-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0031 match none @type match +
+
+
+
id
+
#t0031
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Do not match objects with @type, if frame uses @type: [].
+
input
+
+frame/0031-in.jsonld +
+
frame
+
+frame/0031-frame.jsonld +
+
expect
+
+frame/0031-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0032 single @id match +
+
+
+
id
+
#t0032
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Match on a specific node with frame uses @id.
+
input
+
+frame/0032-in.jsonld +
+
frame
+
+frame/0032-frame.jsonld +
+
expect
+
+frame/0032-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0033 multiple @id match +
+
+
+
id
+
#t0033
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Match on a specific node with frame uses @id with an array of IRIs.
+
input
+
+frame/0033-in.jsonld +
+
frame
+
+frame/0033-frame.jsonld +
+
expect
+
+frame/0033-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0034 wildcard and match none +
+
+
+
id
+
#t0034
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Match/reject properties using both wildcard and match none.
+
input
+
+frame/0034-in.jsonld +
+
frame
+
+frame/0034-frame.jsonld +
+
expect
+
+frame/0034-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0035 matches a deep node pattern +
+
+
+
id
+
#t0035
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Node patterns that don't match all levels, don't match top level.
+
input
+
+frame/0035-in.jsonld +
+
frame
+
+frame/0035-frame.jsonld +
+
expect
+
+frame/0035-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0036 matches exact value pattern +
+
+
+
id
+
#t0036
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value objects matching value patterns are output, others are filtered.
+
input
+
+frame/0036-in.jsonld +
+
frame
+
+frame/0036-frame.jsonld +
+
expect
+
+frame/0036-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0037 matches wildcard @value in value pattern +
+
+
+
id
+
#t0037
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value objects matching value patterns are output, others are filtered.
+
input
+
+frame/0037-in.jsonld +
+
frame
+
+frame/0037-frame.jsonld +
+
expect
+
+frame/0037-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0038 matches wildcard @type in value pattern +
+
+
+
id
+
#t0038
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value objects matching value patterns are output, others are filtered.
+
input
+
+frame/0038-in.jsonld +
+
frame
+
+frame/0038-frame.jsonld +
+
expect
+
+frame/0038-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0039 matches wildcard @language in value pattern +
+
+
+
id
+
#t0039
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value objects matching value patterns are output, others are filtered.
+
input
+
+frame/0039-in.jsonld +
+
frame
+
+frame/0039-frame.jsonld +
+
expect
+
+frame/0039-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0040 matches match none @type in value pattern +
+
+
+
id
+
#t0040
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value objects matching value patterns are output, others are filtered.
+
input
+
+frame/0040-in.jsonld +
+
frame
+
+frame/0040-frame.jsonld +
+
expect
+
+frame/0040-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0041 matches match none @language in value pattern +
+
+
+
id
+
#t0041
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value objects matching value patterns are output, others are filtered.
+
input
+
+frame/0041-in.jsonld +
+
frame
+
+frame/0041-frame.jsonld +
+
expect
+
+frame/0041-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0042 matches some @value in value pattern +
+
+
+
id
+
#t0042
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value objects matching value patterns are output, others are filtered.
+
input
+
+frame/0042-in.jsonld +
+
frame
+
+frame/0042-frame.jsonld +
+
expect
+
+frame/0042-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0043 matches some @type in value pattern +
+
+
+
id
+
#t0043
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value objects matching value patterns are output, others are filtered.
+
input
+
+frame/0043-in.jsonld +
+
frame
+
+frame/0043-frame.jsonld +
+
expect
+
+frame/0043-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0044 matches some @language in value pattern +
+
+
+
id
+
#t0044
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value objects matching value patterns are output, others are filtered.
+
input
+
+frame/0044-in.jsonld +
+
frame
+
+frame/0044-frame.jsonld +
+
expect
+
+frame/0044-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0045 excludes non-matched values in value pattern +
+
+
+
id
+
#t0045
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value objects matching value patterns are output, others are filtered.
+
input
+
+frame/0045-in.jsonld +
+
frame
+
+frame/0045-frame.jsonld +
+
expect
+
+frame/0045-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0046 Merge graphs if no outer @graph is used +
+
+
+
id
+
#t0046
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Unless @graph exists at the top level, framing uses merged node objects in json-ld-1.0 mode.
+
input
+
+frame/0046-in.jsonld +
+
frame
+
+frame/0046-frame.jsonld +
+
expect
+
+frame/0046-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0047 Frame default graph if outer @graph is used +
+
+
+
id
+
#t0047
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
If @graph exists at the top level, framing uses the default graph.
+
input
+
+frame/0047-in.jsonld +
+
frame
+
+frame/0047-frame.jsonld +
+
expect
+
+frame/0047-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0048 Merge one graph and preserve another +
+
+
+
id
+
#t0048
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
@graph used within a property value frames embedded values from a named graph.
+
input
+
+frame/0048-in.jsonld +
+
frame
+
+frame/0048-frame.jsonld +
+
expect
+
+frame/0048-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0049 Merge one graph and deep preserve another +
+
+
+
id
+
#t0049
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
@graph used within a property value frames embedded values from a named graph in json-ld-1.0 mode.
+
input
+
+frame/0049-in.jsonld +
+
frame
+
+frame/0049-frame.jsonld +
+
expect
+
+frame/0049-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0050 Library example with named graphs +
+
+
+
id
+
#t0050
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
+
input
+
+frame/0050-in.jsonld +
+
frame
+
+frame/0050-frame.jsonld +
+
expect
+
+frame/0050-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0051 Compacting values of @preserve +
+
+
+
id
+
#t0051
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
When compacting the value of a property using @preserve, use the term definition for term to properly compact the value of @preserve.
+
input
+
+frame/0051-in.jsonld +
+
frame
+
+frame/0051-frame.jsonld +
+
expect
+
+frame/0051-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0052 @id must not include a blank node identifier +
+
+
+
id
+
#t0052
+
Type
+
jld:NegativeEvaluationTest, jld:FrameTest
+
Purpose
+
Node matching does not consider blank nodes.
+
input
+
+frame/0052-in.jsonld +
+
frame
+
+frame/0052-frame.jsonld +
+
expect
+
+invalid frame +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0053 @type must not include a blank node identifier +
+
+
+
id
+
#t0053
+
Type
+
jld:NegativeEvaluationTest, jld:FrameTest
+
Purpose
+
Node matching does not consider blank nodes.
+
input
+
+frame/0053-in.jsonld +
+
frame
+
+frame/0053-frame.jsonld +
+
expect
+
+invalid frame +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0054 Out of range @embed value +
+
+
+
id
+
#t0054
+
Type
+
jld:NegativeEvaluationTest, jld:FrameTest
+
Purpose
+
Any other value for @embed is invalid and indicates that an invalid @embed value error has been detected and processing is aborted.
+
input
+
+frame/0054-in.jsonld +
+
frame
+
+frame/0054-frame.jsonld +
+
expect
+
+invalid @embed value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0055 Framing list with mixed values +
+
+
+
id
+
#t0055
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Framing list values which are mixed.
+
input
+
+frame/0055-in.jsonld +
+
frame
+
+frame/0055-frame.jsonld +
+
expect
+
+frame/0055-out.jsonld +
+
+
+
+Test t0056 Frame matching on matching value in list +
+
+
+
id
+
#t0056
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Lists match on any matching value.
+
input
+
+frame/0056-in.jsonld +
+
frame
+
+frame/0056-frame.jsonld +
+
expect
+
+frame/0056-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0057 Frame matching on any matching value in list +
+
+
+
id
+
#t0057
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Lists match on any matching value.
+
input
+
+frame/0057-in.jsonld +
+
frame
+
+frame/0057-frame.jsonld +
+
expect
+
+frame/0057-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0058 Frame matching with no matching value in list +
+
+
+
id
+
#t0058
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Lists match on any matching value.
+
input
+
+frame/0058-in.jsonld +
+
frame
+
+frame/0058-frame.jsonld +
+
expect
+
+frame/0058-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0059 @embed: @last replaces previous embed values with node reference +
+
+
+
id
+
#t0059
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Verify that within a matched node, by default only the last reference will be embedded in json-ld-1.0 mode.
+
input
+
+frame/0059-in.jsonld +
+
frame
+
+frame/0059-frame.jsonld +
+
expect
+
+frame/0059-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0060 @embed: @once only embeds first value with node reference +
+
+
+
id
+
#t0060
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Verify that within a matched node and @embed: @first, by only the first reference will be embedded.
+
input
+
+frame/0060-in.jsonld +
+
frame
+
+frame/0060-frame.jsonld +
+
expect
+
+frame/0060-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
ordered
+
true
+
+
+
+
+
+Test t0061 Matching embedded nodes with @default +
+
+
+
id
+
#t0061
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Verify that embedded nodes match with @default and a wildcard @id.
+
input
+
+frame/0061-in.jsonld +
+
frame
+
+frame/0061-frame.jsonld +
+
expect
+
+frame/0061-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0062 An array with a single value remains an array if container is @set. +
+
+
+
id
+
#t0062
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Cleaning up @preserve/@null does not violate container: @set.
+
input
+
+frame/0062-in.jsonld +
+
frame
+
+frame/0062-frame.jsonld +
+
expect
+
+frame/0062-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0063 Using @null in @default. +
+
+
+
id
+
#t0063
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
@null may be used as an @default value and is preserved in output.
+
input
+
+frame/0063-in.jsonld +
+
frame
+
+frame/0063-frame.jsonld +
+
expect
+
+frame/0063-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0064 Using @default in @type. +
+
+
+
id
+
#t0064
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
@type may have a default value.
+
input
+
+frame/0064-in.jsonld +
+
frame
+
+frame/0064-frame.jsonld +
+
expect
+
+frame/0064-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test teo01 @embed true/false +
+
+
+
id
+
#teo01
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
@embed within a frame controls the object embed flag when processing that frame (true and false values).
+
input
+
+frame/eo01-in.jsonld +
+
frame
+
+frame/eo01-frame.jsonld +
+
expect
+
+frame/eo01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tg001 Library framing example with @graph and omitGraph is true. +
+
+
+
id
+
#tg001
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Basic example used in playground and spec examples.
+
input
+
+frame/g001-in.jsonld +
+
frame
+
+frame/g001-frame.jsonld +
+
expect
+
+frame/g001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
omitGraph
+
true
+
+
+
+
+
+Test tg002 Simple embed +
+
+
+
id
+
#tg002
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Test embedded graphs
+
input
+
+frame/g002-in.jsonld +
+
frame
+
+frame/g002-frame.jsonld +
+
expect
+
+frame/g002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tg003 Embed with direct circular reference +
+
+
+
id
+
#tg003
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Test embedded graphs
+
input
+
+frame/g003-in.jsonld +
+
frame
+
+frame/g003-frame.jsonld +
+
expect
+
+frame/g003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tg004 Embed with indirect circular reference +
+
+
+
id
+
#tg004
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Test embedded graphs
+
input
+
+frame/g004-in.jsonld +
+
frame
+
+frame/g004-frame.jsonld +
+
expect
+
+frame/g004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tg005 Embed with indirect circular reference via set +
+
+
+
id
+
#tg005
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Test embedded graphs
+
input
+
+frame/g005-in.jsonld +
+
frame
+
+frame/g005-frame.jsonld +
+
expect
+
+frame/g005-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tg006 Embed with nested indirect circular reference via set +
+
+
+
id
+
#tg006
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Test embedded graphs
+
input
+
+frame/g006-in.jsonld +
+
frame
+
+frame/g006-frame.jsonld +
+
expect
+
+frame/g006-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tg007 Multi-level simple embeds +
+
+
+
id
+
#tg007
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Test embedded graphs
+
input
+
+frame/g007-in.jsonld +
+
frame
+
+frame/g007-frame.jsonld +
+
expect
+
+frame/g007-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tg008 A tangle of nastiness +
+
+
+
id
+
#tg008
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Test embedded graphs
+
input
+
+frame/g008-in.jsonld +
+
frame
+
+frame/g008-frame.jsonld +
+
expect
+
+frame/g008-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tg009 Recursive property embed w/o circular reference +
+
+
+
id
+
#tg009
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Test embedded graphs
+
input
+
+frame/g009-in.jsonld +
+
frame
+
+frame/g009-frame.jsonld +
+
expect
+
+frame/g009-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tg010 Framing blank node unnamed graphs +
+
+
+
id
+
#tg010
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Test embedded graphs
+
input
+
+frame/g010-in.jsonld +
+
frame
+
+frame/g010-frame.jsonld +
+
expect
+
+frame/g010-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin01 Basic Included array +
+
+
+
id
+
#tin01
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Tests included maps.
+
input
+
+frame/in01-in.jsonld +
+
frame
+
+frame/in01-frame.jsonld +
+
expect
+
+frame/in01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin02 Basic Included object +
+
+
+
id
+
#tin02
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Tests included maps.
+
input
+
+frame/in02-in.jsonld +
+
frame
+
+frame/in02-frame.jsonld +
+
expect
+
+frame/in02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin03 json.api example +
+
+
+
id
+
#tin03
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Tests included maps.
+
input
+
+frame/in03-in.jsonld +
+
frame
+
+frame/in03-frame.jsonld +
+
expect
+
+frame/in03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp020 Blank nodes in an array (prune bnodes) +
+
+
+
id
+
#tp020
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Empty frame matches all nodes at top-level, and repeats where embedded.
+
input
+
+frame/0020-in.jsonld +
+
frame
+
+frame/0020-frame.jsonld +
+
expect
+
+frame/p020-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp021 Blank nodes in @type (prune bnodes) +
+
+
+
id
+
#tp021
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Empty frame matches all nodes at top-level, and repeats where embedded (with list content).
+
input
+
+frame/0021-in.jsonld +
+
frame
+
+frame/0021-frame.jsonld +
+
expect
+
+frame/p021-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp046 Merge graphs if no outer @graph is used (prune bnodes) +
+
+
+
id
+
#tp046
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Unless @graph exists at the top level, framing uses merged node objects.
+
input
+
+frame/0046-in.jsonld +
+
frame
+
+frame/0046-frame.jsonld +
+
expect
+
+frame/p046-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp049 Merge one graph and deep preserve another (prune bnodes) +
+
+
+
id
+
#tp049
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
@graph used within a property value frames embedded values from a named graph.
+
input
+
+frame/0049-in.jsonld +
+
frame
+
+frame/0049-frame.jsonld +
+
expect
+
+frame/p049-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp050 Prune blank nodes with alias of @id +
+
+
+
id
+
#tp050
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
If @id is aliased in a frame, an unreferenced blank node is still pruned.
+
input
+
+frame/p050-in.jsonld +
+
frame
+
+frame/p050-frame.jsonld +
+
expect
+
+frame/p050-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tra01 @requireAll only matches if @type and other properties are present +
+
+
+
id
+
#tra01
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
If @requireAll is true, then all listed properties, including @type, must be present to match.
+
input
+
+frame/ra01-in.jsonld +
+
frame
+
+frame/ra01-frame.jsonld +
+
expect
+
+frame/ra01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tra02 @requireAll only matches if @id and @type match +
+
+
+
id
+
#tra02
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
If @requireAll is true, then all listed properties, including @id and @type, must be present to match.
+
input
+
+frame/ra02-in.jsonld +
+
frame
+
+frame/ra02-frame.jsonld +
+
expect
+
+frame/ra02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tra03 @requireAll with type and properties +
+
+
+
id
+
#tra03
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
If @requireAll is true, then all listed properties, including @type, must be present to match.
+
input
+
+frame/ra03-in.jsonld +
+
frame
+
+frame/ra03-frame.jsonld +
+
expect
+
+frame/ra03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+
+ + diff --git a/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld b/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld new file mode 100644 index 00000000..3ce6d004 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld @@ -0,0 +1,778 @@ +{ + "@context": ["https://w3c.github.io/json-ld-api/tests/context.jsonld", {"@base": "frame-manifest"}], + "@id": "", + "@type": "mf:Manifest", + "name": "Framing", + "description": "JSON-LD Framing tests.", + "baseIri": "https://w3c.github.io/json-ld-api/tests/", + "sequence": [ + { + "@id": "#t0001", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Library framing example", + "purpose": "Basic example used in playgrond and spec examples.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0001-in.jsonld", + "frame": "frame/0001-frame.jsonld", + "expect": "frame/0001-out.jsonld" + }, { + "@id": "#t0002", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "reframe w/extra CURIE value.", + "purpose": "Append extra values to output.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0002-in.jsonld", + "frame": "frame/0002-frame.jsonld", + "expect": "frame/0002-out.jsonld" + }, { + "@id": "#t0003", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "reframe (null)", + "purpose": "Do not match without a matching @type", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0003-in.jsonld", + "frame": "frame/0003-frame.jsonld", + "expect": "frame/0003-out.jsonld" + }, { + "@id": "#t0004", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "reframe (type)", + "purpose": "Multiple matches on @type.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0004-in.jsonld", + "frame": "frame/0004-frame.jsonld", + "expect": "frame/0004-out.jsonld" + }, { + "@id": "#t0005", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "reframe (explicit)", + "purpose": "If property is not in frame, and explicit is true, do not add any values for property to output.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0005-in.jsonld", + "frame": "frame/0005-frame.jsonld", + "expect": "frame/0005-out.jsonld" + }, { + "@id": "#t0006", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "reframe (non-explicit)", + "purpose": "Unless the explicit is false, processors append extra values to output.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0006-in.jsonld", + "frame": "frame/0006-frame.jsonld", + "expect": "frame/0006-out.jsonld" + }, { + "@id": "#t0007", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "input has multiple types", + "purpose": "If property is a keyword, processors add property and objects to output.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0007-in.jsonld", + "frame": "frame/0007-frame.jsonld", + "expect": "frame/0007-out.jsonld" + }, { + "@id": "#t0008", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "array framing cases", + "purpose": "Various cases showing array output for @container: @set, and non-embedding of node values if @embed: false.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0008-in.jsonld", + "frame": "frame/0008-frame.jsonld", + "expect": "frame/0008-out.jsonld" + }, { + "@id": "#t0009", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "default value", + "purpose": "Processors MUST skip property and property frame if property frame contains @omitDefault with a value of true. Processors MUST add property to output with a new dictionary having a property @preserve and a value that is a copy of the value of @default in frame if it exists, or the string @null otherwise.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0009-in.jsonld", + "frame": "frame/0009-frame.jsonld", + "expect": "frame/0009-out.jsonld" + }, { + "@id": "#t0010", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "property CURIE conflict", + "purpose": "(Not really framing) A term looking like a CURIE becomes a CURIE when framing/compacting if defined as such in frame/context in json-ld-1.0.", + "input": "frame/0010-in.jsonld", + "frame": "frame/0010-frame.jsonld", + "expect": "frame/0010-out.jsonld", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#t0011", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@embed true/false", + "purpose": "@embed within a frame controls the object embed flag when processing that frame (true and false values) in json-ld-1.0 mode.", + "input": "frame/0011-in.jsonld", + "frame": "frame/0011-frame.jsonld", + "expect": "frame/0011-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0012", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Array frame", + "purpose": "Multiple values for @type in frame match different nodes having one or the other type. With @embed false, nodes are serialized as multiple array values of @graph.", + "input": "frame/0012-in.jsonld", + "frame": "frame/0012-frame.jsonld", + "expect": "frame/0012-out.jsonld" + }, { + "@id": "#t0013", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Replace existing embed", + "purpose": "An empty frame matches all objects, even if embedded, causing them to be serialized under @graph.", + "input": "frame/0013-in.jsonld", + "frame": "frame/0013-frame.jsonld", + "expect": "frame/0013-out.jsonld" + }, { + "@id": "#t0014", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Replace existing embed on 2nd pass", + "purpose": "An embedded node which matches the top-level frame (on @type) is framed under @graph and continues to be embedded. Other nodes continue to be embedded.", + "input": "frame/0014-in.jsonld", + "frame": "frame/0014-frame.jsonld", + "expect": "frame/0014-out.jsonld" + }, { + "@id": "#t0015", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Replace deeply-nested embed", + "purpose": "Torture test.", + "input": "frame/0015-in.jsonld", + "frame": "frame/0015-frame.jsonld", + "expect": "frame/0015-out.jsonld" + }, { + "@id": "#t0016", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Use @type in ducktype filter", + "purpose": "Match if node has a @type property and frame has a @type property containing only an empty dictionary.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0016-in.jsonld", + "frame": "frame/0016-frame.jsonld", + "expect": "frame/0016-out.jsonld" + }, { + "@id": "#t0017", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Non-flat input", + "purpose": "Framing flattens expanded input, allowing for deeply embedded input to be re-framed.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0017-in.jsonld", + "frame": "frame/0017-frame.jsonld", + "expect": "frame/0017-out.jsonld" + }, { + "@id": "#t0018", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "no frame @context but @graph output", + "purpose": "Set framing context to the value of @context from frame, if it exists, or to a new empty context, otherwise.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0018-in.jsonld", + "frame": "frame/0018-frame.jsonld", + "expect": "frame/0018-out.jsonld" + }, { + "@id": "#t0019", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Resources can be re-embedded again in each top-level frame match", + "purpose": "@type matching matches nodes at top-level, and embedding causes them be embedded where referenced.", + "input": "frame/0019-in.jsonld", + "frame": "frame/0019-frame.jsonld", + "expect": "frame/0019-out.jsonld" + }, { + "@id": "#t0020", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Blank nodes in an array", + "purpose": "Empty frame matches all nodes at top-level, and repeats where embedded in json-ld-1.0 mode.", + "input": "frame/0020-in.jsonld", + "frame": "frame/0020-frame.jsonld", + "expect": "frame/0020-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} + }, { + "@id": "#t0021", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Blank nodes in @type", + "purpose": "Empty frame matches all nodes at top-level, and repeats where embedded (with list content) in json-ld-1.0 mode.", + "input": "frame/0021-in.jsonld", + "frame": "frame/0021-frame.jsonld", + "expect": "frame/0021-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} + }, { + "@id": "#t0022", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Match on @id", + "purpose": "Match if node and frame both have the same @id property.", + "option": {"processingMode": "json-ld-1.0"}, + "input": "frame/0022-in.jsonld", + "frame": "frame/0022-frame.jsonld", + "expect": "frame/0022-out.jsonld" + }, { + "@id": "#t0023", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "No match on []", + "purpose": "No match if node has a property where frame has an empty array for that same property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0023-in.jsonld", + "frame": "frame/0023-frame.jsonld", + "expect": "frame/0023-out.jsonld" + }, { + "@id": "#t0024", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "match on any common properties if @requireAll: false", + "purpose": "Match if @requireAll is false and both node and frame contain common non-keyword properties of any value.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0024-in.jsonld", + "frame": "frame/0024-frame.jsonld", + "expect": "frame/0024-out.jsonld" + }, { + "@id": "#t0025", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@requireAll with missing values and @default", + "purpose": "Match if @requireAll is true and frame contains a non-keyword key not present in node, where the value is a JSON object containing only the key @default with any value.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0025-in.jsonld", + "frame": "frame/0025-frame.jsonld", + "expect": "frame/0025-out.jsonld" + }, { + "@id": "#t0026", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "explicitly excludes unframed properties (@explicit: true)", + "purpose": "If property is not in frame, and explicit is true, processors must not add any values for property to output.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0026-in.jsonld", + "frame": "frame/0026-frame.jsonld", + "expect": "frame/0026-out.jsonld" + }, { + "@id": "#t0027", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "non-existent framed properties create null property", + "purpose": "Recursively, replace all key-value pairs in compacted results where the key is @preserve with the value from the key-pair. If the value from the key-pair is @null, replace the value with null.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0027-in.jsonld", + "frame": "frame/0027-frame.jsonld", + "expect": "frame/0027-out.jsonld" + }, { + "@id": "#t0028", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "embed matched frames with @reverse", + "purpose": "If frame has the property @reverse, then for each reverse property and sub frame that are the values of @reverse in frame.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0028-in.jsonld", + "frame": "frame/0028-frame.jsonld", + "expect": "frame/0028-out.jsonld" + }, { + "@id": "#t0029", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "embed matched frames with reversed property", + "purpose": "If frame has the property @reverse, then for each reverse property and sub frame that are the values of @reverse in frame.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0029-in.jsonld", + "frame": "frame/0029-frame.jsonld", + "expect": "frame/0029-out.jsonld" + }, { + "@id": "#t0030", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@embed @always/@never", + "purpose": "@embed within a frame controls the object embed flag when processing that frame (@always and @never values).", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0030-in.jsonld", + "frame": "frame/0030-frame.jsonld", + "expect": "frame/0030-out.jsonld" + }, { + "@id": "#t0031", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "match none @type match", + "purpose": "Do not match objects with @type, if frame uses @type: [].", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0031-in.jsonld", + "frame": "frame/0031-frame.jsonld", + "expect": "frame/0031-out.jsonld" + }, { + "@id": "#t0032", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "single @id match", + "purpose": "Match on a specific node with frame uses @id.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0032-in.jsonld", + "frame": "frame/0032-frame.jsonld", + "expect": "frame/0032-out.jsonld" + }, { + "@id": "#t0033", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "multiple @id match", + "purpose": "Match on a specific node with frame uses @id with an array of IRIs.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0033-in.jsonld", + "frame": "frame/0033-frame.jsonld", + "expect": "frame/0033-out.jsonld" + }, { + "@id": "#t0034", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "wildcard and match none", + "purpose": "Match/reject properties using both wildcard and match none.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0034-in.jsonld", + "frame": "frame/0034-frame.jsonld", + "expect": "frame/0034-out.jsonld" + }, { + "@id": "#t0035", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "matches a deep node pattern", + "purpose": "Node patterns that don't match all levels, don't match top level.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0035-in.jsonld", + "frame": "frame/0035-frame.jsonld", + "expect": "frame/0035-out.jsonld" + }, { + "@id": "#t0036", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "matches exact value pattern", + "purpose": "Value objects matching value patterns are output, others are filtered.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0036-in.jsonld", + "frame": "frame/0036-frame.jsonld", + "expect": "frame/0036-out.jsonld" + }, { + "@id": "#t0037", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "matches wildcard @value in value pattern", + "purpose": "Value objects matching value patterns are output, others are filtered.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0037-in.jsonld", + "frame": "frame/0037-frame.jsonld", + "expect": "frame/0037-out.jsonld" + }, { + "@id": "#t0038", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "matches wildcard @type in value pattern", + "purpose": "Value objects matching value patterns are output, others are filtered.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0038-in.jsonld", + "frame": "frame/0038-frame.jsonld", + "expect": "frame/0038-out.jsonld" + }, { + "@id": "#t0039", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "matches wildcard @language in value pattern", + "purpose": "Value objects matching value patterns are output, others are filtered.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0039-in.jsonld", + "frame": "frame/0039-frame.jsonld", + "expect": "frame/0039-out.jsonld" + }, { + "@id": "#t0040", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "matches match none @type in value pattern", + "purpose": "Value objects matching value patterns are output, others are filtered.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0040-in.jsonld", + "frame": "frame/0040-frame.jsonld", + "expect": "frame/0040-out.jsonld" + }, { + "@id": "#t0041", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "matches match none @language in value pattern", + "purpose": "Value objects matching value patterns are output, others are filtered.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0041-in.jsonld", + "frame": "frame/0041-frame.jsonld", + "expect": "frame/0041-out.jsonld" + }, { + "@id": "#t0042", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "matches some @value in value pattern", + "purpose": "Value objects matching value patterns are output, others are filtered.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0042-in.jsonld", + "frame": "frame/0042-frame.jsonld", + "expect": "frame/0042-out.jsonld" + }, { + "@id": "#t0043", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "matches some @type in value pattern", + "purpose": "Value objects matching value patterns are output, others are filtered.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0043-in.jsonld", + "frame": "frame/0043-frame.jsonld", + "expect": "frame/0043-out.jsonld" + }, { + "@id": "#t0044", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "matches some @language in value pattern", + "purpose": "Value objects matching value patterns are output, others are filtered.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0044-in.jsonld", + "frame": "frame/0044-frame.jsonld", + "expect": "frame/0044-out.jsonld" + }, { + "@id": "#t0045", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "excludes non-matched values in value pattern", + "purpose": "Value objects matching value patterns are output, others are filtered.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0045-in.jsonld", + "frame": "frame/0045-frame.jsonld", + "expect": "frame/0045-out.jsonld" + }, { + "@id": "#t0046", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Merge graphs if no outer @graph is used", + "purpose": "Unless @graph exists at the top level, framing uses merged node objects in json-ld-1.0 mode.", + "input": "frame/0046-in.jsonld", + "frame": "frame/0046-frame.jsonld", + "expect": "frame/0046-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} + }, { + "@id": "#t0047", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Frame default graph if outer @graph is used", + "purpose": "If @graph exists at the top level, framing uses the default graph.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0047-in.jsonld", + "frame": "frame/0047-frame.jsonld", + "expect": "frame/0047-out.jsonld" + }, { + "@id": "#t0048", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Merge one graph and preserve another", + "purpose": "@graph used within a property value frames embedded values from a named graph.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0048-in.jsonld", + "frame": "frame/0048-frame.jsonld", + "expect": "frame/0048-out.jsonld" + }, { + "@id": "#t0049", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Merge one graph and deep preserve another", + "purpose": "@graph used within a property value frames embedded values from a named graph in json-ld-1.0 mode.", + "input": "frame/0049-in.jsonld", + "frame": "frame/0049-frame.jsonld", + "expect": "frame/0049-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} + }, { + "@id": "#t0050", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Library example with named graphs", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0050-in.jsonld", + "frame": "frame/0050-frame.jsonld", + "expect": "frame/0050-out.jsonld" + }, { + "@id": "#t0051", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Compacting values of @preserve", + "purpose": "When compacting the value of a property using @preserve, use the term definition for term to properly compact the value of @preserve.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0051-in.jsonld", + "frame": "frame/0051-frame.jsonld", + "expect": "frame/0051-out.jsonld" + }, { + "@id": "#t0052", + "@type": ["jld:NegativeEvaluationTest", "jld:FrameTest"], + "name": "@id must not include a blank node identifier", + "purpose": "Node matching does not consider blank nodes.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0052-in.jsonld", + "frame": "frame/0052-frame.jsonld", + "expectErrorCode": "invalid frame" + }, { + "@id": "#t0053", + "@type": ["jld:NegativeEvaluationTest", "jld:FrameTest"], + "name": "@type must not include a blank node identifier", + "purpose": "Node matching does not consider blank nodes.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0053-in.jsonld", + "frame": "frame/0053-frame.jsonld", + "expectErrorCode": "invalid frame" + }, { + "@id": "#t0054", + "@type": ["jld:NegativeEvaluationTest", "jld:FrameTest"], + "name": "Out of range @embed value", + "purpose": "Any other value for @embed is invalid and indicates that an invalid @embed value error has been detected and processing is aborted.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0054-in.jsonld", + "frame": "frame/0054-frame.jsonld", + "expectErrorCode": "invalid @embed value" + }, { + "@id": "#t0055", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Framing list with mixed values", + "purpose": "Framing list values which are mixed.", + "input": "frame/0055-in.jsonld", + "frame": "frame/0055-frame.jsonld", + "expect": "frame/0055-out.jsonld" + }, { + "@id": "#t0056", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Frame matching on matching value in list", + "purpose": "Lists match on any matching value.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0056-in.jsonld", + "frame": "frame/0056-frame.jsonld", + "expect": "frame/0056-out.jsonld" + }, { + "@id": "#t0057", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Frame matching on any matching value in list", + "purpose": "Lists match on any matching value.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0057-in.jsonld", + "frame": "frame/0057-frame.jsonld", + "expect": "frame/0057-out.jsonld" + }, { + "@id": "#t0058", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Frame matching with no matching value in list", + "purpose": "Lists match on any matching value.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "frame/0058-in.jsonld", + "frame": "frame/0058-frame.jsonld", + "expect": "frame/0058-out.jsonld" + }, { + "@id": "#t0059", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@embed: @last replaces previous embed values with node reference", + "purpose": "Verify that within a matched node, by default only the last reference will be embedded in json-ld-1.0 mode.", + "input": "frame/0059-in.jsonld", + "frame": "frame/0059-frame.jsonld", + "expect": "frame/0059-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} + }, { + "@id": "#t0060", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@embed: @once only embeds first value with node reference", + "purpose": "Verify that within a matched node and @embed: @first, by only the first reference will be embedded.", + "input": "frame/0060-in.jsonld", + "frame": "frame/0060-frame.jsonld", + "expect": "frame/0060-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "ordered": true} + }, { + "@id": "#t0061", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Matching embedded nodes with @default", + "purpose": "Verify that embedded nodes match with @default and a wildcard @id.", + "input": "frame/0061-in.jsonld", + "frame": "frame/0061-frame.jsonld", + "expect": "frame/0061-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0062", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "An array with a single value remains an array if container is @set.", + "purpose": "Cleaning up @preserve/@null does not violate container: @set.", + "input": "frame/0062-in.jsonld", + "frame": "frame/0062-frame.jsonld", + "expect": "frame/0062-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0063", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Using @null in @default.", + "purpose": "@null may be used as an @default value and is preserved in output.", + "input": "frame/0063-in.jsonld", + "frame": "frame/0063-frame.jsonld", + "expect": "frame/0063-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0064", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Using @default in @type.", + "purpose": "@type may have a default value.", + "input": "frame/0064-in.jsonld", + "frame": "frame/0064-frame.jsonld", + "expect": "frame/0064-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#teo01", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@embed true/false", + "purpose": "@embed within a frame controls the object embed flag when processing that frame (true and false values).", + "input": "frame/eo01-in.jsonld", + "frame": "frame/eo01-frame.jsonld", + "expect": "frame/eo01-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tg001", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Library framing example with @graph and omitGraph is true.", + "purpose": "Basic example used in playground and spec examples.", + "input": "frame/g001-in.jsonld", + "frame": "frame/g001-frame.jsonld", + "expect": "frame/g001-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "omitGraph": true} + }, { + "@id": "#tg002", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Simple embed", + "purpose": "Test embedded graphs", + "input": "frame/g002-in.jsonld", + "frame": "frame/g002-frame.jsonld", + "expect": "frame/g002-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tg003", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Embed with direct circular reference", + "purpose": "Test embedded graphs", + "input": "frame/g003-in.jsonld", + "frame": "frame/g003-frame.jsonld", + "expect": "frame/g003-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tg004", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Embed with indirect circular reference", + "purpose": "Test embedded graphs", + "input": "frame/g004-in.jsonld", + "frame": "frame/g004-frame.jsonld", + "expect": "frame/g004-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tg005", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Embed with indirect circular reference via set", + "purpose": "Test embedded graphs", + "input": "frame/g005-in.jsonld", + "frame": "frame/g005-frame.jsonld", + "expect": "frame/g005-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tg006", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Embed with nested indirect circular reference via set", + "purpose": "Test embedded graphs", + "input": "frame/g006-in.jsonld", + "frame": "frame/g006-frame.jsonld", + "expect": "frame/g006-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tg007", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Multi-level simple embeds", + "purpose": "Test embedded graphs", + "input": "frame/g007-in.jsonld", + "frame": "frame/g007-frame.jsonld", + "expect": "frame/g007-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tg008", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "A tangle of nastiness", + "purpose": "Test embedded graphs", + "input": "frame/g008-in.jsonld", + "frame": "frame/g008-frame.jsonld", + "expect": "frame/g008-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + },{ + "@id": "#tg009", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Recursive property embed w/o circular reference", + "purpose": "Test embedded graphs", + "input": "frame/g009-in.jsonld", + "frame": "frame/g009-frame.jsonld", + "expect": "frame/g009-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + },{ + "@id": "#tg010", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Framing blank node unnamed graphs", + "purpose": "Test embedded graphs", + "input": "frame/g010-in.jsonld", + "frame": "frame/g010-frame.jsonld", + "expect": "frame/g010-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tin01", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Basic Included array", + "purpose": "Tests included maps.", + "input": "frame/in01-in.jsonld", + "frame": "frame/in01-frame.jsonld", + "expect": "frame/in01-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tin02", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Basic Included object", + "purpose": "Tests included maps.", + "input": "frame/in02-in.jsonld", + "frame": "frame/in02-frame.jsonld", + "expect": "frame/in02-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tin03", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "json.api example", + "purpose": "Tests included maps.", + "input": "frame/in03-in.jsonld", + "frame": "frame/in03-frame.jsonld", + "expect": "frame/in03-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tp020", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Blank nodes in an array (prune bnodes)", + "purpose": "Empty frame matches all nodes at top-level, and repeats where embedded.", + "input": "frame/0020-in.jsonld", + "frame": "frame/0020-frame.jsonld", + "expect": "frame/p020-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tp021", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Blank nodes in @type (prune bnodes)", + "purpose": "Empty frame matches all nodes at top-level, and repeats where embedded (with list content).", + "input": "frame/0021-in.jsonld", + "frame": "frame/0021-frame.jsonld", + "expect": "frame/p021-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tp046", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Merge graphs if no outer @graph is used (prune bnodes)", + "purpose": "Unless @graph exists at the top level, framing uses merged node objects.", + "input": "frame/0046-in.jsonld", + "frame": "frame/0046-frame.jsonld", + "expect": "frame/p046-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tp049", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Merge one graph and deep preserve another (prune bnodes)", + "purpose": "@graph used within a property value frames embedded values from a named graph.", + "input": "frame/0049-in.jsonld", + "frame": "frame/0049-frame.jsonld", + "expect": "frame/p049-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tp050", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Prune blank nodes with alias of @id", + "purpose": "If @id is aliased in a frame, an unreferenced blank node is still pruned.", + "input": "frame/p050-in.jsonld", + "frame": "frame/p050-frame.jsonld", + "expect": "frame/p050-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tra01", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@requireAll only matches if @type and other properties are present", + "purpose": "If @requireAll is true, then all listed properties, including @type, must be present to match.", + "input": "frame/ra01-in.jsonld", + "frame": "frame/ra01-frame.jsonld", + "expect": "frame/ra01-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tra02", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@requireAll only matches if @id and @type match", + "purpose": "If @requireAll is true, then all listed properties, including @id and @type, must be present to match.", + "input": "frame/ra02-in.jsonld", + "frame": "frame/ra02-frame.jsonld", + "expect": "frame/ra02-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tra03", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "@requireAll with type and properties", + "purpose": "If @requireAll is true, then all listed properties, including @type, must be present to match.", + "input": "frame/ra03-in.jsonld", + "frame": "frame/ra03-frame.jsonld", + "expect": "frame/ra03-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + } + ] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0001-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0001-frame.jsonld new file mode 100644 index 00000000..b242010f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0001-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0001-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0001-in.jsonld new file mode 100644 index 00000000..9fafdb88 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0001-in.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0001-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0001-out.jsonld new file mode 100644 index 00000000..c29b28a7 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0001-out.jsonld @@ -0,0 +1,22 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0002-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0002-frame.jsonld new file mode 100644 index 00000000..b242010f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0002-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0002-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0002-in.jsonld new file mode 100644 index 00000000..f653bee4 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0002-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:act": "ex:ActOne" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0002-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0002-out.jsonld new file mode 100644 index 00000000..d8cbefc0 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0002-out.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:act": "ex:ActOne" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0003-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0003-frame.jsonld new file mode 100644 index 00000000..f8a2b44b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0003-frame.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:DoesNotExist" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0003-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0003-in.jsonld new file mode 100644 index 00000000..c97d6021 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0003-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0003-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0003-out.jsonld new file mode 100644 index 00000000..229b0a95 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0003-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@graph": [] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0004-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0004-frame.jsonld new file mode 100644 index 00000000..f15ad1d6 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0004-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@type": "ex:Library" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0004-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0004-in.jsonld new file mode 100644 index 00000000..9fafdb88 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0004-in.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0004-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0004-out.jsonld new file mode 100644 index 00000000..0f911ba5 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0004-out.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0005-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0005-frame.jsonld new file mode 100644 index 00000000..a3d8fcc3 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0005-frame.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@explicit": true, + "@type": "ex:Library", + "ex:contains": { + "@explicit": true, + "@type": "ex:Book", + "dcterms:title": {}, + "ex:contains": { + "@explicit": true, + "@type": "ex:Chapter", + "dcterms:title": {}, + "ex:null": {} + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0005-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0005-in.jsonld new file mode 100644 index 00000000..c97d6021 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0005-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0005-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0005-out.jsonld new file mode 100644 index 00000000..79c16299 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0005-out.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:title": "Chapter One", + "ex:null": null + } + } + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0006-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0006-frame.jsonld new file mode 100644 index 00000000..b242010f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0006-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0006-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0006-in.jsonld new file mode 100644 index 00000000..298d75ed --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0006-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0006-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0006-out.jsonld new file mode 100644 index 00000000..c29b28a7 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0006-out.jsonld @@ -0,0 +1,22 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0007-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0007-frame.jsonld new file mode 100644 index 00000000..b242010f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0007-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0007-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0007-in.jsonld new file mode 100644 index 00000000..c489f570 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0007-in.jsonld @@ -0,0 +1,32 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": [ + "ex:Library", + "ex:Building" + ], + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0007-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0007-out.jsonld new file mode 100644 index 00000000..86559dfa --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0007-out.jsonld @@ -0,0 +1,25 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": [ + "ex:Library", + "ex:Building" + ], + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0008-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0008-frame.jsonld new file mode 100644 index 00000000..8dfff9d8 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0008-frame.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:embedded": {"@container": "@set"}, + "ex:literal": {"@container": "@set"}, + "ex:mixed": {"@container": "@set"}, + "ex:single": {"@container": "@set"} + }, + "@type": "ex:Example", + "ex:embedded": {}, + "ex:literal": {}, + "ex:mixed": {"@embed": false}, + "ex:single": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0008-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0008-in.jsonld new file mode 100644 index 00000000..de162963 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0008-in.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@graph": [ + { + "@id": "http://example.org/test/#example", + "@type": "ex:Example", + "ex:embedded": { + "@id": "http://example.org/test#subject1" + }, + "ex:literal": [ + "str1", + "str2", + "str3" + ], + "ex:mixed": [ + { + "@id": "http://example.org/test#iri1" + }, + "literal1", + { + "@id": "http://example.org/test#iri2" + }, + "literal2", + { + "@id": "http://example.org/test#subject2", + "ex:prop": "property" + } + ], + "ex:single": "single" + }, + { + "@id": "http://example.org/test#subject1", + "ex:prop": "property" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0008-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0008-out.jsonld new file mode 100644 index 00000000..c4acd177 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0008-out.jsonld @@ -0,0 +1,40 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:embedded": {"@container": "@set"}, + "ex:literal": {"@container": "@set"}, + "ex:mixed": {"@container": "@set"}, + "ex:single": {"@container": "@set"} + }, + "@graph": [{ + "@id": "http://example.org/test/#example", + "@type": "ex:Example", + "ex:embedded": [ + { + "@id": "http://example.org/test#subject1", + "ex:prop": "property" + } + ], + "ex:literal": [ + "str1", + "str2", + "str3" + ], + "ex:mixed": [ + { + "@id": "http://example.org/test#iri1" + }, + "literal1", + { + "@id": "http://example.org/test#iri2" + }, + "literal2", + { + "@id": "http://example.org/test#subject2" + } + ], + "ex:single": [ + "single" + ] + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0009-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0009-frame.jsonld new file mode 100644 index 00000000..13524dac --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0009-frame.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p7": {"@container": "@set"} + }, + "@type": "ex:Example1", + "ex:p2": { + "@default": "custom-default" + }, + "ex:p3": { + "@default": 3 + }, + "ex:p4": { + "@omitDefault": true + }, + "ex:p5": {}, + "ex:p6": { + "@type": "ex:Example2", + "ex:p3": { + "@default": 4 + } + }, + "ex:p7": {"@type": "ex:Example3"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0009-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0009-in.jsonld new file mode 100644 index 00000000..bf63f48b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0009-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@graph": [ + { + "@id": "http://example.org/test/#example1", + "@type": "ex:Example1", + "ex:p1": "non-default", + "ex:p6": { + "@id": "http://example.org/test/#example2" + } + }, + { + "@id": "http://example.org/test/#example2", + "@type": "ex:Example2" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0009-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0009-out.jsonld new file mode 100644 index 00000000..0d6eaa46 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0009-out.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:p7": {"@container": "@set"} + }, + "@graph": [{ + "@id": "http://example.org/test/#example1", + "@type": "ex:Example1", + "ex:p1": "non-default", + "ex:p2": "custom-default", + "ex:p3": 3, + "ex:p5": null, + "ex:p6": { + "@id": "http://example.org/test/#example2", + "@type": "ex:Example2", + "ex:p3": 4 + }, + "ex:p7": [] + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0010-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0010-frame.jsonld new file mode 100644 index 00000000..f69f46b5 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0010-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "dcterms:creator": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "ps": "http://purl.org/payswarm#" + }, + "@id": "http://example.com/asset", + "@type": "ps:Asset", + "dcterms:creator": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0010-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0010-in.jsonld new file mode 100644 index 00000000..a5e92670 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0010-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "dc0": "http://purl.org/dc/terms/", + "dcterms:creator": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "ps": "http://purl.org/payswarm#" + }, + "@id": "http://example.com/asset", + "@type": "ps:Asset", + "dcterms:creator": { + "foaf:name": "John Doe" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0010-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0010-out.jsonld new file mode 100644 index 00000000..a4c2e4e7 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0010-out.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "dcterms:creator": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "ps": "http://purl.org/payswarm#" + }, + "@graph": [{ + "@id": "http://example.com/asset", + "@type": "ps:Asset", + "dcterms:creator": { + "@id": "_:b0", + "foaf:name": "John Doe" + } + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0011-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0011-frame.jsonld new file mode 100644 index 00000000..c219d400 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0011-frame.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@type": "ex:Thing", + "ex:embed": { + "@embed": true + }, + "ex:noembed": { + "@embed": false + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0011-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0011-in.jsonld new file mode 100644 index 00000000..d5df9e32 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0011-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded", + "ex:title": "Not Embedded" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0011-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0011-out.jsonld new file mode 100644 index 00000000..641a51ea --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0011-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0012-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0012-frame.jsonld new file mode 100644 index 00000000..e82a7b4e --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0012-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "sp": "http://smartplatforms.org/terms#" + }, + "@type": ["sp:Medication", "sp:Fulfillment"], + "sp:hasFulfillment": {"@omitDefault": true, "@embed": false}, + "sp:hasMedication": {"@omitDefault": true, "@embed": false} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0012-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0012-in.jsonld new file mode 100644 index 00000000..9b0d0edf --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0012-in.jsonld @@ -0,0 +1,20 @@ +{ + "@graph": [ + { + "@id": "http://example.org/med-1", + "@type": "http://smartplatforms.org/terms#Medication", + "http://smartplatforms.org/terms#hasFulfillment": { + "@id": "http://example.org/fill-1" + }, + "http://smartplatforms.org/terms#label": "Lisinopril" + }, + { + "@id": "http://example.org/fill-1", + "@type": "http://smartplatforms.org/terms#Fulfillment", + "http://smartplatforms.org/terms#hasMedication": { + "@id": "http://example.org/med-1" + }, + "http://smartplatforms.org/terms#label": "30 pills on 2/2/2011" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0012-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0012-out.jsonld new file mode 100644 index 00000000..2f14f160 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0012-out.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "sp": "http://smartplatforms.org/terms#" + }, + "@graph": [{ + "@id": "http://example.org/fill-1", + "@type": "sp:Fulfillment", + "sp:hasMedication": { + "@id": "http://example.org/med-1" + }, + "sp:label": "30 pills on 2/2/2011" + }, { + "@id": "http://example.org/med-1", + "@type": "sp:Medication", + "sp:hasFulfillment": { + "@id": "http://example.org/fill-1" + }, + "sp:label": "Lisinopril" + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0013-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0013-frame.jsonld new file mode 100644 index 00000000..e08311af --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0013-frame.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "ex": "http://example.org/" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0013-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0013-in.jsonld new file mode 100644 index 00000000..a256780e --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0013-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@graph": [ + { + "@id": "ex:looker", + "ex:canSee": [ + {"@id": "ex:forgotten"}, + {"@id": "ex:spotted"} + ] + }, + {"@id": "ex:spotted"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0013-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0013-out.jsonld new file mode 100644 index 00000000..95ebb531 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0013-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@graph": [ + {"@id": "ex:forgotten"}, + { + "@id": "ex:looker", + "ex:canSee": [ + {"@id": "ex:forgotten"}, + {"@id": "ex:spotted"} + ] + }, + {"@id": "ex:spotted"} + ] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0014-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0014-frame.jsonld new file mode 100644 index 00000000..a2e7f4be --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0014-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@type": ["ex:Node"] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0014-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0014-in.jsonld new file mode 100644 index 00000000..b4f8ed8a --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0014-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@id": "ex:a", + "@type": "ex:Node", + "ex:sees": { + "@id": "ex:b", + "@type": "ex:Node", + "ex:sees": { + "ex:remember_me": "This value should not disappear." + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0014-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0014-out.jsonld new file mode 100644 index 00000000..38c0b146 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0014-out.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@graph": [{ + "@id": "ex:a", + "@type": "ex:Node", + "ex:sees": { + "@id": "ex:b", + "@type": "ex:Node", + "ex:sees": { + "@id": "_:b0", + "ex:remember_me": "This value should not disappear." + } + } + }, { + "@id": "ex:b", + "@type": "ex:Node", + "ex:sees": { + "@id": "_:b0", + "ex:remember_me": "This value should not disappear." + } + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0015-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0015-frame.jsonld new file mode 100644 index 00000000..04223492 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0015-frame.jsonld @@ -0,0 +1,93 @@ +{ + "@context": { + "api": "http://smartplatforms.org/terms/api#", + "dcterms": "http://purl.org/dc/terms/", + "foaf": "http://xmlns.com/foaf/0.1/", + "owl": "http://www.w3.org/2002/07/owl#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "sp": "http://smartplatforms.org/terms#", + "sp:abnormalInterpretation": {"@type": "@id"}, + "sp:address": {"@type": "@id"}, + "sp:alertLevel": {"@type": "@id"}, + "sp:allergicReaction": {"@type": "@id"}, + "sp:allergyExclusionName": {"@type": "@id"}, + "sp:belongsTo": {"@type": "@id"}, + "sp:bloodPressure": {"@type": "@id"}, + "sp:bodyMassIndex": {"@type": "@id"}, + "sp:bodyPosition": {"@type": "@id"}, + "sp:bodySite": {"@type": "@id"}, + "sp:category": {"@type": "@id"}, + "sp:code": {"@type": "@id"}, + "sp:created": {"@type": "@id"}, + "sp:denominator": {"@type": "@id"}, + "sp:diastolic": {"@type": "@id"}, + "sp:drugAllergen": {"@type": "@id"}, + "sp:drugClass": {"@type": "@id"}, + "sp:drugClassAllergen": {"@type": "@id"}, + "sp:drugName": {"@type": "@id"}, + "sp:encounter": {"@type": "@id"}, + "sp:encounterType": {"@type": "@id"}, + "sp:facility": {"@type": "@id"}, + "sp:foodAllergen": {"@type": "@id"}, + "sp:frequency": {"@type": "@id"}, + "sp:fulfillment": {"@type": "@id"}, + "sp:hasStatement": {"@type": "@id"}, + "sp:heartRate": {"@type": "@id"}, + "sp:height": {"@type": "@id"}, + "sp:labName": {"@type": "@id"}, + "sp:labResult": {"@type": "@id"}, + "sp:labSpecimenCollected": {"@type": "@id"}, + "sp:labStatus": {"@type": "@id"}, + "sp:maximum": {"@type": "@id"}, + "sp:medicalRecordNumber": {"@type": "@id"}, + "sp:medication": {"@type": "@id"}, + "sp:method": {"@type": "@id"}, + "sp:minimum": {"@type": "@id"}, + "sp:narrativeResult": {"@type": "@id"}, + "sp:nominalResult": {"@type": "@id"}, + "sp:nonCriticalRange": {"@type": "@id"}, + "sp:normalRange": {"@type": "@id"}, + "sp:numerator": {"@type": "@id"}, + "sp:ordinalResult": {"@type": "@id"}, + "sp:organization": {"@type": "@id"}, + "sp:oxygenSaturation": {"@type": "@id"}, + "sp:participant": {"@type": "@id"}, + "sp:person": {"@type": "@id"}, + "sp:pharmacy": {"@type": "@id"}, + "sp:problemName": {"@type": "@id"}, + "sp:provenance": {"@type": "@id"}, + "sp:provider": {"@type": "@id"}, + "sp:quantitativeResult": {"@type": "@id"}, + "sp:quantity": {"@type": "@id"}, + "sp:quantityDispensed": {"@type": "@id"}, + "sp:respiratoryRate": {"@type": "@id"}, + "sp:severity": {"@type": "@id"}, + "sp:specimenCollected": {"@type": "@id"}, + "sp:systolic": {"@type": "@id"}, + "sp:temperature": {"@type": "@id"}, + "sp:translationFidelity": {"@type": "@id"}, + "sp:valueAndUnit": {"@type": "@id"}, + "sp:vitalName": {"@type": "@id"}, + "sp:weight": {"@type": "@id"}, + "spcode": "http://smartplatforms.org/terms/codes/", + "vcard": "http://www.w3.org/2006/vcard/ns#", + "vcard:adr": {"@type": "@id"}, + "vcard:n": {"@type": "@id"}, + "vcard:tel": {"@type": "@id"} + }, + "@type": [ + "sp:Statement", + "sp:Fulfillment", + "sp:Alert", + "sp:AllergyExclusion", + "sp:Demographics", + "sp:Problem", + "sp:Medication", + "sp:VitalSigns", + "sp:MedicalRecord", + "sp:LabResult", + "sp:Allergy", + "sp:Encounter" + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0015-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0015-in.jsonld new file mode 100644 index 00000000..fce8c8cc --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0015-in.jsonld @@ -0,0 +1,70 @@ +[ + { + "@id": "http://localhost:7000/records/999888", + "@type": "http://smartplatforms.org/terms#MedicalRecord" + }, + { + "@id": "http://localhost:7000/records/999888", + "http://smartplatforms.org/terms#hasStatement": { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6" + } + }, + { + "@id": "_:uDkkVEva509", + "@type": "http://smartplatforms.org/terms#VitalSign" + }, + { + "@id": "_:uDkkVEva509", + "http://smartplatforms.org/terms#vitalName": { + "@id": "_:uDkkVEva510" + } + }, + { + "@id": "_:uDkkVEva509", + "http://smartplatforms.org/terms#value": "111.226458141" + }, + { + "@id": "_:uDkkVEva509", + "http://smartplatforms.org/terms#unit": "mm[Hg]" + }, + { + "@id": "_:uDkkVEva508", + "@type": "http://smartplatforms.org/terms#BloodPressure" + }, + { + "@id": "_:uDkkVEva508", + "http://smartplatforms.org/terms#systolic": { + "@id": "_:uDkkVEva509" + } + }, + { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", + "http://smartplatforms.org/terms#bloodPressure": { + "@id": "_:uDkkVEva508" + } + }, + { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", + "@type": "http://smartplatforms.org/terms#VitalSigns" + }, + { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", + "http://smartplatforms.org/terms#belongsTo": { + "@id": "http://localhost:7000/records/999888" + } + }, + { + "@id": "_:uDkkVEva510", + "http://purl.org/dc/terms/title": "Systolic blood pressure" + }, + { + "@id": "_:uDkkVEva510", + "@type": "http://smartplatforms.org/terms#CodedValue" + }, + { + "@id": "_:uDkkVEva510", + "http://smartplatforms.org/terms#code": { + "@id": "http://loinc.org/codes/8480-6" + } + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0015-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0015-out.jsonld new file mode 100644 index 00000000..ae70a26b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0015-out.jsonld @@ -0,0 +1,128 @@ +{ + "@context": { + "api": "http://smartplatforms.org/terms/api#", + "dcterms": "http://purl.org/dc/terms/", + "foaf": "http://xmlns.com/foaf/0.1/", + "owl": "http://www.w3.org/2002/07/owl#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "sp": "http://smartplatforms.org/terms#", + "sp:abnormalInterpretation": {"@type": "@id"}, + "sp:address": {"@type": "@id"}, + "sp:alertLevel": {"@type": "@id"}, + "sp:allergicReaction": {"@type": "@id"}, + "sp:allergyExclusionName": {"@type": "@id"}, + "sp:belongsTo": {"@type": "@id"}, + "sp:bloodPressure": {"@type": "@id"}, + "sp:bodyMassIndex": {"@type": "@id"}, + "sp:bodyPosition": {"@type": "@id"}, + "sp:bodySite": {"@type": "@id"}, + "sp:category": {"@type": "@id"}, + "sp:code": {"@type": "@id"}, + "sp:created": {"@type": "@id"}, + "sp:denominator": {"@type": "@id"}, + "sp:diastolic": {"@type": "@id"}, + "sp:drugAllergen": {"@type": "@id"}, + "sp:drugClass": {"@type": "@id"}, + "sp:drugClassAllergen": {"@type": "@id"}, + "sp:drugName": {"@type": "@id"}, + "sp:encounter": {"@type": "@id"}, + "sp:encounterType": {"@type": "@id"}, + "sp:facility": {"@type": "@id"}, + "sp:foodAllergen": {"@type": "@id"}, + "sp:frequency": {"@type": "@id"}, + "sp:fulfillment": {"@type": "@id"}, + "sp:hasStatement": {"@type": "@id"}, + "sp:heartRate": {"@type": "@id"}, + "sp:height": {"@type": "@id"}, + "sp:labName": {"@type": "@id"}, + "sp:labResult": {"@type": "@id"}, + "sp:labSpecimenCollected": {"@type": "@id"}, + "sp:labStatus": {"@type": "@id"}, + "sp:maximum": {"@type": "@id"}, + "sp:medicalRecordNumber": {"@type": "@id"}, + "sp:medication": {"@type": "@id"}, + "sp:method": {"@type": "@id"}, + "sp:minimum": {"@type": "@id"}, + "sp:narrativeResult": {"@type": "@id"}, + "sp:nominalResult": {"@type": "@id"}, + "sp:nonCriticalRange": {"@type": "@id"}, + "sp:normalRange": {"@type": "@id"}, + "sp:numerator": {"@type": "@id"}, + "sp:ordinalResult": {"@type": "@id"}, + "sp:organization": {"@type": "@id"}, + "sp:oxygenSaturation": {"@type": "@id"}, + "sp:participant": {"@type": "@id"}, + "sp:person": {"@type": "@id"}, + "sp:pharmacy": {"@type": "@id"}, + "sp:problemName": {"@type": "@id"}, + "sp:provenance": {"@type": "@id"}, + "sp:provider": {"@type": "@id"}, + "sp:quantitativeResult": {"@type": "@id"}, + "sp:quantity": {"@type": "@id"}, + "sp:quantityDispensed": {"@type": "@id"}, + "sp:respiratoryRate": {"@type": "@id"}, + "sp:severity": {"@type": "@id"}, + "sp:specimenCollected": {"@type": "@id"}, + "sp:systolic": {"@type": "@id"}, + "sp:temperature": {"@type": "@id"}, + "sp:translationFidelity": {"@type": "@id"}, + "sp:valueAndUnit": {"@type": "@id"}, + "sp:vitalName": {"@type": "@id"}, + "sp:weight": {"@type": "@id"}, + "spcode": "http://smartplatforms.org/terms/codes/", + "vcard": "http://www.w3.org/2006/vcard/ns#", + "vcard:adr": {"@type": "@id"}, + "vcard:n": {"@type": "@id"}, + "vcard:tel": {"@type": "@id"} + }, + "@graph": [{ + "@id": "http://localhost:7000/records/999888", + "@type": "sp:MedicalRecord", + "sp:hasStatement": { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", + "@type": "sp:VitalSigns", + "sp:belongsTo": "http://localhost:7000/records/999888", + "sp:bloodPressure": { + "@id": "_:b2", + "@type": "sp:BloodPressure", + "sp:systolic": { + "@id": "_:b0", + "@type": "sp:VitalSign", + "sp:vitalName": { + "@id": "_:b1", + "dcterms:title": "Systolic blood pressure", + "@type": "sp:CodedValue", + "sp:code": "http://loinc.org/codes/8480-6" + }, + "sp:value": "111.226458141", + "sp:unit": "mm[Hg]" + } + } + } + }, { + "@id": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6", + "@type": "sp:VitalSigns", + "sp:belongsTo": { + "@id": "http://localhost:7000/records/999888", + "@type": "sp:MedicalRecord", + "sp:hasStatement": "http://localhost:7000/records/999888/vital_signs/c9ddca3e-3df8-4f13-9a16-eecd80aa8ff6" + }, + "sp:bloodPressure": { + "@id": "_:b2", + "@type": "sp:BloodPressure", + "sp:systolic": { + "@id": "_:b0", + "@type": "sp:VitalSign", + "sp:unit": "mm[Hg]", + "sp:value": "111.226458141", + "sp:vitalName": { + "@id": "_:b1", + "@type": "sp:CodedValue", + "dcterms:title": "Systolic blood pressure", + "sp:code": "http://loinc.org/codes/8480-6" + } + } + } + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0016-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0016-frame.jsonld new file mode 100644 index 00000000..f0010e05 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0016-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": {}, + "ex:contains": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0016-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0016-in.jsonld new file mode 100644 index 00000000..eba007d5 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0016-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#untyped" + }, + { + "@id": "http://example.org/test#untyped", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0016-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0016-out.jsonld new file mode 100644 index 00000000..3f29e035 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0016-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#untyped", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0017-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0017-frame.jsonld new file mode 100644 index 00000000..b242010f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0017-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0017-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0017-in.jsonld new file mode 100644 index 00000000..89f37fd1 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0017-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0017-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0017-out.jsonld new file mode 100644 index 00000000..c29b28a7 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0017-out.jsonld @@ -0,0 +1,22 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0018-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0018-frame.jsonld new file mode 100644 index 00000000..3cbce277 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0018-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@type": ["http://example.org/vocab#Library"], + "http://example.org/vocab#contains": [{}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0018-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0018-in.jsonld new file mode 100644 index 00000000..b402b5b3 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0018-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0018-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0018-out.jsonld new file mode 100644 index 00000000..2337696b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0018-out.jsonld @@ -0,0 +1,7 @@ +{ + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "http://example.org/vocab#Library", + "http://example.org/vocab#contains": {"@id": "http://example.org/test#book"} + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0019-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0019-frame.jsonld new file mode 100644 index 00000000..632cdfbb --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0019-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "ex": "http://example.org/terms#" + }, + "@type": "ex:Node" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0019-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0019-in.jsonld new file mode 100644 index 00000000..f04ff658 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0019-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "ex": "http://example.org/terms#", + "ex:sees": { + "@type": "@id" + } + }, + "@graph": [ + { + "@id": "ex:node1", + "@type": "ex:Node", + "ex:sees": "ex:node2", + "ex:color": "blue" + }, { + "@id": "ex:node2", + "@type": "ex:Node", + "ex:sees": "ex:node1", + "ex:color": "red" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0019-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0019-out.jsonld new file mode 100644 index 00000000..7902bcad --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0019-out.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "ex": "http://example.org/terms#" + }, + "@graph": [{ + "@id": "ex:node1", + "@type": "ex:Node", + "ex:color": "blue", + "ex:sees": { + "@id": "ex:node2", + "@type": "ex:Node", + "ex:sees": { + "@id": "ex:node1" + }, + "ex:color": "red" + } + }, { + "@id": "ex:node2", + "@type": "ex:Node", + "ex:color": "red", + "ex:sees": { + "@id": "ex:node1", + "@type": "ex:Node", + "ex:sees": { + "@id": "ex:node2" + }, + "ex:color": "blue" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0020-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0020-frame.jsonld new file mode 100644 index 00000000..9e26dfee --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0020-frame.jsonld @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0020-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0020-in.jsonld new file mode 100644 index 00000000..606195c3 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0020-in.jsonld @@ -0,0 +1,34 @@ +{ + "@context": { + "name": "http://rdf.data-vocabulary.org/#name", + "ingredient": "http://rdf.data-vocabulary.org/#ingredients", + "yield": "http://rdf.data-vocabulary.org/#yield", + "instructions": "http://rdf.data-vocabulary.org/#instructions", + "step": { + "@id": "http://rdf.data-vocabulary.org/#step", + "@type": "xsd:integer" + }, + "description": "http://rdf.data-vocabulary.org/#description", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "name": "Mojito", + "ingredient": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], + "yield": "1 cocktail", + "instructions": [ + { + "step": 1, + "description": "Crush lime juice, mint and sugar together in glass." + }, { + "step": 2, + "description": "Fill glass to top with ice cubes." + }, { + "step": 3, + "description": "Pour white rum over ice." + }, { + "step": 4, + "description": "Fill the rest of glass with club soda, stir." + }, { + "step": 5, + "description": "Garnish with a lime wedge." + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0020-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0020-out.jsonld new file mode 100644 index 00000000..fa1ef500 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0020-out.jsonld @@ -0,0 +1,80 @@ +{ + "@graph": [ + { + "@id": "_:b0", + "http://rdf.data-vocabulary.org/#ingredients": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], + "http://rdf.data-vocabulary.org/#instructions": [{ + "@id": "_:b1", + "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 1 + } + }, { + "@id": "_:b2", + "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 2 + } + }, { + "@id": "_:b3", + "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 3 + } + }, { + "@id": "_:b4", + "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 4 + } + }, { + "@id": "_:b5", + "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 5 + } + }], + "http://rdf.data-vocabulary.org/#name": "Mojito", + "http://rdf.data-vocabulary.org/#yield": "1 cocktail" + }, { + "@id": "_:b1", + "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 1 + } + }, { + "@id": "_:b2", + "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 2 + } + }, { + "@id": "_:b3", + "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 3 + } + }, { + "@id": "_:b4", + "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 4 + } + }, { + "@id": "_:b5", + "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 5 + } + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0021-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0021-frame.jsonld new file mode 100644 index 00000000..b021b5b8 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0021-frame.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:list": {"@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0021-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0021-in.jsonld new file mode 100644 index 00000000..a4d0d8df --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0021-in.jsonld @@ -0,0 +1,32 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "ex:contains": { + "@type": "@id" + }, + "ex:list": {"@container": "@list"} + }, + "@graph": [ + { + "@id": "_:Book", + "dcterms:title": "Book type" + }, { + "@id": "http://example.org/library", + "@type": "ex:Library", + "ex:contains": "http://example.org/library/the-republic" + }, { + "@id": "http://example.org/library/the-republic", + "@type": "_:Book", + "dcterms:creator": "Plato", + "dcterms:title": "The Republic", + "ex:contains": "http://example.org/library/the-republic#introduction" + }, { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dcterms:description": "An introductory chapter on The Republic.", + "dcterms:title": "The Introduction", + "ex:list": [1, 2, 3, 4, 4, 4, 5] + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0021-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0021-out.jsonld new file mode 100644 index 00000000..233c91c7 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0021-out.jsonld @@ -0,0 +1,46 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:list": {"@container": "@list"} + }, + "@graph": [ + { + "@id": "_:b0", + "dcterms:title": "Book type" + }, { + "@id": "http://example.org/library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/library/the-republic", + "@type": "_:b0", + "dcterms:creator": "Plato", + "dcterms:title": "The Republic", + "ex:contains": { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dcterms:description": "An introductory chapter on The Republic.", + "dcterms:title": "The Introduction", + "ex:list": [1, 2, 3, 4, 4, 4, 5] + } + } + }, { + "@id": "http://example.org/library/the-republic", + "@type": "_:b0", + "ex:contains": { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dcterms:description": "An introductory chapter on The Republic.", + "dcterms:title": "The Introduction", + "ex:list": [1, 2, 3, 4, 4, 4, 5] + }, + "dcterms:creator": "Plato", + "dcterms:title": "The Republic" + }, { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dcterms:description": "An introductory chapter on The Republic.", + "ex:list": [1, 2, 3, 4, 4, 4, 5], + "dcterms:title": "The Introduction" + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0022-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0022-frame.jsonld new file mode 100644 index 00000000..dc15b5fd --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0022-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1" +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0022-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0022-in.jsonld new file mode 100644 index 00000000..3e9969a6 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0022-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "@type": "ex:Type1" + }, { + "@id": "ex:Sub2", + "@type": "ex:Type2" + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0022-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0022-out.jsonld new file mode 100644 index 00000000..3430e559 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0022-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "@type": "ex:Type1" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0023-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0023-frame.jsonld new file mode 100644 index 00000000..d8e01702 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0023-frame.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:p": [], + "ex:q": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0023-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0023-in.jsonld new file mode 100644 index 00000000..cda1d91b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0023-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "ex:q": "bar" + }, { + "@id": "ex:Sub2", + "ex:p": ["foo"], + "ex:q": ["bar"] + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0023-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0023-out.jsonld new file mode 100644 index 00000000..fc0941b1 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0023-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": null, + "ex:q": "bar" +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0024-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0024-frame.jsonld new file mode 100644 index 00000000..8d1a80ea --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0024-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@requireAll": false, + "ex:p": {}, + "ex:q": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0024-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0024-in.jsonld new file mode 100644 index 00000000..6984929c --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0024-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "ex:p": "foo" + }, { + "@id": "ex:Sub2", + "ex:q": "bar" + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0024-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0024-out.jsonld new file mode 100644 index 00000000..555a5e9c --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0024-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "ex:p": "foo", + "ex:q": null + }, { + "@id": "ex:Sub2", + "ex:p": null, + "ex:q": "bar" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0025-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0025-frame.jsonld new file mode 100644 index 00000000..9e85d2be --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0025-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@requireAll": true, + "ex:p": {"@default": "Foo"}, + "ex:q": {"@default": "Bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0025-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0025-in.jsonld new file mode 100644 index 00000000..590bf617 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0025-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "ex:p": "foo" + }, { + "@id": "ex:Sub2", + "ex:q": "bar" + }, { + "@id": "ex:Sub3", + "ex:p": "foo", + "ex:q": "bar" + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0025-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0025-out.jsonld new file mode 100644 index 00000000..007e23e2 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0025-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "ex:p": "foo", + "ex:q": "Bar" + }, { + "@id": "ex:Sub2", + "ex:p": "Foo", + "ex:q": "bar" + }, { + "@id": "ex:Sub3", + "ex:p": "foo", + "ex:q": "bar" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0026-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0026-frame.jsonld new file mode 100644 index 00000000..9d48c235 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0026-frame.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@explicit": true, + "@type": "ex:Type1" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0026-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0026-in.jsonld new file mode 100644 index 00000000..81086d57 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0026-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1", + "ex:prop1": "Property 1", + "ex:prop2": {"@id": "ex:Obj1"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0026-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0026-out.jsonld new file mode 100644 index 00000000..9e242204 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0026-out.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0027-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0027-frame.jsonld new file mode 100644 index 00000000..b2f5cc3d --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0027-frame.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@type": "ex:Type1", + "ex:null": [] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0027-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0027-in.jsonld new file mode 100644 index 00000000..81086d57 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0027-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1", + "ex:prop1": "Property 1", + "ex:prop2": {"@id": "ex:Obj1"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0027-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0027-out.jsonld new file mode 100644 index 00000000..eca9582d --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0027-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "ex": "http://example.org/" + }, + "@id": "ex:Sub1", + "@type": "ex:Type1", + "ex:prop1": "Property 1", + "ex:prop2": { + "@id": "ex:Obj1" + }, + "ex:null": null +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0028-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0028-frame.jsonld new file mode 100644 index 00000000..27713eeb --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0028-frame.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@type": "ex:Type1", + "@reverse": {"ex:includes": {}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0028-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0028-in.jsonld new file mode 100644 index 00000000..cc1ed624 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0028-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "@type": "ex:Type1" + }, { + "@id": "ex:Sub2", + "@type": "ex:Type2", + "ex:includes": {"@id": "ex:Sub1"} + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0028-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0028-out.jsonld new file mode 100644 index 00000000..2d77e835 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0028-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1", + "@reverse": { + "ex:includes": { + "@id": "ex:Sub2", + "@type": "ex:Type2", + "ex:includes": { + "@id": "ex:Sub1" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0029-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0029-frame.jsonld new file mode 100644 index 00000000..a7f08133 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0029-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "ex": "http://example.org/", + "excludes": {"@reverse": "ex:includes"} + }, + "@type": "ex:Type1", + "excludes": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0029-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0029-in.jsonld new file mode 100644 index 00000000..cc1ed624 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0029-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "@type": "ex:Type1" + }, { + "@id": "ex:Sub2", + "@type": "ex:Type2", + "ex:includes": {"@id": "ex:Sub1"} + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0029-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0029-out.jsonld new file mode 100644 index 00000000..951cd060 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0029-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "ex": "http://example.org/", + "excludes": {"@reverse": "ex:includes"} + }, + "@id": "ex:Sub1", + "@type": "ex:Type1", + "excludes": { + "@id": "ex:Sub2", + "@type": "ex:Type2", + "ex:includes": {"@id": "ex:Sub1"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0030-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0030-frame.jsonld new file mode 100644 index 00000000..415e2b8f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0030-frame.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@type": "ex:Thing", + "ex:embed": { + "@embed": "@always" + }, + "ex:noembed": { + "@embed": "@never" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0030-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0030-in.jsonld new file mode 100644 index 00000000..d5df9e32 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0030-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded", + "ex:title": "Not Embedded" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0030-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0030-out.jsonld new file mode 100644 index 00000000..641a51ea --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0030-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0031-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0031-frame.jsonld new file mode 100644 index 00000000..04d5e0f2 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0031-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@type": [] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0031-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0031-in.jsonld new file mode 100644 index 00000000..369981a3 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0031-in.jsonld @@ -0,0 +1,12 @@ +[ + { + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1", + "ex:p": "Foo" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub2", + "ex:p": "Bar" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0031-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0031-out.jsonld new file mode 100644 index 00000000..b1907da7 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0031-out.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub2", + "ex:p": "Bar" +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0032-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0032-frame.jsonld new file mode 100644 index 00000000..2268c8ba --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0032-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0032-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0032-in.jsonld new file mode 100644 index 00000000..e42bfdbc --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0032-in.jsonld @@ -0,0 +1,11 @@ +[ + { + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub2", + "@type": "ex:Type2" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0032-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0032-out.jsonld new file mode 100644 index 00000000..9e242204 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0032-out.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0033-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0033-frame.jsonld new file mode 100644 index 00000000..999da761 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0033-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": ["ex:Sub1", "ex:Sub2"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0033-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0033-in.jsonld new file mode 100644 index 00000000..3557585a --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0033-in.jsonld @@ -0,0 +1,15 @@ +[ + { + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub2", + "@type": "ex:Type2" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub3", + "@type": "ex:Type3" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0033-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0033-out.jsonld new file mode 100644 index 00000000..063e737c --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0033-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "@type": "ex:Type1" + }, { + "@id": "ex:Sub2", + "@type": "ex:Type2" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0034-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0034-frame.jsonld new file mode 100644 index 00000000..d8e01702 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0034-frame.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:p": [], + "ex:q": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0034-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0034-in.jsonld new file mode 100644 index 00000000..0d674c6f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0034-in.jsonld @@ -0,0 +1,12 @@ +[ + { + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:q": "bar" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub2", + "ex:p": "foo", + "ex:q": "bar" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0034-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0034-out.jsonld new file mode 100644 index 00000000..7c6a1f13 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0034-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": null, + "ex:q": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0035-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0035-frame.jsonld new file mode 100644 index 00000000..37d14d09 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0035-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:p": { + "ex:q": {} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0035-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0035-in.jsonld new file mode 100644 index 00000000..c2e42316 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0035-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@graph": [{ + "@id": "ex:Sub1", + "@type": "ex:Type1", + "ex:p": { + "@id": "ex:Sub2", + "@type": "ex:Type2", + "ex:q": "foo" + } + }, { + "@id": "ex:Sub3", + "@type": "ex:Type1", + "ex:q": { + "@id": "ex:Sub4", + "@type": "ex:Type2", + "ex:r": "bar" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0035-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0035-out.jsonld new file mode 100644 index 00000000..35702a28 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0035-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1", + "ex:p": { + "@id": "ex:Sub2", + "@type": "ex:Type2", + "ex:q": "foo" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0036-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0036-frame.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0036-frame.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0036-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0036-in.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0036-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0036-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0036-out.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0036-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0037-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0037-frame.jsonld new file mode 100644 index 00000000..0542ce7c --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0037-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:p": {"@value": {}}, + "ex:q": {"@value": {}, "@type": "ex:q"}, + "ex:r": {"@value": {}, "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0037-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0037-in.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0037-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0037-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0037-out.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0037-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0038-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0038-frame.jsonld new file mode 100644 index 00000000..141b5e51 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0038-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:q": {"@value": "Q", "@type": {}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0038-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0038-in.jsonld new file mode 100644 index 00000000..ff9b1474 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0038-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:q": {"@value": "Q", "@type": "ex:q"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0038-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0038-out.jsonld new file mode 100644 index 00000000..ff9b1474 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0038-out.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:q": {"@value": "Q", "@type": "ex:q"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0039-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0039-frame.jsonld new file mode 100644 index 00000000..f30475a0 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0039-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:r": {"@value": "R", "@language": {}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0039-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0039-in.jsonld new file mode 100644 index 00000000..f86cf18b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0039-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0039-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0039-out.jsonld new file mode 100644 index 00000000..f86cf18b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0039-out.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0040-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0040-frame.jsonld new file mode 100644 index 00000000..dce32a29 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0040-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:p": {"@value": {}, "@type": []}, + "ex:q": {"@value": {}, "@type": "ex:q"}, + "ex:r": {"@value": {}, "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0040-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0040-in.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0040-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0040-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0040-out.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0040-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0041-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0041-frame.jsonld new file mode 100644 index 00000000..dac3e2ca --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0041-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:p": {"@value": {}, "@language": []}, + "ex:q": {"@value": {}, "@type": "ex:q"}, + "ex:r": {"@value": {}, "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0041-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0041-in.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0041-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0041-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0041-out.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0041-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0042-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0042-frame.jsonld new file mode 100644 index 00000000..c191e8a3 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0042-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:p": {"@value": ["P", "Q", "R"]}, + "ex:q": {"@value": ["P", "Q", "R"], "@type": "ex:q"}, + "ex:r": {"@value": ["P", "Q", "R"], "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0042-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0042-in.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0042-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0042-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0042-out.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0042-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0043-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0043-frame.jsonld new file mode 100644 index 00000000..87dc8b8c --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0043-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:q": {"@value": "Q", "@type": ["ex:q", "ex:Q"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0043-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0043-in.jsonld new file mode 100644 index 00000000..ff9b1474 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0043-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:q": {"@value": "Q", "@type": "ex:q"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0043-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0043-out.jsonld new file mode 100644 index 00000000..ff9b1474 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0043-out.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:q": {"@value": "Q", "@type": "ex:q"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0044-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0044-frame.jsonld new file mode 100644 index 00000000..a0574af3 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0044-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:r": {"@value": "R", "@language": ["p", "q", "r"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0044-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0044-in.jsonld new file mode 100644 index 00000000..f86cf18b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0044-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0044-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0044-out.jsonld new file mode 100644 index 00000000..f86cf18b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0044-out.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0045-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0045-frame.jsonld new file mode 100644 index 00000000..0a6f9db3 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0045-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:p": {"@value": {}}, + "ex:q": {"@value": {}, "@type": "ex:q"}, + "ex:r": {"@value": {}, "@language": "R"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0045-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0045-in.jsonld new file mode 100644 index 00000000..ffde3167 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0045-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": [ + "P", + {"@value": "P", "@type": "ex:p"}, + {"@value": "P", "@language": "P"} + ], + "ex:q": [ + "Q", + {"@value": "Q", "@type": "ex:q"}, + {"@value": "Q", "@language": "Q"} + ], + "ex:r": [ + "R", + {"@value": "R", "@type": "ex:r"}, + {"@value": "R", "@language": "R"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0045-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0045-out.jsonld new file mode 100644 index 00000000..066b1970 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0045-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:p": "P", + "ex:q": {"@value": "Q", "@type": "ex:q"}, + "ex:r": {"@value": "R", "@language": "r"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0046-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0046-frame.jsonld new file mode 100644 index 00000000..edd59d96 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0046-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": "urn:"}, + "@type": "Class" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0046-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0046-in.jsonld new file mode 100644 index 00000000..a092c9da --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0046-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": {"@vocab": "urn:"}, + "@id": "urn:id-1", + "@type": "Class", + "preserve": { + "@graph": { + "@id": "urn:id-2", + "term": "data" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0046-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0046-out.jsonld new file mode 100644 index 00000000..ac94b8c6 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0046-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": {"@vocab": "urn:"}, + "@graph": [{ + "@id": "urn:id-1", + "@type": "Class", + "preserve": { + "@id": "_:b0" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0047-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0047-frame.jsonld new file mode 100644 index 00000000..dbae8223 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0047-frame.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"@vocab": "urn:"}, + "@type": "Class", + "@graph": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0047-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0047-in.jsonld new file mode 100644 index 00000000..0f2e99ad --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0047-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": {"@vocab": "urn:"}, + "@id": "urn:id-1", + "@type": "Class", + "preserve": { + "@id": "urn:gr-1", + "@graph": { + "@id": "urn:id-2", + "term": "data" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0047-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0047-out.jsonld new file mode 100644 index 00000000..0f2e99ad --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0047-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": {"@vocab": "urn:"}, + "@id": "urn:id-1", + "@type": "Class", + "preserve": { + "@id": "urn:gr-1", + "@graph": { + "@id": "urn:id-2", + "term": "data" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0048-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0048-frame.jsonld new file mode 100644 index 00000000..3d9e6393 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0048-frame.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"@vocab": "urn:"}, + "@type": "Class", + "preserve": { + "@graph": {} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0048-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0048-in.jsonld new file mode 100644 index 00000000..44a981d5 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0048-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": {"@vocab": "urn:"}, + "@id": "urn:id-1", + "@type": "Class", + "merge": { + "@id": "urn:id-2", + "@graph": { + "@id": "urn:id-2", + "term": "foo" + } + }, + "preserve": { + "@id": "urn:graph-1", + "@graph": { + "@id": "urn:id-3", + "term": "bar" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0048-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0048-out.jsonld new file mode 100644 index 00000000..cb4012d5 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0048-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": {"@vocab": "urn:"}, + "@id": "urn:id-1", + "@type": "Class", + "merge": { + "@id": "urn:id-2", + "term": "foo" + }, + "preserve": { + "@id": "urn:graph-1", + "@graph": { + "@id": "urn:id-3", + "term": "bar" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0049-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0049-frame.jsonld new file mode 100644 index 00000000..14df02e3 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0049-frame.jsonld @@ -0,0 +1,9 @@ +{ + "@context": {"@vocab": "urn:"}, + "@type": "Class", + "preserve": { + "deep": { + "@graph": {} + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0049-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0049-in.jsonld new file mode 100644 index 00000000..bdee41d5 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0049-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": {"@vocab": "urn:"}, + "@id": "urn:id-1", + "@type": "Class", + "merge": { + "@id": "urn:id-2", + "@graph": { + "@id": "urn:id-2", + "term": "foo" + } + }, + "preserve": { + "deep": { + "@graph": { + "@id": "urn:id-3", + "term": "bar" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0049-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0049-out.jsonld new file mode 100644 index 00000000..cf2541e1 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0049-out.jsonld @@ -0,0 +1,21 @@ +{ + "@context": {"@vocab": "urn:"}, + "@graph": [{ + "@id": "urn:id-1", + "@type": "Class", + "merge": { + "@id": "urn:id-2", + "term": "foo" + }, + "preserve": { + "@id": "_:b0", + "deep": { + "@id": "_:b1", + "@graph": { + "@id": "urn:id-3", + "term": "bar" + } + } + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0050-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0050-frame.jsonld new file mode 100644 index 00000000..a6e851de --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0050-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@type": "Library", + "contains": { + "@id": "http://example.org/graphs/books", + "@graph": {"@type": "Book"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0050-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0050-in.jsonld new file mode 100644 index 00000000..d6890cd6 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0050-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@id": "http://example.org/library", + "@type": "Library", + "name": "Library", + "contains": { + "@id": "http://example.org/graphs/books", + "@graph": { + "@id": "http://example.org/library/the-republic", + "@type": "Book", + "creator": "Plato", + "title": "The Republic", + "contains": { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "Chapter", + "description": "An introductory chapter on The Republic.", + "title": "The Introduction" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0050-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0050-out.jsonld new file mode 100644 index 00000000..d6890cd6 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0050-out.jsonld @@ -0,0 +1,21 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@id": "http://example.org/library", + "@type": "Library", + "name": "Library", + "contains": { + "@id": "http://example.org/graphs/books", + "@graph": { + "@id": "http://example.org/library/the-republic", + "@type": "Book", + "creator": "Plato", + "title": "The Republic", + "contains": { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "Chapter", + "description": "An introductory chapter on The Republic.", + "title": "The Introduction" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0051-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0051-frame.jsonld new file mode 100644 index 00000000..7a56e1f6 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0051-frame.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "schema": "http://schema.org/", + "name": "schema:name", + "url": { "@id": "schema:url", "@type": "schema:URL"} + }, + "name": {}, + "url": {"@default": {"@value": "http://example.com", "@type": "schema:URL"}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0051-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0051-in.jsonld new file mode 100644 index 00000000..fa7346bf --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0051-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "schema": "http://schema.org/", + "name": "schema:name", + "url": {"@id": "schema:url", "@type": "schema:URL"} + }, + "name": "Jane Doe" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0051-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0051-out.jsonld new file mode 100644 index 00000000..fffead29 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0051-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "schema": "http://schema.org/", + "name": "schema:name", + "url": { + "@id": "schema:url", + "@type": "schema:URL" + } + }, + "name": "Jane Doe", + "url": "http://example.com" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0052-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0052-frame.jsonld new file mode 100644 index 00000000..dffe5f25 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0052-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": ["ex:Sub1", "_:Sub2"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0052-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0052-in.jsonld new file mode 100644 index 00000000..59287b65 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0052-in.jsonld @@ -0,0 +1,15 @@ +[ + { + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "_:Sub2", + "@type": "ex:Type2" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub3", + "@type": "ex:Type3" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0053-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0053-frame.jsonld new file mode 100644 index 00000000..214e3f4d --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0053-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@type": ["ex:Type1", "_:Type2"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0053-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0053-in.jsonld new file mode 100644 index 00000000..3557585a --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0053-in.jsonld @@ -0,0 +1,15 @@ +[ + { + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub2", + "@type": "ex:Type2" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub3", + "@type": "ex:Type3" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0054-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0054-frame.jsonld new file mode 100644 index 00000000..e1925270 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0054-frame.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@type": "ex:Thing", + "ex:embed": { + "@embed": "@sometimes" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0054-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0054-in.jsonld new file mode 100644 index 00000000..d5df9e32 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0054-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded", + "ex:title": "Not Embedded" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0055-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0055-frame.jsonld new file mode 100644 index 00000000..2bbff169 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0055-frame.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"ex": "http://example.org/"}, + "ex:mixedlist": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0055-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0055-in.jsonld new file mode 100644 index 00000000..3a56663b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0055-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1", + "ex:mixedlist": { + "@list": [ + {"@id": "ex:Sub2", "@type": "ex:Type2"}, + "literal1" + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0055-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0055-out.jsonld new file mode 100644 index 00000000..3a56663b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0055-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type1", + "ex:mixedlist": { + "@list": [ + {"@id": "ex:Sub2", "@type": "ex:Type2"}, + "literal1" + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0056-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0056-frame.jsonld new file mode 100644 index 00000000..cbdf3cb9 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0056-frame.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/" + }, + "@requireAll": false, + "ex:list-v": {"@list": ["V"]}, + "ex:list-l": {"@list": [{"@value": "L", "@language": "l"}]}, + "ex:list-t": {"@list": [{"@value": "T", "@type": "ex:t"}]}, + "ex:list-i": {"@list": [{"@id": "I", "@type": "ex:T"}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0056-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0056-in.jsonld new file mode 100644 index 00000000..a97615c1 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0056-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/" + }, + "@graph": [{ + "ex:list-v": {"@list": ["V"]} + }, { + "ex:list-l": {"@list": [{"@value": "L", "@language": "l"}]} + }, { + "ex:list-t": {"@list": [{"@value": "T", "@type": "ex:t"}]} + }, { + "ex:list-i": {"@list": [{"@id": "I", "@type": "ex:T"}]} + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0056-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0056-out.jsonld new file mode 100644 index 00000000..fc646609 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0056-out.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/" + }, + "@graph": [{ + "ex:list-v": {"@list": ["V"]}, + "ex:list-l": null, + "ex:list-t": null, + "ex:list-i": null + }, { + "ex:list-v": null, + "ex:list-l": {"@list": [{"@value": "L", "@language": "l"}]}, + "ex:list-t": null, + "ex:list-i": null + }, { + "ex:list-v": null, + "ex:list-l": null, + "ex:list-t": {"@list": [{"@value": "T", "@type": "ex:t"}]}, + "ex:list-i": null + }, { + "ex:list-v": null, + "ex:list-l": null, + "ex:list-t": null, + "ex:list-i": {"@list": [{"@id": "I", "@type": "ex:T"}]} + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0057-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0057-frame.jsonld new file mode 100644 index 00000000..cbdf3cb9 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0057-frame.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/" + }, + "@requireAll": false, + "ex:list-v": {"@list": ["V"]}, + "ex:list-l": {"@list": [{"@value": "L", "@language": "l"}]}, + "ex:list-t": {"@list": [{"@value": "T", "@type": "ex:t"}]}, + "ex:list-i": {"@list": [{"@id": "I", "@type": "ex:T"}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0057-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0057-in.jsonld new file mode 100644 index 00000000..6e3c94fc --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0057-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/" + }, + "@graph": [{ + "ex:list-v": {"@list": ["V", {"@value": "L", "@language": "l"}]} + }, { + "ex:list-l": {"@list": [{"@value": "L", "@language": "l"}, {"@value": "T", "@type": "ex:t"}]} + }, { + "ex:list-t": {"@list": [{"@value": "T", "@type": "ex:t"}, {"@id": "I", "@type": "ex:T"}]} + }, { + "ex:list-i": {"@list": ["V", {"@id": "I", "@type": "ex:T"}]} + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0057-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0057-out.jsonld new file mode 100644 index 00000000..ce8625c2 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0057-out.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/" + }, + "@graph": [{ + "ex:list-v": {"@list": ["V", {"@value": "L", "@language": "l"}]}, + "ex:list-l": null, + "ex:list-t": null, + "ex:list-i": null + }, { + "ex:list-v": null, + "ex:list-l": {"@list": [{"@value": "L", "@language": "l"}, {"@value": "T", "@type": "ex:t"}]}, + "ex:list-t": null, + "ex:list-i": null + }, { + "ex:list-v": null, + "ex:list-l": null, + "ex:list-t": {"@list": [{"@value": "T", "@type": "ex:t"}]}, + "ex:list-i": null + }, { + "ex:list-v": null, + "ex:list-l": null, + "ex:list-t": null, + "ex:list-i": {"@list": ["V", {"@id": "I", "@type": "ex:T"}]} + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0058-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0058-frame.jsonld new file mode 100644 index 00000000..cbdf3cb9 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0058-frame.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/" + }, + "@requireAll": false, + "ex:list-v": {"@list": ["V"]}, + "ex:list-l": {"@list": [{"@value": "L", "@language": "l"}]}, + "ex:list-t": {"@list": [{"@value": "T", "@type": "ex:t"}]}, + "ex:list-i": {"@list": [{"@id": "I", "@type": "ex:T"}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0058-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0058-in.jsonld new file mode 100644 index 00000000..b1ae1283 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0058-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/" + }, + "@graph": [{ + "ex:list-v": {"@list": [{"@value": "L", "@language": "l"}, {"@value": "T", "@type": "ex:t"}, {"@id": "I", "@type": "ex:T"}]} + }, { + "ex:list-l": {"@list": ["V", {"@value": "T", "@type": "ex:t"}, {"@id": "I", "@type": "ex:T"}]} + }, { + "ex:list-t": {"@list": [{"@value": "L", "@language": "l"}, {"@id": "I", "@type": "ex:T"}]} + }, { + "ex:list-i": {"@list": ["V", {"@value": "L", "@language": "l"}, {"@value": "T", "@type": "ex:t"}]} + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0058-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0058-out.jsonld new file mode 100644 index 00000000..1cff34c6 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0058-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/" + }, + "@graph": [] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0059-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0059-frame.jsonld new file mode 100644 index 00000000..2b020046 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0059-frame.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@type": "ex:Thing", + "@embed": "@last" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0059-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0059-in.jsonld new file mode 100644 index 00000000..c0de3342 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0059-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "http://example/outer", + "@type": "ex:Thing", + "ex:embed1": {"@id": "http://example/embedded", "ex:name": "Embedded"}, + "ex:embed2": {"@id": "http://example/embedded", "ex:name": "Embedded"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0059-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0059-out.jsonld new file mode 100644 index 00000000..9721c446 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0059-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@graph": [ + { + "@id": "http://example/outer", + "@type": "ex:Thing", + "ex:embed1": {"@id": "http://example/embedded"}, + "ex:embed2": {"@id": "http://example/embedded", "ex:name": "Embedded"} + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0060-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0060-frame.jsonld new file mode 100644 index 00000000..2ac5e722 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0060-frame.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@type": "ex:Thing", + "@embed": "@once" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0060-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0060-in.jsonld new file mode 100644 index 00000000..c0de3342 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0060-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "http://example/outer", + "@type": "ex:Thing", + "ex:embed1": {"@id": "http://example/embedded", "ex:name": "Embedded"}, + "ex:embed2": {"@id": "http://example/embedded", "ex:name": "Embedded"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0060-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0060-out.jsonld new file mode 100644 index 00000000..20423c2d --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0060-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "http://example/outer", + "@type": "ex:Thing", + "ex:embed1": {"@id": "http://example/embedded", "ex:name": "Embedded"}, + "ex:embed2": {"@id": "http://example/embedded"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0061-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0061-frame.jsonld new file mode 100644 index 00000000..53a16345 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0061-frame.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@base": "http://example.org/", + "@vocab": "http://example.org/vocab#", + "@version": 1.1 + }, + "characters": { + "format": { + "char": { + "@id": {}, + "states": { + "@default": {} + } + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0061-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0061-in.jsonld new file mode 100644 index 00000000..b16fa8d2 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0061-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@base": "http://example.org/", + "@vocab": "http://example.org/vocab#", + "@version": 1.1 + }, + "characters": { + "@id": "m3", + "@type": "ContinuousCells", + "label": "Continuous characters", + "format": { + "char": [ + { + "@id": "ContinuousCharacter1", + "label": "this is character 1" + }, + {"@id": "ContinuousCharacter2"}, + {"@id": "ContinuousCharacter3"}, + {"@id": "ContinuousCharacter4"}, + {"@id": "ContinuousCharacter5"} + ] + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0061-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0061-out.jsonld new file mode 100644 index 00000000..960d74fa --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0061-out.jsonld @@ -0,0 +1,25 @@ +{ + "@context": { + "@base": "http://example.org/", + "@vocab": "http://example.org/vocab#", + "@version": 1.1 + }, + "characters": { + "@id": "m3", + "@type": "ContinuousCells", + "label": "Continuous characters", + "format": { + "char": [ + { + "@id": "ContinuousCharacter1", + "label": "this is character 1", + "states": {} + }, + {"@id": "ContinuousCharacter2", "states": {}}, + {"@id": "ContinuousCharacter3", "states": {}}, + {"@id": "ContinuousCharacter4", "states": {}}, + {"@id": "ContinuousCharacter5", "states": {}} + ] + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0062-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0062-frame.jsonld new file mode 100644 index 00000000..0d257d05 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0062-frame.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/vocab#", + "Production": { + "@context": { + "part": { + "@type": "@id", + "@container": "@set" + } + } + } + }, + "@id": "http://example.org/1" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0062-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0062-in.jsonld new file mode 100644 index 00000000..ac573ce8 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0062-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/vocab#" + }, + "@id": "http://example.org/1", + "@type": "HumanMadeObject", + "produced_by": { + "@type": "Production", + "_label": "Top Production", + "part": { + "@type": "Production", + "_label": "Test Part" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0062-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0062-out.jsonld new file mode 100644 index 00000000..5cb33bf8 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0062-out.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/vocab#", + "Production": { + "@context": { + "part": { + "@type": "@id", + "@container": "@set" + } + } + } + }, + "@id": "http://example.org/1", + "@type": "HumanMadeObject", + "produced_by": { + "@type": "Production", + "part": [{ + "@type": "Production", + "_label": "Test Part" + }], + "_label": "Top Production" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0063-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0063-frame.jsonld new file mode 100644 index 00000000..3e0a5356 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0063-frame.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/vocab#", + "ex:p3": {"@container": "@set"} + }, + "@type": "ex:Example", + "ex:p1": "non-default", + "ex:p2": {"@default": "@null"}, + "ex:p3": {"@default": ["@null"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0063-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0063-in.jsonld new file mode 100644 index 00000000..81a8c42e --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0063-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test/#example1", + "@type": "ex:Example", + "ex:p1": "non-default" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0063-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0063-out.jsonld new file mode 100644 index 00000000..b62f1621 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0063-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://example.org/vocab#", + "ex:p3": {"@container": "@set"} + }, + "@id": "http://example.org/test/#example1", + "@type": "ex:Example", + "ex:p1": "non-default", + "ex:p2": null, + "ex:p3": [] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0064-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0064-frame.jsonld new file mode 100644 index 00000000..381f5bca --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0064-frame.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@type": {"@default": "ex:Foo"}, + "ex:foo": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0064-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0064-in.jsonld new file mode 100644 index 00000000..080695f6 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0064-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "ex:foo": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0064-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0064-out.jsonld new file mode 100644 index 00000000..1a328e5c --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0064-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Foo", + "ex:foo": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/eo01-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/eo01-frame.jsonld new file mode 100644 index 00000000..9393bcfc --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/eo01-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://www.example.com/#" + }, + "@type": "ex:Thing", + "ex:embed": { + "@embed": true + }, + "ex:noembed": { + "@embed": false + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/eo01-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/eo01-in.jsonld new file mode 100644 index 00000000..d5df9e32 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/eo01-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded", + "ex:title": "Not Embedded" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/eo01-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/eo01-out.jsonld new file mode 100644 index 00000000..933f9d9d --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/eo01-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://www.example.com/#" + }, + "@id": "ex:subject", + "@type": "ex:Thing", + "ex:embed": { + "@id": "ex:embedded", + "ex:title": "Embedded" + }, + "ex:noembed": { + "@id": "ex:notembedded" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/eo02-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/eo02-frame.jsonld new file mode 100644 index 00000000..d52d0ff2 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/eo02-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "ex": "http://www.example.com/#", + }, + "@type": "ex:Thing", + "@embed": "@once" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/eo02-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/eo02-in.jsonld new file mode 100644 index 00000000..c0de3342 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/eo02-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "http://example/outer", + "@type": "ex:Thing", + "ex:embed1": {"@id": "http://example/embedded", "ex:name": "Embedded"}, + "ex:embed2": {"@id": "http://example/embedded", "ex:name": "Embedded"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/eo02-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/eo02-out.jsonld new file mode 100644 index 00000000..20423c2d --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/eo02-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://www.example.com/#" + }, + "@id": "http://example/outer", + "@type": "ex:Thing", + "ex:embed1": {"@id": "http://example/embedded", "ex:name": "Embedded"}, + "ex:embed2": {"@id": "http://example/embedded"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g001-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g001-frame.jsonld new file mode 100644 index 00000000..b242010f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g001-frame.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "ex:contains": { + "@type": "ex:Book", + "ex:contains": { + "@type": "ex:Chapter" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g001-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g001-in.jsonld new file mode 100644 index 00000000..9fafdb88 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g001-in.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g001-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g001-out.jsonld new file mode 100644 index 00000000..682be944 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g001-out.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g002-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g002-frame.jsonld new file mode 100644 index 00000000..25024404 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g002-frame.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Book", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Chapter", + "@embed": "@always" + }, + "ex:bookmark": { + "@type": "ex:Chapter", + "@embed": "@always" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g002-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g002-in.jsonld new file mode 100644 index 00000000..64298d26 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g002-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"}, + "ex:bookmark": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": "http://example.org/test#chapter", + "ex:bookmark": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g002-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g002-out.jsonld new file mode 100644 index 00000000..0df97423 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g002-out.jsonld @@ -0,0 +1,26 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + }, + "ex:bookmark": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g003-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g003-frame.jsonld new file mode 100644 index 00000000..f3d91948 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g003-frame.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Book", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Chapter", + "@embed": "@always" + }, + "ex:topic": { + "@type": "ex:Library", + "@embed": "@always" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g003-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g003-in.jsonld new file mode 100644 index 00000000..18d3be7e --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g003-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"}, + "ex:topic": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book about a library", + "ex:contains": "http://example.org/test#chapter", + "ex:topic": "http://example.org/test/#library" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g003-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g003-out.jsonld new file mode 100644 index 00000000..bcd5cdfc --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g003-out.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book about a library", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One" + }, + "ex:topic": { + "@id": "http://example.org/test/#library" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g004-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g004-frame.jsonld new file mode 100644 index 00000000..e018f3b2 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g004-frame.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Book", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Chapter", + "@embed": "@always", + "ex:topic": { + "@type": "ex:Library", + "@embed": "@always" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g004-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g004-in.jsonld new file mode 100644 index 00000000..62b91f1d --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g004-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"}, + "ex:topic": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book about a library", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:topic": "http://example.org/test/#library" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g004-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g004-out.jsonld new file mode 100644 index 00000000..235e2e8e --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g004-out.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book about a library", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:topic": { + "@id": "http://example.org/test/#library" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g005-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g005-frame.jsonld new file mode 100644 index 00000000..c8895d57 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g005-frame.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Book", + "@omitDefault": "true", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Chapter", + "@embed": "@always", + "ex:topic": { + "@type": "ex:Library", + "@embed": "@always" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g005-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g005-in.jsonld new file mode 100644 index 00000000..51e18430 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g005-in.jsonld @@ -0,0 +1,40 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"}, + "ex:topic": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:name": "My local library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test/#library2", + "@type": "ex:Library", + "ex:name": "Another library" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book about a library", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:topic": { + "@set": [ + "http://example.org/test/#library", + "http://example.org/test/#library2" + ] + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g005-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g005-out.jsonld new file mode 100644 index 00000000..409748f9 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g005-out.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@graph": [{ + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:name": "My local library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book about a library", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:topic": [ + { + "@id": "http://example.org/test/#library" + }, + { + "@id": "http://example.org/test/#library2", + "@type": "ex:Library", + "ex:name": "Another library" + } + ] + } + } + }, + { + "@id": "http://example.org/test/#library2", + "@type": "ex:Library", + "ex:name": "Another library" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g006-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g006-frame.jsonld new file mode 100644 index 00000000..e206f8af --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g006-frame.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Town", + "@embed": "@always", + "ex:hasLibrary": { + "@type": "ex:Library", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Book", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Chapter", + "@embed": "@always", + "ex:topic": { + "@type": "ex:Library", + "@embed": "@always" + } + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g006-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g006-in.jsonld new file mode 100644 index 00000000..73dbbee6 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g006-in.jsonld @@ -0,0 +1,50 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"}, + "ex:topic": {"@type": "@id"}, + "ex:hasLibrary": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/town/#123", + "@type": "ex:Town", + "ex:name": "My town", + "ex:hasLibrary": [ + "http://example.org/test/#library", + "http://example.org/test/#library2" + ] + }, + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:name": "My local library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test/#library2", + "@type": "ex:Library", + "ex:name": "Another library" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book about a library", + "ex:contains": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:topic": { + "@set": [ + "http://example.org/test/#library", + "http://example.org/test/#library2" + ] + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g006-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g006-out.jsonld new file mode 100644 index 00000000..2bb38b83 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g006-out.jsonld @@ -0,0 +1,44 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/town/#123", + "@type": "ex:Town", + "ex:name": "My town", + "ex:hasLibrary": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:name": "My local library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book about a library", + "ex:contains": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:topic": [ + { + "@id": "http://example.org/test/#library" + }, + { + "@id": "http://example.org/test/#library2", + "@type": "ex:Library", + "ex:name": "Another library" + } + ] + } + } + }, + { + "@id": "http://example.org/test/#library2", + "@type": "ex:Library", + "ex:contains": null, + "ex:name": "Another library" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g007-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g007-frame.jsonld new file mode 100644 index 00000000..47b119a0 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g007-frame.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@type": "ex:Library", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Book", + "@embed": "@always", + "ex:bookmark": { + "@type": "ex:Chapter", + "@embed": "@always" + }, + "ex:contains": { + "@type": "ex:Chapter", + "@embed": "@always", + "ex:topic" : { + "@type": "ex:Topic", + "@embed": "@always" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g007-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g007-in.jsonld new file mode 100644 index 00000000..7524e669 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g007-in.jsonld @@ -0,0 +1,73 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:contains": {"@type": "@id"}, + "ex:bookmark": {"@type": "@id"}, + "ex:topic": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": [ + "http://example.org/test#chapter", + "http://example.org/test#chapter2" + ], + "ex:bookmark": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:topic": [ + "http://example.org/test#subject1", + "http://example.org/test#subject2", + "http://example.org/test#subject3" + ] + }, + { + "@id": "http://example.org/test#chapter2", + "@type": "ex:Chapter", + "dcterms:description": "More Fun", + "dcterms:title": "Chapter Two", + "ex:topic": [ + "http://example.org/test#subject1", + "http://example.org/test#subject4", + "http://example.org/test#subject5" + ] + }, + { + "@id": "http://example.org/test#subject1", + "@type": "ex:Topic", + "dcterms:description": "Topic 1" + }, + { + "@id": "http://example.org/test#subject2", + "@type": "ex:Topic", + "dcterms:description": "Topic 2" + }, + { + "@id": "http://example.org/test#subject3", + "@type": "ex:Topic", + "dcterms:description": "Topic 3" + }, + { + "@id": "http://example.org/test#subject4", + "@type": "ex:Topic", + "dcterms:description": "Topic 4" + }, + { + "@id": "http://example.org/test#subject5", + "@type": "ex:Topic", + "dcterms:description": "Topic 5" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g007-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g007-out.jsonld new file mode 100644 index 00000000..170c9f5b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g007-out.jsonld @@ -0,0 +1,85 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": [ + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:topic": [ + { + "@id": "http://example.org/test#subject1", + "@type": "ex:Topic", + "dcterms:description": "Topic 1" + }, + { + "@id": "http://example.org/test#subject2", + "@type": "ex:Topic", + "dcterms:description": "Topic 2" + }, + { + "@id": "http://example.org/test#subject3", + "@type": "ex:Topic", + "dcterms:description": "Topic 3" + } + ] + }, + { + "@id": "http://example.org/test#chapter2", + "@type": "ex:Chapter", + "dcterms:description": "More Fun", + "dcterms:title": "Chapter Two", + "ex:topic": [ + { + "@id": "http://example.org/test#subject1", + "@type": "ex:Topic", + "dcterms:description": "Topic 1" + }, + { + "@id": "http://example.org/test#subject4", + "@type": "ex:Topic", + "dcterms:description": "Topic 4" + }, + { + "@id": "http://example.org/test#subject5", + "@type": "ex:Topic", + "dcterms:description": "Topic 5" + } + ] + } + ], + "ex:bookmark": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "ex:topic": [ + { + "@id": "http://example.org/test#subject1", + "@type": "ex:Topic", + "dcterms:description": "Topic 1" + }, + { + "@id": "http://example.org/test#subject2", + "@type": "ex:Topic", + "dcterms:description": "Topic 2" + }, + { + "@id": "http://example.org/test#subject3", + "@type": "ex:Topic", + "dcterms:description": "Topic 3" + } + ] + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g008-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g008-frame.jsonld new file mode 100644 index 00000000..6b7cd28f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g008-frame.jsonld @@ -0,0 +1,35 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:relatesTo": {"@type": "@id"} + }, + "@type": "ex:Library", + "@embed": "@always", + "ex:contains": { + "@type": "ex:Book", + "@embed": "@always", + "ex:bookmark": { + "@type": "ex:Chapter", + "@embed": "@always" + }, + "ex:contains": { + "@type": "ex:Chapter", + "@embed": "@always", + "dcterms:subject": { + "@omitDefault": "true", + "@embed": "@always", + "@type": "ex:Library" + }, + "ex:topic" : { + "@type": "ex:Topic", + "@embed": "@always", + "ex:relatesTo" : { + "@omitDefault": "true", + "@embed": "@always", + "@type": "ex:Library" + } + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g008-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g008-in.jsonld new file mode 100644 index 00000000..fef64ec2 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g008-in.jsonld @@ -0,0 +1,77 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "dcterms:subject": {"@type": "@id"}, + "ex:contains": {"@type": "@id"}, + "ex:bookmark": {"@type": "@id"}, + "ex:topic": {"@type": "@id"}, + "ex:relatesTo": {"@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": "http://example.org/test#book" + }, + { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": [ + "http://example.org/test#chapter", + "http://example.org/test#chapter2" + ], + "ex:bookmark": "http://example.org/test#chapter" + }, + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "dcterms:subject": "http://example.org/test/#library", + "ex:topic": [ + "http://example.org/test#subject1", + "http://example.org/test#subject2", + "http://example.org/test#subject3" + ] + }, + { + "@id": "http://example.org/test#chapter2", + "@type": "ex:Chapter", + "dcterms:description": "More Fun", + "dcterms:title": "Chapter Two", + "ex:topic": [ + "http://example.org/test#subject1", + "http://example.org/test#subject4", + "http://example.org/test#subject5" + ] + }, + { + "@id": "http://example.org/test#subject1", + "@type": "ex:Topic", + "dcterms:description": "Topic 1", + "ex:relatesTo": "http://example.org/test/#library" + }, + { + "@id": "http://example.org/test#subject2", + "@type": "ex:Topic", + "dcterms:description": "Topic 2" + }, + { + "@id": "http://example.org/test#subject3", + "@type": "ex:Topic", + "dcterms:description": "Topic 3" + }, + { + "@id": "http://example.org/test#subject4", + "@type": "ex:Topic", + "dcterms:description": "Topic 4" + }, + { + "@id": "http://example.org/test#subject5", + "@type": "ex:Topic", + "dcterms:description": "Topic 5" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g008-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g008-out.jsonld new file mode 100644 index 00000000..90f4a08e --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g008-out.jsonld @@ -0,0 +1,91 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:relatesTo": {"@type": "@id"} + }, + "@id": "http://example.org/test/#library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/test#book", + "@type": "ex:Book", + "dcterms:contributor": "Writer", + "dcterms:title": "My Book", + "ex:contains": [ + { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "dcterms:subject": {"@id": "http://example.org/test/#library"}, + "ex:topic": [ + { + "@id": "http://example.org/test#subject1", + "@type": "ex:Topic", + "dcterms:description": "Topic 1", + "ex:relatesTo": "http://example.org/test/#library" + }, + { + "@id": "http://example.org/test#subject2", + "@type": "ex:Topic", + "dcterms:description": "Topic 2" + }, + { + "@id": "http://example.org/test#subject3", + "@type": "ex:Topic", + "dcterms:description": "Topic 3" + } + ] + }, + { + "@id": "http://example.org/test#chapter2", + "@type": "ex:Chapter", + "dcterms:description": "More Fun", + "dcterms:title": "Chapter Two", + "ex:topic": [ + { + "@id": "http://example.org/test#subject1", + "@type": "ex:Topic", + "dcterms:description": "Topic 1", + "ex:relatesTo": "http://example.org/test/#library" + }, + { + "@id": "http://example.org/test#subject4", + "@type": "ex:Topic", + "dcterms:description": "Topic 4" + }, + { + "@id": "http://example.org/test#subject5", + "@type": "ex:Topic", + "dcterms:description": "Topic 5" + } + ] + } + ], + "ex:bookmark": { + "@id": "http://example.org/test#chapter", + "@type": "ex:Chapter", + "dcterms:description": "Fun", + "dcterms:title": "Chapter One", + "dcterms:subject": {"@id": "http://example.org/test/#library"}, + "ex:topic": [ + { + "@id": "http://example.org/test#subject1", + "@type": "ex:Topic", + "dcterms:description": "Topic 1", + "ex:relatesTo": "http://example.org/test/#library" + }, + { + "@id": "http://example.org/test#subject2", + "@type": "ex:Topic", + "dcterms:description": "Topic 2" + }, + { + "@id": "http://example.org/test#subject3", + "@type": "ex:Topic", + "dcterms:description": "Topic 3" + } + ] + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g009-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g009-frame.jsonld new file mode 100644 index 00000000..dfc4fd62 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g009-frame.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "ex": "http://example.com/", + "embed": { + "@id": "ex:embed", + "@container": "@set" + }, + "shouldExist": "ex:shouldExist" + }, + "@type": "http://example.com/TreeRoot", + "@embed": "@always", + "embed": { + "@embed": "@always" + } +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g009-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g009-in.jsonld new file mode 100644 index 00000000..08d32aef --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g009-in.jsonld @@ -0,0 +1,52 @@ +{ + "@context": { + "ex": "http://example.com/", + "embed": { + "@id": "ex:embed", + "@container": "@set" + }, + "shouldExist": "ex:shouldExist" + }, + "@graph": [ + { + "@id": "ex:root", + "@type": "ex:TreeRoot", + "embed": [ + { + "@id": "ex:node-d1-with-leaf" + }, + { + "@id": "ex:node-d1-with-node" + } + ] + }, + { + "@id": "ex:node-d1-with-leaf", + "embed": [ + { + "@id": "ex:leaf" + } + ] + }, + { + "@id": "ex:node-d1-with-node", + "embed": [ + { + "@id": "ex:node-d2-with-leaf" + } + ] + }, + { + "@id": "ex:node-d2-with-leaf", + "embed": [ + { + "@id": "ex:leaf" + } + ] + }, + { + "@id": "ex:leaf", + "shouldExist": "shows when embedded" + } + ] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g009-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g009-out.jsonld new file mode 100644 index 00000000..e924f9de --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g009-out.jsonld @@ -0,0 +1,37 @@ +{ + "@context": { + "ex": "http://example.com/", + "embed": { + "@id": "ex:embed", + "@container": "@set" + }, + "shouldExist": "ex:shouldExist" + }, + "@id": "ex:root", + "@type": "ex:TreeRoot", + "embed": [ + { + "@id": "ex:node-d1-with-leaf", + "embed": [ + { + "@id": "ex:leaf", + "shouldExist": "shows when embedded" + } + ] + }, + { + "@id": "ex:node-d1-with-node", + "embed": [ + { + "@id": "ex:node-d2-with-leaf", + "embed": [ + { + "@id": "ex:leaf", + "shouldExist": "shows when embedded" + } + ] + } + ] + } + ] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g010-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g010-frame.jsonld new file mode 100644 index 00000000..71235408 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g010-frame.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "proof": {"@id": "ex:proof", "@container": "@graph"} + }, + "@graph": { + "subject": {}, + "proof": {} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g010-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g010-in.jsonld new file mode 100644 index 00000000..f517f830 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g010-in.jsonld @@ -0,0 +1,21 @@ +{ + "@id": "ex:cred", + "ex:subject": { + "@id": "ex:Subject", + "ex:name": "the subject", + "ex:knows": { + "@id": "ex:issuer", + "ex:name": "Someone else" + } + }, + "ex:proof": { + "@graph": { + "@type": "ex:Proof", + "ex:name": "the proof", + "ex:signer": [{ + "@id": "ex:Subject", + "ex:name": "something different" + }] + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/g010-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/g010-out.jsonld new file mode 100644 index 00000000..5148d3a4 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/g010-out.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "@version": 1.1, + "proof": {"@id": "ex:proof", "@container": "@graph"} + }, + "@id": "ex:cred", + "ex:subject": { + "@id": "ex:Subject", + "ex:name": "the subject", + "ex:knows": { + "@id": "ex:issuer", + "ex:name": "Someone else" + } + }, + "proof": { + "@type": "ex:Proof", + "ex:name": "the proof", + "ex:signer": { + "@id": "ex:Subject", + "ex:name": "something different" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in01-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in01-frame.jsonld new file mode 100644 index 00000000..f792be76 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/in01-frame.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "included": {"@id": "@included", "@container": "@set"} + }, + "@requireAll": true, + "foo": "bar", + "prop": "value", + "@included": [{ + "@requireAll": true, + "foo": "bar", + "prop": "value2" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in01-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in01-in.jsonld new file mode 100644 index 00000000..e07efe62 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/in01-in.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/prop": [{"@value": "value"}], + "http://example.org/foo": [{"@value": "bar"}] +}, { + "http://example.org/prop": [{"@value": "value2"}], + "http://example.org/foo": [{"@value": "bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in01-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in01-out.jsonld new file mode 100644 index 00000000..c6ffdac7 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/in01-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "included": {"@id": "@included", "@container": "@set"} + }, + "foo": "bar", + "included": [{ + "foo": "bar", + "prop": "value2" + }], + "prop": "value" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in02-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in02-frame.jsonld new file mode 100644 index 00000000..51ae184c --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/in02-frame.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "@requireAll": true, + "foo": "bar", + "prop": "value", + "@included": [{ + "@requireAll": true, + "foo": "bar", + "prop": "value2" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in02-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in02-in.jsonld new file mode 100644 index 00000000..e07efe62 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/in02-in.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example.org/prop": [{"@value": "value"}], + "http://example.org/foo": [{"@value": "bar"}] +}, { + "http://example.org/prop": [{"@value": "value2"}], + "http://example.org/foo": [{"@value": "bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in02-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in02-out.jsonld new file mode 100644 index 00000000..9228f1ba --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/in02-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "foo": "bar", + "prop": "value", + "@included": { + "prop": "value2", + "foo": "bar" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in03-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in03-frame.jsonld new file mode 100644 index 00000000..1250990a --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/in03-frame.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/vocab#", + "@base": "http://example.org/base/", + "id": "@id", + "type": "@type", + "data": "@nest", + "attributes": "@nest", + "links": "@nest", + "relationships": "@nest", + "included": "@included", + "author": {"@type": "@id"}, + "self": {"@type": "@id"}, + "related": {"@type": "@id"}, + "comments": {"@context": {"data": null}} + }, + "data": {"type": "articles"}, + "included": { + "@requireAll": true, + "type": ["comments", "people"], + "self": {} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in03-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in03-in.jsonld new file mode 100644 index 00000000..73ae7b88 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/in03-in.jsonld @@ -0,0 +1,42 @@ +[{ + "@id": "http://example.org/base/1", + "@type": ["http://example.org/vocab#articles"], + "http://example.org/vocab#title": [{"@value": "JSON:API paints my bikeshed!"}], + "http://example.org/vocab#self": [{"@id": "http://example.com/articles/1"}], + "http://example.org/vocab#author": [{ + "@id": "http://example.org/base/9", + "@type": ["http://example.org/vocab#people"], + "http://example.org/vocab#self": [{"@id": "http://example.com/articles/1/relationships/author"}], + "http://example.org/vocab#related": [{"@id": "http://example.com/articles/1/author"}] + }], + "http://example.org/vocab#comments": [{ + "http://example.org/vocab#self": [{"@id": "http://example.com/articles/1/relationships/comments"}], + "http://example.org/vocab#related": [{"@id": "http://example.com/articles/1/comments"}] + }], + "@included": [{ + "@id": "http://example.org/base/9", + "@type": ["http://example.org/vocab#people"], + "http://example.org/vocab#first-name": [{"@value": "Dan"}], + "http://example.org/vocab#last-name": [{"@value": "Gebhardt"}], + "http://example.org/vocab#twitter": [{"@value": "dgeb"}], + "http://example.org/vocab#self": [{"@id": "http://example.com/people/9"}] + }, { + "@id": "http://example.org/base/5", + "@type": ["http://example.org/vocab#comments"], + "http://example.org/vocab#body": [{"@value": "First!"}], + "http://example.org/vocab#author": [{ + "@id": "http://example.org/base/2", + "@type": ["http://example.org/vocab#people"] + }], + "http://example.org/vocab#self": [{"@id": "http://example.com/comments/5"}] + }, { + "@id": "http://example.org/base/12", + "@type": ["http://example.org/vocab#comments"], + "http://example.org/vocab#body": [{"@value": "I like XML better"}], + "http://example.org/vocab#author": [{ + "@id": "http://example.org/base/9", + "@type": ["http://example.org/vocab#people"] + }], + "http://example.org/vocab#self": [{"@id": "http://example.com/comments/12"}] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in03-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in03-out.jsonld new file mode 100644 index 00000000..d8ca2de3 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/in03-out.jsonld @@ -0,0 +1,51 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/vocab#", + "@base": "http://example.org/base/", + "id": "@id", + "type": "@type", + "data": "@nest", + "attributes": "@nest", + "links": "@nest", + "relationships": "@nest", + "included": "@included", + "author": {"@type": "@id"}, + "self": {"@type": "@id"}, + "related": {"@type": "@id"}, + "comments": {"@context": {"data": null}} + }, + "id": "1", + "type": "articles", + "title": "JSON:API paints my bikeshed!", + "self": "http://example.com/articles/1", + "author": "9", + "comments": { + "self": "http://example.com/articles/1/relationships/comments", + "related": "http://example.com/articles/1/comments" + }, + "included": [{ + "id": "5", + "type": "comments", + "body": "First!", + "author": {"id": "2", "type": "people"}, + "self": "http://example.com/comments/5" + }, { + "id": "9", + "type": "people", + "first-name": "Dan", + "last-name": "Gebhardt", + "twitter": "dgeb", + "self": [ + "http://example.com/people/9", + "http://example.com/articles/1/relationships/author" + ], + "related": "http://example.com/articles/1/author" + }, { + "id": "12", + "type": "comments", + "body": "I like XML better", + "author": "9", + "self": "http://example.com/comments/12" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/p010-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/p010-out.jsonld new file mode 100644 index 00000000..4c9a40ce --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/p010-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "dcterms:creator": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "ps": "http://purl.org/payswarm#" + }, + "@id": "http://example.com/asset", + "@type": "ps:Asset", + "dcterms:creator": { + "foaf:name": "John Doe" + } +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/p020-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/p020-out.jsonld new file mode 100644 index 00000000..e9d42b94 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/p020-out.jsonld @@ -0,0 +1,79 @@ +{ + "@graph": [ + { + "http://rdf.data-vocabulary.org/#ingredients": ["12 fresh mint leaves", "1/2 lime, juiced with pulp", "1 tablespoons white sugar", "1 cup ice cubes", "2 fluid ounces white rum", "1/2 cup club soda"], + "http://rdf.data-vocabulary.org/#instructions": [{ + "@id": "_:b1", + "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 1 + } + }, { + "@id": "_:b2", + "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 2 + } + }, { + "@id": "_:b3", + "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 3 + } + }, { + "@id": "_:b4", + "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 4 + } + }, { + "@id": "_:b5", + "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 5 + } + }], + "http://rdf.data-vocabulary.org/#name": "Mojito", + "http://rdf.data-vocabulary.org/#yield": "1 cocktail" + }, { + "@id": "_:b1", + "http://rdf.data-vocabulary.org/#description": "Crush lime juice, mint and sugar together in glass.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 1 + } + }, { + "@id": "_:b2", + "http://rdf.data-vocabulary.org/#description": "Fill glass to top with ice cubes.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 2 + } + }, { + "@id": "_:b3", + "http://rdf.data-vocabulary.org/#description": "Pour white rum over ice.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 3 + } + }, { + "@id": "_:b4", + "http://rdf.data-vocabulary.org/#description": "Fill the rest of glass with club soda, stir.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 4 + } + }, { + "@id": "_:b5", + "http://rdf.data-vocabulary.org/#description": "Garnish with a lime wedge.", + "http://rdf.data-vocabulary.org/#step": { + "@type": "http://www.w3.org/2001/XMLSchema#integer", + "@value": 5 + } + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/p021-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/p021-out.jsonld new file mode 100644 index 00000000..233c91c7 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/p021-out.jsonld @@ -0,0 +1,46 @@ +{ + "@context": { + "dcterms": "http://purl.org/dc/terms/", + "ex": "http://example.org/vocab#", + "ex:list": {"@container": "@list"} + }, + "@graph": [ + { + "@id": "_:b0", + "dcterms:title": "Book type" + }, { + "@id": "http://example.org/library", + "@type": "ex:Library", + "ex:contains": { + "@id": "http://example.org/library/the-republic", + "@type": "_:b0", + "dcterms:creator": "Plato", + "dcterms:title": "The Republic", + "ex:contains": { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dcterms:description": "An introductory chapter on The Republic.", + "dcterms:title": "The Introduction", + "ex:list": [1, 2, 3, 4, 4, 4, 5] + } + } + }, { + "@id": "http://example.org/library/the-republic", + "@type": "_:b0", + "ex:contains": { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dcterms:description": "An introductory chapter on The Republic.", + "dcterms:title": "The Introduction", + "ex:list": [1, 2, 3, 4, 4, 4, 5] + }, + "dcterms:creator": "Plato", + "dcterms:title": "The Republic" + }, { + "@id": "http://example.org/library/the-republic#introduction", + "@type": "ex:Chapter", + "dcterms:description": "An introductory chapter on The Republic.", + "ex:list": [1, 2, 3, 4, 4, 4, 5], + "dcterms:title": "The Introduction" + }] +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/p046-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/p046-out.jsonld new file mode 100644 index 00000000..6d127277 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/p046-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"@vocab": "urn:"}, + "@id": "urn:id-1", + "@type": "Class", + "preserve": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/p049-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/p049-out.jsonld new file mode 100644 index 00000000..1e66ba1f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/p049-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": {"@vocab": "urn:"}, + "@id": "urn:id-1", + "@type": "Class", + "merge": { + "@id": "urn:id-2", + "term": "foo" + }, + "preserve": { + "deep": { + "@graph": { + "@id": "urn:id-3", + "term": "bar" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/p050-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/p050-frame.jsonld new file mode 100644 index 00000000..b0e6c192 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/p050-frame.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "id": "@id" + }, + "id": {}, + "name": {} +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/p050-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/p050-in.jsonld new file mode 100644 index 00000000..91961fa5 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/p050-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "id": "@id" + }, + "id": "_:bnode0", + "name": "foo" +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/p050-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/p050-out.jsonld new file mode 100644 index 00000000..75e0a23e --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/p050-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "id": "@id" + }, + "name": "foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/ra01-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/ra01-frame.jsonld new file mode 100644 index 00000000..8c6099f4 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/ra01-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@requireAll": true, + "@type": "ex:Type", + "ex:p": {} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/ra01-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/ra01-in.jsonld new file mode 100644 index 00000000..e03cf2c0 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/ra01-in.jsonld @@ -0,0 +1,16 @@ +[ + { + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type", + "ex:p": "foo" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub2", + "@type": "ex:Type" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub3", + "ex:p": "foo" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/ra01-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/ra01-out.jsonld new file mode 100644 index 00000000..21c7f3a2 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/ra01-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type", + "ex:p": "foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/ra02-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/ra02-frame.jsonld new file mode 100644 index 00000000..34fa8f8a --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/ra02-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@requireAll": true, + "@id": ["ex:Sub1", "ex:Sub2"], + "@type": "ex:Type" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/ra02-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/ra02-in.jsonld new file mode 100644 index 00000000..5134a567 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/ra02-in.jsonld @@ -0,0 +1,17 @@ +[ + { + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type", + "ex:p": "foo" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub2", + "@type": "ex:OtherType" + }, { + "@context": { "ex":"http://example.org/"}, + "@id": "ex:Sub3", + "@type": "ex:Type", + "ex:p": "foo" + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/ra02-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/ra02-out.jsonld new file mode 100644 index 00000000..21c7f3a2 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/ra02-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": {"ex": "http://example.org/"}, + "@id": "ex:Sub1", + "@type": "ex:Type", + "ex:p": "foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/ra03-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/ra03-frame.jsonld new file mode 100644 index 00000000..0c727418 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/ra03-frame.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "https://schema.org/" + }, + "@type": "Person", + "@requireAll": true, + "givenName": "John", + "familyName": "Doe" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/ra03-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/ra03-in.jsonld new file mode 100644 index 00000000..c10a606a --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/ra03-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "https://schema.org/" + }, + "@graph": [ + { + "@id": "1", + "@type": "Person", + "name": "John Doe", + "givenName": "John", + "familyName": "Doe" + }, + { + "@id": "2", + "@type": "Person", + "name": "Jane Doe", + "givenName": "Jane" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/ra03-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/ra03-out.jsonld new file mode 100644 index 00000000..ec0bce9f --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/ra03-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "https://schema.org/" + }, + "@id": "1", + "@type": "Person", + "familyName": "Doe", + "givenName": "John", + "name": "John Doe" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/index.html b/core/src/test/resources/json-ld-framing-tests/index.html new file mode 100644 index 00000000..abd06287 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/index.html @@ -0,0 +1,105 @@ + + + + + +JSON-LD Test Suite + + + + + +

+ +W3C + +

+

JSON-LD Test Suite

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD API Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

frame tests have input, frame and expected documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output.

+ +

Additionally, if the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+ +

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior. +Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-framing.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+

This manifest loads additional manifests for specific behavior tests

+
+

+Test sequence: +

+ +
+ + diff --git a/core/src/test/resources/json-ld-framing-tests/manifest.html b/core/src/test/resources/json-ld-framing-tests/manifest.html new file mode 100644 index 00000000..abd06287 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/manifest.html @@ -0,0 +1,105 @@ + + + + + +JSON-LD Test Suite + + + + + +

+ +W3C + +

+

JSON-LD Test Suite

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD API Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

frame tests have input, frame and expected documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output.

+ +

Additionally, if the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+ +

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior. +Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-framing.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+

This manifest loads additional manifests for specific behavior tests

+
+

+Test sequence: +

+ +
+ + diff --git a/core/src/test/resources/json-ld-framing-tests/manifest.jsonld b/core/src/test/resources/json-ld-framing-tests/manifest.jsonld new file mode 100644 index 00000000..de819860 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/manifest.jsonld @@ -0,0 +1,10 @@ +{ + "@context": ["https://w3c.github.io/json-ld-api/tests/context.jsonld", {"@base": "manifest"}], + "@id": "", + "@type": "mf:Manifest", + "name": "JSON-LD Test Suite", + "description": "This manifest loads additional manifests for specific behavior tests", + "sequence": [ + "frame-manifest.jsonld" + ] +} diff --git a/core/src/test/resources/json-ld-framing-tests/template.haml b/core/src/test/resources/json-ld-framing-tests/template.haml new file mode 100644 index 00000000..1ca24c59 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/template.haml @@ -0,0 +1,138 @@ +-# This template is used for generating the HTML representation of the test suite manifests. +- require 'cgi' +- require 'digest' +!!! 5 +%html + %head + %meta{"http-equiv" => "Content-Type", :content => "text/html;charset=utf-8"} + %title + = manifest['name'] + %link{rel: "alternate", href: "#{json_file}"} + %link{rel: "stylesheet", href: "https://www.w3.org/StyleSheets/TR/base"} + %body + %p + %a{href: "http://www.w3.org/"} + %img{src: "http://www.w3.org/Icons/w3c_home", alt: "W3C", height: 48, width: 72} + %h1<=manifest['name'] + :markdown + This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at + [#{json_file}](#{json_file}). The manifest vocabulary is described in the [JSON-LD Test Vocabulary](vocab.html) ([JSON-LD](vocab.jsonld), [Turtle](vocab.ttl)) and is based on the [RDF Test Vocabulary](http://www.w3.org/TR/2014/NOTE-rdf11-testcases-20140225/). + + The JSON-LD Test Suite is a set of tests that can + be used to verify JSON-LD Processor conformance to the set of specifications + that constitute JSON-LD. The goal of the suite is to provide an easy and + comprehensive JSON-LD testing solution for developers creating JSON-LD Processors. + + The [JSON-LD API Specification](https://w3.org/TR/json-ld11-api) maintains its own + [test suite](https://w3c.github.io/json-ld-api/tests/). + + ## General instructions for running the JSON-LD Test suites + + :markdown + ### [frame](frame-manifest.jsonld) tests have _input_, _frame_ and _expected_ documents. + + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. + + Additionally, if the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. + + Unless `processingMode` is set explicitly in a test entry, `processingMode` is compatible with both `json-ld-1.0` and `json-ld-1.1`. + + Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference. + + Developers are encouraged to make a local copy of the test suite (available on [GitHub](http://github.com/w3c/json-ld-api/tests/)) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry. + +

JSON-LD Object comparison

+ + If algorithms are invoked with the `ordered` flag set to `true`, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for _fromRdf_, unless the input quads are also ordered). If `ordered` is `false`, then the following algorithm will ensure arrays other than values of `@list` are compared without regard to order. + + JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality. + + * JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively. + * JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is `@list`). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of `@list`, the order of these items is significant. + * JSON values are compared using strict equality. + * Values of `@language`, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way. + + Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have `@container: @list` and the comparison algorithm will not consider ordering significant. + + # Running tests + + The top-level [manifest](manifest.jsonld) references the specific test manifests, which in turn reference each test associated with a particular type of behavior. + Implementations create their own infrastructure for running the test suite. In particular, the following should be considered: + + * _remote-doc_ tests will likely not return expected HTTP headers, so the _options_ should be used to determine what headers are associated with the input document. + * Some algorithms, particularly _fromRdf_, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of `@list`. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition). + * When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from `_:b0` may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and _expected_ to datsets to extract a bijective mapping of blank node labels between the two datasets as described in [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism)). + + # Contributing Tests + + If you would like to contribute a new test or a fix to an existing test, + please follow these steps: + + 1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, + that you will be creating a new test or fix and the purpose of the + change. + 2. Clone the git repository: git://github.com/w3c/json-ld-framing.git + 3. Make your changes and submit them via github, or via a 'git format-patch' + to the [JSON-LD Working Group mailing list](mailto:json-ld-wg@w3.org). + + ## Distribution + Distributed under the [W3C Test Suite License](http://www.w3.org/Consortium/Legal/2008/04-testsuite-license). To contribute to a W3C Test Suite, see the [policies and contribution forms](http://www.w3.org/2004/10/27-testcases). + + ## Disclaimer + UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF. + + - if manifest['baseIri'] + %dl + %dt="baseIri" + %dd=manifest['baseIri'] + %p=manifest['description'] + - if manifest['sequence'] + %section + %h2 + Test sequence: + - if manifest['sequence'].first.is_a?(String) + %ul + - manifest['sequence'].each do |man| + - man_name = man.sub('.jsonld', '') + %li + %a{href: "#{man_name}.html"}<=man_name + - else + %dl.entries + - manifest['sequence'].each do |entry| + %dt{id: entry['@id'][1..-1]} + ="Test #{entry['@id'][1..-1]} #{entry['name']}" + %dd + %dl.entry + %dt="id" + %dd=entry['@id'] + %dt="Type" + %dd="#{Array(entry['@type']).join(', ')}" + %dt="Purpose" + %dd=entry['purpose'] + %dt="input" + %dd + %a{href: entry['input']}=entry['input'] + - if entry['context'] + %dt="context" + %dd + %a{href: entry['context']}=entry['context'] + - if entry['frame'] + %dt="frame" + %dd + %a{href: entry['frame']}=entry['frame'] + %dt="expect" + %dd + - if entry['@type'].to_s.include?('Negative') + =entry['expectErrorCode'] + - else + %a{href: entry['expect']}=entry['expect'] + - if entry['option'] + %dt="Options" + %dd + %dl.options + - entry['option'].each do |k, v| + %dt=k + %dd=v From 7043ae1a1c96beb9c1612f52761cb856b9cbadd2 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Tue, 10 Dec 2019 10:47:45 +0100 Subject: [PATCH 07/22] Set up tests for multiple test suites and 1.1 development - Set up tests for json-ld-api, json-ld-framing, and json-ld-1.0 - Run only json-ld-1.0 suite in Maven build (by naming convention) - Run all suites for development of 1.1 features (AllSuites.java) --- .../github/jsonldjava/specs/AllSuites.java | 11 ++ .../github/jsonldjava/specs/JsonLd1Tests.java | 57 +++++++++ .../jsonldjava/specs/JsonLdApiSuite.java | 57 +++++++++ .../jsonldjava/specs/JsonLdFramingSuite.java | 57 +++++++++ .../SuiteUtils.java} | 109 ++++++------------ 5 files changed, 218 insertions(+), 73 deletions(-) create mode 100644 core/src/test/java/com/github/jsonldjava/specs/AllSuites.java create mode 100644 core/src/test/java/com/github/jsonldjava/specs/JsonLd1Tests.java create mode 100644 core/src/test/java/com/github/jsonldjava/specs/JsonLdApiSuite.java create mode 100644 core/src/test/java/com/github/jsonldjava/specs/JsonLdFramingSuite.java rename core/src/test/java/com/github/jsonldjava/{core/JsonLdProcessorTest.java => utils/SuiteUtils.java} (89%) diff --git a/core/src/test/java/com/github/jsonldjava/specs/AllSuites.java b/core/src/test/java/com/github/jsonldjava/specs/AllSuites.java new file mode 100644 index 00000000..09ba22b0 --- /dev/null +++ b/core/src/test/java/com/github/jsonldjava/specs/AllSuites.java @@ -0,0 +1,11 @@ +package com.github.jsonldjava.specs; + +import org.junit.runner.RunWith; +import org.junit.runners.Suite; +import org.junit.runners.Suite.SuiteClasses; + +@RunWith(Suite.class) +@SuiteClasses({ JsonLdApiSuite.class, JsonLdFramingSuite.class, JsonLd1Tests.class }) +public class AllSuites { + +} diff --git a/core/src/test/java/com/github/jsonldjava/specs/JsonLd1Tests.java b/core/src/test/java/com/github/jsonldjava/specs/JsonLd1Tests.java new file mode 100644 index 00000000..63236480 --- /dev/null +++ b/core/src/test/java/com/github/jsonldjava/specs/JsonLd1Tests.java @@ -0,0 +1,57 @@ +package com.github.jsonldjava.specs; + +import java.io.IOException; +import java.net.URISyntaxException; +import java.util.Collection; +import java.util.List; +import java.util.Map; + +import org.junit.AfterClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +import com.fasterxml.jackson.core.JsonGenerationException; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.github.jsonldjava.core.JsonLdError; +import com.github.jsonldjava.utils.SuiteUtils; + +/** + * Run the test suite from + * https://github.com/json-ld/json-ld.org/tree/master/test-suite/tests + */ +@RunWith(Parameterized.class) +public class JsonLd1Tests { + private static final String TEST_DIR = "json-ld-1.0-tests"; + private static final String REPORT_OUT = "reports/" + TEST_DIR + "-report"; + + private static Map REPORT = SuiteUtils.generateReport(); + @SuppressWarnings("unchecked") + private static List REPORT_GRAPH = (List) REPORT.get("@graph"); + + private final String group; + private final Map test; + + public JsonLd1Tests(final String group, final String id, final Map test) { + this.group = group; + this.test = test; + } + + @Parameters(name = "{0}|{1}") + public static Collection data() throws URISyntaxException, IOException { + return SuiteUtils.getData(TEST_DIR); + } + + @Test + public void runTest() throws URISyntaxException, IOException, JsonLdError { + SuiteUtils.run(TEST_DIR, group, test, REPORT_GRAPH); + } + + @AfterClass + public static void writeReport() + throws JsonGenerationException, JsonMappingException, IOException, JsonLdError { + // pass VM param: -Dreport.format=jsonld + SuiteUtils.writeReport(REPORT, REPORT_OUT); + } +} diff --git a/core/src/test/java/com/github/jsonldjava/specs/JsonLdApiSuite.java b/core/src/test/java/com/github/jsonldjava/specs/JsonLdApiSuite.java new file mode 100644 index 00000000..950385d2 --- /dev/null +++ b/core/src/test/java/com/github/jsonldjava/specs/JsonLdApiSuite.java @@ -0,0 +1,57 @@ +package com.github.jsonldjava.specs; + +import java.io.IOException; +import java.net.URISyntaxException; +import java.util.Collection; +import java.util.List; +import java.util.Map; + +import org.junit.AfterClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +import com.fasterxml.jackson.core.JsonGenerationException; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.github.jsonldjava.core.JsonLdError; +import com.github.jsonldjava.utils.SuiteUtils; + +/** + * Run the test suite from + * https://github.com/w3c/json-ld-api/blob/master/tests/README.md + */ +@RunWith(Parameterized.class) +public class JsonLdApiSuite { + private static final String TEST_DIR = "json-ld-api-tests"; + private static final String REPORT_OUT = "reports/" + TEST_DIR + "-report"; + + private static Map REPORT = SuiteUtils.generateReport(); + @SuppressWarnings("unchecked") + private static List REPORT_GRAPH = (List) REPORT.get("@graph"); + + private final String group; + private final Map test; + + public JsonLdApiSuite(final String group, final String id, final Map test) { + this.group = group; + this.test = test; + } + + @Parameters(name = "{0}|{1}") + public static Collection data() throws URISyntaxException, IOException { + return SuiteUtils.getData(TEST_DIR); + } + + @Test + public void runTest() throws URISyntaxException, IOException, JsonLdError { + SuiteUtils.run(TEST_DIR, group, test, REPORT_GRAPH); + } + + @AfterClass + public static void writeReport() + throws JsonGenerationException, JsonMappingException, IOException, JsonLdError { + // pass VM param: -Dreport.format=jsonld + SuiteUtils.writeReport(REPORT, REPORT_OUT); + } +} diff --git a/core/src/test/java/com/github/jsonldjava/specs/JsonLdFramingSuite.java b/core/src/test/java/com/github/jsonldjava/specs/JsonLdFramingSuite.java new file mode 100644 index 00000000..4be313a5 --- /dev/null +++ b/core/src/test/java/com/github/jsonldjava/specs/JsonLdFramingSuite.java @@ -0,0 +1,57 @@ +package com.github.jsonldjava.specs; + +import java.io.IOException; +import java.net.URISyntaxException; +import java.util.Collection; +import java.util.List; +import java.util.Map; + +import org.junit.AfterClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +import com.fasterxml.jackson.core.JsonGenerationException; +import com.fasterxml.jackson.databind.JsonMappingException; +import com.github.jsonldjava.core.JsonLdError; +import com.github.jsonldjava.utils.SuiteUtils; + +/** + * Run the test suite from + * https://github.com/w3c/json-ld-framing/blob/master/tests/README.md + */ +@RunWith(Parameterized.class) +public class JsonLdFramingSuite { + private static final String TEST_DIR = "json-ld-framing-tests"; + private static final String REPORT_OUT = "reports/" + TEST_DIR + "-report"; + + private static Map REPORT = SuiteUtils.generateReport(); + @SuppressWarnings("unchecked") + private static List REPORT_GRAPH = (List) REPORT.get("@graph"); + + private final String group; + private final Map test; + + public JsonLdFramingSuite(final String group, final String id, final Map test) { + this.group = group; + this.test = test; + } + + @Parameters(name = "{0}|{1}") + public static Collection data() throws URISyntaxException, IOException { + return SuiteUtils.getData(TEST_DIR); + } + + @Test + public void runTest() throws URISyntaxException, IOException, JsonLdError { + SuiteUtils.run(TEST_DIR, group, test, REPORT_GRAPH); + } + + @AfterClass + public static void writeReport() + throws JsonGenerationException, JsonMappingException, IOException, JsonLdError { + // pass VM param: -Dreport.format=jsonld + SuiteUtils.writeReport(REPORT, REPORT_OUT); + } +} diff --git a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java b/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java similarity index 89% rename from core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java rename to core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java index 8e17ff89..b0bd3c99 100644 --- a/core/src/test/java/com/github/jsonldjava/core/JsonLdProcessorTest.java +++ b/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java @@ -1,4 +1,4 @@ -package com.github.jsonldjava.core; +package com.github.jsonldjava.utils; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; @@ -8,6 +8,7 @@ import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; +import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FilenameFilter; import java.io.IOException; @@ -26,27 +27,21 @@ import java.util.List; import java.util.Map; -import org.junit.AfterClass; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Rule; -import org.junit.Test; -import org.junit.rules.TemporaryFolder; -import org.junit.runner.RunWith; -import org.junit.runners.Parameterized; -import org.junit.runners.Parameterized.Parameters; - import com.fasterxml.jackson.core.JsonGenerationException; import com.fasterxml.jackson.databind.JsonMappingException; +import com.github.jsonldjava.core.DocumentLoader; +import com.github.jsonldjava.core.JsonLdConsts; +import com.github.jsonldjava.core.JsonLdError; +import com.github.jsonldjava.core.JsonLdOptions; +import com.github.jsonldjava.core.JsonLdProcessor; +import com.github.jsonldjava.core.JsonLdUtils; +import com.github.jsonldjava.core.RemoteDocument; import com.github.jsonldjava.utils.JsonUtils; import com.github.jsonldjava.utils.Obj; -import com.github.jsonldjava.utils.TestUtils; - -@RunWith(Parameterized.class) -public class JsonLdProcessorTest { +public class SuiteUtils { - private static final String TEST_DIR = "json-ld-api-tests"; + // private static final String TEST_DIR = "json-ld-api-tests"; // option: run the json-ld-framing test suite: // (https://github.com/w3c/json-ld-framing/blob/master/tests/README.md) // private static final String TEST_DIR = "json-ld-framing-tests"; @@ -54,15 +49,10 @@ public class JsonLdProcessorTest { // (https://github.com/json-ld/json-ld.org/tree/master/test-suite/tests) // private static final String TEST_DIR = "json-ld-1.0-tests"; - private static final String MANIFEST_FILE = "manifest.jsonld"; - - private static Map REPORT; - private static List REPORT_GRAPH; private static String ASSERTOR = "http://tristan.github.com/foaf#me"; - - @BeforeClass - public static void prepareReportFrame() { - REPORT = new LinkedHashMap() { + + public static LinkedHashMap generateReport() { + return new LinkedHashMap() { { // context put("@context", new LinkedHashMap() { @@ -158,13 +148,9 @@ public static void prepareReportFrame() { }); } }; - REPORT_GRAPH = (List) REPORT.get("@graph"); } - private static final String reportOutputFile = "reports/report"; - - @AfterClass - public static void writeReport() + public static void writeReport(Object report, String reportOutputFile) throws JsonGenerationException, JsonMappingException, IOException, JsonLdError { // Only write reports if "-Dreport.format=..." is set @@ -177,14 +163,12 @@ public static void writeReport() JsonUtils.writePrettyPrint( new OutputStreamWriter(new FileOutputStream(reportOutputFile + ".jsonld"), StandardCharsets.UTF_8), - REPORT); + report); } } } - @Parameters(name = "{0}|{1}") - public static Collection data() throws URISyntaxException, IOException { - + public static Collection getData(String dir) throws URISyntaxException, FileNotFoundException, IOException { // TODO: look into getting the test data from github, which will help // more // with keeping up to date with the spec. @@ -193,7 +177,7 @@ public static Collection data() throws URISyntaxException, IOException // https://github.com/json-ld/json-ld.org/tree/master/test-suite/tests final ClassLoader cl = Thread.currentThread().getContextClassLoader(); - final File testDir = new File(cl.getResource(TEST_DIR).toURI()); + final File testDir = new File(cl.getResource(dir).toURI()); final List manifestfiles = loadManifestFiles(testDir); @@ -231,7 +215,7 @@ public static Collection data() throws URISyntaxException, IOException private static List loadManifestFiles(final File testDir) { List manifestfiles = new ArrayList(); if (!testDir.getName().equals("json-ld-1.0-tests")) { - final File mainManifestFile = new File(testDir, MANIFEST_FILE); + final File mainManifestFile = new File(testDir, "manifest.jsonld"); Map mainManifest; try { mainManifest = (Map) JsonUtils.fromInputStream(new FileInputStream(mainManifestFile)); @@ -262,11 +246,13 @@ public boolean accept(File dir, String name) { return manifestfiles; } - private class TestDocumentLoader extends DocumentLoader { + static class TestDocumentLoader extends DocumentLoader { private final String base; + private String dir; - public TestDocumentLoader(String base) { + public TestDocumentLoader(String base, String dir) { + this.dir = dir; this.base = base; } @@ -282,7 +268,7 @@ public RemoteDocument loadDocument(String url) throws JsonLdError { final String classpath = url.substring(this.base.length()); final ClassLoader cl = Thread.currentThread().getContextClassLoader(); final InputStream inputStream = cl - .getResourceAsStream(TEST_DIR + "/" + classpath); + .getResourceAsStream(dir + "/" + classpath); try { return new RemoteDocument(url, JsonUtils.fromInputStream(inputStream)); } catch (final IOException e) { @@ -316,30 +302,7 @@ public void addHttpLink(String nextLink) { } } - // @Rule - // public Timeout timeout = new Timeout(10000); - - @Rule - public TemporaryFolder tempDir = new TemporaryFolder(); - - private File testDir; - - private final String group; - private final Map test; - - public JsonLdProcessorTest(final String group, final String id, - final Map test) { - this.group = group; - this.test = test; - } - - @Before - public void setUp() throws Exception { - testDir = tempDir.newFolder("jsonld"); - } - - @Test - public void runTest() throws URISyntaxException, IOException, JsonLdError { + public static void run(String dir, String group, Map test, List reportGraph) throws URISyntaxException, IOException, JsonLdError { // System.out.println("running test: " + group + test.get("@id") + // " :: " + test.get("name")); final ClassLoader cl = Thread.currentThread().getContextClassLoader(); @@ -347,7 +310,7 @@ public void runTest() throws URISyntaxException, IOException, JsonLdError { final List testType = (List) test.get("@type"); final String inputFile = (String) test.get("input"); - final InputStream inputStream = cl.getResourceAsStream(TEST_DIR + "/" + inputFile); + final InputStream inputStream = cl.getResourceAsStream(dir + "/" + inputFile); assertNotNull("unable to find input file: " + test.get("input"), inputStream); final String inputType = inputFile.substring(inputFile.lastIndexOf(".") + 1); @@ -375,7 +338,7 @@ public void runTest() throws URISyntaxException, IOException, JsonLdError { final String expectFile = (String) test.get("expect"); final String sparqlFile = (String) test.get("sparql"); if (expectFile != null) { - final InputStream expectStream = cl.getResourceAsStream(TEST_DIR + "/" + expectFile); + final InputStream expectStream = cl.getResourceAsStream(dir + "/" + expectFile); if (expectStream == null && testType.contains("jld:NegativeEvaluationTest")) { // in the case of negative evaluation tests the expect field can // be a description of what should happen @@ -407,7 +370,7 @@ public void runTest() throws URISyntaxException, IOException, JsonLdError { } } } else if (sparqlFile != null) { - final InputStream sparqlStream = cl.getResourceAsStream(TEST_DIR + "/" + sparqlFile); + final InputStream sparqlStream = cl.getResourceAsStream(dir + "/" + sparqlFile); assertNotNull("unable to find expect file: " + sparqlFile, sparqlStream); final BufferedReader buf = new BufferedReader( new InputStreamReader(sparqlStream, "UTF-8")); @@ -425,7 +388,7 @@ public void runTest() throws URISyntaxException, IOException, JsonLdError { final JsonLdOptions options = new JsonLdOptions( "http://json-ld.org/test-suite/tests/" + test.get("input")); final TestDocumentLoader testLoader = new TestDocumentLoader( - "http://json-ld.org/test-suite/tests/"); + "http://json-ld.org/test-suite/tests/", dir); options.setDocumentLoader(testLoader); if (test.containsKey("option")) { final Map test_opts = (Map) test.get("option"); @@ -434,7 +397,7 @@ public void runTest() throws URISyntaxException, IOException, JsonLdError { } if (test_opts.containsKey("expandContext")) { final InputStream contextStream = cl - .getResourceAsStream(TEST_DIR + "/" + test_opts.get("expandContext")); + .getResourceAsStream(dir + "/" + test_opts.get("expandContext")); options.setExpandContext(JsonUtils.fromInputStream(contextStream)); } if (test_opts.containsKey("compactArrays")) { @@ -481,13 +444,13 @@ public void runTest() throws URISyntaxException, IOException, JsonLdError { result = JsonLdProcessor.expand(input, options); } else if (testType.contains("jld:CompactTest")) { final InputStream contextStream = cl - .getResourceAsStream(TEST_DIR + "/" + test.get("context")); + .getResourceAsStream(dir + "/" + test.get("context")); final Object contextJson = JsonUtils.fromInputStream(contextStream); result = JsonLdProcessor.compact(input, contextJson, options); } else if (testType.contains("jld:FlattenTest")) { if (test.containsKey("context")) { final InputStream contextStream = cl - .getResourceAsStream(TEST_DIR + "/" + test.get("context")); + .getResourceAsStream(dir + "/" + test.get("context")); final Object contextJson = JsonUtils.fromInputStream(contextStream); result = JsonLdProcessor.flatten(input, contextJson, options); } else { @@ -495,7 +458,7 @@ public void runTest() throws URISyntaxException, IOException, JsonLdError { } } else if (testType.contains("jld:FrameTest")) { final InputStream frameStream = cl - .getResourceAsStream(TEST_DIR + "/" + test.get("frame")); + .getResourceAsStream(dir + "/" + test.get("frame")); final Map frameJson = (Map) JsonUtils .fromInputStream(frameStream); result = JsonLdProcessor.frame(input, frameJson, options); @@ -537,15 +500,15 @@ public void runTest() throws URISyntaxException, IOException, JsonLdError { } // write details to report - final String manifest = this.group; - final String id = (String) this.test.get("@id"); + final String manifest = group; + final String id = (String) test.get("@id"); final Date d = new Date(); final String dateTime = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss").format(d); String zone = new SimpleDateFormat("Z").format(d); zone = zone.substring(0, 3) + ":" + zone.substring(3); final String dateTimeZone = dateTime + zone; final Boolean passed = testpassed; - REPORT_GRAPH.add(new LinkedHashMap() { + reportGraph.add(new LinkedHashMap() { { put("@type", "earl:Assertion"); put("earl:assertedBy", new LinkedHashMap() { From 40e3e8e39d71bdc969b2a8acc21b0862a51c9eb4 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Tue, 10 Dec 2019 17:33:17 +0100 Subject: [PATCH 08/22] Add setup for skipping tests - Skip only failing tests to make sure we run 1.1 code paths in CI - Use resolvable URLs in skip files, they can act like TODO lists - Delete `*-skip` files to re-generate them during next test run Now `mvn test` runs all tests that are not listed in the files. --- core/reports/json-ld-1.0-tests-skip | 0 core/reports/json-ld-api-tests-skip | 366 ++++++++++++++++++ core/reports/json-ld-framing-tests-skip | 59 +++ .../github/jsonldjava/specs/AllSuites.java | 2 +- .../github/jsonldjava/specs/JsonLd1Tests.java | 15 +- ...sonLdApiSuite.java => JsonLdApiTests.java} | 19 +- ...mingSuite.java => JsonLdFramingTests.java} | 19 +- .../github/jsonldjava/utils/SuiteUtils.java | 60 ++- .../frame-manifest.jsonld | 2 +- 9 files changed, 523 insertions(+), 19 deletions(-) create mode 100644 core/reports/json-ld-1.0-tests-skip create mode 100644 core/reports/json-ld-api-tests-skip create mode 100644 core/reports/json-ld-framing-tests-skip rename core/src/test/java/com/github/jsonldjava/specs/{JsonLdApiSuite.java => JsonLdApiTests.java} (77%) rename core/src/test/java/com/github/jsonldjava/specs/{JsonLdFramingSuite.java => JsonLdFramingTests.java} (77%) diff --git a/core/reports/json-ld-1.0-tests-skip b/core/reports/json-ld-1.0-tests-skip new file mode 100644 index 00000000..e69de29b diff --git a/core/reports/json-ld-api-tests-skip b/core/reports/json-ld-api-tests-skip new file mode 100644 index 00000000..38a3f6af --- /dev/null +++ b/core/reports/json-ld-api-tests-skip @@ -0,0 +1,366 @@ +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0037 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ta038 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0045 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0062 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0066 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0074 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0076 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0077 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0078 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0079 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0080 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0081 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0082 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0083 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0084 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0085 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0086 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0087 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0088 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0090 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0091 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0092 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0093 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0094 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0095 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0096 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0097 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0098 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0099 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0100 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0101 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0102 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0103 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0107 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc001 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc002 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc003 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc004 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc005 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc006 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc007 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc008 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc010 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc011 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc012 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc013 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc015 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc016 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc017 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc018 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc019 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc020 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc021 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc022 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc023 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc024 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc025 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#te001 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#te002 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ten01 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep07 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep08 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep09 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep10 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep11 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep12 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep15 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#th001 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#th002 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#th003 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#th004 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm001 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm002 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm003 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm004 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm005 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm006 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm007 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm008 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm009 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm010 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm011 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm012 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm013 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm014 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm015 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm016 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm017 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm018 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm019 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn001 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn002 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn003 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn004 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn005 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn006 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn007 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn008 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn009 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn010 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tp001 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tp002 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tp008 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi01 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi02 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi03 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi04 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi05 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi06 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr01 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr02 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr03 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr04 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr05 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ts001 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ts002 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli01 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli02 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli03 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli04 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli05 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn01 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn02 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0005 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0028 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0029 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0038 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0040 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0048 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0050 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0051 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0056 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0057 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0059 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0060 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0066 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0077 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0078 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0079 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0080 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0081 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0082 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0083 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0084 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0085 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0086 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0087 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0088 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0092 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0093 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0094 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0095 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0096 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0097 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0098 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0099 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0100 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0101 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0103 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0104 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0105 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0106 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0107 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0108 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0109 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0110 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0111 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0112 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc001 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc002 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc003 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc004 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc005 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc006 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc007 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc008 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc010 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc011 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc012 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc013 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc014 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc015 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc016 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc017 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc018 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc019 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc020 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc021 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc022 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc023 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc024 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc025 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#te043 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#te044 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tec01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten04 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten05 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten06 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tes01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th001 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th002 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th003 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th004 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th005 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th010 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th011 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th012 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th013 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th014 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th015 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th016 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th017 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th018 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th019 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th020 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th021 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th022 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#thc01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#thc02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#thc03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#thc04 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#thc05 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tjs10 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm001 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm002 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm003 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm004 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm005 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm006 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm007 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm008 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm009 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm010 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm011 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm012 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm013 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm014 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm015 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm016 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn001 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn002 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn003 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn004 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn005 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn006 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn007 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi04 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi05 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi06 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi07 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi08 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi09 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi10 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi11 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli04 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli05 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli06 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli07 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli08 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli09 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli10 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr04 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr05 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr06 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr08 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr09 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr11 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr12 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr16 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr17 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr18 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr19 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr20 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr21 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr22 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr25 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr26 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr28 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr29 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ttn01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ttn02 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0005 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0028 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0038 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0040 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0042 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0043 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#th001 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#th002 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#th003 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#th004 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tli01 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tli02 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tli03 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#t0020 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#t0021 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#t0026 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli01 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli02 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli03 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0001 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0002 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0003 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0004 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0005 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0006 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0007 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0008 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0009 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0010 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0011 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0012 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0013 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0016 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0017 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0018 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0045 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0068 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0069 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0080 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0088 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0090 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0091 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0096 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0097 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0099 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0100 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0106 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0118 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0126 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0128 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#th001 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#th002 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#th003 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs11 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs13 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#trt01 diff --git a/core/reports/json-ld-framing-tests-skip b/core/reports/json-ld-framing-tests-skip new file mode 100644 index 00000000..7ecb7349 --- /dev/null +++ b/core/reports/json-ld-framing-tests-skip @@ -0,0 +1,59 @@ +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0011 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0023 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0024 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0026 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0027 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0028 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0029 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0030 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0031 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0032 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0034 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0035 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0036 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0037 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0038 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0039 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0040 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0041 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0042 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0043 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0044 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0045 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0047 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0048 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0049 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0050 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0051 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0052 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0053 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0054 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0055 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0056 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0057 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0058 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0060 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0061 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0062 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0063 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0064 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#teo01 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg002 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg003 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg004 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg005 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg006 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg007 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg008 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg009 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg010 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tin01 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tin02 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tin03 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tp020 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tp046 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tp049 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tp050 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tra01 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tra02 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tra03 diff --git a/core/src/test/java/com/github/jsonldjava/specs/AllSuites.java b/core/src/test/java/com/github/jsonldjava/specs/AllSuites.java index 09ba22b0..2f57c62c 100644 --- a/core/src/test/java/com/github/jsonldjava/specs/AllSuites.java +++ b/core/src/test/java/com/github/jsonldjava/specs/AllSuites.java @@ -5,7 +5,7 @@ import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) -@SuiteClasses({ JsonLdApiSuite.class, JsonLdFramingSuite.class, JsonLd1Tests.class }) +@SuiteClasses({ JsonLdApiTests.class, JsonLdFramingTests.class, JsonLd1Tests.class }) public class AllSuites { } diff --git a/core/src/test/java/com/github/jsonldjava/specs/JsonLd1Tests.java b/core/src/test/java/com/github/jsonldjava/specs/JsonLd1Tests.java index 63236480..05dd521a 100644 --- a/core/src/test/java/com/github/jsonldjava/specs/JsonLd1Tests.java +++ b/core/src/test/java/com/github/jsonldjava/specs/JsonLd1Tests.java @@ -7,6 +7,7 @@ import java.util.Map; import org.junit.AfterClass; +import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @@ -25,27 +26,35 @@ public class JsonLd1Tests { private static final String TEST_DIR = "json-ld-1.0-tests"; private static final String REPORT_OUT = "reports/" + TEST_DIR + "-report"; + private static final String SKIP_FILE = "reports/" + TEST_DIR + "-skip"; private static Map REPORT = SuiteUtils.generateReport(); @SuppressWarnings("unchecked") private static List REPORT_GRAPH = (List) REPORT.get("@graph"); private final String group; + private String id; private final Map test; public JsonLd1Tests(final String group, final String id, final Map test) { this.group = group; + this.id = id; this.test = test; } - @Parameters(name = "{0}|{1}") + @Parameters(name = "{0}{1}") public static Collection data() throws URISyntaxException, IOException { return SuiteUtils.getData(TEST_DIR); } + @BeforeClass + public static void setUp() { + SuiteUtils.setUpSkipFile(SKIP_FILE); + } + @Test - public void runTest() throws URISyntaxException, IOException, JsonLdError { - SuiteUtils.run(TEST_DIR, group, test, REPORT_GRAPH); + public void runTest() throws URISyntaxException, IOException, JsonLdError, Exception { + SuiteUtils.runChecked(TEST_DIR, group, id, test, REPORT_GRAPH); } @AfterClass diff --git a/core/src/test/java/com/github/jsonldjava/specs/JsonLdApiSuite.java b/core/src/test/java/com/github/jsonldjava/specs/JsonLdApiTests.java similarity index 77% rename from core/src/test/java/com/github/jsonldjava/specs/JsonLdApiSuite.java rename to core/src/test/java/com/github/jsonldjava/specs/JsonLdApiTests.java index 950385d2..dfe3951e 100644 --- a/core/src/test/java/com/github/jsonldjava/specs/JsonLdApiSuite.java +++ b/core/src/test/java/com/github/jsonldjava/specs/JsonLdApiTests.java @@ -7,6 +7,7 @@ import java.util.Map; import org.junit.AfterClass; +import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @@ -22,30 +23,38 @@ * https://github.com/w3c/json-ld-api/blob/master/tests/README.md */ @RunWith(Parameterized.class) -public class JsonLdApiSuite { +public class JsonLdApiTests { private static final String TEST_DIR = "json-ld-api-tests"; private static final String REPORT_OUT = "reports/" + TEST_DIR + "-report"; + private static final String SKIP_FILE = "reports/" + TEST_DIR + "-skip"; private static Map REPORT = SuiteUtils.generateReport(); @SuppressWarnings("unchecked") private static List REPORT_GRAPH = (List) REPORT.get("@graph"); private final String group; + private String id; private final Map test; - public JsonLdApiSuite(final String group, final String id, final Map test) { + public JsonLdApiTests(final String group, final String id, final Map test) { this.group = group; + this.id = id; this.test = test; } - @Parameters(name = "{0}|{1}") + @Parameters(name = "{0}{1}") public static Collection data() throws URISyntaxException, IOException { return SuiteUtils.getData(TEST_DIR); } + @BeforeClass + public static void setUp() { + SuiteUtils.setUpSkipFile(SKIP_FILE); + } + @Test - public void runTest() throws URISyntaxException, IOException, JsonLdError { - SuiteUtils.run(TEST_DIR, group, test, REPORT_GRAPH); + public void runTest() throws URISyntaxException, IOException, JsonLdError, Exception { + SuiteUtils.runChecked(TEST_DIR, group, id, test, REPORT_GRAPH); } @AfterClass diff --git a/core/src/test/java/com/github/jsonldjava/specs/JsonLdFramingSuite.java b/core/src/test/java/com/github/jsonldjava/specs/JsonLdFramingTests.java similarity index 77% rename from core/src/test/java/com/github/jsonldjava/specs/JsonLdFramingSuite.java rename to core/src/test/java/com/github/jsonldjava/specs/JsonLdFramingTests.java index 4be313a5..729f713f 100644 --- a/core/src/test/java/com/github/jsonldjava/specs/JsonLdFramingSuite.java +++ b/core/src/test/java/com/github/jsonldjava/specs/JsonLdFramingTests.java @@ -7,6 +7,7 @@ import java.util.Map; import org.junit.AfterClass; +import org.junit.BeforeClass; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @@ -22,30 +23,38 @@ * https://github.com/w3c/json-ld-framing/blob/master/tests/README.md */ @RunWith(Parameterized.class) -public class JsonLdFramingSuite { +public class JsonLdFramingTests { private static final String TEST_DIR = "json-ld-framing-tests"; private static final String REPORT_OUT = "reports/" + TEST_DIR + "-report"; + private static final String SKIP_FILE = "reports/" + TEST_DIR + "-skip"; private static Map REPORT = SuiteUtils.generateReport(); @SuppressWarnings("unchecked") private static List REPORT_GRAPH = (List) REPORT.get("@graph"); private final String group; + private String id; private final Map test; - public JsonLdFramingSuite(final String group, final String id, final Map test) { + public JsonLdFramingTests(final String group, final String id, final Map test) { this.group = group; + this.id = id; this.test = test; } - @Parameters(name = "{0}|{1}") + @Parameters(name = "{0}{1}") public static Collection data() throws URISyntaxException, IOException { return SuiteUtils.getData(TEST_DIR); } + @BeforeClass + public static void setUp() { + SuiteUtils.setUpSkipFile(SKIP_FILE); + } + @Test - public void runTest() throws URISyntaxException, IOException, JsonLdError { - SuiteUtils.run(TEST_DIR, group, test, REPORT_GRAPH); + public void runTest() throws URISyntaxException, IOException, JsonLdError, Exception { + SuiteUtils.runChecked(TEST_DIR, group, id, test, REPORT_GRAPH); } @AfterClass diff --git a/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java b/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java index b0bd3c99..8973e555 100644 --- a/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java +++ b/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java @@ -10,6 +10,7 @@ import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; +import java.io.FileWriter; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStream; @@ -17,6 +18,8 @@ import java.io.OutputStreamWriter; import java.net.URISyntaxException; import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Paths; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; @@ -27,6 +30,9 @@ import java.util.List; import java.util.Map; +import org.junit.Assume; +import org.junit.BeforeClass; + import com.fasterxml.jackson.core.JsonGenerationException; import com.fasterxml.jackson.databind.JsonMappingException; import com.github.jsonldjava.core.DocumentLoader; @@ -166,6 +172,9 @@ public static void writeReport(Object report, String reportOutputFile) report); } } + if (skipFileWriter != null) { + skipFileWriter.close(); + } } public static Collection getData(String dir) throws URISyntaxException, FileNotFoundException, IOException { @@ -199,9 +208,9 @@ public static Collection getData(String dir) throws URISyntaxException || testType.contains("jld:ToRDFTest") || testType.contains("jld:NormalizeTest")) { // System.out.println("Adding test: " + test.get("name")); - rdata.add(new Object[] { /*(String) manifest.get("baseIri") + in.getName(),*/ - manifest.get("name"), - String.format("%s: %s (%s)", test.get("name"), test.get("purpose"), test.get("@id")), + rdata.add(new Object[] { + (String) manifest.get("baseIri") + in.getName().replace("jsonld", "html"), + test.get("@id"), test }); } else { // TODO: many disabled while implementation is incomplete @@ -302,7 +311,7 @@ public void addHttpLink(String nextLink) { } } - public static void run(String dir, String group, Map test, List reportGraph) throws URISyntaxException, IOException, JsonLdError { + public static void run(String dir, String group, String testId, Map test, List reportGraph) throws URISyntaxException, IOException, JsonLdError { // System.out.println("running test: " + group + test.get("@id") + // " :: " + test.get("name")); final ClassLoader cl = Thread.currentThread().getContextClassLoader(); @@ -311,6 +320,10 @@ public static void run(String dir, String group, Map test, List< final String inputFile = (String) test.get("input"); final InputStream inputStream = cl.getResourceAsStream(dir + "/" + inputFile); + String skipId = skipId(group, testId); + if(inputStream == null) { + skipFileWriter.append(skipId+"\n"); + } assertNotNull("unable to find input file: " + test.get("input"), inputStream); final String inputType = inputFile.substring(inputFile.lastIndexOf(".") + 1); @@ -499,6 +512,11 @@ public static void run(String dir, String group, Map test, List< throw (JsonLdError) result; } + if(!testpassed && skipFileWriter != null){ + System.err.println(skipId); + skipFileWriter.append(skipId+"\n"); + } + // write details to report final String manifest = group; final String id = (String) test.get("@id"); @@ -562,4 +580,38 @@ public static void run(String dir, String group, Map test, List< testpassed); } + static FileWriter skipFileWriter = null; + static List skipFileEntries = Collections.emptyList(); + + public static void runChecked(String testDir, String group, String id, Map test, + List graph) throws Exception { + Assume.assumeFalse("Skip: " + skipId(group, id), + skipFileEntries.contains(skipId(group, id))); + try { + SuiteUtils.run(testDir, group, id, test, graph); + } catch (Exception e) { + if (skipFileWriter != null) { + skipFileWriter.append(skipId(group, id) + "\n"); + } + e.printStackTrace(); + throw e; + } + } + + public static void setUpSkipFile(String skipFileLocation) { + try { + File skipFile = new File(skipFileLocation); + if (skipFile.exists()) { + skipFileEntries = Files.readAllLines(Paths.get(skipFile.toURI())); + } else { + skipFileWriter = new FileWriter(skipFile); + } + } catch (IOException e) { + e.printStackTrace(); + } + } + + private static String skipId(String group, String id) { + return group + id; + } } diff --git a/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld b/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld index 3ce6d004..8bf9dd2d 100644 --- a/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld +++ b/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld @@ -4,7 +4,7 @@ "@type": "mf:Manifest", "name": "Framing", "description": "JSON-LD Framing tests.", - "baseIri": "https://w3c.github.io/json-ld-api/tests/", + "baseIri": "https://w3c.github.io/json-ld-framing/tests/", "sequence": [ { "@id": "#t0001", From 5b82307293b67a1023e15c5057ab8d33b3c5d1d9 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Mon, 23 Mar 2020 11:56:39 +0100 Subject: [PATCH 09/22] Update json-ld-api and json-ld-framing tests, document in README --- README.md | 40 + core/reports/json-ld-api-tests-skip | 548 +- core/reports/json-ld-framing-tests-skip | 4 + .../resources/json-ld-api-tests/README.md | 57 +- .../test/resources/json-ld-api-tests/Rakefile | 22 + .../json-ld-api-tests/compact-manifest.html | 7278 ++++++++++ .../json-ld-api-tests/compact-manifest.jsonld | 579 +- .../compact/0109-context.jsonld | 6 + .../json-ld-api-tests/compact/0109-in.jsonld | 8 + .../json-ld-api-tests/compact/0109-out.jsonld | 13 + .../compact/0110-context.jsonld | 6 + .../json-ld-api-tests/compact/0110-in.jsonld | 8 + .../json-ld-api-tests/compact/0110-out.jsonld | 13 + .../compact/c024-context.jsonld | 1 - .../json-ld-api-tests/compact/c024-out.jsonld | 1 - .../compact/c026-context.jsonld | 12 + .../json-ld-api-tests/compact/c026-in.jsonld | 8 + .../json-ld-api-tests/compact/c026-out.jsonld | 14 + .../compact/c027-context.jsonld | 12 + .../json-ld-api-tests/compact/c027-in.jsonld | 7 + .../json-ld-api-tests/compact/c027-out.jsonld | 13 + .../compact/di01-context.jsonld | 6 + .../json-ld-api-tests/compact/di01-in.jsonld | 6 + .../json-ld-api-tests/compact/di01-out.jsonld | 7 + .../compact/di02-context.jsonld | 3 + .../json-ld-api-tests/compact/di02-in.jsonld | 3 + .../json-ld-api-tests/compact/di02-out.jsonld | 4 + .../compact/di03-context.jsonld | 8 + .../json-ld-api-tests/compact/di03-in.jsonld | 6 + .../json-ld-api-tests/compact/di03-out.jsonld | 8 + .../compact/di04-context.jsonld | 11 + .../json-ld-api-tests/compact/di04-in.jsonld | 10 + .../json-ld-api-tests/compact/di04-out.jsonld | 16 + .../compact/di05-context.jsonld | 12 + .../json-ld-api-tests/compact/di05-in.jsonld | 10 + .../json-ld-api-tests/compact/di05-out.jsonld | 17 + .../compact/di06-context.jsonld | 12 + .../json-ld-api-tests/compact/di06-in.jsonld | 10 + .../json-ld-api-tests/compact/di06-out.jsonld | 17 + .../compact/di07-context.jsonld | 15 + .../json-ld-api-tests/compact/di07-in.jsonld | 10 + .../json-ld-api-tests/compact/di07-out.jsonld | 19 + .../compact/e001-context.jsonld | 7 +- .../compact/in01-context.jsonld | 7 + .../json-ld-api-tests/compact/in01-in.jsonld | 6 + .../json-ld-api-tests/compact/in01-out.jsonld | 11 + .../compact/in02-context.jsonld | 6 + .../json-ld-api-tests/compact/in02-in.jsonld | 6 + .../json-ld-api-tests/compact/in02-out.jsonld | 10 + .../compact/in03-context.jsonld | 7 + .../json-ld-api-tests/compact/in03-in.jsonld | 6 + .../json-ld-api-tests/compact/in03-out.jsonld | 11 + .../compact/in04-context.jsonld | 6 + .../json-ld-api-tests/compact/in04-in.jsonld | 9 + .../json-ld-api-tests/compact/in04-out.jsonld | 13 + .../compact/in05-context.jsonld | 6 + .../json-ld-api-tests/compact/in05-in.jsonld | 8 + .../json-ld-api-tests/compact/in05-out.jsonld | 12 + .../compact/js10-context.jsonld | 6 + .../json-ld-api-tests/compact/js10-in.jsonld | 6 + .../json-ld-api-tests/compact/js10-out.jsonld | 7 + .../compact/js11-context.jsonld | 6 + .../json-ld-api-tests/compact/js11-in.jsonld | 6 + .../json-ld-api-tests/compact/js11-out.jsonld | 7 + .../compact/la01-context.jsonld | 15 + .../json-ld-api-tests/compact/la01-in.jsonld | 48 + .../json-ld-api-tests/compact/la01-out.jsonld | 46 + .../compact/m020-context.jsonld | 8 + .../json-ld-api-tests/compact/m020-in.jsonld | 6 + .../json-ld-api-tests/compact/m020-out.jsonld | 9 + .../compact/m021-context.jsonld | 8 + .../json-ld-api-tests/compact/m021-in.jsonld | 6 + .../json-ld-api-tests/compact/m021-out.jsonld | 9 + .../compact/m022-context.jsonld | 8 + .../json-ld-api-tests/compact/m022-in.jsonld | 6 + .../json-ld-api-tests/compact/m022-out.jsonld | 9 + .../compact/n011-context.jsonld | 7 + .../json-ld-api-tests/compact/n011-in.jsonld | 4 + .../json-ld-api-tests/compact/n011-out.jsonld | 11 + .../compact/pr02-context.jsonld | 4 +- .../json-ld-api-tests/compact/s001-out.jsonld | 2 +- .../json-ld-api-tests/compact/s002-out.jsonld | 2 +- .../json-ld-api-tests/context.jsonld | 17 +- .../json-ld-api-tests/expand-manifest.html | 9739 +++++++++++++ .../json-ld-api-tests/expand-manifest.jsonld | 1728 ++- .../json-ld-api-tests/expand/0081-out.jsonld | 4 +- .../json-ld-api-tests/expand/0095-out.jsonld | 4 +- .../json-ld-api-tests/expand/0102-out.jsonld | 20 +- .../json-ld-api-tests/expand/0103-out.jsonld | 20 +- .../json-ld-api-tests/expand/0104-out.jsonld | 20 +- .../json-ld-api-tests/expand/0111-in.jsonld | 1 + .../json-ld-api-tests/expand/0112-in.jsonld | 1 + .../json-ld-api-tests/expand/0114-in.jsonld | 9 + .../json-ld-api-tests/expand/0114-out.jsonld | 3 + .../json-ld-api-tests/expand/0115-in.jsonld | 8 + .../json-ld-api-tests/expand/0116-in.jsonld | 8 + .../json-ld-api-tests/expand/0117-in.jsonld | 7 + .../json-ld-api-tests/expand/0117-out.jsonld | 3 + .../json-ld-api-tests/expand/0118-in.jsonld | 8 + .../json-ld-api-tests/expand/0118-out.jsonld | 7 + .../json-ld-api-tests/expand/0119-in.jsonld | 10 + .../json-ld-api-tests/expand/0119-out.jsonld | 4 + .../json-ld-api-tests/expand/0120-in.jsonld | 11 + .../json-ld-api-tests/expand/0120-out.jsonld | 5 + .../json-ld-api-tests/expand/0121-in.jsonld | 11 + .../json-ld-api-tests/expand/0121-out.jsonld | 7 + .../json-ld-api-tests/expand/0122-in.jsonld | 8 + .../json-ld-api-tests/expand/0122-out.jsonld | 5 + .../json-ld-api-tests/expand/0123-in.jsonld | 4 + .../json-ld-api-tests/expand/0124-in.jsonld | 15 + .../json-ld-api-tests/expand/0124-out.jsonld | 9 + .../json-ld-api-tests/expand/0125-in.jsonld | 15 + .../json-ld-api-tests/expand/0125-out.jsonld | 9 + .../expand/0126-context.jsonld | 12 + .../json-ld-api-tests/expand/0126-in.jsonld | 7 + .../json-ld-api-tests/expand/0126-out.jsonld | 14 + .../expand/0127-context-1.jsonld | 12 + .../expand/0127-context-2.jsonld | 3 + .../json-ld-api-tests/expand/0127-in.jsonld | 7 + .../json-ld-api-tests/expand/0127-out.jsonld | 14 + .../expand/0128-context-1.jsonld | 3 + .../expand/0128-context-2.jsonld | 3 + .../expand/0128-context-3.jsonld | 12 + .../json-ld-api-tests/expand/0128-in.jsonld | 10 + .../json-ld-api-tests/expand/0128-out.jsonld | 14 + .../json-ld-api-tests/expand/c024-in.jsonld | 1 - .../json-ld-api-tests/expand/c026-in.jsonld | 14 + .../json-ld-api-tests/expand/c026-out.jsonld | 8 + .../json-ld-api-tests/expand/c027-in.jsonld | 13 + .../json-ld-api-tests/expand/c027-out.jsonld | 7 + .../json-ld-api-tests/expand/c028-in.jsonld | 15 + .../json-ld-api-tests/expand/c028-out.jsonld | 7 + .../json-ld-api-tests/expand/c029-in.jsonld | 5 + .../json-ld-api-tests/expand/c030-in.jsonld | 6 + .../expand/c031-context.jsonld | 9 + .../json-ld-api-tests/expand/c031-in.jsonld | 9 + .../json-ld-api-tests/expand/c031-out.jsonld | 9 + .../expand/c031/c031-context.jsonld | 10 + .../json-ld-api-tests/expand/c032-in.jsonld | 14 + .../json-ld-api-tests/expand/c033-in.jsonld | 13 + .../expand/c034-context.jsonld | 5 + .../json-ld-api-tests/expand/c034-in.jsonld | 9 + .../json-ld-api-tests/expand/c034-out.jsonld | 5 + .../json-ld-api-tests/expand/c035-in.jsonld | 15 + .../json-ld-api-tests/expand/c035-out.jsonld | 20 + .../json-ld-api-tests/expand/di01-in.jsonld | 12 + .../json-ld-api-tests/expand/di01-out.jsonld | 7 + .../json-ld-api-tests/expand/di02-in.jsonld | 25 + .../json-ld-api-tests/expand/di02-out.jsonld | 13 + .../json-ld-api-tests/expand/di03-in.jsonld | 9 + .../json-ld-api-tests/expand/di03-out.jsonld | 6 + .../json-ld-api-tests/expand/di04-in.jsonld | 16 + .../json-ld-api-tests/expand/di04-out.jsonld | 10 + .../json-ld-api-tests/expand/di05-in.jsonld | 16 + .../json-ld-api-tests/expand/di05-out.jsonld | 10 + .../json-ld-api-tests/expand/di06-in.jsonld | 17 + .../json-ld-api-tests/expand/di06-out.jsonld | 10 + .../json-ld-api-tests/expand/di07-in.jsonld | 17 + .../json-ld-api-tests/expand/di07-out.jsonld | 10 + .../json-ld-api-tests/expand/di08-in.jsonld | 7 + .../json-ld-api-tests/expand/di09-in.jsonld | 7 + .../expand/e003-context.jsonld | 3 + .../json-ld-api-tests/expand/e052-in.jsonld | 4 + .../expand/e053-context.jsonld | 3 + .../json-ld-api-tests/expand/e053-in.jsonld | 4 + .../expand/e054-context-1.jsonld | 3 + .../expand/e054-context-2.jsonld | 3 + .../json-ld-api-tests/expand/e054-in.jsonld | 7 + .../json-ld-api-tests/expand/ec02-in.jsonld | 5 + .../json-ld-api-tests/expand/er01-in.jsonld | 6 + .../json-ld-api-tests/expand/er02-in.jsonld | 4 + .../json-ld-api-tests/expand/er03-in.jsonld | 4 + .../json-ld-api-tests/expand/er04-in.jsonld | 4 + .../json-ld-api-tests/expand/er05-in.jsonld | 4 + .../json-ld-api-tests/expand/er06-in.jsonld | 4 + .../json-ld-api-tests/expand/er07-in.jsonld | 4 + .../json-ld-api-tests/expand/er08-in.jsonld | 4 + .../json-ld-api-tests/expand/er09-in.jsonld | 4 + .../json-ld-api-tests/expand/er10-in.jsonld | 6 + .../json-ld-api-tests/expand/er11-in.jsonld | 6 + .../json-ld-api-tests/expand/er12-in.jsonld | 6 + .../json-ld-api-tests/expand/er13-in.jsonld | 6 + .../json-ld-api-tests/expand/er14-in.jsonld | 6 + .../json-ld-api-tests/expand/er15-in.jsonld | 6 + .../json-ld-api-tests/expand/er17-in.jsonld | 6 + .../json-ld-api-tests/expand/er18-in.jsonld | 6 + .../json-ld-api-tests/expand/er19-in.jsonld | 6 + .../json-ld-api-tests/expand/er20-in.jsonld | 6 + .../json-ld-api-tests/expand/er21-in.jsonld | 6 + .../json-ld-api-tests/expand/er22-in.jsonld | 6 + .../json-ld-api-tests/expand/er23-in.jsonld | 6 + .../json-ld-api-tests/expand/er24-in.jsonld | 4 + .../json-ld-api-tests/expand/er25-in.jsonld | 6 + .../json-ld-api-tests/expand/er26-in.jsonld | 8 + .../json-ld-api-tests/expand/er27-in.jsonld | 3 + .../json-ld-api-tests/expand/er28-in.jsonld | 3 + .../json-ld-api-tests/expand/er29-in.jsonld | 3 + .../json-ld-api-tests/expand/er30-in.jsonld | 3 + .../json-ld-api-tests/expand/er31-in.jsonld | 7 + .../json-ld-api-tests/expand/er32-in.jsonld | 3 + .../json-ld-api-tests/expand/er33-in.jsonld | 5 + .../json-ld-api-tests/expand/er34-in.jsonld | 10 + .../json-ld-api-tests/expand/er35-in.jsonld | 13 + .../json-ld-api-tests/expand/er36-in.jsonld | 7 + .../json-ld-api-tests/expand/er37-in.jsonld | 3 + .../json-ld-api-tests/expand/er38-in.jsonld | 3 + .../json-ld-api-tests/expand/er39-in.jsonld | 3 + .../json-ld-api-tests/expand/er40-in.jsonld | 3 + .../json-ld-api-tests/expand/er41-in.jsonld | 3 + .../json-ld-api-tests/expand/er42-in.jsonld | 6 + .../json-ld-api-tests/expand/er43-in.jsonld | 20 + .../json-ld-api-tests/expand/er44-in.jsonld | 11 + .../json-ld-api-tests/expand/er45-in.jsonld | 15 + .../json-ld-api-tests/expand/er48-in.jsonld | 6 + .../json-ld-api-tests/expand/er49-in.jsonld | 7 + .../json-ld-api-tests/expand/er50-in.jsonld | 7 + .../json-ld-api-tests/expand/er51-in.jsonld | 4 + .../json-ld-api-tests/expand/er52-in.jsonld | 7 + .../json-ld-api-tests/expand/in01-in.jsonld | 10 + .../json-ld-api-tests/expand/in01-out.jsonld | 6 + .../json-ld-api-tests/expand/in02-in.jsonld | 10 + .../json-ld-api-tests/expand/in02-out.jsonld | 6 + .../json-ld-api-tests/expand/in03-in.jsonld | 10 + .../json-ld-api-tests/expand/in03-out.jsonld | 6 + .../json-ld-api-tests/expand/in04-in.jsonld | 13 + .../json-ld-api-tests/expand/in04-out.jsonld | 9 + .../json-ld-api-tests/expand/in05-in.jsonld | 12 + .../json-ld-api-tests/expand/in05-out.jsonld | 8 + .../json-ld-api-tests/expand/in06-in.jsonld | 90 + .../json-ld-api-tests/expand/in06-out.jsonld | 42 + .../json-ld-api-tests/expand/in07-in.jsonld | 7 + .../json-ld-api-tests/expand/in08-in.jsonld | 7 + .../json-ld-api-tests/expand/in09-in.jsonld | 7 + .../json-ld-api-tests/expand/js08-in.jsonld | 11 +- .../json-ld-api-tests/expand/js08-out.jsonld | 20 +- .../json-ld-api-tests/expand/js09-in.jsonld | 11 +- .../json-ld-api-tests/expand/js09-out.jsonld | 18 +- .../json-ld-api-tests/expand/js10-in.jsonld | 14 +- .../json-ld-api-tests/expand/js10-out.jsonld | 20 +- .../json-ld-api-tests/expand/js11-in.jsonld | 9 + .../json-ld-api-tests/expand/js11-out.jsonld | 12 + .../json-ld-api-tests/expand/js12-in.jsonld | 11 + .../json-ld-api-tests/expand/js12-out.jsonld | 14 + .../json-ld-api-tests/expand/js13-in.jsonld | 16 + .../json-ld-api-tests/expand/js13-out.jsonld | 19 + .../json-ld-api-tests/expand/js14-in.jsonld | 7 + .../json-ld-api-tests/expand/js14-out.jsonld | 3 + .../json-ld-api-tests/expand/js15-in.jsonld | 3 + .../json-ld-api-tests/expand/js15-out.jsonld | 3 + .../json-ld-api-tests/expand/js16-in.jsonld | 4 + .../json-ld-api-tests/expand/js16-out.jsonld | 3 + .../json-ld-api-tests/expand/js17-in.jsonld | 7 + .../json-ld-api-tests/expand/js17-out.jsonld | 6 + .../json-ld-api-tests/expand/js18-in.jsonld | 7 + .../json-ld-api-tests/expand/js18-out.jsonld | 6 + .../json-ld-api-tests/expand/js19-in.jsonld | 12 + .../json-ld-api-tests/expand/js19-out.jsonld | 8 + .../json-ld-api-tests/expand/js20-in.jsonld | 12 + .../json-ld-api-tests/expand/js20-out.jsonld | 8 + .../json-ld-api-tests/expand/js21-in.jsonld | 12 + .../json-ld-api-tests/expand/js21-out.jsonld | 9 + .../json-ld-api-tests/expand/js22-in.jsonld | 3 + .../json-ld-api-tests/expand/js22-out.jsonld | 6 + .../json-ld-api-tests/expand/js23-in.jsonld | 3 + .../json-ld-api-tests/expand/js23-out.jsonld | 6 + .../json-ld-api-tests/expand/m017-in.jsonld | 9 + .../json-ld-api-tests/expand/m017-out.jsonld | 6 + .../json-ld-api-tests/expand/m018-in.jsonld | 9 + .../json-ld-api-tests/expand/m018-out.jsonld | 6 + .../json-ld-api-tests/expand/m019-in.jsonld | 9 + .../json-ld-api-tests/expand/m019-out.jsonld | 6 + .../json-ld-api-tests/expand/m020-in.jsonld | 9 + .../json-ld-api-tests/expand/n008-in.jsonld | 11 + .../json-ld-api-tests/expand/n008-out.jsonld | 4 + .../json-ld-api-tests/expand/pr29-out.jsonld | 4 +- .../json-ld-api-tests/expand/pr30-in.jsonld | 11 + .../json-ld-api-tests/expand/pr30-out.jsonld | 9 + .../json-ld-api-tests/expand/pr31-in.jsonld | 13 + .../json-ld-api-tests/expand/pr32-in.jsonld | 13 + .../json-ld-api-tests/expand/pr33-in.jsonld | 10 + .../json-ld-api-tests/expand/pr34-in.jsonld | 7 + .../json-ld-api-tests/expand/pr34-out.jsonld | 3 + .../json-ld-api-tests/expand/pr35-in.jsonld | 8 + .../json-ld-api-tests/expand/pr35-out.jsonld | 3 + .../json-ld-api-tests/expand/pr36-in.jsonld | 7 + .../json-ld-api-tests/expand/pr36-out.jsonld | 3 + .../json-ld-api-tests/expand/pr37-in.jsonld | 8 + .../json-ld-api-tests/expand/pr37-out.jsonld | 4 + .../json-ld-api-tests/expand/pr38-in.jsonld | 7 + .../json-ld-api-tests/expand/pr38-out.jsonld | 3 + .../json-ld-api-tests/expand/pr39-in.jsonld | 8 + .../json-ld-api-tests/expand/pr39-out.jsonld | 6 + .../json-ld-api-tests/expand/pr40-in.jsonld | 17 + .../json-ld-api-tests/expand/pr40-out.jsonld | 7 + .../json-ld-api-tests/expand/so01-in.jsonld | 5 + .../json-ld-api-tests/expand/so02-in.jsonld | 6 + .../json-ld-api-tests/expand/so03-in.jsonld | 6 + .../expand/so05-context.jsonld | 5 + .../json-ld-api-tests/expand/so05-in.jsonld | 14 + .../json-ld-api-tests/expand/so05-out.jsonld | 8 + .../expand/so06-context.jsonld | 5 + .../json-ld-api-tests/expand/so06-in.jsonld | 13 + .../json-ld-api-tests/expand/so06-out.jsonld | 7 + .../expand/so07-context.jsonld | 10 + .../json-ld-api-tests/expand/so07-in.jsonld | 16 + .../expand/so08-context.jsonld | 5 + .../json-ld-api-tests/expand/so08-in.jsonld | 8 + .../json-ld-api-tests/expand/so08-out.jsonld | 3 + .../expand/so09-context.jsonld | 6 + .../json-ld-api-tests/expand/so09-in.jsonld | 8 + .../json-ld-api-tests/expand/so09-out.jsonld | 3 + .../expand/so10-context.jsonld | 5 + .../json-ld-api-tests/expand/so10-in.jsonld | 11 + .../expand/so11-context.jsonld | 5 + .../json-ld-api-tests/expand/so11-in.jsonld | 9 + .../json-ld-api-tests/expand/so11-out.jsonld | 3 + .../json-ld-api-tests/expand/so12-in.jsonld | 5 + .../expand/so13-context.jsonld | 7 + .../json-ld-api-tests/expand/so13-in.jsonld | 7 + .../json-ld-api-tests/flatten-manifest.html | 1441 ++ .../json-ld-api-tests/flatten-manifest.jsonld | 68 +- .../json-ld-api-tests/flatten/in01-in.jsonld | 10 + .../json-ld-api-tests/flatten/in01-out.jsonld | 7 + .../json-ld-api-tests/flatten/in02-in.jsonld | 10 + .../json-ld-api-tests/flatten/in02-out.jsonld | 7 + .../json-ld-api-tests/flatten/in03-in.jsonld | 10 + .../json-ld-api-tests/flatten/in03-out.jsonld | 7 + .../json-ld-api-tests/flatten/in04-in.jsonld | 13 + .../json-ld-api-tests/flatten/in04-out.jsonld | 10 + .../json-ld-api-tests/flatten/in05-in.jsonld | 12 + .../json-ld-api-tests/flatten/in05-out.jsonld | 10 + .../json-ld-api-tests/flatten/in06-in.jsonld | 90 + .../json-ld-api-tests/flatten/in06-out.jsonld | 40 + .../json-ld-api-tests/fromRdf-manifest.html | 1420 ++ .../json-ld-api-tests/fromRdf-manifest.jsonld | 147 +- .../json-ld-api-tests/fromRdf/di01-in.nq | 1 + .../json-ld-api-tests/fromRdf/di01-out.jsonld | 4 + .../json-ld-api-tests/fromRdf/di02-in.nq | 1 + .../json-ld-api-tests/fromRdf/di02-out.jsonld | 4 + .../json-ld-api-tests/fromRdf/di03-in.nq | 3 + .../json-ld-api-tests/fromRdf/di03-out.jsonld | 8 + .../json-ld-api-tests/fromRdf/di04-in.nq | 4 + .../json-ld-api-tests/fromRdf/di04-out.jsonld | 9 + .../json-ld-api-tests/fromRdf/di05-in.nq | 1 + .../json-ld-api-tests/fromRdf/di05-out.jsonld | 4 + .../json-ld-api-tests/fromRdf/di06-in.nq | 1 + .../json-ld-api-tests/fromRdf/di06-out.jsonld | 4 + .../json-ld-api-tests/fromRdf/di07-in.nq | 3 + .../json-ld-api-tests/fromRdf/di07-out.jsonld | 8 + .../json-ld-api-tests/fromRdf/di08-in.nq | 4 + .../json-ld-api-tests/fromRdf/di08-out.jsonld | 9 + .../json-ld-api-tests/fromRdf/di09-in.nq | 1 + .../json-ld-api-tests/fromRdf/di09-out.jsonld | 4 + .../json-ld-api-tests/fromRdf/di10-in.nq | 1 + .../json-ld-api-tests/fromRdf/di10-out.jsonld | 4 + .../json-ld-api-tests/fromRdf/di11-in.nq | 3 + .../json-ld-api-tests/fromRdf/di11-out.jsonld | 4 + .../json-ld-api-tests/fromRdf/di12-in.nq | 4 + .../json-ld-api-tests/fromRdf/di12-out.jsonld | 4 + .../json-ld-api-tests/fromRdf/js08-in.nq | 1 + .../json-ld-api-tests/fromRdf/js09-in.nq | 1 + .../json-ld-api-tests/fromRdf/js10-in.nq | 1 + .../json-ld-api-tests/fromRdf/js10-out.jsonld | 7 + .../json-ld-api-tests/fromRdf/js11-in.nq | 1 + .../json-ld-api-tests/fromRdf/js11-out.jsonld | 7 + .../json-ld-api-tests/html-manifest.html | 1568 +++ .../json-ld-api-tests/html-manifest.jsonld | 409 + .../html/c001-context.jsonld | 5 + .../json-ld-api-tests/html/c001-in.html | 12 + .../json-ld-api-tests/html/c001-out.jsonld | 6 + .../html/c002-context.jsonld | 5 + .../json-ld-api-tests/html/c002-in.html | 21 + .../json-ld-api-tests/html/c002-out.jsonld | 6 + .../html/c003-context.jsonld | 3 + .../json-ld-api-tests/html/c003-in.html | 21 + .../json-ld-api-tests/html/c003-out.jsonld | 7 + .../html/c004-context.jsonld | 6 + .../json-ld-api-tests/html/c004-in.html | 21 + .../json-ld-api-tests/html/c004-out.jsonld | 15 + .../json-ld-api-tests/html/e001-in.html | 12 + .../json-ld-api-tests/html/e001-out.jsonld | 3 + .../json-ld-api-tests/html/e002-in.html | 21 + .../json-ld-api-tests/html/e002-out.jsonld | 3 + .../json-ld-api-tests/html/e003-in.html | 21 + .../json-ld-api-tests/html/e003-out.jsonld | 4 + .../json-ld-api-tests/html/e004-in.html | 21 + .../json-ld-api-tests/html/e004-out.jsonld | 10 + .../json-ld-api-tests/html/e005-in.html | 18 + .../json-ld-api-tests/html/e005-out.jsonld | 5 + .../json-ld-api-tests/html/e006-in.html | 1 + .../json-ld-api-tests/html/e007-in.html | 1 + .../json-ld-api-tests/html/e007-out.jsonld | 1 + .../json-ld-api-tests/html/e008-in.html | 14 + .../json-ld-api-tests/html/e008-out.jsonld | 3 + .../json-ld-api-tests/html/e009-in.html | 13 + .../json-ld-api-tests/html/e009-out.jsonld | 6 + .../json-ld-api-tests/html/e010-in.html | 10 + .../json-ld-api-tests/html/e010-out.jsonld | 3 + .../json-ld-api-tests/html/e011-in.html | 21 + .../json-ld-api-tests/html/e012-in.html | 12 + .../json-ld-api-tests/html/e013-in.html | 12 + .../json-ld-api-tests/html/e014-in.html | 14 + .../json-ld-api-tests/html/e015-in.html | 13 + .../json-ld-api-tests/html/e016-in.html | 13 + .../json-ld-api-tests/html/e017-in.html | 7 + .../json-ld-api-tests/html/e018-in.html | 13 + .../json-ld-api-tests/html/e018-out.jsonld | 4 + .../json-ld-api-tests/html/e019-in.html | 13 + .../json-ld-api-tests/html/e019-out.jsonld | 4 + .../json-ld-api-tests/html/e020-in.html | 14 + .../json-ld-api-tests/html/e020-out.jsonld | 4 + .../json-ld-api-tests/html/e021-in.html | 14 + .../json-ld-api-tests/html/e021-out.jsonld | 4 + .../json-ld-api-tests/html/e022-in.html | 20 + .../json-ld-api-tests/html/e022-out.jsonld | 4 + .../html/f001-context.jsonld | 5 + .../json-ld-api-tests/html/f001-in.html | 12 + .../json-ld-api-tests/html/f001-out.jsonld | 7 + .../html/f002-context.jsonld | 5 + .../json-ld-api-tests/html/f002-in.html | 21 + .../json-ld-api-tests/html/f002-out.jsonld | 7 + .../html/f003-context.jsonld | 3 + .../json-ld-api-tests/html/f003-in.html | 21 + .../json-ld-api-tests/html/f003-out.jsonld | 7 + .../html/f004-context.jsonld | 6 + .../json-ld-api-tests/html/f004-in.html | 18 + .../json-ld-api-tests/html/f004-out.jsonld | 11 + .../json-ld-api-tests/html/r001-in.html | 12 + .../json-ld-api-tests/html/r001-out.nq | 3 + .../json-ld-api-tests/html/r002-in.html | 21 + .../json-ld-api-tests/html/r002-out.nq | 3 + .../json-ld-api-tests/html/r003-in.html | 21 + .../json-ld-api-tests/html/r003-out.nq | 2 + .../json-ld-api-tests/html/r004-in.html | 21 + .../json-ld-api-tests/html/r004-out.nq | 5 + .../json-ld-api-tests/html/r005-in.html | 18 + .../json-ld-api-tests/html/r005-out.nq | 5 + .../json-ld-api-tests/html/r006-in.html | 1 + .../json-ld-api-tests/html/r006-out.nq | 0 .../json-ld-api-tests/html/r007-in.html | 1 + .../json-ld-api-tests/html/r007-out.nq | 0 .../json-ld-api-tests/html/r010-in.html | 10 + .../json-ld-api-tests/html/r010-out.nq | 1 + .../json-ld-api-tests/html/r011-in.html | 21 + .../json-ld-api-tests/html/r012-in.html | 12 + .../json-ld-api-tests/html/r013-in.html | 12 + .../json-ld-api-tests/html/r014-in.html | 14 + .../json-ld-api-tests/html/r015-in.html | 13 + .../json-ld-api-tests/html/r016-in.html | 13 + .../json-ld-api-tests/html/r017-in.html | 7 + .../json-ld-api-tests/html/r018-in.html | 13 + .../json-ld-api-tests/html/r018-out.nq | 1 + .../json-ld-api-tests/html/r019-in.html | 13 + .../json-ld-api-tests/html/r019-out.nq | 1 + .../json-ld-api-tests/html/r020-in.html | 14 + .../json-ld-api-tests/html/r020-out.nq | 1 + .../json-ld-api-tests/html/r021-in.html | 14 + .../json-ld-api-tests/html/r021-out.nq | 1 + .../json-ld-api-tests/html/r022-in.html | 20 + .../json-ld-api-tests/html/r022-out.nq | 1 + .../resources/json-ld-api-tests/index.html | 1 + .../resources/json-ld-api-tests/manifest.html | 174 + .../json-ld-api-tests/manifest.jsonld | 5 +- .../resources/json-ld-api-tests/mk_vocab.rb | 1 + .../remote-doc-manifest.html | 622 + .../remote-doc-manifest.jsonld | 60 +- .../remote-doc/la01-alternate.jsonld | 6 + .../json-ld-api-tests/remote-doc/la01-in.html | 16 + .../remote-doc/la01-out.jsonld | 3 + .../remote-doc/la02-alternate.jsonld | 6 + .../remote-doc/la02-in.jsonld | 6 + .../remote-doc/la02-out.jsonld | 3 + .../remote-doc/la03-alternate.json | 6 + .../json-ld-api-tests/remote-doc/la03-in.json | 6 + .../remote-doc/la03-out.jsonld | 3 + .../remote-doc/la04-alternate.jsonld | 6 + .../json-ld-api-tests/remote-doc/la04-in.json | 6 + .../remote-doc/la04-out.jsonld | 3 + .../remote-doc/la05-alternate.jsonld | 7 + .../json-ld-api-tests/remote-doc/la05-in.html | 17 + .../remote-doc/la05-out.jsonld | 4 + .../resources/json-ld-api-tests/template.haml | 208 + .../json-ld-api-tests/toRdf-manifest.html | 11500 ++++++++++++++++ .../json-ld-api-tests/toRdf-manifest.jsonld | 3020 +++- .../json-ld-api-tests/toRdf/c001-in.jsonld | 9 + .../json-ld-api-tests/toRdf/c001-out.nq | 2 + .../json-ld-api-tests/toRdf/c002-in.jsonld | 10 + .../json-ld-api-tests/toRdf/c002-out.nq | 2 + .../json-ld-api-tests/toRdf/c003-in.jsonld | 9 + .../json-ld-api-tests/toRdf/c003-out.nq | 2 + .../json-ld-api-tests/toRdf/c004-in.jsonld | 11 + .../json-ld-api-tests/toRdf/c004-out.nq | 3 + .../json-ld-api-tests/toRdf/c005-in.jsonld | 15 + .../json-ld-api-tests/toRdf/c005-out.nq | 6 + .../json-ld-api-tests/toRdf/c006-in.jsonld | 7 + .../json-ld-api-tests/toRdf/c006-out.nq | 3 + .../json-ld-api-tests/toRdf/c007-in.jsonld | 8 + .../json-ld-api-tests/toRdf/c007-out.nq | 3 + .../json-ld-api-tests/toRdf/c008-in.jsonld | 8 + .../json-ld-api-tests/toRdf/c008-out.nq | 3 + .../json-ld-api-tests/toRdf/c009-in.jsonld | 8 + .../json-ld-api-tests/toRdf/c009-out.nq | 3 + .../json-ld-api-tests/toRdf/c010-in.jsonld | 13 + .../json-ld-api-tests/toRdf/c010-out.nq | 5 + .../json-ld-api-tests/toRdf/c011-in.jsonld | 9 + .../json-ld-api-tests/toRdf/c011-out.nq | 3 + .../json-ld-api-tests/toRdf/c012-in.jsonld | 16 + .../json-ld-api-tests/toRdf/c012-out.nq | 3 + .../json-ld-api-tests/toRdf/c013-in.jsonld | 28 + .../json-ld-api-tests/toRdf/c013-out.nq | 6 + .../json-ld-api-tests/toRdf/c014-in.jsonld | 16 + .../json-ld-api-tests/toRdf/c014-out.nq | 3 + .../json-ld-api-tests/toRdf/c015-in.jsonld | 24 + .../json-ld-api-tests/toRdf/c015-out.nq | 5 + .../json-ld-api-tests/toRdf/c016-in.jsonld | 18 + .../json-ld-api-tests/toRdf/c016-out.nq | 6 + .../json-ld-api-tests/toRdf/c017-in.jsonld | 24 + .../json-ld-api-tests/toRdf/c017-out.nq | 5 + .../json-ld-api-tests/toRdf/c018-in.jsonld | 26 + .../json-ld-api-tests/toRdf/c018-out.nq | 3 + .../json-ld-api-tests/toRdf/c019-in.jsonld | 30 + .../json-ld-api-tests/toRdf/c019-out.nq | 7 + .../json-ld-api-tests/toRdf/c020-in.jsonld | 16 + .../json-ld-api-tests/toRdf/c020-out.nq | 2 + .../json-ld-api-tests/toRdf/c021-in.jsonld | 34 + .../json-ld-api-tests/toRdf/c021-out.nq | 10 + .../json-ld-api-tests/toRdf/c022-in.jsonld | 20 + .../json-ld-api-tests/toRdf/c022-out.nq | 2 + .../json-ld-api-tests/toRdf/c023-in.jsonld | 29 + .../json-ld-api-tests/toRdf/c023-out.nq | 4 + .../json-ld-api-tests/toRdf/c024-in.jsonld | 39 + .../json-ld-api-tests/toRdf/c024-out.nq | 7 + .../json-ld-api-tests/toRdf/c025-in.jsonld | 27 + .../json-ld-api-tests/toRdf/c025-out.nq | 4 + .../json-ld-api-tests/toRdf/c026-in.jsonld | 14 + .../json-ld-api-tests/toRdf/c026-out.nq | 3 + .../json-ld-api-tests/toRdf/c027-in.jsonld | 13 + .../json-ld-api-tests/toRdf/c027-out.nq | 3 + .../json-ld-api-tests/toRdf/c028-in.jsonld | 15 + .../json-ld-api-tests/toRdf/c028-out.nq | 3 + .../json-ld-api-tests/toRdf/c029-in.jsonld | 5 + .../json-ld-api-tests/toRdf/c030-in.jsonld | 6 + .../toRdf/c031-context.jsonld | 9 + .../json-ld-api-tests/toRdf/c031-in.jsonld | 9 + .../json-ld-api-tests/toRdf/c031-out.nq | 2 + .../toRdf/c031/c031-context.jsonld | 10 + .../json-ld-api-tests/toRdf/c032-in.jsonld | 14 + .../json-ld-api-tests/toRdf/c033-in.jsonld | 13 + .../toRdf/c034-context.jsonld | 5 + .../json-ld-api-tests/toRdf/c034-in.jsonld | 9 + .../json-ld-api-tests/toRdf/c034-out.nq | 2 + .../json-ld-api-tests/toRdf/c035-in.jsonld | 15 + .../json-ld-api-tests/toRdf/c035-out.nq | 3 + .../json-ld-api-tests/toRdf/di01-in.jsonld | 12 + .../json-ld-api-tests/toRdf/di01-out.nq | 3 + .../json-ld-api-tests/toRdf/di02-in.jsonld | 25 + .../json-ld-api-tests/toRdf/di02-out.nq | 9 + .../json-ld-api-tests/toRdf/di03-in.jsonld | 9 + .../json-ld-api-tests/toRdf/di03-out.nq | 6 + .../json-ld-api-tests/toRdf/di04-in.jsonld | 16 + .../json-ld-api-tests/toRdf/di04-out.nq | 3 + .../json-ld-api-tests/toRdf/di05-in.jsonld | 16 + .../json-ld-api-tests/toRdf/di05-out.nq | 3 + .../json-ld-api-tests/toRdf/di06-in.jsonld | 17 + .../json-ld-api-tests/toRdf/di06-out.nq | 3 + .../json-ld-api-tests/toRdf/di07-in.jsonld | 17 + .../json-ld-api-tests/toRdf/di07-out.nq | 3 + .../json-ld-api-tests/toRdf/di08-in.jsonld | 7 + .../json-ld-api-tests/toRdf/di09-in.jsonld | 1 + .../json-ld-api-tests/toRdf/di09-out.nq | 1 + .../json-ld-api-tests/toRdf/di10-in.jsonld | 1 + .../json-ld-api-tests/toRdf/di10-out.nq | 1 + .../json-ld-api-tests/toRdf/di11-in.jsonld | 1 + .../json-ld-api-tests/toRdf/di11-out.nq | 3 + .../json-ld-api-tests/toRdf/di12-in.jsonld | 1 + .../json-ld-api-tests/toRdf/di12-out.nq | 4 + .../json-ld-api-tests/toRdf/e001-in.jsonld | 1 + .../json-ld-api-tests/toRdf/e001-out.nq | 0 .../json-ld-api-tests/toRdf/e002-in.jsonld | 18 + .../json-ld-api-tests/toRdf/e002-out.nq | 7 + .../json-ld-api-tests/toRdf/e003-in.jsonld | 12 + .../json-ld-api-tests/toRdf/e003-out.nq | 0 .../json-ld-api-tests/toRdf/e004-in.jsonld | 21 + .../json-ld-api-tests/toRdf/e004-out.nq | 11 + .../json-ld-api-tests/toRdf/e005-in.jsonld | 23 + .../json-ld-api-tests/toRdf/e005-out.nq | 6 + .../json-ld-api-tests/toRdf/e006-in.jsonld | 20 + .../json-ld-api-tests/toRdf/e006-out.nq | 4 + .../json-ld-api-tests/toRdf/e007-in.jsonld | 18 + .../json-ld-api-tests/toRdf/e007-out.nq | 3 + .../json-ld-api-tests/toRdf/e008-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e008-out.nq | 2 + .../json-ld-api-tests/toRdf/e009-in.jsonld | 43 + .../json-ld-api-tests/toRdf/e009-out.nq | 9 + .../json-ld-api-tests/toRdf/e010-in.jsonld | 11 + .../json-ld-api-tests/toRdf/e010-out.nq | 2 + .../json-ld-api-tests/toRdf/e011-in.jsonld | 13 + .../json-ld-api-tests/toRdf/e011-out.nq | 2 + .../json-ld-api-tests/toRdf/e012-in.jsonld | 39 + .../json-ld-api-tests/toRdf/e012-out.nq | 9 + .../json-ld-api-tests/toRdf/e013-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e013-out.nq | 7 + .../json-ld-api-tests/toRdf/e014-in.jsonld | 50 + .../json-ld-api-tests/toRdf/e014-out.nq | 6 + .../json-ld-api-tests/toRdf/e015-in.jsonld | 14 + .../json-ld-api-tests/toRdf/e015-out.nq | 6 + .../json-ld-api-tests/toRdf/e016-in.jsonld | 30 + .../json-ld-api-tests/toRdf/e016-out.nq | 9 + .../json-ld-api-tests/toRdf/e017-in.jsonld | 45 + .../json-ld-api-tests/toRdf/e017-out.nq | 9 + .../json-ld-api-tests/toRdf/e018-in.jsonld | 24 + .../json-ld-api-tests/toRdf/e018-out.nq | 9 + .../json-ld-api-tests/toRdf/e019-in.jsonld | 6 + .../json-ld-api-tests/toRdf/e019-out.nq | 0 .../json-ld-api-tests/toRdf/e020-in.jsonld | 51 + .../json-ld-api-tests/toRdf/e020-out.nq | 11 + .../json-ld-api-tests/toRdf/e021-in.jsonld | 56 + .../json-ld-api-tests/toRdf/e021-out.nq | 13 + .../json-ld-api-tests/toRdf/e022-in.jsonld | 7 + .../json-ld-api-tests/toRdf/e022-out.nq | 1 + .../json-ld-api-tests/toRdf/e023-in.jsonld | 21 + .../json-ld-api-tests/toRdf/e023-out.nq | 16 + .../json-ld-api-tests/toRdf/e024-in.jsonld | 14 + .../json-ld-api-tests/toRdf/e024-out.nq | 4 + .../json-ld-api-tests/toRdf/e025-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e025-out.nq | 3 + .../json-ld-api-tests/toRdf/e026-in.jsonld | 20 + .../json-ld-api-tests/toRdf/e026-out.nq | 4 + .../json-ld-api-tests/toRdf/e027-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e027-out.nq | 12 + .../json-ld-api-tests/toRdf/e028-in.jsonld | 13 + .../json-ld-api-tests/toRdf/e028-out.nq | 4 + .../json-ld-api-tests/toRdf/e029-in.jsonld | 32 + .../json-ld-api-tests/toRdf/e029-out.nq | 34 + .../json-ld-api-tests/toRdf/e030-in.jsonld | 14 + .../json-ld-api-tests/toRdf/e030-out.nq | 3 + .../json-ld-api-tests/toRdf/e031-in.jsonld | 13 + .../json-ld-api-tests/toRdf/e031-out.nq | 3 + .../json-ld-api-tests/toRdf/e032-in.jsonld | 11 + .../json-ld-api-tests/toRdf/e032-out.nq | 1 + .../json-ld-api-tests/toRdf/e033-in.jsonld | 14 + .../json-ld-api-tests/toRdf/e033-out.nq | 3 + .../json-ld-api-tests/toRdf/e034-in.jsonld | 16 + .../json-ld-api-tests/toRdf/e034-out.nq | 5 + .../json-ld-api-tests/toRdf/e035-in.jsonld | 18 + .../json-ld-api-tests/toRdf/e035-out.nq | 5 + .../json-ld-api-tests/toRdf/e036-in.jsonld | 90 + .../json-ld-api-tests/toRdf/e036-out.nq | 25 + .../json-ld-api-tests/toRdf/e037-in.jsonld | 13 + .../json-ld-api-tests/toRdf/e037-out.nq | 3 + .../json-ld-api-tests/toRdf/e038-in.jsonld | 38 + .../json-ld-api-tests/toRdf/e038-out.nq | 1 + .../json-ld-api-tests/toRdf/e039-in.jsonld | 14 + .../json-ld-api-tests/toRdf/e039-out.nq | 3 + .../json-ld-api-tests/toRdf/e040-in.jsonld | 23 + .../json-ld-api-tests/toRdf/e040-out.nq | 4 + .../json-ld-api-tests/toRdf/e041-in.jsonld | 14 + .../json-ld-api-tests/toRdf/e041-out.nq | 3 + .../json-ld-api-tests/toRdf/e042-in.jsonld | 12 + .../json-ld-api-tests/toRdf/e042-out.nq | 3 + .../json-ld-api-tests/toRdf/e043-in.jsonld | 20 + .../json-ld-api-tests/toRdf/e043-out.nq | 5 + .../json-ld-api-tests/toRdf/e044-in.jsonld | 16 + .../json-ld-api-tests/toRdf/e044-out.nq | 3 + .../json-ld-api-tests/toRdf/e045-in.jsonld | 3 + .../json-ld-api-tests/toRdf/e045-out.nq | 0 .../json-ld-api-tests/toRdf/e046-in.jsonld | 14 + .../json-ld-api-tests/toRdf/e046-out.nq | 0 .../json-ld-api-tests/toRdf/e047-in.jsonld | 28 + .../json-ld-api-tests/toRdf/e047-out.nq | 1 + .../json-ld-api-tests/toRdf/e048-in.jsonld | 19 + .../json-ld-api-tests/toRdf/e048-out.nq | 4 + .../json-ld-api-tests/toRdf/e049-in.jsonld | 12 + .../json-ld-api-tests/toRdf/e049-out.nq | 3 + .../json-ld-api-tests/toRdf/e050-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e050-out.nq | 2 + .../json-ld-api-tests/toRdf/e051-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e051-out.nq | 1 + .../json-ld-api-tests/toRdf/e052-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e052-out.nq | 2 + .../json-ld-api-tests/toRdf/e053-in.jsonld | 6 + .../json-ld-api-tests/toRdf/e053-out.nq | 1 + .../json-ld-api-tests/toRdf/e054-in.jsonld | 7 + .../json-ld-api-tests/toRdf/e054-out.nq | 1 + .../json-ld-api-tests/toRdf/e055-in.jsonld | 7 + .../json-ld-api-tests/toRdf/e055-out.nq | 1 + .../json-ld-api-tests/toRdf/e056-in.jsonld | 13 + .../json-ld-api-tests/toRdf/e056-out.nq | 3 + .../json-ld-api-tests/toRdf/e057-in.jsonld | 6 + .../json-ld-api-tests/toRdf/e057-out.nq | 1 + .../json-ld-api-tests/toRdf/e058-in.jsonld | 7 + .../json-ld-api-tests/toRdf/e058-out.nq | 1 + .../json-ld-api-tests/toRdf/e059-in.jsonld | 16 + .../json-ld-api-tests/toRdf/e059-out.nq | 4 + .../json-ld-api-tests/toRdf/e060-in.jsonld | 30 + .../json-ld-api-tests/toRdf/e060-out.nq | 4 + .../json-ld-api-tests/toRdf/e061-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e061-out.nq | 4 + .../json-ld-api-tests/toRdf/e062-in.jsonld | 35 + .../json-ld-api-tests/toRdf/e062-out.nq | 38 + .../json-ld-api-tests/toRdf/e063-in.jsonld | 18 + .../json-ld-api-tests/toRdf/e063-out.nq | 5 + .../json-ld-api-tests/toRdf/e064-in.jsonld | 16 + .../json-ld-api-tests/toRdf/e064-out.nq | 5 + .../json-ld-api-tests/toRdf/e065-in.jsonld | 18 + .../json-ld-api-tests/toRdf/e065-out.nq | 3 + .../json-ld-api-tests/toRdf/e066-in.jsonld | 19 + .../json-ld-api-tests/toRdf/e066-out.nq | 5 + .../json-ld-api-tests/toRdf/e067-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e067-out.nq | 2 + .../json-ld-api-tests/toRdf/e068-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e068-out.nq | 1 + .../json-ld-api-tests/toRdf/e069-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e069-out.nq | 2 + .../json-ld-api-tests/toRdf/e070-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e070-out.nq | 2 + .../json-ld-api-tests/toRdf/e071-in.jsonld | 15 + .../json-ld-api-tests/toRdf/e071-out.nq | 2 + .../json-ld-api-tests/toRdf/e072-in.jsonld | 13 + .../json-ld-api-tests/toRdf/e072-out.nq | 1 + .../json-ld-api-tests/toRdf/e073-in.jsonld | 16 + .../json-ld-api-tests/toRdf/e073-out.nq | 3 + .../json-ld-api-tests/toRdf/e074-in.jsonld | 19 + .../json-ld-api-tests/toRdf/e074-out.nq | 3 + .../json-ld-api-tests/toRdf/e075-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e075-out.nq | 2 + .../json-ld-api-tests/toRdf/e076-in.jsonld | 4 + .../json-ld-api-tests/toRdf/e076-out.nq | 1 + .../toRdf/e077-context.jsonld | 11 + .../json-ld-api-tests/toRdf/e077-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e077-out.nq | 7 + .../json-ld-api-tests/toRdf/e078-in.jsonld | 29 + .../json-ld-api-tests/toRdf/e078-out.nq | 9 + .../json-ld-api-tests/toRdf/e079-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e079-out.nq | 2 + .../json-ld-api-tests/toRdf/e080-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e080-out.nq | 2 + .../json-ld-api-tests/toRdf/e081-in.jsonld | 11 + .../json-ld-api-tests/toRdf/e081-out.nq | 2 + .../json-ld-api-tests/toRdf/e082-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e082-out.nq | 2 + .../json-ld-api-tests/toRdf/e083-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e083-out.nq | 2 + .../json-ld-api-tests/toRdf/e084-in.jsonld | 13 + .../json-ld-api-tests/toRdf/e084-out.nq | 2 + .../json-ld-api-tests/toRdf/e085-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e085-out.nq | 2 + .../json-ld-api-tests/toRdf/e086-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e086-out.nq | 2 + .../json-ld-api-tests/toRdf/e087-in.jsonld | 13 + .../json-ld-api-tests/toRdf/e087-out.nq | 2 + .../json-ld-api-tests/toRdf/e088-in.jsonld | 11 + .../json-ld-api-tests/toRdf/e088-out.nq | 15 + .../json-ld-api-tests/toRdf/e089-in.jsonld | 7 + .../json-ld-api-tests/toRdf/e089-out.nq | 1 + .../json-ld-api-tests/toRdf/e090-in.jsonld | 7 + .../json-ld-api-tests/toRdf/e090-out.nq | 1 + .../json-ld-api-tests/toRdf/e091-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e091-out.nq | 1 + .../json-ld-api-tests/toRdf/e092-in.jsonld | 18 + .../json-ld-api-tests/toRdf/e092-out.nq | 11 + .../json-ld-api-tests/toRdf/e093-in.jsonld | 12 + .../json-ld-api-tests/toRdf/e093-out.nq | 4 + .../json-ld-api-tests/toRdf/e094-in.jsonld | 12 + .../json-ld-api-tests/toRdf/e094-out.nq | 4 + .../json-ld-api-tests/toRdf/e095-in.jsonld | 15 + .../json-ld-api-tests/toRdf/e095-out.nq | 4 + .../json-ld-api-tests/toRdf/e096-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e096-out.nq | 4 + .../json-ld-api-tests/toRdf/e097-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e097-out.nq | 4 + .../json-ld-api-tests/toRdf/e098-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e098-out.nq | 4 + .../json-ld-api-tests/toRdf/e099-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e099-out.nq | 4 + .../json-ld-api-tests/toRdf/e100-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e100-out.nq | 4 + .../json-ld-api-tests/toRdf/e101-in.jsonld | 18 + .../json-ld-api-tests/toRdf/e101-out.nq | 4 + .../json-ld-api-tests/toRdf/e102-in.jsonld | 13 + .../json-ld-api-tests/toRdf/e102-out.nq | 3 + .../json-ld-api-tests/toRdf/e103-in.jsonld | 15 + .../json-ld-api-tests/toRdf/e103-out.nq | 4 + .../json-ld-api-tests/toRdf/e104-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e104-out.nq | 4 + .../json-ld-api-tests/toRdf/e105-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e105-out.nq | 8 + .../json-ld-api-tests/toRdf/e106-in.jsonld | 18 + .../json-ld-api-tests/toRdf/e106-out.nq | 4 + .../json-ld-api-tests/toRdf/e107-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e107-out.nq | 8 + .../json-ld-api-tests/toRdf/e108-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e108-out.nq | 6 + .../json-ld-api-tests/toRdf/e109-in.jsonld | 7 + .../json-ld-api-tests/toRdf/e109-out.nq | 2 + .../json-ld-api-tests/toRdf/e110-in.jsonld | 18 + .../json-ld-api-tests/toRdf/e110-out.nq | 11 + .../json-ld-api-tests/toRdf/e111-in.jsonld | 21 + .../json-ld-api-tests/toRdf/e111-out.nq | 10 + .../json-ld-api-tests/toRdf/e112-in.jsonld | 21 + .../json-ld-api-tests/toRdf/e112-out.nq | 10 + .../json-ld-api-tests/toRdf/e113-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e113-out.nq | 2 + .../json-ld-api-tests/toRdf/e114-in.jsonld | 9 + .../json-ld-api-tests/toRdf/e114-out.nq | 2 + .../json-ld-api-tests/toRdf/e115-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e116-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e117-in.jsonld | 7 + .../json-ld-api-tests/toRdf/e117-out.nq | 1 + .../json-ld-api-tests/toRdf/e118-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e118-out.nq | 4 + .../json-ld-api-tests/toRdf/e119-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e119-out.nq | 2 + .../json-ld-api-tests/toRdf/e120-in.jsonld | 11 + .../json-ld-api-tests/toRdf/e120-out.nq | 3 + .../json-ld-api-tests/toRdf/e121-in.jsonld | 11 + .../json-ld-api-tests/toRdf/e121-out.nq | 2 + .../json-ld-api-tests/toRdf/e122-in.jsonld | 8 + .../json-ld-api-tests/toRdf/e122-out.nq | 2 + .../json-ld-api-tests/toRdf/e123-in.jsonld | 4 + .../toRdf/e124-context.jsonld | 12 + .../json-ld-api-tests/toRdf/e124-in.jsonld | 15 + .../json-ld-api-tests/toRdf/e124-out.nq | 1 + .../toRdf/e125-context-1.jsonld | 12 + .../toRdf/e125-context-2.jsonld | 3 + .../json-ld-api-tests/toRdf/e125-in.jsonld | 15 + .../json-ld-api-tests/toRdf/e125-out.nq | 1 + .../toRdf/e126-context-1.jsonld | 3 + .../toRdf/e126-context-2.jsonld | 3 + .../toRdf/e126-context-3.jsonld | 12 + .../toRdf/e126-context.jsonld | 12 + .../json-ld-api-tests/toRdf/e126-in.jsonld | 7 + .../json-ld-api-tests/toRdf/e126-out.nq | 2 + .../toRdf/e127-context-1.jsonld | 12 + .../toRdf/e127-context-2.jsonld | 3 + .../json-ld-api-tests/toRdf/e127-in.jsonld | 7 + .../json-ld-api-tests/toRdf/e127-out.nq | 2 + .../toRdf/e128-context-1.jsonld | 3 + .../toRdf/e128-context-2.jsonld | 3 + .../toRdf/e128-context-3.jsonld | 12 + .../json-ld-api-tests/toRdf/e128-in.jsonld | 10 + .../json-ld-api-tests/toRdf/e128-out.nq | 2 + .../json-ld-api-tests/toRdf/ec01-in.jsonld | 6 + .../json-ld-api-tests/toRdf/ec02-in.jsonld | 5 + .../json-ld-api-tests/toRdf/em01-in.jsonld | 6 + .../json-ld-api-tests/toRdf/en01-in.jsonld | 4 + .../json-ld-api-tests/toRdf/en02-in.jsonld | 4 + .../json-ld-api-tests/toRdf/en03-in.jsonld | 4 + .../json-ld-api-tests/toRdf/en04-in.jsonld | 4 + .../json-ld-api-tests/toRdf/en05-in.jsonld | 5 + .../json-ld-api-tests/toRdf/en06-in.jsonld | 5 + .../json-ld-api-tests/toRdf/ep02-in.jsonld | 5 + .../json-ld-api-tests/toRdf/ep03-in.jsonld | 5 + .../json-ld-api-tests/toRdf/er01-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er02-in.jsonld | 4 + .../json-ld-api-tests/toRdf/er03-in.jsonld | 4 + .../json-ld-api-tests/toRdf/er04-in.jsonld | 4 + .../json-ld-api-tests/toRdf/er05-in.jsonld | 4 + .../json-ld-api-tests/toRdf/er06-in.jsonld | 4 + .../json-ld-api-tests/toRdf/er07-in.jsonld | 4 + .../json-ld-api-tests/toRdf/er08-in.jsonld | 4 + .../json-ld-api-tests/toRdf/er09-in.jsonld | 4 + .../json-ld-api-tests/toRdf/er10-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er11-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er12-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er13-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er14-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er15-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er17-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er18-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er19-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er20-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er21-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er22-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er23-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er24-in.jsonld | 4 + .../json-ld-api-tests/toRdf/er25-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er26-in.jsonld | 8 + .../json-ld-api-tests/toRdf/er27-in.jsonld | 3 + .../json-ld-api-tests/toRdf/er28-in.jsonld | 3 + .../json-ld-api-tests/toRdf/er29-in.jsonld | 3 + .../json-ld-api-tests/toRdf/er30-in.jsonld | 3 + .../json-ld-api-tests/toRdf/er31-in.jsonld | 7 + .../json-ld-api-tests/toRdf/er32-in.jsonld | 3 + .../json-ld-api-tests/toRdf/er33-in.jsonld | 5 + .../json-ld-api-tests/toRdf/er34-in.jsonld | 10 + .../json-ld-api-tests/toRdf/er35-in.jsonld | 13 + .../json-ld-api-tests/toRdf/er36-in.jsonld | 7 + .../json-ld-api-tests/toRdf/er37-in.jsonld | 3 + .../json-ld-api-tests/toRdf/er38-in.jsonld | 3 + .../json-ld-api-tests/toRdf/er39-in.jsonld | 3 + .../json-ld-api-tests/toRdf/er40-in.jsonld | 3 + .../json-ld-api-tests/toRdf/er41-in.jsonld | 3 + .../json-ld-api-tests/toRdf/er42-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er43-in.jsonld | 20 + .../json-ld-api-tests/toRdf/er44-in.jsonld | 11 + .../json-ld-api-tests/toRdf/er45-in.jsonld | 15 + .../json-ld-api-tests/toRdf/er48-in.jsonld | 6 + .../json-ld-api-tests/toRdf/er49-in.jsonld | 7 + .../json-ld-api-tests/toRdf/er50-in.jsonld | 7 + .../json-ld-api-tests/toRdf/er51-in.jsonld | 4 + .../json-ld-api-tests/toRdf/er52-in.jsonld | 7 + .../json-ld-api-tests/toRdf/in01-in.jsonld | 10 + .../json-ld-api-tests/toRdf/in01-out.nq | 2 + .../json-ld-api-tests/toRdf/in02-in.jsonld | 10 + .../json-ld-api-tests/toRdf/in02-out.nq | 2 + .../json-ld-api-tests/toRdf/in03-in.jsonld | 10 + .../json-ld-api-tests/toRdf/in03-out.nq | 2 + .../json-ld-api-tests/toRdf/in04-in.jsonld | 13 + .../json-ld-api-tests/toRdf/in04-out.nq | 3 + .../json-ld-api-tests/toRdf/in05-in.jsonld | 12 + .../json-ld-api-tests/toRdf/in05-out.nq | 3 + .../json-ld-api-tests/toRdf/in06-in.jsonld | 90 + .../json-ld-api-tests/toRdf/in06-out.nq | 23 + .../json-ld-api-tests/toRdf/in07-in.jsonld | 7 + .../json-ld-api-tests/toRdf/in08-in.jsonld | 7 + .../json-ld-api-tests/toRdf/in09-in.jsonld | 7 + .../json-ld-api-tests/toRdf/js14-in.jsonld | 7 + .../json-ld-api-tests/toRdf/js14-out.nq | 1 + .../json-ld-api-tests/toRdf/js15-in.jsonld | 3 + .../json-ld-api-tests/toRdf/js15-out.nq | 1 + .../json-ld-api-tests/toRdf/js16-in.jsonld | 4 + .../json-ld-api-tests/toRdf/js16-out.nq | 1 + .../json-ld-api-tests/toRdf/js17-in.jsonld | 7 + .../json-ld-api-tests/toRdf/js17-out.nq | 1 + .../json-ld-api-tests/toRdf/js18-in.jsonld | 7 + .../json-ld-api-tests/toRdf/js18-out.nq | 1 + .../json-ld-api-tests/toRdf/js19-in.jsonld | 12 + .../json-ld-api-tests/toRdf/js19-out.nq | 1 + .../json-ld-api-tests/toRdf/js20-in.jsonld | 12 + .../json-ld-api-tests/toRdf/js20-out.nq | 1 + .../json-ld-api-tests/toRdf/js21-in.jsonld | 12 + .../json-ld-api-tests/toRdf/js21-out.nq | 1 + .../json-ld-api-tests/toRdf/js22-in.jsonld | 3 + .../json-ld-api-tests/toRdf/js22-out.nq | 1 + .../json-ld-api-tests/toRdf/js23-in.jsonld | 3 + .../json-ld-api-tests/toRdf/js23-out.nq | 1 + .../json-ld-api-tests/toRdf/li03-in.jsonld | 4 + .../json-ld-api-tests/toRdf/li03-out.nq | 5 + .../json-ld-api-tests/toRdf/li04-in.jsonld | 4 + .../json-ld-api-tests/toRdf/li04-out.nq | 3 + .../json-ld-api-tests/toRdf/li05-in.jsonld | 4 + .../json-ld-api-tests/toRdf/li05-out.nq | 5 + .../json-ld-api-tests/toRdf/li06-in.jsonld | 4 + .../json-ld-api-tests/toRdf/li06-out.nq | 3 + .../json-ld-api-tests/toRdf/li07-in.jsonld | 4 + .../json-ld-api-tests/toRdf/li07-out.nq | 7 + .../json-ld-api-tests/toRdf/li08-in.jsonld | 4 + .../json-ld-api-tests/toRdf/li08-out.nq | 5 + .../json-ld-api-tests/toRdf/li09-in.jsonld | 4 + .../json-ld-api-tests/toRdf/li09-out.nq | 9 + .../json-ld-api-tests/toRdf/li10-in.jsonld | 4 + .../json-ld-api-tests/toRdf/li10-out.nq | 7 + .../json-ld-api-tests/toRdf/m001-in.jsonld | 10 + .../json-ld-api-tests/toRdf/m001-out.nq | 4 + .../json-ld-api-tests/toRdf/m002-in.jsonld | 10 + .../json-ld-api-tests/toRdf/m002-out.nq | 4 + .../json-ld-api-tests/toRdf/m003-in.jsonld | 10 + .../json-ld-api-tests/toRdf/m003-out.nq | 6 + .../json-ld-api-tests/toRdf/m004-in.jsonld | 10 + .../json-ld-api-tests/toRdf/m004-out.nq | 8 + .../json-ld-api-tests/toRdf/m005-in.jsonld | 9 + .../json-ld-api-tests/toRdf/m005-out.nq | 2 + .../json-ld-api-tests/toRdf/m006-in.jsonld | 9 + .../json-ld-api-tests/toRdf/m006-out.nq | 3 + .../json-ld-api-tests/toRdf/m007-in.jsonld | 10 + .../json-ld-api-tests/toRdf/m007-out.nq | 3 + .../json-ld-api-tests/toRdf/m008-in.jsonld | 10 + .../json-ld-api-tests/toRdf/m008-out.nq | 3 + .../json-ld-api-tests/toRdf/m009-in.jsonld | 15 + .../json-ld-api-tests/toRdf/m009-out.nq | 4 + .../json-ld-api-tests/toRdf/m010-in.jsonld | 16 + .../json-ld-api-tests/toRdf/m010-out.nq | 4 + .../json-ld-api-tests/toRdf/m011-in.jsonld | 11 + .../json-ld-api-tests/toRdf/m011-out.nq | 4 + .../json-ld-api-tests/toRdf/m012-in.jsonld | 11 + .../json-ld-api-tests/toRdf/m012-out.nq | 4 + .../json-ld-api-tests/toRdf/m013-in.jsonld | 9 + .../json-ld-api-tests/toRdf/m013-out.nq | 2 + .../json-ld-api-tests/toRdf/m014-in.jsonld | 10 + .../json-ld-api-tests/toRdf/m014-out.nq | 2 + .../json-ld-api-tests/toRdf/m015-in.jsonld | 9 + .../json-ld-api-tests/toRdf/m015-out.nq | 2 + .../json-ld-api-tests/toRdf/m016-in.jsonld | 10 + .../json-ld-api-tests/toRdf/m016-out.nq | 2 + .../json-ld-api-tests/toRdf/m017-in.jsonld | 9 + .../json-ld-api-tests/toRdf/m017-out.nq | 2 + .../json-ld-api-tests/toRdf/m018-in.jsonld | 9 + .../json-ld-api-tests/toRdf/m018-out.nq | 2 + .../json-ld-api-tests/toRdf/m019-in.jsonld | 9 + .../json-ld-api-tests/toRdf/m019-out.nq | 2 + .../json-ld-api-tests/toRdf/m020-in.jsonld | 9 + .../json-ld-api-tests/toRdf/n001-in.jsonld | 7 + .../json-ld-api-tests/toRdf/n001-out.nq | 2 + .../json-ld-api-tests/toRdf/n002-in.jsonld | 10 + .../json-ld-api-tests/toRdf/n002-out.nq | 2 + .../json-ld-api-tests/toRdf/n003-in.jsonld | 11 + .../json-ld-api-tests/toRdf/n003-out.nq | 3 + .../json-ld-api-tests/toRdf/n004-in.jsonld | 15 + .../json-ld-api-tests/toRdf/n004-out.nq | 4 + .../json-ld-api-tests/toRdf/n005-in.jsonld | 13 + .../json-ld-api-tests/toRdf/n005-out.nq | 4 + .../json-ld-api-tests/toRdf/n006-in.jsonld | 11 + .../json-ld-api-tests/toRdf/n006-out.nq | 5 + .../json-ld-api-tests/toRdf/n007-in.jsonld | 13 + .../json-ld-api-tests/toRdf/n007-out.nq | 5 + .../json-ld-api-tests/toRdf/n008-in.jsonld | 11 + .../json-ld-api-tests/toRdf/n008-out.nq | 3 + .../json-ld-api-tests/toRdf/p001-in.jsonld | 7 + .../json-ld-api-tests/toRdf/p001-out.nq | 1 + .../json-ld-api-tests/toRdf/p002-in.jsonld | 9 + .../json-ld-api-tests/toRdf/p002-out.nq | 2 + .../json-ld-api-tests/toRdf/p003-in.jsonld | 8 + .../json-ld-api-tests/toRdf/p003-out.nq | 2 + .../json-ld-api-tests/toRdf/p004-in.jsonld | 9 + .../json-ld-api-tests/toRdf/p004-out.nq | 2 + .../json-ld-api-tests/toRdf/pi01-in.jsonld | 11 + .../json-ld-api-tests/toRdf/pi02-in.jsonld | 12 + .../json-ld-api-tests/toRdf/pi03-in.jsonld | 16 + .../json-ld-api-tests/toRdf/pi04-in.jsonld | 16 + .../json-ld-api-tests/toRdf/pi05-in.jsonld | 16 + .../json-ld-api-tests/toRdf/pi06-in.jsonld | 13 + .../json-ld-api-tests/toRdf/pi06-out.nq | 6 + .../json-ld-api-tests/toRdf/pi07-in.jsonld | 16 + .../json-ld-api-tests/toRdf/pi07-out.nq | 9 + .../json-ld-api-tests/toRdf/pi08-in.jsonld | 14 + .../json-ld-api-tests/toRdf/pi08-out.nq | 6 + .../json-ld-api-tests/toRdf/pi09-in.jsonld | 17 + .../json-ld-api-tests/toRdf/pi09-out.nq | 9 + .../json-ld-api-tests/toRdf/pi10-in.jsonld | 17 + .../json-ld-api-tests/toRdf/pi10-out.nq | 5 + .../json-ld-api-tests/toRdf/pi11-in.jsonld | 10 + .../json-ld-api-tests/toRdf/pi11-out.nq | 3 + .../json-ld-api-tests/toRdf/pr01-in.jsonld | 15 + .../json-ld-api-tests/toRdf/pr02-in.jsonld | 20 + .../json-ld-api-tests/toRdf/pr02-out.nq | 4 + .../json-ld-api-tests/toRdf/pr03-in.jsonld | 21 + .../json-ld-api-tests/toRdf/pr04-in.jsonld | 21 + .../json-ld-api-tests/toRdf/pr05-in.jsonld | 17 + .../json-ld-api-tests/toRdf/pr06-in.jsonld | 17 + .../json-ld-api-tests/toRdf/pr06-out.nq | 1 + .../json-ld-api-tests/toRdf/pr08-in.jsonld | 38 + .../json-ld-api-tests/toRdf/pr09-in.jsonld | 14 + .../json-ld-api-tests/toRdf/pr10-in.jsonld | 14 + .../json-ld-api-tests/toRdf/pr10-out.nq | 3 + .../json-ld-api-tests/toRdf/pr11-in.jsonld | 17 + .../json-ld-api-tests/toRdf/pr12-in.jsonld | 15 + .../json-ld-api-tests/toRdf/pr13-in.jsonld | 18 + .../json-ld-api-tests/toRdf/pr13-out.nq | 3 + .../json-ld-api-tests/toRdf/pr14-in.jsonld | 18 + .../json-ld-api-tests/toRdf/pr14-out.nq | 3 + .../json-ld-api-tests/toRdf/pr15-in.jsonld | 20 + .../json-ld-api-tests/toRdf/pr15-out.nq | 3 + .../json-ld-api-tests/toRdf/pr16-in.jsonld | 30 + .../json-ld-api-tests/toRdf/pr16-out.nq | 5 + .../json-ld-api-tests/toRdf/pr17-in.jsonld | 22 + .../json-ld-api-tests/toRdf/pr18-in.jsonld | 18 + .../json-ld-api-tests/toRdf/pr19-in.jsonld | 29 + .../json-ld-api-tests/toRdf/pr19-out.nq | 4 + .../json-ld-api-tests/toRdf/pr20-in.jsonld | 24 + .../json-ld-api-tests/toRdf/pr21-in.jsonld | 20 + .../json-ld-api-tests/toRdf/pr22-in.jsonld | 17 + .../json-ld-api-tests/toRdf/pr22-out.nq | 4 + .../json-ld-api-tests/toRdf/pr23-in.jsonld | 15 + .../json-ld-api-tests/toRdf/pr23-out.nq | 1 + .../json-ld-api-tests/toRdf/pr24-in.jsonld | 12 + .../json-ld-api-tests/toRdf/pr24-out.nq | 1 + .../json-ld-api-tests/toRdf/pr25-in.jsonld | 141 + .../json-ld-api-tests/toRdf/pr25-out.nq | 7 + .../json-ld-api-tests/toRdf/pr26-in.jsonld | 136 + .../json-ld-api-tests/toRdf/pr27-in.jsonld | 14 + .../json-ld-api-tests/toRdf/pr27-out.nq | 1 + .../json-ld-api-tests/toRdf/pr28-in.jsonld | 11 + .../json-ld-api-tests/toRdf/pr29-in.jsonld | 8 + .../json-ld-api-tests/toRdf/pr29-out.nq | 2 + .../json-ld-api-tests/toRdf/pr30-in.jsonld | 11 + .../json-ld-api-tests/toRdf/pr30-out.nq | 2 + .../json-ld-api-tests/toRdf/pr31-in.jsonld | 13 + .../json-ld-api-tests/toRdf/pr32-in.jsonld | 13 + .../json-ld-api-tests/toRdf/pr33-in.jsonld | 10 + .../json-ld-api-tests/toRdf/pr34-in.jsonld | 7 + .../json-ld-api-tests/toRdf/pr34-out.nq | 1 + .../json-ld-api-tests/toRdf/pr35-in.jsonld | 8 + .../json-ld-api-tests/toRdf/pr35-out.nq | 1 + .../json-ld-api-tests/toRdf/pr36-in.jsonld | 7 + .../json-ld-api-tests/toRdf/pr36-out.nq | 1 + .../json-ld-api-tests/toRdf/pr37-in.jsonld | 8 + .../json-ld-api-tests/toRdf/pr37-out.nq | 2 + .../json-ld-api-tests/toRdf/pr38-in.jsonld | 7 + .../json-ld-api-tests/toRdf/pr38-out.nq | 1 + .../json-ld-api-tests/toRdf/pr39-in.jsonld | 8 + .../json-ld-api-tests/toRdf/pr39-out.nq | 3 + .../json-ld-api-tests/toRdf/pr40-in.jsonld | 17 + .../json-ld-api-tests/toRdf/pr40-out.nq | 2 + .../json-ld-api-tests/toRdf/so01-in.jsonld | 5 + .../json-ld-api-tests/toRdf/so02-in.jsonld | 6 + .../json-ld-api-tests/toRdf/so03-in.jsonld | 6 + .../toRdf/so05-context.jsonld | 5 + .../json-ld-api-tests/toRdf/so05-in.jsonld | 14 + .../json-ld-api-tests/toRdf/so05-out.nq | 3 + .../toRdf/so06-context.jsonld | 5 + .../json-ld-api-tests/toRdf/so06-in.jsonld | 13 + .../json-ld-api-tests/toRdf/so06-out.nq | 3 + .../toRdf/so07-context.jsonld | 10 + .../json-ld-api-tests/toRdf/so07-in.jsonld | 16 + .../toRdf/so08-context.jsonld | 5 + .../json-ld-api-tests/toRdf/so08-in.jsonld | 8 + .../json-ld-api-tests/toRdf/so08-out.nq | 1 + .../toRdf/so09-context.jsonld | 6 + .../json-ld-api-tests/toRdf/so09-in.jsonld | 8 + .../json-ld-api-tests/toRdf/so09-out.nq | 1 + .../toRdf/so10-context.jsonld | 5 + .../json-ld-api-tests/toRdf/so10-in.jsonld | 11 + .../toRdf/so11-context.jsonld | 5 + .../json-ld-api-tests/toRdf/so11-in.jsonld | 9 + .../json-ld-api-tests/toRdf/so11-out.nq | 1 + .../json-ld-api-tests/toRdf/so12-in.jsonld | 5 + .../toRdf/so13-context.jsonld | 7 + .../json-ld-api-tests/toRdf/so13-in.jsonld | 7 + .../json-ld-api-tests/toRdf/tn01-in.jsonld | 18 + .../json-ld-api-tests/toRdf/tn02-in.jsonld | 19 + .../json-ld-api-tests/toRdf/tn02-out.nq | 9 + .../resources/json-ld-api-tests/vocab.html | 580 +- .../resources/json-ld-api-tests/vocab.jsonld | 306 +- .../resources/json-ld-api-tests/vocab.ttl | 37 +- .../json-ld-api-tests/vocab_context.jsonld | 1 + .../json-ld-api-tests/vocab_template.haml | 26 + .../json-ld-framing-tests/frame-manifest.html | 138 +- .../frame-manifest.jsonld | 44 +- .../frame/0065-frame.jsonld | 6 + .../frame/0065-in.jsonld | 17 + .../frame/0065-out.jsonld | 9 + .../frame/0066-frame.jsonld | 7 + .../frame/0066-in.jsonld | 20 + .../frame/0066-out.jsonld | 11 + .../frame/0067-frame.jsonld | 11 + .../frame/0067-in.jsonld | 40 + .../frame/0067-out.jsonld | 32 + .../frame/0068-frame.jsonld | 7 + .../frame/0068-in.jsonld | 23 + .../frame/0068-out.jsonld | 11 + .../frame/in03-frame.jsonld | 11 +- .../frame/in03-in.jsonld | 35 +- .../frame/in03-out.jsonld | 25 +- .../json-ld-framing-tests/index.html | 106 +- 1145 files changed, 50279 insertions(+), 1902 deletions(-) create mode 100644 core/src/test/resources/json-ld-api-tests/Rakefile create mode 100644 core/src/test/resources/json-ld-api-tests/compact-manifest.html create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0109-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0109-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0109-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0110-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0110-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/0110-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/c026-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/c026-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/c026-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/c027-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/c027-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/c027-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di01-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di01-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di02-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di02-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di03-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di03-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di04-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di04-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di05-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di05-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di06-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di06-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di07-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/di07-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in01-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in01-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in02-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in02-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in03-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in03-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in04-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in04-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in05-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/in05-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/js10-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/js10-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/js10-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/js11-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/js11-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/js11-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/la01-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/la01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/la01-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/m020-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/m020-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/m020-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/m021-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/m021-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/m021-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/m022-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/m022-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/m022-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/n011-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/n011-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/compact/n011-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand-manifest.html create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0114-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0114-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0115-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0116-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0117-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0117-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0118-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0118-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0119-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0119-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0120-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0120-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0121-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0121-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0122-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0122-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0123-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0124-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0124-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0125-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0125-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0126-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0126-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0126-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0127-context-1.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0127-context-2.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0127-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0127-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0128-context-1.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0128-context-2.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0128-context-3.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0128-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0128-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c026-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c026-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c027-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c027-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c028-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c028-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c029-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c030-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c031-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c031-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c031-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c031/c031-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c032-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c033-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c034-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c034-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c034-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c035-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/c035-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di01-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di02-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di03-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di04-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di05-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di06-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di07-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/di09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e003-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e052-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e053-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e053-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e054-context-1.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e054-context-2.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/e054-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/ec02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er10-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er11-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er12-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er13-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er14-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er15-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er17-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er18-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er19-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er20-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er21-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er22-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er23-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er24-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er25-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er26-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er27-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er28-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er29-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er30-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er31-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er32-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er33-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er34-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er35-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er36-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er37-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er38-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er39-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er40-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er41-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er42-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er43-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er44-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er45-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er48-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er49-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er50-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er51-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er52-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in01-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in02-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in03-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in04-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in05-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in06-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/in09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js11-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js11-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js12-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js12-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js13-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js13-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js14-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js14-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js15-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js15-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js16-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js16-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js17-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js17-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js18-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js18-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js19-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js19-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js20-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js20-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js21-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js21-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js22-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js22-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js23-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/js23-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/m017-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/m017-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/m018-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/m018-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/m019-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/m019-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/m020-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/n008-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/n008-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr30-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr30-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr31-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr32-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr33-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr34-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr34-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr35-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr35-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr36-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr36-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr37-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr37-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr38-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr38-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr39-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr39-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr40-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/pr40-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so05-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so05-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so06-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so06-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so07-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so08-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so08-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so09-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so09-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so10-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so10-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so11-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so11-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so11-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so12-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so13-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/so13-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten-manifest.html create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in01-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in02-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in03-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in04-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in05-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/flatten/in06-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf-manifest.html create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di01-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di01-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di02-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di02-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di03-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di03-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di04-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di04-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di05-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di05-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di06-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di06-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di07-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di07-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di08-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di08-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di09-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di09-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di10-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di10-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di11-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di11-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di12-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/di12-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/js08-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/js09-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/js10-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/js10-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/js11-in.nq create mode 100644 core/src/test/resources/json-ld-api-tests/fromRdf/js11-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html-manifest.html create mode 100644 core/src/test/resources/json-ld-api-tests/html-manifest.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/c001-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/c001-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/c001-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/c002-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/c002-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/c002-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/c003-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/c003-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/c003-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/c004-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/c004-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/c004-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e001-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e001-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e002-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e002-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e003-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e003-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e004-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e004-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e005-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e005-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e006-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e007-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e007-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e008-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e008-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e009-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e009-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e010-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e010-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e011-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e012-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e013-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e014-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e015-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e016-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e017-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e018-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e018-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e019-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e019-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e020-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e020-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e021-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e021-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/e022-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/e022-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/f001-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/f001-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/f001-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/f002-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/f002-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/f002-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/f003-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/f003-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/f003-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/f004-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/f004-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/f004-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/html/r001-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r001-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r002-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r002-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r003-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r003-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r004-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r004-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r005-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r005-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r006-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r006-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r007-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r007-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r010-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r010-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r011-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r012-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r013-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r014-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r015-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r016-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r017-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r018-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r018-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r019-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r019-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r020-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r020-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r021-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r021-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/html/r022-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/html/r022-out.nq create mode 120000 core/src/test/resources/json-ld-api-tests/index.html create mode 100644 core/src/test/resources/json-ld-api-tests/manifest.html create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc-manifest.html create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la01-alternate.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la01-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la01-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la02-alternate.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la02-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la03-alternate.json create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la03-in.json create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la03-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la04-alternate.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la04-in.json create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la04-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la05-alternate.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la05-in.html create mode 100644 core/src/test/resources/json-ld-api-tests/remote-doc/la05-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/template.haml create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf-manifest.html create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c001-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c001-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c002-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c002-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c003-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c003-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c004-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c004-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c005-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c005-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c006-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c006-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c007-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c007-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c008-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c008-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c009-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c009-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c010-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c010-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c011-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c011-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c012-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c012-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c013-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c013-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c014-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c014-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c015-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c015-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c016-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c016-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c017-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c017-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c018-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c018-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c019-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c019-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c020-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c020-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c021-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c021-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c022-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c022-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c023-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c023-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c024-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c024-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c025-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c025-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c026-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c026-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c027-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c027-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c028-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c028-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c029-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c030-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c031-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c031-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c031-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c031/c031-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c032-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c033-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c034-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c034-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c034-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c035-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/c035-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di01-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di02-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di03-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di04-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di05-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di06-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di07-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di09-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di10-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di10-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di11-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di11-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di12-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/di12-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e001-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e001-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e002-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e002-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e003-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e003-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e004-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e004-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e005-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e005-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e006-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e006-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e007-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e007-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e008-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e008-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e009-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e009-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e010-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e010-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e011-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e011-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e012-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e012-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e013-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e013-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e014-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e014-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e015-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e015-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e016-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e016-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e017-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e017-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e018-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e018-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e019-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e019-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e020-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e020-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e021-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e021-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e022-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e022-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e023-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e023-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e024-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e024-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e025-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e025-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e026-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e026-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e027-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e027-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e028-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e028-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e029-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e029-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e030-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e030-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e031-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e031-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e032-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e032-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e033-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e033-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e034-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e034-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e035-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e035-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e036-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e036-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e037-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e037-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e038-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e038-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e039-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e039-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e040-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e040-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e041-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e041-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e042-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e042-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e043-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e043-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e044-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e044-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e045-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e045-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e046-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e046-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e047-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e047-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e048-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e048-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e049-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e049-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e050-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e050-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e051-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e051-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e052-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e052-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e053-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e053-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e054-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e054-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e055-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e055-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e056-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e056-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e057-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e057-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e058-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e058-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e059-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e059-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e060-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e060-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e061-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e061-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e062-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e062-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e063-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e063-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e064-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e064-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e065-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e065-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e066-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e066-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e067-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e067-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e068-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e068-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e069-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e069-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e070-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e070-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e071-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e071-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e072-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e072-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e073-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e073-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e074-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e074-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e075-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e075-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e076-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e076-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e077-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e077-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e077-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e078-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e078-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e079-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e079-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e080-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e080-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e081-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e081-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e082-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e082-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e083-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e083-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e084-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e084-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e085-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e085-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e086-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e086-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e087-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e087-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e088-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e088-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e089-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e089-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e090-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e090-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e091-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e091-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e092-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e092-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e093-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e093-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e094-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e094-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e095-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e095-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e096-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e096-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e097-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e097-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e098-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e098-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e099-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e099-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e100-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e100-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e101-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e101-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e102-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e102-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e103-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e103-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e104-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e104-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e105-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e105-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e106-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e106-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e107-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e107-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e108-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e108-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e109-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e109-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e110-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e110-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e111-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e111-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e112-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e112-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e113-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e113-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e114-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e114-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e115-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e116-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e117-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e117-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e118-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e118-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e119-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e119-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e120-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e120-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e121-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e121-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e122-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e122-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e123-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e124-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e124-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e124-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e125-context-1.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e125-context-2.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e125-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e125-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e126-context-1.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e126-context-2.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e126-context-3.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e126-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e126-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e126-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e127-context-1.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e127-context-2.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e127-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e127-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e128-context-1.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e128-context-2.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e128-context-3.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e128-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e128-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/ec01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/ec02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/em01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/en01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/en02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/en03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/en04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/en05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/en06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/ep02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/ep03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er10-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er11-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er12-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er13-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er14-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er15-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er17-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er18-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er19-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er20-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er21-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er22-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er23-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er24-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er25-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er26-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er27-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er28-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er29-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er30-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er31-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er32-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er33-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er34-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er35-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er36-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er37-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er38-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er39-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er40-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er41-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er42-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er43-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er44-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er45-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er48-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er49-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er50-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er51-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er52-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in01-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in02-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in03-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in04-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in05-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in06-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/in09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js14-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js14-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js15-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js15-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js16-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js16-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js17-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js17-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js18-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js18-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js19-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js19-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js20-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js20-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js21-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js21-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js22-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js22-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js23-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/js23-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li03-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li04-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li05-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li06-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li07-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li08-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li09-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li10-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/li10-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m001-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m001-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m002-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m002-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m003-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m003-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m004-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m004-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m005-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m005-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m006-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m006-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m007-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m007-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m008-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m008-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m009-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m009-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m010-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m010-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m011-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m011-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m012-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m012-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m013-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m013-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m014-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m014-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m015-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m015-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m016-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m016-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m017-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m017-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m018-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m018-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m019-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m019-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/m020-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n001-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n001-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n002-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n002-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n003-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n003-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n004-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n004-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n005-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n005-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n006-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n006-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n007-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n007-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n008-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/n008-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/p001-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/p001-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/p002-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/p002-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/p003-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/p003-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/p004-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/p004-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi06-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi07-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi08-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi09-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi10-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi10-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi11-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pi11-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr02-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr04-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr06-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr10-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr10-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr11-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr12-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr13-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr13-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr14-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr14-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr15-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr15-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr16-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr16-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr17-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr18-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr19-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr19-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr20-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr21-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr22-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr22-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr23-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr23-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr24-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr24-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr25-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr25-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr26-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr27-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr27-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr28-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr29-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr29-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr30-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr30-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr31-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr32-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr33-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr34-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr34-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr35-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr35-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr36-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr36-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr37-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr37-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr38-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr38-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr39-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr39-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr40-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/pr40-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so03-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so05-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so05-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so05-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so06-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so06-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so06-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so07-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so07-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so08-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so08-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so08-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so09-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so09-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so09-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so10-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so10-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so11-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so11-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so11-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so12-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so13-context.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/so13-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/tn01-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/tn02-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/tn02-out.nq create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0065-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0065-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0065-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0066-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0066-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0066-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0067-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0067-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0067-out.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0068-frame.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0068-in.jsonld create mode 100644 core/src/test/resources/json-ld-framing-tests/frame/0068-out.jsonld mode change 100644 => 120000 core/src/test/resources/json-ld-framing-tests/index.html diff --git a/README.md b/README.md index a01a2ee1..43b7b232 100644 --- a/README.md +++ b/README.md @@ -258,6 +258,46 @@ mvn test -pl core to run only core package tests +### Update local spec tests + +Note: This assumes a local checkout of the [https://github.com/w3c/json-ld-api](https://github.com/w3c/json-ld-api) repo on the same level as `jsonld-java`. Adapt these steps for the `json-ld-framing` tests and [https://github.com/w3c/json-ld-framing](https://github.com/w3c/json-ld-framing) repo. + +Update the local `json-ld-api` tests: + +```bash +cd ../json-ld-api ; git pull ; cd ../jsonld-java +``` + +Copy local `json-ld-api` tests to `jsonld-java`: + + +```bash +cp -r ../json-ld-api/tests/* core/src/test/resources/json-ld-api-tests/ +``` + +Rerun all local spec tests (second run will pass): + +```bash +rm core/reports/*-skip ; mvn clean test +``` + +Commit the new tests and updated skip files so we get a useful diff when rerunning skipped spec tests: + +```bash +git add . +git commit -m 'Update json-ld-api tests' +``` + +### Rerun skipped spec tests + +Implement your fix or feature, then rerun all local spec tests (second run will pass): + +```bash +rm core/reports/*-skip ; mvn clean test +``` + +The diff on the `core/reports/*-skip` files shows which spec tests were enabled. + ### Code style The JSONLD-Java project uses custom Eclipse formatting and cleanup style guides to ensure that Pull Requests are fairly simple to merge. diff --git a/core/reports/json-ld-api-tests-skip b/core/reports/json-ld-api-tests-skip index 38a3f6af..7d6dc39f 100644 --- a/core/reports/json-ld-api-tests-skip +++ b/core/reports/json-ld-api-tests-skip @@ -31,7 +31,11 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0100 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0101 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0102 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0103 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0104 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0105 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0107 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0109 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0110 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc001 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc002 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc003 @@ -55,20 +59,37 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc022 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc023 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc024 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc025 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc026 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tdi02 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tdi03 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tdi04 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tdi05 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tdi07 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#te001 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#te002 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ten01 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep05 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep06 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep07 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep08 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep09 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep10 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep11 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep12 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep13 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep14 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep15 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#th001 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#th002 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#th003 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#th004 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tin01 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tin02 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tin03 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tin04 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tin05 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tjs11 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli01 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli02 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli03 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli04 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli05 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm001 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm002 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm003 @@ -88,6 +109,9 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm016 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm017 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm018 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm019 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm020 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm021 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm022 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn001 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn002 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn003 @@ -98,6 +122,7 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn007 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn008 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn009 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn010 +https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn011 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tp001 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tp002 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tp008 @@ -114,11 +139,6 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr04 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr05 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ts001 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ts002 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli01 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli02 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli03 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli04 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli05 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn01 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn02 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn03 @@ -135,7 +155,6 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0057 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0059 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0060 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0066 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0077 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0078 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0079 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0080 @@ -157,6 +176,7 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0098 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0099 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0100 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0101 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0102 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0103 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0104 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0105 @@ -167,6 +187,18 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0109 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0110 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0111 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0112 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0114 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0115 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0116 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0117 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0118 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0119 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0120 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0122 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0123 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0124 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0125 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0128 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc001 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc002 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc003 @@ -191,40 +223,105 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc022 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc023 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc024 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc025 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#te043 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#te044 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc026 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc028 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc029 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc030 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc031 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc032 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc033 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc034 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi04 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi05 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi06 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi08 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi09 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tec01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tec02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tem01 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten01 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten02 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten03 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten04 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten05 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten06 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tep02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tep03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter04 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter05 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter06 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter07 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter08 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter09 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter10 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter11 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter12 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter13 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter14 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter15 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter17 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter18 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter19 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter20 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter21 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter22 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter23 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter24 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter25 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter26 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter27 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter28 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter29 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter30 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter31 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter32 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter33 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter34 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter35 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter36 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter37 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter38 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter39 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter40 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter41 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter42 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter43 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter44 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter48 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter49 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter50 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter51 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter52 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tes01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th001 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th002 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th003 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th004 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th005 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th010 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th011 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th012 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th013 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th014 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th015 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th016 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th017 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th018 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th019 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th020 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th021 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#th022 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#thc01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#thc02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#thc03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#thc04 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#thc05 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tjs10 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tes02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin04 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin05 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin06 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin07 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin08 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin09 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tjs16 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tjs19 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tjs22 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli04 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli05 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli06 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli07 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli08 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli09 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli10 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm001 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm002 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm003 @@ -241,6 +338,10 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm013 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm014 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm015 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm016 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm017 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm018 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm019 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm020 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn001 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn002 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn003 @@ -248,6 +349,7 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn004 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn005 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn006 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn007 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn008 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi01 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi02 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi03 @@ -259,16 +361,6 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi08 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi09 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi10 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi11 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli04 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli05 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli06 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli07 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli08 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli09 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli10 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr01 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr03 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr04 @@ -289,6 +381,26 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr25 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr26 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr28 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr29 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr30 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr31 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr32 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr33 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr34 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr35 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr36 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr37 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr38 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr39 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr40 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso01 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso02 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso03 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso05 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso06 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso07 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso10 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso12 +https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso13 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ttn01 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ttn02 https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0005 @@ -297,16 +409,25 @@ https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0038 https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0040 https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0042 https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0043 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#th001 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#th002 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#th003 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#th004 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#te001 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin01 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin02 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin03 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin04 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin05 +https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin06 https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tli01 https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tli02 https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tli03 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#t0020 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#t0021 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#t0026 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tdi05 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tdi06 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tdi11 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tdi12 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tjs08 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tjs09 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli01 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli02 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli03 @@ -323,27 +444,178 @@ https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0010 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0011 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0012 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0013 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla01 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla03 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla04 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla05 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0016 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0017 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0018 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0045 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0068 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0069 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0080 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0088 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0090 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0091 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0096 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0097 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0099 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0100 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0106 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0118 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0126 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0128 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#th001 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#th002 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#th003 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc001 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc002 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc003 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc004 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc005 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc006 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc007 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc008 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc010 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc011 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc012 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc013 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc014 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc015 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc016 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc017 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc018 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc019 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc020 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc021 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc022 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc023 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc024 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc025 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc026 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc028 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc029 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc030 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc031 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc032 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc033 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc034 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi11 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te005 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te028 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te029 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te040 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te048 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te050 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te051 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te056 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te057 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te059 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te060 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te066 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te075 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te078 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te079 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te080 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te081 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te082 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te083 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te084 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te085 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te086 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te087 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te088 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te092 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te093 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te094 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te095 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te096 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te097 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te098 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te099 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te100 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te101 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te102 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te103 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te104 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te105 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te106 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te107 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te108 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te109 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te110 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te111 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te112 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te114 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te115 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te116 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te117 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te118 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te119 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te120 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te122 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te123 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0124 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0125 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te128 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tec01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tec02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tem01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tep02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tep03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter11 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter13 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter14 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter15 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter17 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter18 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter19 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter20 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter21 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter22 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter23 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter24 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter25 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter26 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter27 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter28 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter29 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter30 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter31 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter32 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter33 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter34 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter35 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter36 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter37 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter38 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter39 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter40 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter41 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter42 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter43 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter44 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter48 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter49 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter50 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter51 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter52 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs03 @@ -354,13 +626,155 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs10 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs12 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs13 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs14 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs15 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs16 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs17 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs18 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs19 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs21 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs22 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm001 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm002 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm003 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm004 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm005 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm006 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm007 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm008 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm009 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm010 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm011 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm012 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm013 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm014 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm015 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm016 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm017 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm018 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm019 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm020 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn001 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn002 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn003 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn004 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn005 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn006 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn007 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn008 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi11 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr11 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr16 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr17 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr18 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr19 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr20 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr21 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr22 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr25 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr26 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr28 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr29 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr30 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr31 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr32 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr33 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr34 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr35 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr36 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr37 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr38 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr39 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr40 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#trt01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso13 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ttn01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ttn02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf03 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf04 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf06 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf07 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#trt01 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te001 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tex01 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te002 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te003 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te004 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te005 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te006 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te010 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te011 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te012 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te013 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te014 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te015 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te016 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te017 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te018 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te019 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te020 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te021 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#te022 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tc001 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tc002 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tc003 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tc004 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tf001 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tf002 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tf003 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tf004 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr001 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr002 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr003 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr004 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr005 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr010 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr011 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr012 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr013 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr014 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr015 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr016 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr017 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr018 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr019 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr020 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr021 +https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr022 diff --git a/core/reports/json-ld-framing-tests-skip b/core/reports/json-ld-framing-tests-skip index 7ecb7349..2e046363 100644 --- a/core/reports/json-ld-framing-tests-skip +++ b/core/reports/json-ld-framing-tests-skip @@ -37,6 +37,10 @@ https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0061 https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0062 https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0063 https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0064 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0065 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0066 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0067 +https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0068 https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#teo01 https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg002 https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg003 diff --git a/core/src/test/resources/json-ld-api-tests/README.md b/core/src/test/resources/json-ld-api-tests/README.md index 417a89a6..770c48ac 100644 --- a/core/src/test/resources/json-ld-api-tests/README.md +++ b/core/src/test/resources/json-ld-api-tests/README.md @@ -9,46 +9,48 @@ More information and an RDFS definition of the test vocabulary can be found at [ # Design -Tests are defined into _compact_, _expand_, _flatten_, _remote-doc_, _fromRdf_, and _toRdf_ sections: +Tests driven from a top-level [manifest](manifest.jsonld) and are defined into [compact](compact-manifest.jsonld), [expand](expand-manifest.jsonld), [flatten](flatten-manifest.jsonld), [html](html-manifest.jsonld), [remote-doc](remote-doc-manifest.jsonld), [fromRdf](fromRdf-manifest.jsonld), and [toRdf](toRdf-manifest.jsonld) sections: -* _compact_ tests have _input_, _expected_ and _context_ documents. +* [compact](compact-manifest.jsonld) tests have _input_, _expected_ and _context_ documents. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. Additionally, if the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). For *NegativeEvaluationTests*, the result is a string associated with the expected error code. -* _expand_ tests have _input_ and _expected_ documents. +* [expand](expand-manifest.jsonld) tests have _input_ and _expected_ documents. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. + Expansion tests may have a `expandContext` option, which is treated + as an IRI relative to the manifest. + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. +* [html](html.jsonld) tests have _input_ and _expected_ documents and an optional _context_ document. + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output + after potentially remapping blank node identifiers (see below). + Additionally, if the result is compacted and the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. -* _flatten_ tests have _input_ and _expected_ documents and an optional _context_ document. +* [flatten](flatten-manifest.jsonld) tests have _input_ and _expected_ documents and an optional _context_ document. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). For *NegativeEvaluationTests*, the result is a string associated with the expected error code. -* _remote-doc_ tests have _input_ and _expected_ documents. +* [remote-doc](remote-doc-manifest.jsonld) tests have _input_ and _expected_ documents. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. - For *NegativeEvaluationTests*, the result is a string associated with the expected error code. Options may be present to describe the intended HTTP behavior: + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. + + Options may be present to describe the intended HTTP behavior: * _contentType_: Content-Type of the returned HTTP payload, defaults to the appropriate type for the _input_ suffix. * _httpStatus_: The HTTP status code to return, defaults to `200`. * _redirectTo_: The HTTP _Content-Location_ header value. * _httpLink_: The HTTP _Link_ header value. -* _fromRdf_ tests have _input_ and _expected_ documents. +* [fromRdf](fromRdf-manifest.jsonld) tests have _input_ and _expected_ documents. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. -* _toRdf_ tests have _input_ and _expected_ documents. +* [toRdf](toRdf-manifest.jsonld) tests have _input_ and _expected_ documents. The _expected_ results can be compared using [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism). -* _http_ tests have _input_ and _expected_ documents and an optional _context_ document. - These tests describe the behavior of an HTTP server performing content-negotiation using the ACCEPT header, specified using the _accept_ option to generate the _expected_ result document. - The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output - after potentially remapping blank node identifiers (see below). - Additionally, if the result is compacted and the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). - - If the result is to be compacted, and no explicit context URL is provided, test subjects should use http/default-context.jsonld - If the profile parameter includes http://example.com/do-not-use, test subjects should reject the URL and not accept the media type. Otherwise, for any other URL, applications should apply the specified URL for the context or frame, as appropriate. - - For *NegativeEvaluationTests*, the result is the expected HTTP status. Options may be present to describe the intended HTTP behavior: - * _accept_: The HTTP _Accept_ header value. + ToRdf tests may have a `expandContext` option, which is treated + as an IRI relative to the manifest. Unless `processingMode` is set explicitly in a test entry, `processingMode` is compatible with both `json-ld-1.0` and `json-ld-1.1`. @@ -63,16 +65,26 @@ JSON-LD Object comparison compares JSON objects, arrays, and values recursively * JSON objects are compared member by member without regard to the ordering of members within the object. Each member must have a corresponding member in the object being compared to. Values are compared recursively. * JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is `@list`). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of `@list`, the order of these items is significant. * JSON values are compared using strict equality. +* Values of `@language`, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way. Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have `@container: @list` and the comparison algorithm will not consider ordering significant. # Running tests +The top-level [manifest](manifest.jsonld) references the specific test manifests, which in turn reference each test associated with a particular type of behavior. + Implementations create their own infrastructure for running the test suite. In particular, the following should be considered: * _remote-doc_ tests will likely not return expected HTTP headers, so the _options_ should be used to determine what headers are associated with the input document. +* Test case properties identifying a file (_input_, _output_, _context_, _expectContext_, and _frame_) are presumed to have a media type appropriate for the file extension. + * `application/ld+json` for `.jsonld` + * `text/html` for `.html` + * `application/n-quads` for `.nq` +* The media type for the file associated with the _input_ property can be overridden using the `contentType` option. * Some algorithms, particularly _fromRdf_, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of `@list`. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition). +* Some _toRdf_ tests require the use of [JSON Canonicalization Scheme](https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-05) to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results using [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism). These tests are marked using the `useJCS` option. * When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from `_:b0` may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and _expected_ to datsets to extract a bijective mapping of blank node labels between the two datasets as described in [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism)). +* Some tests may have a `requires` property, indicating some optional behavior described by a test vocabulary term. # Contributing @@ -85,3 +97,10 @@ please follow these steps: 2. Clone the git repository: git://github.com/w3c/json-ld-wg.git 3. Make your changes and submit them via github, or via a 'git format-patch' to the [JSON-LD Working Group mailing list](mailto:json-ld-wg@w3.org). + +# Distribution + Distributed under the [W3C Test Suite License](http://www.w3.org/Consortium/Legal/2008/04-testsuite-license). To contribute to a W3C Test Suite, see the [policies and contribution forms](http://www.w3.org/2004/10/27-testcases). + +# Disclaimer + UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF. diff --git a/core/src/test/resources/json-ld-api-tests/Rakefile b/core/src/test/resources/json-ld-api-tests/Rakefile new file mode 100644 index 00000000..e79cea0a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/Rakefile @@ -0,0 +1,22 @@ +require 'bundler/setup' +require 'haml' +require 'json' +task default: %w( + manifest.html + compact-manifest.html + expand-manifest.html + flatten-manifest.html + fromRdf-manifest.html + html-manifest.html + remote-doc-manifest.html + toRdf-manifest.html) + +# Rule to build HTML files +rule '.html' => ['.jsonld', 'template.haml'] do |task| + puts "build #{task.name} from #{task.prerequisites.first}" + @template ||= File.read(File.expand_path('../template.haml', __FILE__)) + @engine ||= Haml::Engine.new(@template, format: :html5) + manifest = JSON.parse File.read(File.expand_path("../#{task.prerequisites.first}", __FILE__)) + html = @engine.render(self, manifest: manifest, json_file: task.prerequisites.first) + File.open(File.expand_path("../#{task.name}", __FILE__), "w") {|f| f.write(html)} +end diff --git a/core/src/test/resources/json-ld-api-tests/compact-manifest.html b/core/src/test/resources/json-ld-api-tests/compact-manifest.html new file mode 100644 index 00000000..f7c3b59c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact-manifest.html @@ -0,0 +1,7278 @@ + + + + + +Compaction + + + + + +

+ +W3C + +

+

Compaction

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +compact-manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD Framing Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

compact tests have input, expected and context documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output. Additionally, if the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior.

+ +

Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Test case properties identifying a file (input, output, context, expectContext, and frame) are presumed to have a media type appropriate for the file extension. + +
      +
    • application/ld+json for .jsonld
    • +
    • text/html for .html
    • +
    • application/n-quads for .nq
    • +
  • +
  • The media type for the file associated with the input property can be overridden using the contentType option.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • Some toRdf tests require the use of JSON Canonicalization Scheme to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results using RDF Dataset Isomorphism. These tests are marked using the useJCS option.
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
  • Some tests may have a requires property, indicating some optional behavior described by a test vocabulary term.
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-api.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+
+
baseIri
+
https://w3c.github.io/json-ld-api/tests/
+
+

JSON-LD Compaction tests.

+
+

+Test sequence: +

+
+
+Test t0001 drop free-floating nodes +
+
+
+
id
+
#t0001
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Unreferenced nodes not containing properties are dropped
+
input
+
+compact/0001-in.jsonld +
+
context
+
+compact/0001-context.jsonld +
+
expect
+
+compact/0001-out.jsonld +
+
+
+
+Test t0002 basic +
+
+
+
id
+
#t0002
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Basic term and value compaction
+
input
+
+compact/0002-in.jsonld +
+
context
+
+compact/0002-context.jsonld +
+
expect
+
+compact/0002-out.jsonld +
+
+
+
+Test t0003 drop null and unmapped properties +
+
+
+
id
+
#t0003
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Properties mapped to null or which are never mapped are dropped
+
input
+
+compact/0003-in.jsonld +
+
context
+
+compact/0003-context.jsonld +
+
expect
+
+compact/0003-out.jsonld +
+
+
+
+Test t0004 optimize @set, keep empty arrays +
+
+
+
id
+
#t0004
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Containers mapped to @set keep empty arrays
+
input
+
+compact/0004-in.jsonld +
+
context
+
+compact/0004-context.jsonld +
+
expect
+
+compact/0004-out.jsonld +
+
+
+
+Test t0005 @type and prefix compaction +
+
+
+
id
+
#t0005
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact uses prefixes in @type
+
input
+
+compact/0005-in.jsonld +
+
context
+
+compact/0005-context.jsonld +
+
expect
+
+compact/0005-out.jsonld +
+
+
+
+Test t0006 keep expanded object format if @type doesn't match +
+
+
+
id
+
#t0006
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Values not matching a coerced @type remain in expanded form
+
input
+
+compact/0006-in.jsonld +
+
context
+
+compact/0006-context.jsonld +
+
expect
+
+compact/0006-out.jsonld +
+
+
+
+Test t0007 add context +
+
+
+
id
+
#t0007
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
External context is added to the compacted document
+
input
+
+compact/0007-in.jsonld +
+
context
+
+compact/0007-context.jsonld +
+
expect
+
+compact/0007-out.jsonld +
+
+
+
+Test t0008 alias keywords +
+
+
+
id
+
#t0008
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Aliases for keywords are used in compacted document
+
input
+
+compact/0008-in.jsonld +
+
context
+
+compact/0008-context.jsonld +
+
expect
+
+compact/0008-out.jsonld +
+
+
+
+Test t0009 compact @id +
+
+
+
id
+
#t0009
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Value with @id is compacted to string if property cast to @id
+
input
+
+compact/0009-in.jsonld +
+
context
+
+compact/0009-context.jsonld +
+
expect
+
+compact/0009-out.jsonld +
+
+
+
+Test t0010 array to @graph +
+
+
+
id
+
#t0010
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
An array of objects is serialized with @graph
+
input
+
+compact/0010-in.jsonld +
+
context
+
+compact/0010-context.jsonld +
+
expect
+
+compact/0010-out.jsonld +
+
+
+
+Test t0011 compact date +
+
+
+
id
+
#t0011
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Expanded value with type xsd:dateTime is represented as string with type coercion
+
input
+
+compact/0011-in.jsonld +
+
context
+
+compact/0011-context.jsonld +
+
expect
+
+compact/0011-out.jsonld +
+
+
+
+Test t0012 native types +
+
+
+
id
+
#t0012
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Native values are unmodified during compaction
+
input
+
+compact/0012-in.jsonld +
+
context
+
+compact/0012-context.jsonld +
+
expect
+
+compact/0012-out.jsonld +
+
+
+
+Test t0013 @value with @language +
+
+
+
id
+
#t0013
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Values with @language remain in expanded form by default
+
input
+
+compact/0013-in.jsonld +
+
context
+
+compact/0013-context.jsonld +
+
expect
+
+compact/0013-out.jsonld +
+
+
+
+Test t0014 array to aliased @graph +
+
+
+
id
+
#t0014
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Aliasing @graph uses alias in compacted document
+
input
+
+compact/0014-in.jsonld +
+
context
+
+compact/0014-context.jsonld +
+
expect
+
+compact/0014-out.jsonld +
+
+
+
+Test t0015 best match compaction +
+
+
+
id
+
#t0015
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Property with values of different types use most appropriate term when compacting
+
input
+
+compact/0015-in.jsonld +
+
context
+
+compact/0015-context.jsonld +
+
expect
+
+compact/0015-out.jsonld +
+
+
+
+Test t0016 recursive named graphs +
+
+
+
id
+
#t0016
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting a document with multiple embedded uses of @graph
+
input
+
+compact/0016-in.jsonld +
+
context
+
+compact/0016-context.jsonld +
+
expect
+
+compact/0016-out.jsonld +
+
+
+
+Test t0017 A term mapping to null removes the mapping +
+
+
+
id
+
#t0017
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Mapping a term to null causes the property and its values to be removed from the compacted document
+
input
+
+compact/0017-in.jsonld +
+
context
+
+compact/0017-context.jsonld +
+
expect
+
+compact/0017-out.jsonld +
+
+
+
+Test t0018 best matching term for lists +
+
+
+
id
+
#t0018
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Lists with values of different types use best term in compacted document
+
input
+
+compact/0018-in.jsonld +
+
context
+
+compact/0018-context.jsonld +
+
expect
+
+compact/0018-out.jsonld +
+
+
+
+Test t0019 Keep duplicate values in @list and @set +
+
+
+
id
+
#t0019
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Duplicate values in @list or @set are retained in compacted document
+
input
+
+compact/0019-in.jsonld +
+
context
+
+compact/0019-context.jsonld +
+
expect
+
+compact/0019-out.jsonld +
+
+
+
+Test t0020 Compact @id that is a property IRI when @container is @list +
+
+
+
id
+
#t0020
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
A term with @container: @list is also used as the value of an @id, if appropriate
+
input
+
+compact/0020-in.jsonld +
+
context
+
+compact/0020-context.jsonld +
+
expect
+
+compact/0020-out.jsonld +
+
+
+
+Test t0021 Compact properties and types using @vocab +
+
+
+
id
+
#t0021
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
@vocab is used to create relative properties and types if no other term matches
+
input
+
+compact/0021-in.jsonld +
+
context
+
+compact/0021-context.jsonld +
+
expect
+
+compact/0021-out.jsonld +
+
+
+
+Test t0022 @list compaction of nested properties +
+
+
+
id
+
#t0022
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact nested properties using @list containers
+
input
+
+compact/0022-in.jsonld +
+
context
+
+compact/0022-context.jsonld +
+
expect
+
+compact/0022-out.jsonld +
+
+
+
+Test t0023 prefer @vocab over compacted IRIs +
+
+
+
id
+
#t0023
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
@vocab takes precedence over prefixes - even if the result is longer
+
input
+
+compact/0023-in.jsonld +
+
context
+
+compact/0023-context.jsonld +
+
expect
+
+compact/0023-out.jsonld +
+
+
+
+Test t0024 most specific term matching in @list. +
+
+
+
id
+
#t0024
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
The most specific term that matches all of the elements in the list, taking into account the default language, must be selected.
+
input
+
+compact/0024-in.jsonld +
+
context
+
+compact/0024-context.jsonld +
+
expect
+
+compact/0024-out.jsonld +
+
+
+
+Test t0025 Language maps +
+
+
+
id
+
#t0025
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Multiple values with different languages use language maps if property has @container: @language
+
input
+
+compact/0025-in.jsonld +
+
context
+
+compact/0025-context.jsonld +
+
expect
+
+compact/0025-out.jsonld +
+
+
+
+Test t0026 Language map term selection with complications +
+
+
+
id
+
#t0026
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Test appropriate property use given language maps with @vocab, a default language, and a competing term
+
input
+
+compact/0026-in.jsonld +
+
context
+
+compact/0026-context.jsonld +
+
expect
+
+compact/0026-out.jsonld +
+
+
+
+Test t0027 @container: @set with multiple values +
+
+
+
id
+
#t0027
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Fall back to term with @set container if term with language map is defined
+
input
+
+compact/0027-in.jsonld +
+
context
+
+compact/0027-context.jsonld +
+
expect
+
+compact/0027-out.jsonld +
+
+
+
+Test t0028 Alias keywords and use @vocab +
+
+
+
id
+
#t0028
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Combination of keyword aliases and @vocab
+
input
+
+compact/0028-in.jsonld +
+
context
+
+compact/0028-context.jsonld +
+
expect
+
+compact/0028-out.jsonld +
+
+
+
+Test t0029 Simple @index map +
+
+
+
id
+
#t0029
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Output uses index mapping if term is defined with @container: @index
+
input
+
+compact/0029-in.jsonld +
+
context
+
+compact/0029-context.jsonld +
+
expect
+
+compact/0029-out.jsonld +
+
+
+
+Test t0030 non-matching @container: @index +
+
+
+
id
+
#t0030
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Preserve @index tags if not compacted to an index map
+
input
+
+compact/0030-in.jsonld +
+
context
+
+compact/0030-context.jsonld +
+
expect
+
+compact/0030-out.jsonld +
+
+
+
+Test t0031 Compact @reverse +
+
+
+
id
+
#t0031
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact traverses through @reverse
+
input
+
+compact/0031-in.jsonld +
+
context
+
+compact/0031-context.jsonld +
+
expect
+
+compact/0031-out.jsonld +
+
+
+
+Test t0032 Compact keys in reverse-maps +
+
+
+
id
+
#t0032
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact traverses through @reverse
+
input
+
+compact/0032-in.jsonld +
+
context
+
+compact/0032-context.jsonld +
+
expect
+
+compact/0032-out.jsonld +
+
+
+
+Test t0033 Compact reverse-map to reverse property +
+
+
+
id
+
#t0033
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
A reverse map is replaced with a matching property defined with @reverse
+
input
+
+compact/0033-in.jsonld +
+
context
+
+compact/0033-context.jsonld +
+
expect
+
+compact/0033-out.jsonld +
+
+
+
+Test t0034 Skip property with @reverse if no match +
+
+
+
id
+
#t0034
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Do not use reverse property if no other property matches as normal property
+
input
+
+compact/0034-in.jsonld +
+
context
+
+compact/0034-context.jsonld +
+
expect
+
+compact/0034-out.jsonld +
+
+
+
+Test t0035 Compact @reverse node references using strings +
+
+
+
id
+
#t0035
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact node references to strings for reverse properties using @type: @id
+
input
+
+compact/0035-in.jsonld +
+
context
+
+compact/0035-context.jsonld +
+
expect
+
+compact/0035-out.jsonld +
+
+
+
+Test t0036 Compact reverse properties using index containers +
+
+
+
id
+
#t0036
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact using both reverse properties and index containers
+
input
+
+compact/0036-in.jsonld +
+
context
+
+compact/0036-context.jsonld +
+
expect
+
+compact/0036-out.jsonld +
+
+
+
+Test t0037 Compact keys in @reverse using @vocab +
+
+
+
id
+
#t0037
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact keys in @reverse using @vocab
+
input
+
+compact/0037-in.jsonld +
+
context
+
+compact/0037-context.jsonld +
+
expect
+
+compact/0037-out.jsonld +
+
+
+
+Test t0038 Index map round-tripping +
+
+
+
id
+
#t0038
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Complex round-tripping use case from Drupal
+
input
+
+compact/0038-in.jsonld +
+
context
+
+compact/0038-context.jsonld +
+
expect
+
+compact/0038-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test ta038 Index map round-tripping +
+
+
+
id
+
#ta038
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Complex round-tripping use case from Drupal
+
input
+
+compact/0038-in.jsonld +
+
context
+
+compact/0038-context.jsonld +
+
expect
+
+compact/0038a-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0039 @graph is array +
+
+
+
id
+
#t0039
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Value of @graph is always an array
+
input
+
+compact/0039-in.jsonld +
+
context
+
+compact/0039-context.jsonld +
+
expect
+
+compact/0039-out.jsonld +
+
+
+
+Test t0040 @list is array +
+
+
+
id
+
#t0040
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure that value of @list is always an array
+
input
+
+compact/0040-in.jsonld +
+
context
+
+compact/0040-context.jsonld +
+
expect
+
+compact/0040-out.jsonld +
+
+
+
+Test t0041 index rejects term having @list +
+
+
+
id
+
#t0041
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
If an index is present, a term having an @list container is not selected
+
input
+
+compact/0041-in.jsonld +
+
context
+
+compact/0041-context.jsonld +
+
expect
+
+compact/0041-out.jsonld +
+
+
+
+Test t0042 @list keyword aliasing +
+
+
+
id
+
#t0042
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Make sure keyword aliasing works if a list can't be compacted
+
input
+
+compact/0042-in.jsonld +
+
context
+
+compact/0042-context.jsonld +
+
expect
+
+compact/0042-out.jsonld +
+
+
+
+Test t0043 select term over @vocab +
+
+
+
id
+
#t0043
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure that @vocab compaction isn't used if the result collides with a term
+
input
+
+compact/0043-in.jsonld +
+
context
+
+compact/0043-context.jsonld +
+
expect
+
+compact/0043-out.jsonld +
+
+
+
+Test t0044 @type: @vocab in reverse-map +
+
+
+
id
+
#t0044
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Prefer properties with @type: @vocab in reverse-maps if the value can be compacted to a term
+
input
+
+compact/0044-in.jsonld +
+
context
+
+compact/0044-context.jsonld +
+
expect
+
+compact/0044-out.jsonld +
+
+
+
+Test t0045 @id value uses relative IRI, not term +
+
+
+
id
+
#t0045
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Values of @id are transformed to relative IRIs, terms are ignored
+
input
+
+compact/0045-in.jsonld +
+
context
+
+compact/0045-context.jsonld +
+
expect
+
+compact/0045-out.jsonld +
+
+
+
+Test t0046 multiple objects without @context use @graph +
+
+
+
id
+
#t0046
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Wrap top-level array into @graph even if no context is passed
+
input
+
+compact/0046-in.jsonld +
+
context
+
+compact/0046-context.jsonld +
+
expect
+
+compact/0046-out.jsonld +
+
+
+
+Test t0047 Round-trip relative URLs +
+
+
+
id
+
#t0047
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Relative URLs remain relative after compaction
+
input
+
+compact/0047-in.jsonld +
+
context
+
+compact/0047-context.jsonld +
+
expect
+
+compact/0047-out.jsonld +
+
+
+
+Test t0048 term with @language: null +
+
+
+
id
+
#t0048
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Prefer terms with a language mapping set to null over terms without language-mapping for non-strings
+
input
+
+compact/0048-in.jsonld +
+
context
+
+compact/0048-context.jsonld +
+
expect
+
+compact/0048-out.jsonld +
+
+
+
+Test t0049 Round tripping of lists that contain just IRIs +
+
+
+
id
+
#t0049
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
List compaction without @container: @list still uses strings if @type: @id
+
input
+
+compact/0049-in.jsonld +
+
context
+
+compact/0049-context.jsonld +
+
expect
+
+compact/0049-out.jsonld +
+
+
+
+Test t0050 Reverse properties require @type: @id to use string values +
+
+
+
id
+
#t0050
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Node references in reverse properties are not compacted to strings without explicit type-coercion
+
input
+
+compact/0050-in.jsonld +
+
context
+
+compact/0050-context.jsonld +
+
expect
+
+compact/0050-out.jsonld +
+
+
+
+Test t0051 Round tripping @list with scalar +
+
+
+
id
+
#t0051
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Native values survive round-tripping with @list
+
input
+
+compact/0051-in.jsonld +
+
context
+
+compact/0051-context.jsonld +
+
expect
+
+compact/0051-out.jsonld +
+
+
+
+Test t0052 Round tripping @list with scalar and @graph alias +
+
+
+
id
+
#t0052
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Native values survive round-tripping with @list and @graph alias
+
input
+
+compact/0052-in.jsonld +
+
context
+
+compact/0052-context.jsonld +
+
expect
+
+compact/0052-out.jsonld +
+
+
+
+Test t0053 Use @type: @vocab if no @type: @id +
+
+
+
id
+
#t0053
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact to @type: @vocab when no @type: @id term available
+
input
+
+compact/0053-in.jsonld +
+
context
+
+compact/0053-context.jsonld +
+
expect
+
+compact/0053-out.jsonld +
+
+
+
+Test t0054 Compact to @type: @vocab and compact @id to term +
+
+
+
id
+
#t0054
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact to @type: @vocab and compact @id to term
+
input
+
+compact/0054-in.jsonld +
+
context
+
+compact/0054-context.jsonld +
+
expect
+
+compact/0054-out.jsonld +
+
+
+
+Test t0055 Round tripping @type: @vocab +
+
+
+
id
+
#t0055
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting IRI value of property with @type: @vocab can use term
+
input
+
+compact/0055-in.jsonld +
+
context
+
+compact/0055-context.jsonld +
+
expect
+
+compact/0055-out.jsonld +
+
+
+
+Test t0056 Prefer @type: @vocab over @type: @id for terms +
+
+
+
id
+
#t0056
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting IRI value of property with @type: @vocab can use term
+
input
+
+compact/0056-in.jsonld +
+
context
+
+compact/0056-context.jsonld +
+
expect
+
+compact/0056-out.jsonld +
+
+
+
+Test t0057 Complex round tripping @type: @vocab and @type: @id +
+
+
+
id
+
#t0057
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting IRI value of property with @type: @vocab can use term; more complex
+
input
+
+compact/0057-in.jsonld +
+
context
+
+compact/0057-context.jsonld +
+
expect
+
+compact/0057-out.jsonld +
+
+
+
+Test t0058 Prefer @type: @id over @type: @vocab for non-terms +
+
+
+
id
+
#t0058
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Choose a term having @type: @id over @type: @value if value is not a term
+
input
+
+compact/0058-in.jsonld +
+
context
+
+compact/0058-context.jsonld +
+
expect
+
+compact/0058-out.jsonld +
+
+
+
+Test t0059 Term with @type: @vocab if no @type: @id +
+
+
+
id
+
#t0059
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
If there's no term with @type: @id, use terms with @type: @vocab for IRIs not mapped to terms
+
input
+
+compact/0059-in.jsonld +
+
context
+
+compact/0059-context.jsonld +
+
expect
+
+compact/0059-out.jsonld +
+
+
+
+Test t0060 Term with @type: @id if no @type: @vocab and term value +
+
+
+
id
+
#t0060
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
If there's no term with @type: @vocab, use terms with @type: @id for IRIs mapped to terms
+
input
+
+compact/0060-in.jsonld +
+
context
+
+compact/0060-context.jsonld +
+
expect
+
+compact/0060-out.jsonld +
+
+
+
+Test t0061 @type: @vocab/@id with values matching either +
+
+
+
id
+
#t0061
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Separate IRIs for the same property to use term with more specific @type (@id vs. @vocab)
+
input
+
+compact/0061-in.jsonld +
+
context
+
+compact/0061-context.jsonld +
+
expect
+
+compact/0061-out.jsonld +
+
+
+
+Test t0062 @type: @vocab and relative IRIs +
+
+
+
id
+
#t0062
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Relative IRIs don't round-trip with @type: @vocab
+
input
+
+compact/0062-in.jsonld +
+
context
+
+compact/0062-context.jsonld +
+
expect
+
+compact/0062-out.jsonld +
+
+
+
+Test t0063 Compact IRI round-tripping with @type: @vocab +
+
+
+
id
+
#t0063
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Term with @type: @vocab will use compact IRIs
+
input
+
+compact/0063-in.jsonld +
+
context
+
+compact/0063-context.jsonld +
+
expect
+
+compact/0063-out.jsonld +
+
+
+
+Test t0064 Compact language-tagged and indexed strings to index-map +
+
+
+
id
+
#t0064
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Given values with both @index and @language and term index-map term, use index map
+
input
+
+compact/0064-in.jsonld +
+
context
+
+compact/0064-context.jsonld +
+
expect
+
+compact/0064-out.jsonld +
+
+
+
+Test t0065 Language-tagged and indexed strings with language-map +
+
+
+
id
+
#t0065
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Language-tagged and indexed strings don't compact to language-map
+
input
+
+compact/0065-in.jsonld +
+
context
+
+compact/0065-context.jsonld +
+
expect
+
+compact/0065-out.jsonld +
+
+
+
+Test t0066 Relative IRIs +
+
+
+
id
+
#t0066
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Complex use cases for relative IRI compaction
+
input
+
+compact/0066-in.jsonld +
+
context
+
+compact/0066-context.jsonld +
+
expect
+
+compact/0066-out.jsonld +
+
+
+
+Test t0067 Reverse properties with blank nodes +
+
+
+
id
+
#t0067
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact reverse property whose values are unlabeled blank nodes
+
input
+
+compact/0067-in.jsonld +
+
context
+
+compact/0067-context.jsonld +
+
expect
+
+compact/0067-out.jsonld +
+
+
+
+Test t0068 Single value reverse properties +
+
+
+
id
+
#t0068
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Single values of reverse properties are compacted as values of ordinary properties
+
input
+
+compact/0068-in.jsonld +
+
context
+
+compact/0068-context.jsonld +
+
expect
+
+compact/0068-out.jsonld +
+
+
+
+Test t0069 Single value reverse properties with @set +
+
+
+
id
+
#t0069
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Single values are kept in array form for reverse properties if the container is to @set
+
input
+
+compact/0069-in.jsonld +
+
context
+
+compact/0069-context.jsonld +
+
expect
+
+compact/0069-out.jsonld +
+
+
+
+Test t0070 compactArrays option +
+
+
+
id
+
#t0070
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Setting compactArrays to false causes single element arrays to be retained
+
input
+
+compact/0070-in.jsonld +
+
context
+
+compact/0070-context.jsonld +
+
expect
+
+compact/0070-out.jsonld +
+
Options
+
+
+
compactArrays
+
false
+
+
+
+
+
+Test t0071 Input has multiple @contexts, output has one +
+
+
+
id
+
#t0071
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Expanding input with multiple @contexts and compacting with just one doesn't output undefined properties
+
input
+
+compact/0071-in.jsonld +
+
context
+
+compact/0071-context.jsonld +
+
expect
+
+compact/0071-out.jsonld +
+
+
+
+Test t0072 Default language and unmapped properties +
+
+
+
id
+
#t0072
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure that the default language is handled correctly for unmapped properties
+
input
+
+compact/0072-in.jsonld +
+
context
+
+compact/0072-context.jsonld +
+
expect
+
+compact/0072-out.jsonld +
+
+
+
+Test t0073 Mapped @id and @type +
+
+
+
id
+
#t0073
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure that compaction works with mapped @id and @type
+
input
+
+compact/0073-in.jsonld +
+
context
+
+compact/0073-context.jsonld +
+
expect
+
+compact/0073-out.jsonld +
+
+
+
+Test t0074 Container as a list with type of @id +
+
+
+
id
+
#t0074
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure that compaction works for empty list when property has container declared as @list and type as @id
+
input
+
+compact/0074-in.jsonld +
+
context
+
+compact/0074-context.jsonld +
+
expect
+
+compact/0074-out.jsonld +
+
+
+
+Test t0075 Compact using relative fragment identifier +
+
+
+
id
+
#t0075
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting a relative round-trips
+
input
+
+compact/0075-in.jsonld +
+
context
+
+compact/0075-context.jsonld +
+
expect
+
+compact/0075-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
base
+
http://example.org/
+
+
+
+
+
+Test t0076 Compacting IRI equivalent to base +
+
+
+
id
+
#t0076
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting IRI equivalent to base, uses last path segment of base ending in '/'
+
input
+
+compact/0076-in.jsonld +
+
context
+
+compact/0076-context.jsonld +
+
expect
+
+compact/0076-out.jsonld +
+
+
+
+Test t0077 Compact a @graph container +
+
+
+
id
+
#t0077
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact a @graph container
+
input
+
+compact/0077-in.jsonld +
+
context
+
+compact/0077-context.jsonld +
+
expect
+
+compact/0077-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0078 Compact a [@graph, @set] container +
+
+
+
id
+
#t0078
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact with [@graph, @set]
+
input
+
+compact/0078-in.jsonld +
+
context
+
+compact/0078-context.jsonld +
+
expect
+
+compact/0078-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0079 Compact a @graph container having @index +
+
+
+
id
+
#t0079
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Verify that having both @graph and @index allows @graph container compaction
+
input
+
+compact/0079-in.jsonld +
+
context
+
+compact/0079-context.jsonld +
+
expect
+
+compact/0079-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0080 Do not compact a graph having @id with a term having an @graph container +
+
+
+
id
+
#t0080
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Graph compaction works only on simple graphs
+
input
+
+compact/0080-in.jsonld +
+
context
+
+compact/0080-context.jsonld +
+
expect
+
+compact/0080-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0081 Compact a [@graph, @index] container +
+
+
+
id
+
#t0081
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact a @graph container with @index
+
input
+
+compact/0081-in.jsonld +
+
context
+
+compact/0081-context.jsonld +
+
expect
+
+compact/0081-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0082 Compact a [@graph, @index, @set] container +
+
+
+
id
+
#t0082
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact a @graph container with @index and @set
+
input
+
+compact/0082-in.jsonld +
+
context
+
+compact/0082-context.jsonld +
+
expect
+
+compact/0082-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0083 [@graph, @index] does not compact graph with @id +
+
+
+
id
+
#t0083
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Graph compaction with @graph and @index works only on simple graphs
+
input
+
+compact/0083-in.jsonld +
+
context
+
+compact/0083-context.jsonld +
+
expect
+
+compact/0083-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0084 Compact a simple graph with a [@graph, @id] container +
+
+
+
id
+
#t0084
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact a simple graph using a @graph container with @id
+
input
+
+compact/0084-in.jsonld +
+
context
+
+compact/0084-context.jsonld +
+
expect
+
+compact/0084-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0085 Compact a named graph with a [@graph, @id] container +
+
+
+
id
+
#t0085
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact a named graph using a @graph container with @id
+
input
+
+compact/0085-in.jsonld +
+
context
+
+compact/0085-context.jsonld +
+
expect
+
+compact/0085-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0086 Compact a simple graph with a [@graph, @id, @set] container +
+
+
+
id
+
#t0086
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact a simple graph using a @graph container with @id and @set
+
input
+
+compact/0086-in.jsonld +
+
context
+
+compact/0086-context.jsonld +
+
expect
+
+compact/0086-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0087 Compact a named graph with a [@graph, @id, @set] container +
+
+
+
id
+
#t0087
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact a named graph using a @graph container with @id and @set
+
input
+
+compact/0087-in.jsonld +
+
context
+
+compact/0087-context.jsonld +
+
expect
+
+compact/0087-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0088 Compact a graph with @index using a [@graph, @id] container +
+
+
+
id
+
#t0088
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact a @graph container with @id and @set, discarding an @index value
+
input
+
+compact/0088-in.jsonld +
+
context
+
+compact/0088-context.jsonld +
+
expect
+
+compact/0088-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0089 Language map term selection with complications +
+
+
+
id
+
#t0089
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Test appropriate property use given language maps with @vocab, a default language, no language, and competing terms
+
input
+
+compact/0089-in.jsonld +
+
context
+
+compact/0089-context.jsonld +
+
expect
+
+compact/0089-out.jsonld +
+
+
+
+Test t0090 Compact input with @graph container to output without @graph container +
+
+
+
id
+
#t0090
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0090-in.jsonld +
+
context
+
+compact/0090-context.jsonld +
+
expect
+
+compact/0090-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0091 Compact input with @graph container to output without @graph container with compactArrays unset +
+
+
+
id
+
#t0091
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output with compactArrays unset
+
input
+
+compact/0091-in.jsonld +
+
context
+
+compact/0091-context.jsonld +
+
expect
+
+compact/0091-out.jsonld +
+
Options
+
+
+
compactArrays
+
false
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0092 Compact input with [@graph, @set] container to output without [@graph, @set] container +
+
+
+
id
+
#t0092
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0092-in.jsonld +
+
context
+
+compact/0092-context.jsonld +
+
expect
+
+compact/0092-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0093 Compact input with [@graph, @set] container to output without [@graph, @set] container with compactArrays unset +
+
+
+
id
+
#t0093
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output with compactArrays unset
+
input
+
+compact/0093-in.jsonld +
+
context
+
+compact/0093-context.jsonld +
+
expect
+
+compact/0093-out.jsonld +
+
Options
+
+
+
compactArrays
+
false
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0094 Compact input with [@graph, @set] container to output without [@graph, @set] container +
+
+
+
id
+
#t0094
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0094-in.jsonld +
+
context
+
+compact/0094-context.jsonld +
+
expect
+
+compact/0094-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0095 Relative propererty IRIs with @vocab: '' +
+
+
+
id
+
#t0095
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Complex use cases for relative IRI compaction or properties
+
input
+
+compact/0095-in.jsonld +
+
context
+
+compact/0095-context.jsonld +
+
expect
+
+compact/0095-out.jsonld +
+
+
+
+Test t0096 Compact @graph container (multiple graphs) +
+
+
+
id
+
#t0096
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0096-in.jsonld +
+
context
+
+compact/0096-context.jsonld +
+
expect
+
+compact/0096-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0097 Compact [@graph, @set] container (multiple graphs) +
+
+
+
id
+
#t0097
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0097-in.jsonld +
+
context
+
+compact/0097-context.jsonld +
+
expect
+
+compact/0097-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0098 Compact [@graph, @index] container (multiple indexed objects) +
+
+
+
id
+
#t0098
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0098-in.jsonld +
+
context
+
+compact/0098-context.jsonld +
+
expect
+
+compact/0098-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0099 Compact [@graph, @index, @set] container (multiple indexed objects) +
+
+
+
id
+
#t0099
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0099-in.jsonld +
+
context
+
+compact/0099-context.jsonld +
+
expect
+
+compact/0099-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0100 Compact [@graph, @id] container (multiple indexed objects) +
+
+
+
id
+
#t0100
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0100-in.jsonld +
+
context
+
+compact/0100-context.jsonld +
+
expect
+
+compact/0100-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0101 Compact [@graph, @id, @set] container (multiple indexed objects) +
+
+
+
id
+
#t0101
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0101-in.jsonld +
+
context
+
+compact/0101-context.jsonld +
+
expect
+
+compact/0101-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0102 Compact [@graph, @index] container (multiple indexes and objects) +
+
+
+
id
+
#t0102
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0102-in.jsonld +
+
context
+
+compact/0102-context.jsonld +
+
expect
+
+compact/0102-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0103 Compact [@graph, @id] container (multiple ids and objects) +
+
+
+
id
+
#t0103
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensure @graph appears properly in output
+
input
+
+compact/0103-in.jsonld +
+
context
+
+compact/0103-context.jsonld +
+
expect
+
+compact/0103-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0104 Compact @type with @container: @set +
+
+
+
id
+
#t0104
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensures that a single @type value is represented as an array
+
input
+
+compact/0104-in.jsonld +
+
context
+
+compact/0104-context.jsonld +
+
expect
+
+compact/0104-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0105 Compact @type with @container: @set using an alias of @type +
+
+
+
id
+
#t0105
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensures that a single @type value is represented as an array
+
input
+
+compact/0105-in.jsonld +
+
context
+
+compact/0105-context.jsonld +
+
expect
+
+compact/0105-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0106 Do not compact @type with @container: @set to an array using an alias of @type +
+
+
+
id
+
#t0106
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Ensures that a single @type value is not represented as an array in 1.0
+
input
+
+compact/0106-in.jsonld +
+
context
+
+compact/0106-context.jsonld +
+
expect
+
+compact/0106-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0107 Relative propererty IRIs with @vocab: '' +
+
+
+
id
+
#t0107
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Complex use cases for relative IRI compaction or properties
+
input
+
+compact/0107-in.jsonld +
+
context
+
+compact/0107-context.jsonld +
+
expect
+
+compact/0107-out.jsonld +
+
+
+
+Test t0108 context with JavaScript Object property names +
+
+
+
id
+
#t0108
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact with context including JavaScript Object property names
+
input
+
+compact/0108-in.jsonld +
+
context
+
+compact/0108-context.jsonld +
+
expect
+
+compact/0108-out.jsonld +
+
+
+
+Test t0109 Compact @graph container (multiple objects) +
+
+
+
id
+
#t0109
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Multiple objects in a simple graph with a graph container need to use @included
+
input
+
+compact/0109-in.jsonld +
+
context
+
+compact/0109-context.jsonld +
+
expect
+
+compact/0109-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0110 Compact [@graph, @set] container (multiple objects) +
+
+
+
id
+
#t0110
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Multiple objects in a simple graph with a graph container need to use @included
+
input
+
+compact/0110-in.jsonld +
+
context
+
+compact/0110-context.jsonld +
+
expect
+
+compact/0110-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc001 adding new term +
+
+
+
id
+
#tc001
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using a scoped context uses term scope for selecting proper term
+
input
+
+compact/c001-in.jsonld +
+
context
+
+compact/c001-context.jsonld +
+
expect
+
+compact/c001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc002 overriding a term +
+
+
+
id
+
#tc002
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using a scoped context uses term scope for selecting proper term
+
input
+
+compact/c002-in.jsonld +
+
context
+
+compact/c002-context.jsonld +
+
expect
+
+compact/c002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc003 property and value with different terms mapping to the same expanded property +
+
+
+
id
+
#tc003
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using a scoped context uses term scope for selecting proper term
+
input
+
+compact/c003-in.jsonld +
+
context
+
+compact/c003-context.jsonld +
+
expect
+
+compact/c003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc004 deep @context affects nested nodes +
+
+
+
id
+
#tc004
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using a scoped context uses term scope for selecting proper term
+
input
+
+compact/c004-in.jsonld +
+
context
+
+compact/c004-context.jsonld +
+
expect
+
+compact/c004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc005 scoped context layers on intemediate contexts +
+
+
+
id
+
#tc005
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using a scoped context uses term scope for selecting proper term
+
input
+
+compact/c005-in.jsonld +
+
context
+
+compact/c005-context.jsonld +
+
expect
+
+compact/c005-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc006 adding new term +
+
+
+
id
+
#tc006
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
scoped context on @type
+
input
+
+compact/c006-in.jsonld +
+
context
+
+compact/c006-context.jsonld +
+
expect
+
+compact/c006-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc007 overriding a term +
+
+
+
id
+
#tc007
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
scoped context on @type
+
input
+
+compact/c007-in.jsonld +
+
context
+
+compact/c007-context.jsonld +
+
expect
+
+compact/c007-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc008 alias of @type +
+
+
+
id
+
#tc008
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
scoped context on @type
+
input
+
+compact/c008-in.jsonld +
+
context
+
+compact/c008-context.jsonld +
+
expect
+
+compact/c008-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc009 deep @type-scoped @context does NOT affect nested nodes +
+
+
+
id
+
#tc009
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
scoped context on @type
+
input
+
+compact/c009-in.jsonld +
+
context
+
+compact/c009-context.jsonld +
+
expect
+
+compact/c009-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc010 scoped context layers on intemediate contexts +
+
+
+
id
+
#tc010
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
scoped context on @type
+
input
+
+compact/c010-in.jsonld +
+
context
+
+compact/c010-context.jsonld +
+
expect
+
+compact/c010-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc011 applies context for all values +
+
+
+
id
+
#tc011
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
scoped context on @type
+
input
+
+compact/c011-in.jsonld +
+
context
+
+compact/c011-context.jsonld +
+
expect
+
+compact/c011-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc012 orders @type terms when applying scoped contexts +
+
+
+
id
+
#tc012
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
scoped context on @type
+
input
+
+compact/c012-in.jsonld +
+
context
+
+compact/c012-context.jsonld +
+
expect
+
+compact/c012-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc013 deep property-term scoped @context in @type-scoped @context affects nested nodes +
+
+
+
id
+
#tc013
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
scoped context on @type
+
input
+
+compact/c013-in.jsonld +
+
context
+
+compact/c013-context.jsonld +
+
expect
+
+compact/c013-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc014 type-scoped context nullification +
+
+
+
id
+
#tc014
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Nullifying a type-scoped context continues to use the previous context when compacting @type.
+
input
+
+compact/c014-in.jsonld +
+
context
+
+compact/c014-context.jsonld +
+
expect
+
+compact/c014-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc015 type-scoped base +
+
+
+
id
+
#tc015
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
type-scoped base
+
input
+
+compact/c015-in.jsonld +
+
context
+
+compact/c015-context.jsonld +
+
expect
+
+compact/c015-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc016 type-scoped vocab +
+
+
+
id
+
#tc016
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
type-scoped vocab
+
input
+
+compact/c016-in.jsonld +
+
context
+
+compact/c016-context.jsonld +
+
expect
+
+compact/c016-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc017 multiple type-scoped contexts are properly reverted +
+
+
+
id
+
#tc017
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
multiple type-scoped contexts are property reverted
+
input
+
+compact/c017-in.jsonld +
+
context
+
+compact/c017-context.jsonld +
+
expect
+
+compact/c017-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc018 multiple type-scoped types resolved against previous context +
+
+
+
id
+
#tc018
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
multiple type-scoped types resolved against previous context
+
input
+
+compact/c018-in.jsonld +
+
context
+
+compact/c018-context.jsonld +
+
expect
+
+compact/c018-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc019 type-scoped context with multiple property scoped terms +
+
+
+
id
+
#tc019
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
type-scoped context with multiple property scoped terms
+
input
+
+compact/c019-in.jsonld +
+
context
+
+compact/c019-context.jsonld +
+
expect
+
+compact/c019-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc020 type-scoped value +
+
+
+
id
+
#tc020
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
type-scoped value
+
input
+
+compact/c020-in.jsonld +
+
context
+
+compact/c020-context.jsonld +
+
expect
+
+compact/c020-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc021 type-scoped value mix +
+
+
+
id
+
#tc021
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
type-scoped value mix
+
input
+
+compact/c021-in.jsonld +
+
context
+
+compact/c021-context.jsonld +
+
expect
+
+compact/c021-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc022 type-scoped property-scoped contexts including @type:@vocab +
+
+
+
id
+
#tc022
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
type-scoped property-scoped contexts including @type:@vocab
+
input
+
+compact/c022-in.jsonld +
+
context
+
+compact/c022-context.jsonld +
+
expect
+
+compact/c022-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc023 composed type-scoped property-scoped contexts including @type:@vocab +
+
+
+
id
+
#tc023
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
composed type-scoped property-scoped contexts including @type:@vocab
+
input
+
+compact/c023-in.jsonld +
+
context
+
+compact/c023-context.jsonld +
+
expect
+
+compact/c023-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc024 type-scoped + property-scoped + values evaluates against previous context +
+
+
+
id
+
#tc024
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
type-scoped + property-scoped + values evaluates against previous context
+
input
+
+compact/c024-in.jsonld +
+
context
+
+compact/c024-context.jsonld +
+
expect
+
+compact/c024-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc025 type-scoped + graph container +
+
+
+
id
+
#tc025
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
type-scoped + graph container
+
input
+
+compact/c025-in.jsonld +
+
context
+
+compact/c025-context.jsonld +
+
expect
+
+compact/c025-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc026 @propagate: true on type-scoped context +
+
+
+
id
+
#tc026
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
type-scoped context with @propagate: true survive node-objects
+
input
+
+compact/c026-in.jsonld +
+
context
+
+compact/c026-context.jsonld +
+
expect
+
+compact/c026-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc027 @propagate: false on property-scoped context +
+
+
+
id
+
#tc027
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
property-scoped context with @propagate: false do not survive node-objects
+
input
+
+compact/c027-in.jsonld +
+
context
+
+compact/c027-context.jsonld +
+
expect
+
+compact/c027-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi01 term direction null +
+
+
+
id
+
#tdi01
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Uses term with null direction when two terms conflict on direction.
+
input
+
+compact/di01-in.jsonld +
+
context
+
+compact/di01-context.jsonld +
+
expect
+
+compact/di01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi02 use alias of @direction +
+
+
+
id
+
#tdi02
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Use alias of @direction.
+
input
+
+compact/di02-in.jsonld +
+
context
+
+compact/di02-context.jsonld +
+
expect
+
+compact/di02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi03 term selection with lists and direction +
+
+
+
id
+
#tdi03
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Term selection includes values of @list.
+
input
+
+compact/di03-in.jsonld +
+
context
+
+compact/di03-context.jsonld +
+
expect
+
+compact/di03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi04 simple language map with term direction +
+
+
+
id
+
#tdi04
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+compact/di04-in.jsonld +
+
context
+
+compact/di04-context.jsonld +
+
expect
+
+compact/di04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi05 simple language map with overriding term direction +
+
+
+
id
+
#tdi05
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+compact/di05-in.jsonld +
+
context
+
+compact/di05-context.jsonld +
+
expect
+
+compact/di05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi06 simple language map with overriding null direction +
+
+
+
id
+
#tdi06
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+compact/di06-in.jsonld +
+
context
+
+compact/di06-context.jsonld +
+
expect
+
+compact/di06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi07 simple language map with mismatching term direction +
+
+
+
id
+
#tdi07
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+compact/di07-in.jsonld +
+
context
+
+compact/di07-context.jsonld +
+
expect
+
+compact/di07-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te001 Compaction to list of lists +
+
+
+
id
+
#te001
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
Verifies that an exception is raised in Compaction when attempting to compact a list of lists
+
input
+
+compact/e001-in.jsonld +
+
context
+
+compact/e001-context.jsonld +
+
expect
+
+compaction to list of lists +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test te002 Absolute IRI confused with Compact IRI +
+
+
+
id
+
#te002
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
Verifies that IRI compaction detects when the result is an absolute IRI with a scheme matching a term.
+
input
+
+compact/e002-in.jsonld +
+
context
+
+compact/e002-context.jsonld +
+
expect
+
+IRI confused with prefix +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten01 Nest term not defined +
+
+
+
id
+
#ten01
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
Transparent Nesting
+
input
+
+compact/en01-in.jsonld +
+
context
+
+compact/en01-context.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep05 processingMode json-ld-1.0 conflicts with @version: 1.1 +
+
+
+
id
+
#tep05
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
If processingMode is explicitly json-ld-1.0, it will conflict with 1.1 features.
+
input
+
+compact/ep05-in.jsonld +
+
context
+
+compact/ep05-context.jsonld +
+
expect
+
+processing mode conflict +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep06 @version must be 1.1 +
+
+
+
id
+
#tep06
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
If @version is specified, it must be 1.1
+
input
+
+compact/ep06-in.jsonld +
+
context
+
+compact/ep06-context.jsonld +
+
expect
+
+invalid @version value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep07 @prefix is not allowed in 1.0 +
+
+
+
id
+
#tep07
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
@prefix is not allowed in a term definition 1.0
+
input
+
+compact/ep07-in.jsonld +
+
context
+
+compact/ep07-context.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep08 @prefix must be a boolean +
+
+
+
id
+
#tep08
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
@prefix must be a boolean in a term definition in 1.1
+
input
+
+compact/ep08-in.jsonld +
+
context
+
+compact/ep08-context.jsonld +
+
expect
+
+invalid @prefix value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep09 @prefix not allowed on compact IRI term +
+
+
+
id
+
#tep09
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
If processingMode is json-ld-1.0, or if term contains a colon (:), an invalid term definition has been detected and processing is aborted.
+
input
+
+compact/ep09-in.jsonld +
+
context
+
+compact/ep09-context.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep10 @nest is not allowed in 1.0 +
+
+
+
id
+
#tep10
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
@nest is not allowed in a term definitionin 1.0
+
input
+
+compact/ep10-in.jsonld +
+
context
+
+compact/ep10-context.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep11 @context is not allowed in 1.0 +
+
+
+
id
+
#tep11
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
@context is not allowed in a term definitionin 1.0
+
input
+
+compact/ep11-in.jsonld +
+
context
+
+compact/ep11-context.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep12 @container may not be an array in 1.0 +
+
+
+
id
+
#tep12
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
validate appropriate values of @container
+
input
+
+compact/ep12-in.jsonld +
+
context
+
+compact/ep12-context.jsonld +
+
expect
+
+invalid container mapping +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep13 @container may not be @id in 1.0 +
+
+
+
id
+
#tep13
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
validate appropriate values of @container
+
input
+
+compact/ep13-in.jsonld +
+
context
+
+compact/ep13-context.jsonld +
+
expect
+
+invalid container mapping +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep14 @container may not be @type in 1.0 +
+
+
+
id
+
#tep14
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
validate appropriate values of @container
+
input
+
+compact/ep14-in.jsonld +
+
context
+
+compact/ep14-context.jsonld +
+
expect
+
+invalid container mapping +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep15 @container may not be @graph in 1.0 +
+
+
+
id
+
#tep15
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
validate appropriate values of @container
+
input
+
+compact/ep15-in.jsonld +
+
context
+
+compact/ep15-context.jsonld +
+
expect
+
+invalid container mapping +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin01 Basic Included array +
+
+
+
id
+
#tin01
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests included blocks.
+
input
+
+compact/in01-in.jsonld +
+
context
+
+compact/in01-context.jsonld +
+
expect
+
+compact/in01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin02 Basic Included object +
+
+
+
id
+
#tin02
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests included blocks.
+
input
+
+compact/in02-in.jsonld +
+
context
+
+compact/in02-context.jsonld +
+
expect
+
+compact/in02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin03 Multiple properties mapping to @included are folded together +
+
+
+
id
+
#tin03
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests included blocks.
+
input
+
+compact/in03-in.jsonld +
+
context
+
+compact/in03-context.jsonld +
+
expect
+
+compact/in03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin04 Included containing @included +
+
+
+
id
+
#tin04
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests included blocks.
+
input
+
+compact/in04-in.jsonld +
+
context
+
+compact/in04-context.jsonld +
+
expect
+
+compact/in04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin05 Property value with @included +
+
+
+
id
+
#tin05
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests included blocks.
+
input
+
+compact/in05-in.jsonld +
+
context
+
+compact/in05-context.jsonld +
+
expect
+
+compact/in05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs01 Compact JSON literal (boolean true) +
+
+
+
id
+
#tjs01
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting property with @type @json to a JSON literal (boolean true).
+
input
+
+compact/js01-in.jsonld +
+
context
+
+compact/js01-context.jsonld +
+
expect
+
+compact/js01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs02 Compact JSON literal (boolean false) +
+
+
+
id
+
#tjs02
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting property with @type @json to a JSON literal (boolean false).
+
input
+
+compact/js02-in.jsonld +
+
context
+
+compact/js02-context.jsonld +
+
expect
+
+compact/js02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs03 Compact JSON literal (double) +
+
+
+
id
+
#tjs03
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting property with @type @json to a JSON literal (double).
+
input
+
+compact/js03-in.jsonld +
+
context
+
+compact/js03-context.jsonld +
+
expect
+
+compact/js03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs04 Compact JSON literal (double-zero) +
+
+
+
id
+
#tjs04
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting property with @type @json to a JSON literal (double-zero).
+
input
+
+compact/js04-in.jsonld +
+
context
+
+compact/js04-context.jsonld +
+
expect
+
+compact/js04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs05 Compact JSON literal (integer) +
+
+
+
id
+
#tjs05
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting property with @type @json to a JSON literal (integer).
+
input
+
+compact/js05-in.jsonld +
+
context
+
+compact/js05-context.jsonld +
+
expect
+
+compact/js05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs06 Compact JSON literal (object) +
+
+
+
id
+
#tjs06
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting property with @type @json to a JSON literal (object).
+
input
+
+compact/js06-in.jsonld +
+
context
+
+compact/js06-context.jsonld +
+
expect
+
+compact/js06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs07 Compact JSON literal (array) +
+
+
+
id
+
#tjs07
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting property with @type @json to a JSON literal (array).
+
input
+
+compact/js07-in.jsonld +
+
context
+
+compact/js07-context.jsonld +
+
expect
+
+compact/js07-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs08 Compact already expanded JSON literal +
+
+
+
id
+
#tjs08
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting JSON literal does not expand terms inside json.
+
input
+
+compact/js08-in.jsonld +
+
context
+
+compact/js08-context.jsonld +
+
expect
+
+compact/js08-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs09 Compact already expanded JSON literal with aliased keys +
+
+
+
id
+
#tjs09
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting JSON literal in expanded form.
+
input
+
+compact/js09-in.jsonld +
+
context
+
+compact/js09-context.jsonld +
+
expect
+
+compact/js09-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs10 Compact JSON literal (string) +
+
+
+
id
+
#tjs10
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting property with @type @json to a JSON literal (string).
+
input
+
+compact/js10-in.jsonld +
+
context
+
+compact/js10-context.jsonld +
+
expect
+
+compact/js10-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs11 Compact JSON literal (null) +
+
+
+
id
+
#tjs11
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Tests compacting property with @type @json to a JSON literal (null).
+
input
+
+compact/js11-in.jsonld +
+
context
+
+compact/js11-context.jsonld +
+
expect
+
+compact/js11-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tla01 most specific term matching in @list. +
+
+
+
id
+
#tla01
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
The most specific term that matches all of the elements in the list, taking into account the default language, must be selected, without considering case of language.
+
input
+
+compact/la01-in.jsonld +
+
context
+
+compact/la01-context.jsonld +
+
expect
+
+compact/la01-out.jsonld +
+
+
+
+Test tli01 coerced @list containing an empty list +
+
+
+
id
+
#tli01
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Lists of Lists
+
input
+
+compact/li01-in.jsonld +
+
context
+
+compact/li01-context.jsonld +
+
expect
+
+compact/li01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli02 coerced @list containing a list +
+
+
+
id
+
#tli02
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Lists of Lists
+
input
+
+compact/li02-in.jsonld +
+
context
+
+compact/li02-context.jsonld +
+
expect
+
+compact/li02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli03 coerced @list containing an deep list +
+
+
+
id
+
#tli03
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Lists of Lists
+
input
+
+compact/li03-in.jsonld +
+
context
+
+compact/li03-context.jsonld +
+
expect
+
+compact/li03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli04 coerced @list containing multiple lists +
+
+
+
id
+
#tli04
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Lists of Lists
+
input
+
+compact/li04-in.jsonld +
+
context
+
+compact/li04-context.jsonld +
+
expect
+
+compact/li04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli05 coerced @list containing mixed list values +
+
+
+
id
+
#tli05
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Lists of Lists
+
input
+
+compact/li05-in.jsonld +
+
context
+
+compact/li05-context.jsonld +
+
expect
+
+compact/li05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm001 Indexes to object not having an @id +
+
+
+
id
+
#tm001
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @container: @id
+
input
+
+compact/m001-in.jsonld +
+
context
+
+compact/m001-context.jsonld +
+
expect
+
+compact/m001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm002 Indexes to object already having an @id +
+
+
+
id
+
#tm002
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @container: @id
+
input
+
+compact/m002-in.jsonld +
+
context
+
+compact/m002-context.jsonld +
+
expect
+
+compact/m002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm003 Indexes to object not having an @type +
+
+
+
id
+
#tm003
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @container: @type
+
input
+
+compact/m003-in.jsonld +
+
context
+
+compact/m003-context.jsonld +
+
expect
+
+compact/m003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm004 Indexes to object already having an @type +
+
+
+
id
+
#tm004
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @container: @type
+
input
+
+compact/m004-in.jsonld +
+
context
+
+compact/m004-context.jsonld +
+
expect
+
+compact/m004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm005 Indexes to object using compact IRI @id +
+
+
+
id
+
#tm005
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @container: @id
+
input
+
+compact/m005-in.jsonld +
+
context
+
+compact/m005-context.jsonld +
+
expect
+
+compact/m005-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm006 Indexes using compacted @type +
+
+
+
id
+
#tm006
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @container: @type
+
input
+
+compact/m006-in.jsonld +
+
context
+
+compact/m006-context.jsonld +
+
expect
+
+compact/m006-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm007 When type is in a type map +
+
+
+
id
+
#tm007
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
scoped context on @type
+
input
+
+compact/m007-in.jsonld +
+
context
+
+compact/m007-context.jsonld +
+
expect
+
+compact/m007-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm008 @index map with @none node definition +
+
+
+
id
+
#tm008
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @index
+
input
+
+compact/m008-in.jsonld +
+
context
+
+compact/m008-context.jsonld +
+
expect
+
+compact/m008-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm009 @index map with @none value +
+
+
+
id
+
#tm009
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @index
+
input
+
+compact/m009-in.jsonld +
+
context
+
+compact/m009-context.jsonld +
+
expect
+
+compact/m009-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm010 @index map with @none value using alias of @none +
+
+
+
id
+
#tm010
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @index
+
input
+
+compact/m010-in.jsonld +
+
context
+
+compact/m010-context.jsonld +
+
expect
+
+compact/m010-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm011 @language map with no @language +
+
+
+
id
+
#tm011
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @language
+
input
+
+compact/m011-in.jsonld +
+
context
+
+compact/m011-context.jsonld +
+
expect
+
+compact/m011-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm012 language map with no @language using alias of @none +
+
+
+
id
+
#tm012
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @language
+
input
+
+compact/m012-in.jsonld +
+
context
+
+compact/m012-context.jsonld +
+
expect
+
+compact/m012-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm013 id map using @none +
+
+
+
id
+
#tm013
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @id
+
input
+
+compact/m013-in.jsonld +
+
context
+
+compact/m013-context.jsonld +
+
expect
+
+compact/m013-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm014 id map using @none with alias +
+
+
+
id
+
#tm014
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @id
+
input
+
+compact/m014-in.jsonld +
+
context
+
+compact/m014-context.jsonld +
+
expect
+
+compact/m014-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm015 type map using @none with alias +
+
+
+
id
+
#tm015
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @type
+
input
+
+compact/m015-in.jsonld +
+
context
+
+compact/m015-context.jsonld +
+
expect
+
+compact/m015-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm016 type map using @none with alias +
+
+
+
id
+
#tm016
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @type
+
input
+
+compact/m016-in.jsonld +
+
context
+
+compact/m016-context.jsonld +
+
expect
+
+compact/m016-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm017 graph index map using @none +
+
+
+
id
+
#tm017
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @graph and @index
+
input
+
+compact/m017-in.jsonld +
+
context
+
+compact/m017-context.jsonld +
+
expect
+
+compact/m017-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm018 graph id map using @none +
+
+
+
id
+
#tm018
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @graph and @id
+
input
+
+compact/m018-in.jsonld +
+
context
+
+compact/m018-context.jsonld +
+
expect
+
+compact/m018-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm019 graph id map using alias of @none +
+
+
+
id
+
#tm019
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @graph and @id
+
input
+
+compact/m019-in.jsonld +
+
context
+
+compact/m019-context.jsonld +
+
expect
+
+compact/m019-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm020 node reference compacts to string value of type map +
+
+
+
id
+
#tm020
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @type
+
input
+
+compact/m020-in.jsonld +
+
context
+
+compact/m020-context.jsonld +
+
expect
+
+compact/m020-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm021 node reference compacts to string value of type map with @type: @id +
+
+
+
id
+
#tm021
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @type
+
input
+
+compact/m021-in.jsonld +
+
context
+
+compact/m021-context.jsonld +
+
expect
+
+compact/m021-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm022 node reference compacts to string value of type map with @type: @vocab +
+
+
+
id
+
#tm022
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
index on @type
+
input
+
+compact/m022-in.jsonld +
+
context
+
+compact/m022-context.jsonld +
+
expect
+
+compact/m022-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn001 Indexes to @nest for property with @nest +
+
+
+
id
+
#tn001
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n001-in.jsonld +
+
context
+
+compact/n001-context.jsonld +
+
expect
+
+compact/n001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn002 Indexes to @nest for all properties with @nest +
+
+
+
id
+
#tn002
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n002-in.jsonld +
+
context
+
+compact/n002-context.jsonld +
+
expect
+
+compact/n002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn003 Nests using alias of @nest +
+
+
+
id
+
#tn003
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n003-in.jsonld +
+
context
+
+compact/n003-context.jsonld +
+
expect
+
+compact/n003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn004 Arrays of nested values +
+
+
+
id
+
#tn004
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n004-in.jsonld +
+
context
+
+compact/n004-context.jsonld +
+
expect
+
+compact/n004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn005 Nested @container: @list +
+
+
+
id
+
#tn005
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n005-in.jsonld +
+
context
+
+compact/n005-context.jsonld +
+
expect
+
+compact/n005-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn006 Nested @container: @index +
+
+
+
id
+
#tn006
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n006-in.jsonld +
+
context
+
+compact/n006-context.jsonld +
+
expect
+
+compact/n006-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn007 Nested @container: @language +
+
+
+
id
+
#tn007
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n007-in.jsonld +
+
context
+
+compact/n007-context.jsonld +
+
expect
+
+compact/n007-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn008 Nested @container: @type +
+
+
+
id
+
#tn008
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n008-in.jsonld +
+
context
+
+compact/n008-context.jsonld +
+
expect
+
+compact/n008-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn009 Nested @container: @id +
+
+
+
id
+
#tn009
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n009-in.jsonld +
+
context
+
+compact/n009-context.jsonld +
+
expect
+
+compact/n009-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn010 Multiple nest aliases +
+
+
+
id
+
#tn010
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n010-in.jsonld +
+
context
+
+compact/n010-context.jsonld +
+
expect
+
+compact/n010-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn011 Nests using alias of @nest (defined with @id) +
+
+
+
id
+
#tn011
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compaction using @nest
+
input
+
+compact/n011-in.jsonld +
+
context
+
+compact/n011-context.jsonld +
+
expect
+
+compact/n011-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp001 Compact IRI will not use an expanded term definition in 1.0 +
+
+
+
id
+
#tp001
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Terms with an expanded term definition are not used for creating compact IRIs
+
input
+
+compact/p001-in.jsonld +
+
context
+
+compact/p001-context.jsonld +
+
expect
+
+compact/p001-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp002 Compact IRI does not use expanded term definition in 1.1 +
+
+
+
id
+
#tp002
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Terms with an expanded term definition are not used for creating compact IRIs
+
input
+
+compact/p002-in.jsonld +
+
context
+
+compact/p002-context.jsonld +
+
expect
+
+compact/p002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp003 Compact IRI does not use simple term that does not end with a gen-delim +
+
+
+
id
+
#tp003
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Terms not ending with a gen-delim are not used for creating compact IRIs
+
input
+
+compact/p003-in.jsonld +
+
context
+
+compact/p003-context.jsonld +
+
expect
+
+compact/p003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp004 Compact IRIs using simple terms ending with gen-delim +
+
+
+
id
+
#tp004
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
All simple terms ending with gen-delim are suitable for compaction
+
input
+
+compact/p004-in.jsonld +
+
context
+
+compact/p004-context.jsonld +
+
expect
+
+compact/p004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp005 Compact IRI uses term with definition including @prefix: true +
+
+
+
id
+
#tp005
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Expanded term definition may set prefix explicitly in 1.1
+
input
+
+compact/p005-in.jsonld +
+
context
+
+compact/p005-context.jsonld +
+
expect
+
+compact/p005-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp006 Compact IRI uses term with definition including @prefix: true +
+
+
+
id
+
#tp006
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Expanded term definition may set prefix explicitly in 1.1
+
input
+
+compact/p006-in.jsonld +
+
context
+
+compact/p006-context.jsonld +
+
expect
+
+compact/p006-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp007 Compact IRI not used as prefix +
+
+
+
id
+
#tp007
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Terms including a colon are excluded from being used as a prefix
+
input
+
+compact/p007-in.jsonld +
+
context
+
+compact/p007-context.jsonld +
+
expect
+
+compact/p007-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp008 Compact IRI does not use term with definition including @prefix: false +
+
+
+
id
+
#tp008
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Expanded term definition may set prefix explicitly in 1.1
+
input
+
+compact/p008-in.jsonld +
+
context
+
+compact/p008-context.jsonld +
+
expect
+
+compact/p008-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi01 property-valued index indexes property value, instead of property (value) +
+
+
+
id
+
#tpi01
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting property-valued indexes.
+
input
+
+compact/pi01-in.jsonld +
+
context
+
+compact/pi01-context.jsonld +
+
expect
+
+compact/pi01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi02 property-valued index indexes property value, instead of property (multiple values) +
+
+
+
id
+
#tpi02
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting property-valued indexes.
+
input
+
+compact/pi02-in.jsonld +
+
context
+
+compact/pi02-context.jsonld +
+
expect
+
+compact/pi02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi03 property-valued index indexes property value, instead of property (node) +
+
+
+
id
+
#tpi03
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting property-valued indexes.
+
input
+
+compact/pi03-in.jsonld +
+
context
+
+compact/pi03-context.jsonld +
+
expect
+
+compact/pi03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi04 property-valued index indexes property value, instead of property (multiple nodes) +
+
+
+
id
+
#tpi04
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting property-valued indexes.
+
input
+
+compact/pi04-in.jsonld +
+
context
+
+compact/pi04-context.jsonld +
+
expect
+
+compact/pi04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi05 property-valued index indexes using @none if no property value exists +
+
+
+
id
+
#tpi05
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting property-valued indexes.
+
input
+
+compact/pi05-in.jsonld +
+
context
+
+compact/pi05-context.jsonld +
+
expect
+
+compact/pi05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi06 property-valued index indexes using @none if no property value does not compact to string +
+
+
+
id
+
#tpi06
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compacting property-valued indexes.
+
input
+
+compact/pi06-in.jsonld +
+
context
+
+compact/pi06-context.jsonld +
+
expect
+
+compact/pi06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr01 Check illegal clearing of context with protected terms +
+
+
+
id
+
#tpr01
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
Check error when clearing a context with protected terms.
+
input
+
+compact/pr01-in.jsonld +
+
context
+
+compact/pr01-context.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr02 Check illegal overriding of protected term +
+
+
+
id
+
#tpr02
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
Check error when overriding a protected term.
+
input
+
+compact/pr02-in.jsonld +
+
context
+
+compact/pr02-context.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr03 Check illegal overriding of protected term from type-scoped context +
+
+
+
id
+
#tpr03
+
Type
+
jld:NegativeEvaluationTest, jld:CompactTest
+
Purpose
+
Check error when overriding a protected term from type-scoped context.
+
input
+
+compact/pr03-in.jsonld +
+
context
+
+compact/pr03-context.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr04 Check legal overriding of protected term from property-scoped context +
+
+
+
id
+
#tpr04
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Check overriding a protected term from property-scoped context.
+
input
+
+compact/pr04-in.jsonld +
+
context
+
+compact/pr04-context.jsonld +
+
expect
+
+compact/pr04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr05 Check legal overriding of type-scoped protected term from nested node +
+
+
+
id
+
#tpr05
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Check legal overriding of type-scoped protected term from nested node.
+
input
+
+compact/pr05-in.jsonld +
+
context
+
+compact/pr05-context.jsonld +
+
expect
+
+compact/pr05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr001 Expands and compacts to document base by default +
+
+
+
id
+
#tr001
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
Compact IRI attempts to compact document-relative IRIs
+
input
+
+compact/r001-in.jsonld +
+
context
+
+compact/r001-context.jsonld +
+
expect
+
+compact/r001-out.jsonld +
+
Options
+
+
+
base
+
http://example.org/
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr002 Expands and does not compact to document base with compactToRelative false +
+
+
+
id
+
#tr002
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
With compactToRelative option set to false, IRIs which could be made relative to the document base are not made relative.
+
input
+
+compact/r002-in.jsonld +
+
context
+
+compact/r002-context.jsonld +
+
expect
+
+compact/r002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
compactToRelative
+
false
+
+
+
+
+
+Test ts001 @context with single array values +
+
+
+
id
+
#ts001
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
@context values may be in an array
+
input
+
+compact/s001-in.jsonld +
+
context
+
+compact/s001-context.jsonld +
+
expect
+
+compact/s001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ts002 @context with array including @set uses array values +
+
+
+
id
+
#ts002
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
@context values may include @set along with another compatible value
+
input
+
+compact/s002-in.jsonld +
+
context
+
+compact/s002-context.jsonld +
+
expect
+
+compact/s002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ttn01 @type: @none does not compact values +
+
+
+
id
+
#ttn01
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
@type: @none does not compact values.
+
input
+
+compact/tn01-in.jsonld +
+
context
+
+compact/tn01-context.jsonld +
+
expect
+
+compact/tn01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ttn02 @type: @none does not use arrays by default +
+
+
+
id
+
#ttn02
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
@type: @none honors @container.
+
input
+
+compact/tn02-in.jsonld +
+
context
+
+compact/tn02-context.jsonld +
+
expect
+
+compact/tn02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ttn03 @type: @none uses arrays with @container: @set +
+
+
+
id
+
#ttn03
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest
+
Purpose
+
@type: @none honors @container.
+
input
+
+compact/tn03-in.jsonld +
+
context
+
+compact/tn03-context.jsonld +
+
expect
+
+compact/tn03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+
+ + diff --git a/core/src/test/resources/json-ld-api-tests/compact-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/compact-manifest.jsonld index cdb24721..39b6c4fb 100644 --- a/core/src/test/resources/json-ld-api-tests/compact-manifest.jsonld +++ b/core/src/test/resources/json-ld-api-tests/compact-manifest.jsonld @@ -1,9 +1,9 @@ { - "@context": "context.jsonld", + "@context": ["context.jsonld", {"@base": "compact-manifest"}], "@id": "", "@type": "mf:Manifest", "name": "Compaction", - "description": "JSON-LD compaction tests use object comparison.", + "description": "JSON-LD Compaction tests.", "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { @@ -106,7 +106,7 @@ "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "@value with @language", - "purpose": "Values with @language remain in expended form by default", + "purpose": "Values with @language remain in expanded form by default", "input": "compact/0013-in.jsonld", "context": "compact/0013-context.jsonld", "expect": "compact/0013-out.jsonld" @@ -636,7 +636,7 @@ "input": "compact/0077-in.jsonld", "context": "compact/0077-context.jsonld", "expect": "compact/0077-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0078", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -645,7 +645,7 @@ "input": "compact/0078-in.jsonld", "context": "compact/0078-context.jsonld", "expect": "compact/0078-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0079", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -654,7 +654,7 @@ "input": "compact/0079-in.jsonld", "context": "compact/0079-context.jsonld", "expect": "compact/0079-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0080", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -663,7 +663,7 @@ "input": "compact/0080-in.jsonld", "context": "compact/0080-context.jsonld", "expect": "compact/0080-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0081", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -672,7 +672,7 @@ "input": "compact/0081-in.jsonld", "context": "compact/0081-context.jsonld", "expect": "compact/0081-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0082", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -681,7 +681,7 @@ "input": "compact/0082-in.jsonld", "context": "compact/0082-context.jsonld", "expect": "compact/0082-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0083", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -690,7 +690,7 @@ "input": "compact/0083-in.jsonld", "context": "compact/0083-context.jsonld", "expect": "compact/0083-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0084", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -699,7 +699,7 @@ "input": "compact/0084-in.jsonld", "context": "compact/0084-context.jsonld", "expect": "compact/0084-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0085", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -708,7 +708,7 @@ "input": "compact/0085-in.jsonld", "context": "compact/0085-context.jsonld", "expect": "compact/0085-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0086", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -717,7 +717,7 @@ "input": "compact/0086-in.jsonld", "context": "compact/0086-context.jsonld", "expect": "compact/0086-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0087", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -726,7 +726,7 @@ "input": "compact/0087-in.jsonld", "context": "compact/0087-context.jsonld", "expect": "compact/0087-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0088", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -735,7 +735,7 @@ "input": "compact/0088-in.jsonld", "context": "compact/0088-context.jsonld", "expect": "compact/0088-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0089", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -752,7 +752,7 @@ "input": "compact/0090-in.jsonld", "context": "compact/0090-context.jsonld", "expect": "compact/0090-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0091", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -761,7 +761,7 @@ "input": "compact/0091-in.jsonld", "context": "compact/0091-context.jsonld", "expect": "compact/0091-out.jsonld", - "option": {"compactArrays": false, "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"compactArrays": false, "specVersion": "json-ld-1.1"} }, { "@id": "#t0092", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -770,7 +770,7 @@ "input": "compact/0092-in.jsonld", "context": "compact/0092-context.jsonld", "expect": "compact/0092-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0093", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -779,7 +779,7 @@ "input": "compact/0093-in.jsonld", "context": "compact/0093-context.jsonld", "expect": "compact/0093-out.jsonld", - "option": {"compactArrays": false, "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"compactArrays": false, "specVersion": "json-ld-1.1"} }, { "@id": "#t0094", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -788,7 +788,7 @@ "input": "compact/0094-in.jsonld", "context": "compact/0094-context.jsonld", "expect": "compact/0094-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0095", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -800,21 +800,21 @@ }, { "@id": "#t0096", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], - "name": "Compact @graph container (multiple objects)", + "name": "Compact @graph container (multiple graphs)", "purpose": "Ensure @graph appears properly in output", "input": "compact/0096-in.jsonld", "context": "compact/0096-context.jsonld", "expect": "compact/0096-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0097", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], - "name": "Compact [@graph, @set] container (multiple objects)", + "name": "Compact [@graph, @set] container (multiple graphs)", "purpose": "Ensure @graph appears properly in output", "input": "compact/0097-in.jsonld", "context": "compact/0097-context.jsonld", "expect": "compact/0097-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0098", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -823,7 +823,7 @@ "input": "compact/0098-in.jsonld", "context": "compact/0098-context.jsonld", "expect": "compact/0098-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0099", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -832,7 +832,7 @@ "input": "compact/0099-in.jsonld", "context": "compact/0099-context.jsonld", "expect": "compact/0099-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0100", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -841,7 +841,7 @@ "input": "compact/0100-in.jsonld", "context": "compact/0100-context.jsonld", "expect": "compact/0100-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0101", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -850,7 +850,7 @@ "input": "compact/0101-in.jsonld", "context": "compact/0101-context.jsonld", "expect": "compact/0101-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0102", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -859,7 +859,7 @@ "input": "compact/0102-in.jsonld", "context": "compact/0102-context.jsonld", "expect": "compact/0102-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0103", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -868,7 +868,7 @@ "input": "compact/0103-in.jsonld", "context": "compact/0103-context.jsonld", "expect": "compact/0103-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0104", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -877,7 +877,7 @@ "input": "compact/0104-in.jsonld", "context": "compact/0104-context.jsonld", "expect": "compact/0104-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0105", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -886,7 +886,7 @@ "input": "compact/0105-in.jsonld", "context": "compact/0105-context.jsonld", "expect": "compact/0105-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0106", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -914,6 +914,24 @@ "input": "compact/0108-in.jsonld", "context": "compact/0108-context.jsonld", "expect": "compact/0108-out.jsonld" + }, { + "@id": "#t0109", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact @graph container (multiple objects)", + "purpose": "Multiple objects in a simple graph with a graph container need to use @included", + "input": "compact/0109-in.jsonld", + "context": "compact/0109-context.jsonld", + "expect": "compact/0109-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0110", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact [@graph, @set] container (multiple objects)", + "purpose": "Multiple objects in a simple graph with a graph container need to use @included", + "input": "compact/0110-in.jsonld", + "context": "compact/0110-context.jsonld", + "expect": "compact/0110-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc001", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -922,7 +940,7 @@ "input": "compact/c001-in.jsonld", "context": "compact/c001-context.jsonld", "expect": "compact/c001-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc002", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -931,7 +949,7 @@ "input": "compact/c002-in.jsonld", "context": "compact/c002-context.jsonld", "expect": "compact/c002-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc003", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -940,7 +958,7 @@ "input": "compact/c003-in.jsonld", "context": "compact/c003-context.jsonld", "expect": "compact/c003-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc004", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -949,7 +967,7 @@ "input": "compact/c004-in.jsonld", "context": "compact/c004-context.jsonld", "expect": "compact/c004-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc005", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -958,7 +976,7 @@ "input": "compact/c005-in.jsonld", "context": "compact/c005-context.jsonld", "expect": "compact/c005-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc006", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -967,7 +985,7 @@ "input": "compact/c006-in.jsonld", "context": "compact/c006-context.jsonld", "expect": "compact/c006-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc007", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -976,7 +994,7 @@ "input": "compact/c007-in.jsonld", "context": "compact/c007-context.jsonld", "expect": "compact/c007-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc008", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -985,7 +1003,7 @@ "input": "compact/c008-in.jsonld", "context": "compact/c008-context.jsonld", "expect": "compact/c008-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc009", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -994,7 +1012,7 @@ "input": "compact/c009-in.jsonld", "context": "compact/c009-context.jsonld", "expect": "compact/c009-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc010", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1003,7 +1021,7 @@ "input": "compact/c010-in.jsonld", "context": "compact/c010-context.jsonld", "expect": "compact/c010-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc011", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1012,7 +1030,7 @@ "input": "compact/c011-in.jsonld", "context": "compact/c011-context.jsonld", "expect": "compact/c011-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc012", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1021,7 +1039,7 @@ "input": "compact/c012-in.jsonld", "context": "compact/c012-context.jsonld", "expect": "compact/c012-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc013", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1030,16 +1048,16 @@ "input": "compact/c013-in.jsonld", "context": "compact/c013-context.jsonld", "expect": "compact/c013-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc014", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "type-scoped context nullification", - "purpose": "type-scoped context nullification", + "purpose": "Nullifying a type-scoped context continues to use the previous context when compacting @type.", "input": "compact/c014-in.jsonld", "context": "compact/c014-context.jsonld", "expect": "compact/c014-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc015", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1048,7 +1066,7 @@ "input": "compact/c015-in.jsonld", "context": "compact/c015-context.jsonld", "expect": "compact/c015-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc016", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1057,7 +1075,7 @@ "input": "compact/c016-in.jsonld", "context": "compact/c016-context.jsonld", "expect": "compact/c016-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc017", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1066,7 +1084,7 @@ "input": "compact/c017-in.jsonld", "context": "compact/c017-context.jsonld", "expect": "compact/c017-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc018", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1075,7 +1093,7 @@ "input": "compact/c018-in.jsonld", "context": "compact/c018-context.jsonld", "expect": "compact/c018-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc019", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1084,7 +1102,7 @@ "input": "compact/c019-in.jsonld", "context": "compact/c019-context.jsonld", "expect": "compact/c019-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc020", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1093,7 +1111,7 @@ "input": "compact/c020-in.jsonld", "context": "compact/c020-context.jsonld", "expect": "compact/c020-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc021", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1102,7 +1120,7 @@ "input": "compact/c021-in.jsonld", "context": "compact/c021-context.jsonld", "expect": "compact/c021-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc022", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1111,7 +1129,7 @@ "input": "compact/c022-in.jsonld", "context": "compact/c022-context.jsonld", "expect": "compact/c022-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc023", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1120,7 +1138,7 @@ "input": "compact/c023-in.jsonld", "context": "compact/c023-context.jsonld", "expect": "compact/c023-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc024", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1129,7 +1147,7 @@ "input": "compact/c024-in.jsonld", "context": "compact/c024-context.jsonld", "expect": "compact/c024-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc025", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1138,7 +1156,88 @@ "input": "compact/c025-in.jsonld", "context": "compact/c025-context.jsonld", "expect": "compact/c025-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc026", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@propagate: true on type-scoped context", + "purpose": "type-scoped context with @propagate: true survive node-objects", + "input": "compact/c026-in.jsonld", + "context": "compact/c026-context.jsonld", + "expect": "compact/c026-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc027", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "@propagate: false on property-scoped context", + "purpose": "property-scoped context with @propagate: false do not survive node-objects", + "input": "compact/c027-in.jsonld", + "context": "compact/c027-context.jsonld", + "expect": "compact/c027-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tdi01", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "term direction null", + "purpose": "Uses term with null direction when two terms conflict on direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/di01-in.jsonld", + "context": "compact/di01-context.jsonld", + "expect": "compact/di01-out.jsonld" + }, { + "@id": "#tdi02", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "use alias of @direction", + "purpose": "Use alias of @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/di02-in.jsonld", + "context": "compact/di02-context.jsonld", + "expect": "compact/di02-out.jsonld" + }, { + "@id": "#tdi03", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "term selection with lists and direction", + "purpose": "Term selection includes values of @list.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/di03-in.jsonld", + "context": "compact/di03-context.jsonld", + "expect": "compact/di03-out.jsonld" + }, { + "@id": "#tdi04", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "simple language map with term direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/di04-in.jsonld", + "context": "compact/di04-context.jsonld", + "expect": "compact/di04-out.jsonld" + }, { + "@id": "#tdi05", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "simple language map with overriding term direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/di05-in.jsonld", + "context": "compact/di05-context.jsonld", + "expect": "compact/di05-out.jsonld" + }, { + "@id": "#tdi06", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "simple language map with overriding null direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/di06-in.jsonld", + "context": "compact/di06-context.jsonld", + "expect": "compact/di06-out.jsonld" + }, { + "@id": "#tdi07", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "simple language map with mismatching term direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "compact/di07-in.jsonld", + "context": "compact/di07-context.jsonld", + "expect": "compact/di07-out.jsonld" }, { "@id": "#te001", "@type": [ "jld:NegativeEvaluationTest", "jld:CompactTest" ], @@ -1147,7 +1246,7 @@ "option": {"specVersion": "json-ld-1.0"}, "input": "compact/e001-in.jsonld", "context": "compact/e001-context.jsonld", - "expect": "compaction to list of lists" + "expectErrorCode": "compaction to list of lists" }, { "@id": "#te002", "@type": [ "jld:NegativeEvaluationTest", "jld:CompactTest" ], @@ -1156,7 +1255,7 @@ "option": {"specVersion": "json-ld-1.1"}, "input": "compact/e002-in.jsonld", "context": "compact/e002-context.jsonld", - "expect": "IRI confused with prefix" + "expectErrorCode": "IRI confused with prefix" }, { "@id": "#ten01", "@type": [ "jld:NegativeEvaluationTest", "jld:CompactTest" ], @@ -1164,25 +1263,16 @@ "purpose": "Transparent Nesting", "input": "compact/en01-in.jsonld", "context": "compact/en01-context.jsonld", - "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, { - "@id": "#tep04", - "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], - "name": "Processing mode is implicitly json-ld-1.0", - "purpose": "If not specified using processingMode, processing mode is taken as json-ld-1.0", - "option": {"specVersion": "json-ld-1.1"}, - "input": "compact/ep04-in.jsonld", - "context": "compact/ep04-context.jsonld", - "expect": "invalid container mapping" + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tep05", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], "name": "processingMode json-ld-1.0 conflicts with @version: 1.1", - "purpose": "If not specified using processingMode, processing mode is taken as json-ld-1.0", + "purpose": "If processingMode is explicitly json-ld-1.0, it will conflict with 1.1 features.", "input": "compact/ep05-in.jsonld", "context": "compact/ep05-context.jsonld", - "expect": "processing mode conflict", + "expectErrorCode": "processing mode conflict", "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} }, { "@id": "#tep06", @@ -1192,7 +1282,7 @@ "option": {"specVersion": "json-ld-1.1"}, "input": "compact/ep06-in.jsonld", "context": "compact/ep06-context.jsonld", - "expect": "invalid @version value" + "expectErrorCode": "invalid @version value" }, { "@id": "#tep07", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], @@ -1201,25 +1291,25 @@ "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, "input": "compact/ep07-in.jsonld", "context": "compact/ep07-context.jsonld", - "expect": "invalid term definition" + "expectErrorCode": "invalid term definition" }, { "@id": "#tep08", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], "name": "@prefix must be a boolean", "purpose": "@prefix must be a boolean in a term definition in 1.1", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/ep08-in.jsonld", "context": "compact/ep08-context.jsonld", - "expect": "invalid @prefix value" + "expectErrorCode": "invalid @prefix value" }, { "@id": "#tep09", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], "name": "@prefix not allowed on compact IRI term", "purpose": "If processingMode is json-ld-1.0, or if term contains a colon (:), an invalid term definition has been detected and processing is aborted.", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/ep09-in.jsonld", "context": "compact/ep09-context.jsonld", - "expect": "invalid term definition" + "expectErrorCode": "invalid term definition" }, { "@id": "#tep10", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], @@ -1228,7 +1318,7 @@ "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, "input": "compact/ep10-in.jsonld", "context": "compact/ep10-context.jsonld", - "expect": "invalid term definition" + "expectErrorCode": "invalid term definition" }, { "@id": "#tep11", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], @@ -1237,7 +1327,7 @@ "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, "input": "compact/ep11-in.jsonld", "context": "compact/ep11-context.jsonld", - "expect": "invalid term definition" + "expectErrorCode": "invalid term definition" }, { "@id": "#tep12", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], @@ -1246,7 +1336,7 @@ "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, "input": "compact/ep12-in.jsonld", "context": "compact/ep12-context.jsonld", - "expect": "invalid container mapping" + "expectErrorCode": "invalid container mapping" }, { "@id": "#tep13", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], @@ -1255,7 +1345,7 @@ "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, "input": "compact/ep13-in.jsonld", "context": "compact/ep13-context.jsonld", - "expect": "invalid container mapping" + "expectErrorCode": "invalid container mapping" }, { "@id": "#tep14", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], @@ -1264,7 +1354,7 @@ "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, "input": "compact/ep14-in.jsonld", "context": "compact/ep14-context.jsonld", - "expect": "invalid container mapping" + "expectErrorCode": "invalid container mapping" }, { "@id": "#tep15", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], @@ -1273,43 +1363,52 @@ "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"}, "input": "compact/ep15-in.jsonld", "context": "compact/ep15-context.jsonld", - "expect": "invalid container mapping" + "expectErrorCode": "invalid container mapping" + }, { + "@id": "#tin01", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Basic Included array", + "purpose": "Tests included blocks.", + "input": "compact/in01-in.jsonld", + "context": "compact/in01-context.jsonld", + "expect": "compact/in01-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th001", + "@id": "#tin02", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], - "name": "Compacts embedded JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "compact/h001-in.html", - "context": "compact/h001-context.jsonld", - "expect": "compact/h001-out.jsonld", + "name": "Basic Included object", + "purpose": "Tests included blocks.", + "input": "compact/in02-in.jsonld", + "context": "compact/in02-context.jsonld", + "expect": "compact/in02-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th002", + "@id": "#tin03", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], - "name": "Compacts first embedded JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "compact/h002-in.html", - "context": "compact/h002-context.jsonld", - "expect": "compact/h002-out.jsonld", + "name": "Multiple properties mapping to @included are folded together", + "purpose": "Tests included blocks.", + "input": "compact/in03-in.jsonld", + "context": "compact/in03-context.jsonld", + "expect": "compact/in03-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th003", + "@id": "#tin04", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], - "name": "Compacts targeted JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", - "input": "compact/h003-in.html#second", - "context": "compact/h003-context.jsonld", - "expect": "compact/h003-out.jsonld", + "name": "Included containing @included", + "purpose": "Tests included blocks.", + "input": "compact/in04-in.jsonld", + "context": "compact/in04-context.jsonld", + "expect": "compact/in04-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th004", + "@id": "#tin05", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], - "name": "Compacts all embedded JSON-LD script elements with extractAllScripts option", - "purpose": "Tests embedded JSON-LD in HTML extracting all elements", - "input": "compact/h004-in.html", - "context": "compact/h004-context.jsonld", - "expect": "compact/h004-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + "name": "Property value with @included", + "purpose": "Tests included blocks.", + "input": "compact/in05-in.jsonld", + "context": "compact/in05-context.jsonld", + "expect": "compact/in05-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs01", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1318,7 +1417,7 @@ "input": "compact/js01-in.jsonld", "context": "compact/js01-context.jsonld", "expect": "compact/js01-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs02", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1327,7 +1426,7 @@ "input": "compact/js02-in.jsonld", "context": "compact/js02-context.jsonld", "expect": "compact/js02-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs03", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1336,7 +1435,7 @@ "input": "compact/js03-in.jsonld", "context": "compact/js03-context.jsonld", "expect": "compact/js03-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs04", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1345,7 +1444,7 @@ "input": "compact/js04-in.jsonld", "context": "compact/js04-context.jsonld", "expect": "compact/js04-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs05", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1354,7 +1453,7 @@ "input": "compact/js05-in.jsonld", "context": "compact/js05-context.jsonld", "expect": "compact/js05-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs06", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1363,7 +1462,7 @@ "input": "compact/js06-in.jsonld", "context": "compact/js06-context.jsonld", "expect": "compact/js06-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs07", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1372,7 +1471,7 @@ "input": "compact/js07-in.jsonld", "context": "compact/js07-context.jsonld", "expect": "compact/js07-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs08", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1381,7 +1480,7 @@ "input": "compact/js08-in.jsonld", "context": "compact/js08-context.jsonld", "expect": "compact/js08-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs09", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1390,7 +1489,78 @@ "input": "compact/js09-in.jsonld", "context": "compact/js09-context.jsonld", "expect": "compact/js09-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs10", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact JSON literal (string)", + "purpose": "Tests compacting property with @type @json to a JSON literal (string).", + "input": "compact/js10-in.jsonld", + "context": "compact/js10-context.jsonld", + "expect": "compact/js10-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs11", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Compact JSON literal (null)", + "purpose": "Tests compacting property with @type @json to a JSON literal (null).", + "input": "compact/js11-in.jsonld", + "context": "compact/js11-context.jsonld", + "expect": "compact/js11-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tla01", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "most specific term matching in @list.", + "purpose": "The most specific term that matches all of the elements in the list, taking into account the default language, must be selected, without considering case of language.", + "input": "compact/la01-in.jsonld", + "context": "compact/la01-context.jsonld", + "expect": "compact/la01-out.jsonld" + }, { + "@id": "#tli01", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "coerced @list containing an empty list", + "purpose": "Lists of Lists", + "input": "compact/li01-in.jsonld", + "context": "compact/li01-context.jsonld", + "expect": "compact/li01-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli02", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "coerced @list containing a list", + "purpose": "Lists of Lists", + "input": "compact/li02-in.jsonld", + "context": "compact/li02-context.jsonld", + "expect": "compact/li02-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli03", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "coerced @list containing an deep list", + "purpose": "Lists of Lists", + "input": "compact/li03-in.jsonld", + "context": "compact/li03-context.jsonld", + "expect": "compact/li03-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli04", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "coerced @list containing multiple lists", + "purpose": "Lists of Lists", + "input": "compact/li04-in.jsonld", + "context": "compact/li04-context.jsonld", + "expect": "compact/li04-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli05", + "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], + "name": "coerced @list containing mixed list values", + "purpose": "Lists of Lists", + "input": "compact/li05-in.jsonld", + "context": "compact/li05-context.jsonld", + "expect": "compact/li05-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm001", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1399,7 +1569,7 @@ "input": "compact/m001-in.jsonld", "context": "compact/m001-context.jsonld", "expect": "compact/m001-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm002", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1408,7 +1578,7 @@ "input": "compact/m002-in.jsonld", "context": "compact/m002-context.jsonld", "expect": "compact/m002-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm003", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1417,7 +1587,7 @@ "input": "compact/m003-in.jsonld", "context": "compact/m003-context.jsonld", "expect": "compact/m003-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm004", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1426,7 +1596,7 @@ "input": "compact/m004-in.jsonld", "context": "compact/m004-context.jsonld", "expect": "compact/m004-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm005", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1435,7 +1605,7 @@ "input": "compact/m005-in.jsonld", "context": "compact/m005-context.jsonld", "expect": "compact/m005-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm006", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1444,7 +1614,7 @@ "input": "compact/m006-in.jsonld", "context": "compact/m006-context.jsonld", "expect": "compact/m006-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm007", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1453,7 +1623,7 @@ "input": "compact/m007-in.jsonld", "context": "compact/m007-context.jsonld", "expect": "compact/m007-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm008", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1462,7 +1632,7 @@ "input": "compact/m008-in.jsonld", "context": "compact/m008-context.jsonld", "expect": "compact/m008-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm009", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1471,7 +1641,7 @@ "input": "compact/m009-in.jsonld", "context": "compact/m009-context.jsonld", "expect": "compact/m009-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm010", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1480,7 +1650,7 @@ "input": "compact/m010-in.jsonld", "context": "compact/m010-context.jsonld", "expect": "compact/m010-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm011", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1489,7 +1659,7 @@ "input": "compact/m011-in.jsonld", "context": "compact/m011-context.jsonld", "expect": "compact/m011-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm012", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1498,7 +1668,7 @@ "input": "compact/m012-in.jsonld", "context": "compact/m012-context.jsonld", "expect": "compact/m012-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm013", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1507,7 +1677,7 @@ "input": "compact/m013-in.jsonld", "context": "compact/m013-context.jsonld", "expect": "compact/m013-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm014", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1516,7 +1686,7 @@ "input": "compact/m014-in.jsonld", "context": "compact/m014-context.jsonld", "expect": "compact/m014-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm015", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1525,7 +1695,7 @@ "input": "compact/m015-in.jsonld", "context": "compact/m015-context.jsonld", "expect": "compact/m015-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm016", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1534,7 +1704,7 @@ "input": "compact/m016-in.jsonld", "context": "compact/m016-context.jsonld", "expect": "compact/m016-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm017", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1543,7 +1713,7 @@ "input": "compact/m017-in.jsonld", "context": "compact/m017-context.jsonld", "expect": "compact/m017-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm018", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1552,7 +1722,7 @@ "input": "compact/m018-in.jsonld", "context": "compact/m018-context.jsonld", "expect": "compact/m018-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm019", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1561,7 +1731,34 @@ "input": "compact/m019-in.jsonld", "context": "compact/m019-context.jsonld", "expect": "compact/m019-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm020", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "node reference compacts to string value of type map", + "purpose": "index on @type", + "input": "compact/m020-in.jsonld", + "context": "compact/m020-context.jsonld", + "expect": "compact/m020-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm021", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "node reference compacts to string value of type map with @type: @id", + "purpose": "index on @type", + "input": "compact/m021-in.jsonld", + "context": "compact/m021-context.jsonld", + "expect": "compact/m021-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm022", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "node reference compacts to string value of type map with @type: @vocab", + "purpose": "index on @type", + "input": "compact/m022-in.jsonld", + "context": "compact/m022-context.jsonld", + "expect": "compact/m022-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn001", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1570,7 +1767,7 @@ "input": "compact/n001-in.jsonld", "context": "compact/n001-context.jsonld", "expect": "compact/n001-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn002", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1579,7 +1776,7 @@ "input": "compact/n002-in.jsonld", "context": "compact/n002-context.jsonld", "expect": "compact/n002-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn003", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1588,7 +1785,7 @@ "input": "compact/n003-in.jsonld", "context": "compact/n003-context.jsonld", "expect": "compact/n003-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn004", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1597,7 +1794,7 @@ "input": "compact/n004-in.jsonld", "context": "compact/n004-context.jsonld", "expect": "compact/n004-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn005", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1606,7 +1803,7 @@ "input": "compact/n005-in.jsonld", "context": "compact/n005-context.jsonld", "expect": "compact/n005-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn006", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1615,7 +1812,7 @@ "input": "compact/n006-in.jsonld", "context": "compact/n006-context.jsonld", "expect": "compact/n006-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn007", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1624,7 +1821,7 @@ "input": "compact/n007-in.jsonld", "context": "compact/n007-context.jsonld", "expect": "compact/n007-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn008", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1633,7 +1830,7 @@ "input": "compact/n008-in.jsonld", "context": "compact/n008-context.jsonld", "expect": "compact/n008-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn009", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1642,7 +1839,7 @@ "input": "compact/n009-in.jsonld", "context": "compact/n009-context.jsonld", "expect": "compact/n009-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn010", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1651,7 +1848,16 @@ "input": "compact/n010-in.jsonld", "context": "compact/n010-context.jsonld", "expect": "compact/n010-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tn011", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], + "name": "Nests using alias of @nest (defined with @id)", + "purpose": "Compaction using @nest", + "input": "compact/n011-in.jsonld", + "context": "compact/n011-context.jsonld", + "expect": "compact/n011-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tp001", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1666,7 +1872,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact IRI does not use expanded term definition in 1.1", "purpose": "Terms with an expanded term definition are not used for creating compact IRIs", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/p002-in.jsonld", "context": "compact/p002-context.jsonld", "expect": "compact/p002-out.jsonld" @@ -1693,7 +1899,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact IRI uses term with definition including @prefix: true", "purpose": "Expanded term definition may set prefix explicitly in 1.1", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/p005-in.jsonld", "context": "compact/p005-context.jsonld", "expect": "compact/p005-out.jsonld" @@ -1702,7 +1908,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact IRI uses term with definition including @prefix: true", "purpose": "Expanded term definition may set prefix explicitly in 1.1", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/p006-in.jsonld", "context": "compact/p006-context.jsonld", "expect": "compact/p006-out.jsonld" @@ -1720,7 +1926,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "Compact IRI does not use term with definition including @prefix: false", "purpose": "Expanded term definition may set prefix explicitly in 1.1", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/p008-in.jsonld", "context": "compact/p008-context.jsonld", "expect": "compact/p008-out.jsonld" @@ -1729,7 +1935,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "property-valued index indexes property value, instead of property (value)", "purpose": "Compacting property-valued indexes.", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/pi01-in.jsonld", "context": "compact/pi01-context.jsonld", "expect": "compact/pi01-out.jsonld" @@ -1738,7 +1944,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "property-valued index indexes property value, instead of property (multiple values)", "purpose": "Compacting property-valued indexes.", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/pi02-in.jsonld", "context": "compact/pi02-context.jsonld", "expect": "compact/pi02-out.jsonld" @@ -1747,7 +1953,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "property-valued index indexes property value, instead of property (node)", "purpose": "Compacting property-valued indexes.", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/pi03-in.jsonld", "context": "compact/pi03-context.jsonld", "expect": "compact/pi03-out.jsonld" @@ -1756,7 +1962,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "property-valued index indexes property value, instead of property (multiple nodes)", "purpose": "Compacting property-valued indexes.", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/pi04-in.jsonld", "context": "compact/pi04-context.jsonld", "expect": "compact/pi04-out.jsonld" @@ -1765,7 +1971,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "property-valued index indexes using @none if no property value exists", "purpose": "Compacting property-valued indexes.", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/pi05-in.jsonld", "context": "compact/pi05-context.jsonld", "expect": "compact/pi05-out.jsonld" @@ -1774,7 +1980,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], "name": "property-valued index indexes using @none if no property value does not compact to string", "purpose": "Compacting property-valued indexes.", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, "input": "compact/pi06-in.jsonld", "context": "compact/pi06-context.jsonld", "expect": "compact/pi06-out.jsonld" @@ -1786,7 +1992,7 @@ "option": {"specVersion": "json-ld-1.1"}, "input": "compact/pr01-in.jsonld", "context": "compact/pr01-context.jsonld", - "expect": "invalid context nullification" + "expectErrorCode": "invalid context nullification" }, { "@id": "#tpr02", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], @@ -1795,7 +2001,7 @@ "option": {"specVersion": "json-ld-1.1"}, "input": "compact/pr02-in.jsonld", "context": "compact/pr02-context.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr03", "@type": ["jld:NegativeEvaluationTest", "jld:CompactTest"], @@ -1804,7 +2010,7 @@ "option": {"specVersion": "json-ld-1.1"}, "input": "compact/pr03-in.jsonld", "context": "compact/pr03-context.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr04", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1831,7 +2037,7 @@ "input": "compact/r001-in.jsonld", "context": "compact/r001-context.jsonld", "expect": "compact/r001-out.jsonld", - "option": {"base": "http://example.org/", "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"base": "http://example.org/", "specVersion": "json-ld-1.1"} }, { "@id": "#tr002", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1841,7 +2047,7 @@ "context": "compact/r002-context.jsonld", "expect": "compact/r002-out.jsonld", "option": { - "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1", + "specVersion": "json-ld-1.1", "compactToRelative": false } }, { @@ -1852,7 +2058,7 @@ "input": "compact/s001-in.jsonld", "context": "compact/s001-context.jsonld", "expect": "compact/s001-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#ts002", "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], @@ -1861,51 +2067,6 @@ "input": "compact/s002-in.jsonld", "context": "compact/s002-context.jsonld", "expect": "compact/s002-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, { - "@id": "#tli01", - "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], - "name": "coerced @list containing an empty list", - "purpose": "Lists of Lists", - "input": "compact/li01-in.jsonld", - "context": "compact/li01-context.jsonld", - "expect": "compact/li01-out.jsonld", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#tli02", - "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], - "name": "coerced @list containing a list", - "purpose": "Lists of Lists", - "input": "compact/li02-in.jsonld", - "context": "compact/li02-context.jsonld", - "expect": "compact/li02-out.jsonld", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#tli03", - "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], - "name": "coerced @list containing an deep list", - "purpose": "Lists of Lists", - "input": "compact/li03-in.jsonld", - "context": "compact/li03-context.jsonld", - "expect": "compact/li03-out.jsonld", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#tli04", - "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], - "name": "coerced @list containing multiple lists", - "purpose": "Lists of Lists", - "input": "compact/li04-in.jsonld", - "context": "compact/li04-context.jsonld", - "expect": "compact/li04-out.jsonld", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#tli05", - "@type": [ "jld:PositiveEvaluationTest", "jld:CompactTest" ], - "name": "coerced @list containing mixed list values", - "purpose": "Lists of Lists", - "input": "compact/li05-in.jsonld", - "context": "compact/li05-context.jsonld", - "expect": "compact/li05-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#ttn01", diff --git a/core/src/test/resources/json-ld-api-tests/compact/0109-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0109-context.jsonld new file mode 100644 index 00000000..2af65c48 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0109-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0109-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0109-in.jsonld new file mode 100644 index 00000000..61047099 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0109-in.jsonld @@ -0,0 +1,8 @@ +[{ + "foo:input": [{ + "@graph": [ + {"foo:value": "x"}, + {"foo:value": "y"} + ] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0109-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0109-out.jsonld new file mode 100644 index 00000000..3a322f1a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0109-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": { + "@included": [{ + "value": "x" + }, { + "value": "y" + }] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0110-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0110-context.jsonld new file mode 100644 index 00000000..c6cb8aa0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0110-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0110-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0110-in.jsonld new file mode 100644 index 00000000..61047099 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0110-in.jsonld @@ -0,0 +1,8 @@ +[{ + "foo:input": [{ + "@graph": [ + {"foo:value": "x"}, + {"foo:value": "y"} + ] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/0110-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/0110-out.jsonld new file mode 100644 index 00000000..328f71b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/0110-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + }, + "input": [{ + "@included": [{ + "value": "x" + }, { + "value": "y" + }] + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/c024-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c024-context.jsonld index 474de9db..cc53f326 100644 --- a/core/src/test/resources/json-ld-api-tests/compact/c024-context.jsonld +++ b/core/src/test/resources/json-ld-api-tests/compact/c024-context.jsonld @@ -11,7 +11,6 @@ "@id": "ex:Inner", "@context": { "@version": 1.1, - "val": "@value", "foo": { "@id": "ex:foo", "@container": "@set", diff --git a/core/src/test/resources/json-ld-api-tests/compact/c024-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c024-out.jsonld index 3f2b5434..8c22c53e 100644 --- a/core/src/test/resources/json-ld-api-tests/compact/c024-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/compact/c024-out.jsonld @@ -11,7 +11,6 @@ "@id": "ex:Inner", "@context": { "@version": 1.1, - "val": "@value", "foo": { "@id": "ex:foo", "@container": "@set", diff --git a/core/src/test/resources/json-ld-api-tests/compact/c026-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c026-context.jsonld new file mode 100644 index 00000000..9116af42 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/c026-context.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "Foo": { + "@context": { + "@propagate": true, + "baz": {"@type": "@vocab"} + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/c026-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c026-in.jsonld new file mode 100644 index 00000000..8ff196e6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/c026-in.jsonld @@ -0,0 +1,8 @@ +[ + { + "@type": ["http://example/Foo"], + "http://example/bar": [{ + "http://example/baz": [{"@id": "http://example/buzz"}] + }] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/compact/c026-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c026-out.jsonld new file mode 100644 index 00000000..09f08030 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/c026-out.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "Foo": { + "@context": { + "@propagate": true, + "baz": {"@type": "@vocab"} + } + } + }, + "@type": "Foo", + "bar": {"baz": "buzz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/c027-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c027-context.jsonld new file mode 100644 index 00000000..9b1ac04c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/c027-context.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "bar": { + "@context": { + "@propagate": false, + "baz": {"@type": "@id"} + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/c027-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c027-in.jsonld new file mode 100644 index 00000000..28baae40 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/c027-in.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example/bar": [{ + "http://example/baz": [{ + "http://example/baz": [{"@value": "buzz"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/c027-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/c027-out.jsonld new file mode 100644 index 00000000..7937a8ee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/c027-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "bar": { + "@context": { + "@propagate": false, + "baz": {"@type": "@id"} + } + } + }, + "bar": {"baz": {"baz": "buzz"}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di01-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di01-context.jsonld new file mode 100644 index 00000000..49916e71 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di01-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term5": {"@id": "http://example.com/term", "@direction": null}, + "@direction": "ltr" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di01-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di01-in.jsonld new file mode 100644 index 00000000..8a546baf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di01-in.jsonld @@ -0,0 +1,6 @@ +{ + "http://example.com/term": [ + "v5", + {"@value": "plain literal"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di01-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di01-out.jsonld new file mode 100644 index 00000000..f0dc26fd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di01-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term5": {"@id": "http://example.com/term", "@direction": null}, + "@direction": "ltr" + }, + "term5": [ "v5", "plain literal" ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di02-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di02-context.jsonld new file mode 100644 index 00000000..7bfb3503 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di02-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"direction": "@direction"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di02-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di02-in.jsonld new file mode 100644 index 00000000..63b5d46e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di02-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.org/foo": {"@value": "bar", "@direction": "ltr"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di02-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di02-out.jsonld new file mode 100644 index 00000000..d34c0015 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di02-out.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"direction": "@direction"}, + "http://example.org/foo": {"@value": "bar", "direction": "ltr"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di03-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di03-context.jsonld new file mode 100644 index 00000000..ee90c316 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di03-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "foo_ltr": {"@id": "http://example.com/foo", "@container": "@list", "@direction": "ltr"}, + "foo_rtl": {"@id": "http://example.com/foo", "@container": "@list", "@direction": "rtl"} + }, + "foo_ltr": ["en"], + "foo_rtl": ["ar"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di03-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di03-in.jsonld new file mode 100644 index 00000000..429aa76f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di03-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.com/foo": [ + {"@list": [{"@value": "en", "@direction": "ltr"}]}, + {"@list": [{"@value": "ar", "@direction": "rtl"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di03-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di03-out.jsonld new file mode 100644 index 00000000..ee90c316 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di03-out.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "foo_ltr": {"@id": "http://example.com/foo", "@container": "@list", "@direction": "ltr"}, + "foo_rtl": {"@id": "http://example.com/foo", "@container": "@list", "@direction": "rtl"} + }, + "foo_ltr": ["en"], + "foo_rtl": ["ar"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di04-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di04-context.jsonld new file mode 100644 index 00000000..b77d1034 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di04-context.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@direction": "ltr", + "@container": "@language" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di04-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di04-in.jsonld new file mode 100644 index 00000000..a0b9512c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di04-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "Die Königin", "@language": "de", "@direction": "ltr"}, + {"@value": "Ihre Majestät", "@language": "de", "@direction": "ltr"}, + {"@value": "The Queen", "@language": "en", "@direction": "ltr"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di04-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di04-out.jsonld new file mode 100644 index 00000000..a61d6a93 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di04-out.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@direction": "ltr", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di05-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di05-context.jsonld new file mode 100644 index 00000000..b302024c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di05-context.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@direction": "rtl", + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@direction": "ltr", + "@container": "@language" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di05-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di05-in.jsonld new file mode 100644 index 00000000..a0b9512c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di05-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "Die Königin", "@language": "de", "@direction": "ltr"}, + {"@value": "Ihre Majestät", "@language": "de", "@direction": "ltr"}, + {"@value": "The Queen", "@language": "en", "@direction": "ltr"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di05-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di05-out.jsonld new file mode 100644 index 00000000..33363f63 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di05-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "@direction": "rtl", + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@direction": "ltr", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di06-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di06-context.jsonld new file mode 100644 index 00000000..f618d0d1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di06-context.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@direction": "rtl", + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@direction": null, + "@container": "@language" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di06-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di06-in.jsonld new file mode 100644 index 00000000..2ba56561 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di06-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "Die Königin", "@language": "de"}, + {"@value": "Ihre Majestät", "@language": "de"}, + {"@value": "The Queen", "@language": "en"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di06-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di06-out.jsonld new file mode 100644 index 00000000..b9bb61e6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di06-out.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "@direction": "rtl", + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@direction": null, + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di07-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di07-context.jsonld new file mode 100644 index 00000000..e0b7b922 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di07-context.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@direction": "rtl", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di07-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di07-in.jsonld new file mode 100644 index 00000000..c7df546b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di07-in.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "Die Königin", "@language": "de"}, + {"@value": "Ihre Majestät", "@language": "de", "@direction": "ltr"}, + {"@value": "The Queen", "@language": "en", "@direction": "rtl"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/di07-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/di07-out.jsonld new file mode 100644 index 00000000..65c287f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/di07-out.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "@version": 1.1, + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@direction": "rtl", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen" + }, + "vocab:label": [ + {"@value": "Die Königin", "@language": "de"}, + {"@value": "Ihre Majestät", "@language": "de", "@direction": "ltr"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/e001-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/e001-context.jsonld index 29f4e232..ee90c316 100644 --- a/core/src/test/resources/json-ld-api-tests/compact/e001-context.jsonld +++ b/core/src/test/resources/json-ld-api-tests/compact/e001-context.jsonld @@ -1,5 +1,8 @@ { "@context": { - "list": {"@id": "http://example/list", "@container": "@list"} - } + "foo_ltr": {"@id": "http://example.com/foo", "@container": "@list", "@direction": "ltr"}, + "foo_rtl": {"@id": "http://example.com/foo", "@container": "@list", "@direction": "rtl"} + }, + "foo_ltr": ["en"], + "foo_rtl": ["ar"] } \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in01-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in01-context.jsonld new file mode 100644 index 00000000..d52ab445 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in01-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "included": {"@id": "@included", "@container": "@set"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in01-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in01-in.jsonld new file mode 100644 index 00000000..2e218830 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in01-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/prop": [{"@value": "value"}], + "@included": [{ + "http://example.org/prop": [{"@value": "value2"}] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in01-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in01-out.jsonld new file mode 100644 index 00000000..4b8a9be6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in01-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "included": {"@id": "@included", "@container": "@set"} + }, + "prop": "value", + "included": [{ + "prop": "value2" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in02-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in02-context.jsonld new file mode 100644 index 00000000..c5dbc8e9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in02-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in02-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in02-in.jsonld new file mode 100644 index 00000000..2e218830 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in02-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/prop": [{"@value": "value"}], + "@included": [{ + "http://example.org/prop": [{"@value": "value2"}] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in02-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in02-out.jsonld new file mode 100644 index 00000000..a976cce7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in02-out.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": { + "prop": "value2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in03-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in03-context.jsonld new file mode 100644 index 00000000..f5511088 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in03-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "included": "@included" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in03-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in03-in.jsonld new file mode 100644 index 00000000..349be02d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in03-in.jsonld @@ -0,0 +1,6 @@ +[{ + "@included": [ + {"http://example.org/prop": [{"@value": "value1"}]}, + {"http://example.org/prop": [{"@value": "value2"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in03-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in03-out.jsonld new file mode 100644 index 00000000..3db34b64 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in03-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "included": "@included" + }, + "included": [ + {"prop": "value1"}, + {"prop": "value2"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in04-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in04-context.jsonld new file mode 100644 index 00000000..c5dbc8e9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in04-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in04-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in04-in.jsonld new file mode 100644 index 00000000..766ef215 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in04-in.jsonld @@ -0,0 +1,9 @@ +[{ + "http://example.org/prop": [{"@value": "value"}], + "@included": [{ + "http://example.org/prop": [{"@value": "value2"}], + "@included": [{ + "http://example.org/prop": [{"@value": "value3"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in04-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in04-out.jsonld new file mode 100644 index 00000000..2436a454 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in04-out.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": { + "prop": "value2", + "@included": { + "prop": "value3" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in05-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in05-context.jsonld new file mode 100644 index 00000000..c5dbc8e9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in05-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in05-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in05-in.jsonld new file mode 100644 index 00000000..671224bd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in05-in.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/prop": [{ + "@type": ["http://example.org/Foo"], + "@included": [{ + "@type": ["http://example.org/Bar"] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/in05-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/in05-out.jsonld new file mode 100644 index 00000000..b94709b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/in05-out.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": { + "@type": "Foo", + "@included": { + "@type": "Bar" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/js10-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js10-context.jsonld new file mode 100644 index 00000000..d42e08ed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/js10-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#string", "@type": "@json"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/js10-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js10-in.jsonld new file mode 100644 index 00000000..56ae74fc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/js10-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/vocab#string": [{ + "@value": "string", + "@type": "@json" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/js10-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js10-out.jsonld new file mode 100644 index 00000000..08fc84f7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/js10-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#string", "@type": "@json"} + }, + "e": "string" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/js11-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js11-context.jsonld new file mode 100644 index 00000000..1daac1c2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/js11-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#null", "@type": "@json"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/js11-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js11-in.jsonld new file mode 100644 index 00000000..5efe8b14 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/js11-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/vocab#null": [{ + "@value": null, + "@type": "@json" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/js11-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/js11-out.jsonld new file mode 100644 index 00000000..56411149 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/js11-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#null", "@type": "@json"} + }, + "e": null +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/la01-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/la01-context.jsonld new file mode 100644 index 00000000..ee0dc44d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/la01-context.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "type1": "http://example.com/t1", + "type2": "http://example.com/t2", + "@language": "de", + "termL": { "@id": "http://example.com/termLanguage" }, + "termLL0": { "@id": "http://example.com/termLanguage", "@container": "@list" }, + "termLL1": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": "eN" }, + "termLL2": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": null }, + "termT": { "@id": "http://example.com/termType" }, + "termTL0": { "@id": "http://example.com/termType", "@container": "@list" }, + "termTL1": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type1" }, + "termTL2": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type2" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/la01-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/la01-in.jsonld new file mode 100644 index 00000000..e25e21f4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/la01-in.jsonld @@ -0,0 +1,48 @@ +{ + + "@context": { + "type1": "http://example.com/t1", + "type2": "http://example.com/t2" + }, + "@id": "http://example.com/id1", + "http://example.com/termLanguage": [ + { + "@list": [ + { "@value": "termLL0.1", "@language": "de" }, + { "@value": "termLL0.2", "@language": "de" } + ] + }, + { + "@list": [ + { "@value": "termLL1.1", "@language": "en" }, + { "@value": "termLL1.2", "@language": "en" } + ] + }, + { + "@list": [ + "termLL2.1", + "termLL2.2" + ] + } + ], + "http://example.com/termType": [ + { + "@list": [ + { "@value": "termTL0.1", "@type": "type1" }, + { "@value": "termTL0.2", "@type": "type2" } + ] + }, + { + "@list": [ + { "@value": "termTL1.1", "@type": "type1" }, + { "@value": "termTL1.2", "@type": "type1" } + ] + }, + { + "@list": [ + { "@value": "termTL2.1", "@type": "type2" }, + { "@value": "termTL2.2", "@type": "type2" } + ] + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/la01-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/la01-out.jsonld new file mode 100644 index 00000000..050002e2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/la01-out.jsonld @@ -0,0 +1,46 @@ +{ + "@context": { + "type1": "http://example.com/t1", + "type2": "http://example.com/t2", + "@language": "de", + "termL": { "@id": "http://example.com/termLanguage" }, + "termLL0": { "@id": "http://example.com/termLanguage", "@container": "@list" }, + "termLL1": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": "eN" }, + "termLL2": { "@id": "http://example.com/termLanguage", "@container": "@list", "@language": null }, + "termT": { "@id": "http://example.com/termType" }, + "termTL0": { "@id": "http://example.com/termType", "@container": "@list" }, + "termTL1": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type1" }, + "termTL2": { "@id": "http://example.com/termType", "@container": "@list", "@type": "type2" } + }, + "@id": "http://example.com/id1", + "termLL0": [ + "termLL0.1", + "termLL0.2" + ], + "termLL1": [ + "termLL1.1", + "termLL1.2" + ], + "termLL2": [ + "termLL2.1", + "termLL2.2" + ], + "termTL0": [ + { + "@type": "type1", + "@value": "termTL0.1" + }, + { + "@type": "type2", + "@value": "termTL0.2" + } + ], + "termTL1": [ + "termTL1.1", + "termTL1.2" + ], + "termTL2": [ + "termTL2.1", + "termTL2.2" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/compact/m020-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m020-context.jsonld new file mode 100644 index 00000000..1dcdb588 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/m020-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@container": "@type" } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/m020-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m020-in.jsonld new file mode 100644 index 00000000..b1076fd6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/m020-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/ns/foo": [{ + "@id": "http://example.org/base/baz", + "@type": [ "http://example.org/ns/bar" ] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/m020-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m020-out.jsonld new file mode 100644 index 00000000..d571678d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/m020-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/m021-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m021-context.jsonld new file mode 100644 index 00000000..2f234332 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/m021-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@type": "@id", "@container": "@type" } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/m021-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m021-in.jsonld new file mode 100644 index 00000000..b1076fd6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/m021-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/ns/foo": [{ + "@id": "http://example.org/base/baz", + "@type": [ "http://example.org/ns/bar" ] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/m021-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m021-out.jsonld new file mode 100644 index 00000000..7acaba29 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/m021-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@type": "@id", "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/m022-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m022-context.jsonld new file mode 100644 index 00000000..a596a5e3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/m022-context.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@type": "@vocab", "@container": "@type" } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/m022-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m022-in.jsonld new file mode 100644 index 00000000..29e72e9f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/m022-in.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/ns/foo": [{ + "@id": "http://example.org/ns/baz", + "@type": [ "http://example.org/ns/bar" ] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/m022-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/m022-out.jsonld new file mode 100644 index 00000000..81386dfe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/m022-out.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@type": "@vocab", "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/n011-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n011-context.jsonld new file mode 100644 index 00000000..61aa7836 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/n011-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": {"@id": "@nest"}, + "p2": {"@nest": "nest"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/n011-in.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n011-in.jsonld new file mode 100644 index 00000000..c0373456 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/n011-in.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example.org/p1": [{"@value": "v1"}], + "http://example.org/p2": [{"@value": "v2"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/n011-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/n011-out.jsonld new file mode 100644 index 00000000..001d2436 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/compact/n011-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": {"@id": "@nest"}, + "p2": {"@nest": "nest"} + }, + "p1": "v1", + "nest": { + "p2": "v2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/pr02-context.jsonld b/core/src/test/resources/json-ld-api-tests/compact/pr02-context.jsonld index 90e03cea..2c7433f9 100644 --- a/core/src/test/resources/json-ld-api-tests/compact/pr02-context.jsonld +++ b/core/src/test/resources/json-ld-api-tests/compact/pr02-context.jsonld @@ -2,8 +2,8 @@ "@context": [{ "@vocab": "http://example.com/", "@version": 1.1, - "protected": {"@protected": true} + "protected": {"@type": "@id", "@protected": true} }, { - "protected": "http://example.com/protected" + "protected": {"@type": "@vocab"} }] } diff --git a/core/src/test/resources/json-ld-api-tests/compact/s001-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/s001-out.jsonld index 07b41459..f0b9bc2b 100644 --- a/core/src/test/resources/json-ld-api-tests/compact/s001-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/compact/s001-out.jsonld @@ -11,7 +11,7 @@ "mylist": ["foo"], "myset": ["foo"], "myid": {"http://example/id": {"@type": "http://example/type"}}, - "mytype": {"http://example/type": {"@id": "http://example/id"}}, + "mytype": {"http://example/type": "http://example/id"}, "mylanguage": {"en": "foo"}, "myindex": {"bar": "foo"} } \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/compact/s002-out.jsonld b/core/src/test/resources/json-ld-api-tests/compact/s002-out.jsonld index aeef6d6d..7a99c67e 100644 --- a/core/src/test/resources/json-ld-api-tests/compact/s002-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/compact/s002-out.jsonld @@ -7,7 +7,7 @@ }, "@id": "http://example.org/id", "myid": {"http://example/id": [{"@type": "http://example/type"}]}, - "mytype": {"http://example/type": [{"@id": "http://example/id"}]}, + "mytype": {"http://example/type": ["http://example/id"]}, "mylanguage": {"en": ["foo"]}, "myindex": {"bar": ["foo"]} } \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/context.jsonld b/core/src/test/resources/json-ld-api-tests/context.jsonld index e465bbf1..25e9cee0 100644 --- a/core/src/test/resources/json-ld-api-tests/context.jsonld +++ b/core/src/test/resources/json-ld-api-tests/context.jsonld @@ -7,13 +7,14 @@ "rdfs": "http://www.w3.org/2000/01/rdf-schema#", "xsd": "http://www.w3.org/2001/XMLSchema#", - "context": { "@type": "@id" }, - "expect": { "@id": "mf:result", "@type": "@id" }, - "frame": { "@type": "@id" }, - "input": { "@id": "mf:action", "@type": "@id" }, - "option": { "@type": "@id"}, - "sequence": { "@id": "mf:entries", "@type": "@id", "@container": "@list" }, - "redirectTo": { "@type": "@id"}, + "context": { "@type": "@id" }, + "expect": { "@id": "mf:result", "@type": "@id" }, + "expectErrorCode": { "@id": "mf:result" }, + "frame": { "@type": "@id" }, + "input": { "@id": "mf:action", "@type": "@id" }, + "option": { "@type": "@id"}, + "sequence": { "@id": "mf:entries", "@type": "@id", "@container": "@list" }, + "redirectTo": { "@type": "@id"}, "name": "mf:name", "purpose": "rdfs:comment", @@ -22,7 +23,7 @@ "compactArrays": { "@type": "xsd:boolean" }, "compactToRelative": { "@type": "xsd:boolean" }, "contentType": { "@type": "xsd:boolean" }, - "expandContext": { "@type": "xsd:string" }, + "expandContext": { "@type": "@id" }, "httpLink": { "@type": "xsd:string", "@container": "@set" }, "httpStatus": { "@type": "xsd:integer" }, "processingMode": { "@type": "xsd:string" }, diff --git a/core/src/test/resources/json-ld-api-tests/expand-manifest.html b/core/src/test/resources/json-ld-api-tests/expand-manifest.html new file mode 100644 index 00000000..90d634f9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand-manifest.html @@ -0,0 +1,9739 @@ + + + + + +Expansion + + + + + +

+ +W3C + +

+

Expansion

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +expand-manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD Framing Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

expand tests have input and expected documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output.

+ +

Expansion tests may have a expandContext option, which is treated +as an IRI relative to the manifest.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior.

+ +

Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Test case properties identifying a file (input, output, context, expectContext, and frame) are presumed to have a media type appropriate for the file extension. + +
      +
    • application/ld+json for .jsonld
    • +
    • text/html for .html
    • +
    • application/n-quads for .nq
    • +
  • +
  • The media type for the file associated with the input property can be overridden using the contentType option.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • Some toRdf tests require the use of JSON Canonicalization Scheme to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results using RDF Dataset Isomorphism. These tests are marked using the useJCS option.
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
  • Some tests may have a requires property, indicating some optional behavior described by a test vocabulary term.
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-api.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+
+
baseIri
+
https://w3c.github.io/json-ld-api/tests/
+
+

JSON-LD Expansion tests.

+
+

+Test sequence: +

+
+
+Test t0001 drop free-floating nodes +
+
+
+
id
+
#t0001
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expand drops unreferenced nodes having only @id
+
input
+
+expand/0001-in.jsonld +
+
expect
+
+expand/0001-out.jsonld +
+
+
+
+Test t0002 basic +
+
+
+
id
+
#t0002
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding terms with different types of values
+
input
+
+expand/0002-in.jsonld +
+
expect
+
+expand/0002-out.jsonld +
+
+
+
+Test t0003 drop null and unmapped properties +
+
+
+
id
+
#t0003
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that null values and unmapped properties are removed from expanded output
+
input
+
+expand/0003-in.jsonld +
+
expect
+
+expand/0003-out.jsonld +
+
+
+
+Test t0004 optimize @set, keep empty arrays +
+
+
+
id
+
#t0004
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Uses of @set are removed in expansion; values of @set, or just plain values which are empty arrays are retained
+
input
+
+expand/0004-in.jsonld +
+
expect
+
+expand/0004-out.jsonld +
+
+
+
+Test t0005 do not expand aliased @id/@type +
+
+
+
id
+
#t0005
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
If a keyword is aliased, it is not used when expanding
+
input
+
+expand/0005-in.jsonld +
+
expect
+
+expand/0005-out.jsonld +
+
+
+
+Test t0006 alias keywords +
+
+
+
id
+
#t0006
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Aliased keywords expand in resulting document
+
input
+
+expand/0006-in.jsonld +
+
expect
+
+expand/0006-out.jsonld +
+
+
+
+Test t0007 date type-coercion +
+
+
+
id
+
#t0007
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expand strings to expanded value with @type: xsd:dateTime
+
input
+
+expand/0007-in.jsonld +
+
expect
+
+expand/0007-out.jsonld +
+
+
+
+Test t0008 @value with @language +
+
+
+
id
+
#t0008
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Keep expanded values with @language, drop non-conforming value objects containing just @language
+
input
+
+expand/0008-in.jsonld +
+
expect
+
+expand/0008-out.jsonld +
+
+
+
+Test t0009 @graph with terms +
+
+
+
id
+
#t0009
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph to contain multiple nodes within array
+
input
+
+expand/0009-in.jsonld +
+
expect
+
+expand/0009-out.jsonld +
+
+
+
+Test t0010 native types +
+
+
+
id
+
#t0010
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding native scalar retains native scalar within expanded value
+
input
+
+expand/0010-in.jsonld +
+
expect
+
+expand/0010-out.jsonld +
+
+
+
+Test t0011 coerced @id +
+
+
+
id
+
#t0011
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
A value of a property with @type: @id coercion expands to a node reference
+
input
+
+expand/0011-in.jsonld +
+
expect
+
+expand/0011-out.jsonld +
+
+
+
+Test t0012 @graph with embed +
+
+
+
id
+
#t0012
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph to contain multiple nodes within array
+
input
+
+expand/0012-in.jsonld +
+
expect
+
+expand/0012-out.jsonld +
+
+
+
+Test t0013 expand already expanded +
+
+
+
id
+
#t0013
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expand does not mess up already expanded document
+
input
+
+expand/0013-in.jsonld +
+
expect
+
+expand/0013-out.jsonld +
+
+
+
+Test t0014 @set of @value objects with keyword aliases +
+
+
+
id
+
#t0014
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding aliased @set and @value
+
input
+
+expand/0014-in.jsonld +
+
expect
+
+expand/0014-out.jsonld +
+
+
+
+Test t0015 collapse set of sets, keep empty lists +
+
+
+
id
+
#t0015
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
An array of multiple @set nodes are collapsed into a single array
+
input
+
+expand/0015-in.jsonld +
+
expect
+
+expand/0015-out.jsonld +
+
+
+
+Test t0016 context reset +
+
+
+
id
+
#t0016
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Setting @context to null within an embedded object resets back to initial context state
+
input
+
+expand/0016-in.jsonld +
+
expect
+
+expand/0016-out.jsonld +
+
+
+
+Test t0017 @graph and @id aliased +
+
+
+
id
+
#t0017
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding with @graph and @id aliases
+
input
+
+expand/0017-in.jsonld +
+
expect
+
+expand/0017-out.jsonld +
+
+
+
+Test t0018 override default @language +
+
+
+
id
+
#t0018
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
override default @language in terms; only language-tag strings
+
input
+
+expand/0018-in.jsonld +
+
expect
+
+expand/0018-out.jsonld +
+
+
+
+Test t0019 remove @value = null +
+
+
+
id
+
#t0019
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding a value of null removes the value
+
input
+
+expand/0019-in.jsonld +
+
expect
+
+expand/0019-out.jsonld +
+
+
+
+Test t0020 do not remove @graph if not at top-level +
+
+
+
id
+
#t0020
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
@graph used under a node is retained
+
input
+
+expand/0020-in.jsonld +
+
expect
+
+expand/0020-out.jsonld +
+
+
+
+Test t0021 do not remove @graph at top-level if not only property +
+
+
+
id
+
#t0021
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
@graph used at the top level is retained if there are other properties
+
input
+
+expand/0021-in.jsonld +
+
expect
+
+expand/0021-out.jsonld +
+
+
+
+Test t0022 expand value with default language +
+
+
+
id
+
#t0022
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding with a default language applies that language to string values
+
input
+
+expand/0022-in.jsonld +
+
expect
+
+expand/0022-out.jsonld +
+
+
+
+Test t0023 Expanding list/set with coercion +
+
+
+
id
+
#t0023
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding lists and sets with properties having coercion coerces list/set values
+
input
+
+expand/0023-in.jsonld +
+
expect
+
+expand/0023-out.jsonld +
+
+
+
+Test t0024 Multiple contexts +
+
+
+
id
+
#t0024
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests that contexts in an array are merged
+
input
+
+expand/0024-in.jsonld +
+
expect
+
+expand/0024-out.jsonld +
+
+
+
+Test t0025 Problematic IRI expansion tests +
+
+
+
id
+
#t0025
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding different kinds of terms and Compact IRIs
+
input
+
+expand/0025-in.jsonld +
+
expect
+
+expand/0025-out.jsonld +
+
+
+
+Test t0026 Term definition with @id: @type +
+
+
+
id
+
#t0026
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding term mapping to @type uses @type syntax
+
input
+
+expand/0026-in.jsonld +
+
expect
+
+expand/0026-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test t0027 Duplicate values in @list and @set +
+
+
+
id
+
#t0027
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Duplicate values in @list and @set are not merged
+
input
+
+expand/0027-in.jsonld +
+
expect
+
+expand/0027-out.jsonld +
+
+
+
+Test t0028 Use @vocab in properties and @type but not in @id +
+
+
+
id
+
#t0028
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
@vocab is used to compact properties and @type, but is not used for @id
+
input
+
+expand/0028-in.jsonld +
+
expect
+
+expand/0028-out.jsonld +
+
+
+
+Test t0029 Relative IRIs +
+
+
+
id
+
#t0029
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
@base is used to compact @id; test with different relative IRIs
+
input
+
+expand/0029-in.jsonld +
+
expect
+
+expand/0029-out.jsonld +
+
+
+
+Test t0030 Language maps +
+
+
+
id
+
#t0030
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Language Maps expand values to include @language
+
input
+
+expand/0030-in.jsonld +
+
expect
+
+expand/0030-out.jsonld +
+
+
+
+Test t0031 type-coercion of native types +
+
+
+
id
+
#t0031
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding native types with type coercion adds the coerced type to an expanded value representation and retains the native value representation
+
input
+
+expand/0031-in.jsonld +
+
expect
+
+expand/0031-out.jsonld +
+
+
+
+Test t0032 Null term and @vocab +
+
+
+
id
+
#t0032
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Mapping a term to null decouples it from @vocab
+
input
+
+expand/0032-in.jsonld +
+
expect
+
+expand/0032-out.jsonld +
+
+
+
+Test t0033 Using @vocab with with type-coercion +
+
+
+
id
+
#t0033
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that terms can be defined using @vocab
+
input
+
+expand/0033-in.jsonld +
+
expect
+
+expand/0033-out.jsonld +
+
+
+
+Test t0034 Multiple properties expanding to the same IRI +
+
+
+
id
+
#t0034
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies multiple values from separate terms are deterministically made multiple values of the IRI associated with the terms
+
input
+
+expand/0034-in.jsonld +
+
expect
+
+expand/0034-out.jsonld +
+
+
+
+Test t0035 Language maps with @vocab, default language, and colliding property +
+
+
+
id
+
#t0035
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Pathological tests of language maps
+
input
+
+expand/0035-in.jsonld +
+
expect
+
+expand/0035-out.jsonld +
+
+
+
+Test t0036 Expanding @index +
+
+
+
id
+
#t0036
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps for terms defined with @container: @index
+
input
+
+expand/0036-in.jsonld +
+
expect
+
+expand/0036-out.jsonld +
+
+
+
+Test t0037 Expanding @reverse +
+
+
+
id
+
#t0037
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding @reverse keeps @reverse
+
input
+
+expand/0037-in.jsonld +
+
expect
+
+expand/0037-out.jsonld +
+
+
+
+Test t0038 Expanding blank node labels +
+
+
+
id
+
#t0038
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Blank nodes are not relabeled during expansion
+
input
+
+expand/0038-in.jsonld +
+
expect
+
+expand/0038-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test t0039 Using terms in a reverse-maps +
+
+
+
id
+
#t0039
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Terms within @reverse are expanded
+
input
+
+expand/0039-in.jsonld +
+
expect
+
+expand/0039-out.jsonld +
+
+
+
+Test t0040 language and index expansion on non-objects +
+
+
+
id
+
#t0040
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Only invoke language and index map expansion if the value is a JSON object
+
input
+
+expand/0040-in.jsonld +
+
expect
+
+expand/0040-out.jsonld +
+
+
+
+Test t0041 @language: null resets the default language +
+
+
+
id
+
#t0041
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
+
input
+
+expand/0041-in.jsonld +
+
expect
+
+expand/0041-out.jsonld +
+
+
+
+Test t0042 Reverse properties +
+
+
+
id
+
#t0042
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding terms defined as reverse properties uses @reverse in expanded document
+
input
+
+expand/0042-in.jsonld +
+
expect
+
+expand/0042-out.jsonld +
+
+
+
+Test t0043 Using reverse properties inside a @reverse-container +
+
+
+
id
+
#t0043
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding a reverse property within a @reverse undoes both reversals
+
input
+
+expand/0043-in.jsonld +
+
expect
+
+expand/0043-out.jsonld +
+
+
+
+Test t0044 Index maps with language mappings +
+
+
+
id
+
#t0044
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Ensure index maps use language mapping
+
input
+
+expand/0044-in.jsonld +
+
expect
+
+expand/0044-out.jsonld +
+
+
+
+Test t0045 Top-level value objects +
+
+
+
id
+
#t0045
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding top-level value objects causes them to be removed
+
input
+
+expand/0045-in.jsonld +
+
expect
+
+expand/0045-out.jsonld +
+
+
+
+Test t0046 Free-floating nodes +
+
+
+
id
+
#t0046
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding free-floating nodes causes them to be removed
+
input
+
+expand/0046-in.jsonld +
+
expect
+
+expand/0046-out.jsonld +
+
+
+
+Test t0047 Free-floating values in sets and free-floating lists +
+
+
+
id
+
#t0047
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Free-floating values in sets are removed, free-floating lists are removed completely
+
input
+
+expand/0047-in.jsonld +
+
expect
+
+expand/0047-out.jsonld +
+
+
+
+Test t0048 Terms are ignored in @id +
+
+
+
id
+
#t0048
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Values of @id are not expanded as terms
+
input
+
+expand/0048-in.jsonld +
+
expect
+
+expand/0048-out.jsonld +
+
+
+
+Test t0049 String values of reverse properties +
+
+
+
id
+
#t0049
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
String values of a reverse property with @type: @id are treated as IRIs
+
input
+
+expand/0049-in.jsonld +
+
expect
+
+expand/0049-out.jsonld +
+
+
+
+Test t0050 Term definitions with prefix separate from prefix definitions +
+
+
+
id
+
#t0050
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Term definitions using compact IRIs don't inherit the definitions of the prefix
+
input
+
+expand/0050-in.jsonld +
+
expect
+
+expand/0050-out.jsonld +
+
+
+
+Test t0051 Expansion of keyword aliases in term definitions +
+
+
+
id
+
#t0051
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding terms which are keyword aliases
+
input
+
+expand/0051-in.jsonld +
+
expect
+
+expand/0051-out.jsonld +
+
+
+
+Test t0052 @vocab-relative IRIs in term definitions +
+
+
+
id
+
#t0052
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
If @vocab is defined, term definitions are expanded relative to @vocab
+
input
+
+expand/0052-in.jsonld +
+
expect
+
+expand/0052-out.jsonld +
+
+
+
+Test t0053 Expand absolute IRI with @type: @vocab +
+
+
+
id
+
#t0053
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding values of properties of @type: @vocab does not further expand absolute IRIs
+
input
+
+expand/0053-in.jsonld +
+
expect
+
+expand/0053-out.jsonld +
+
+
+
+Test t0054 Expand term with @type: @vocab +
+
+
+
id
+
#t0054
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding values of properties of @type: @vocab does not expand term values
+
input
+
+expand/0054-in.jsonld +
+
expect
+
+expand/0054-out.jsonld +
+
+
+
+Test t0055 Expand @vocab-relative term with @type: @vocab +
+
+
+
id
+
#t0055
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding values of properties of @type: @vocab expands relative IRIs using @vocab
+
input
+
+expand/0055-in.jsonld +
+
expect
+
+expand/0055-out.jsonld +
+
+
+
+Test t0056 Use terms with @type: @vocab but not with @type: @id +
+
+
+
id
+
#t0056
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Checks that expansion uses appropriate base depending on term definition having @type @id or @vocab
+
input
+
+expand/0056-in.jsonld +
+
expect
+
+expand/0056-out.jsonld +
+
+
+
+Test t0057 Expand relative IRI with @type: @vocab +
+
+
+
id
+
#t0057
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Relative values of terms with @type: @vocab expand relative to @vocab
+
input
+
+expand/0057-in.jsonld +
+
expect
+
+expand/0057-out.jsonld +
+
+
+
+Test t0058 Expand compact IRI with @type: @vocab +
+
+
+
id
+
#t0058
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Compact IRIs are expanded normally even if term has @type: @vocab
+
input
+
+expand/0058-in.jsonld +
+
expect
+
+expand/0058-out.jsonld +
+
+
+
+Test t0059 Reset @vocab by setting it to null +
+
+
+
id
+
#t0059
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Setting @vocab to null removes a previous definition
+
input
+
+expand/0059-in.jsonld +
+
expect
+
+expand/0059-out.jsonld +
+
+
+
+Test t0060 Overwrite document base with @base and reset it again +
+
+
+
id
+
#t0060
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Setting @base to an IRI and then resetting it to nil
+
input
+
+expand/0060-in.jsonld +
+
expect
+
+expand/0060-out.jsonld +
+
+
+
+Test t0061 Coercing native types to arbitrary datatypes +
+
+
+
id
+
#t0061
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding native types when coercing to arbitrary datatypes
+
input
+
+expand/0061-in.jsonld +
+
expect
+
+expand/0061-out.jsonld +
+
+
+
+Test t0062 Various relative IRIs with with @base +
+
+
+
id
+
#t0062
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Pathological relative IRIs
+
input
+
+expand/0062-in.jsonld +
+
expect
+
+expand/0062-out.jsonld +
+
+
+
+Test t0063 Reverse property and index container +
+
+
+
id
+
#t0063
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expaning reverse properties with an index-container
+
input
+
+expand/0063-in.jsonld +
+
expect
+
+expand/0063-out.jsonld +
+
+
+
+Test t0064 bnode values of reverse properties +
+
+
+
id
+
#t0064
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expand reverse property whose values are unlabeled blank nodes
+
input
+
+expand/0064-in.jsonld +
+
expect
+
+expand/0064-out.jsonld +
+
+
+
+Test t0065 Drop unmapped keys in reverse map +
+
+
+
id
+
#t0065
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Keys that are not mapped to an IRI in a reverse-map are dropped
+
input
+
+expand/0065-in.jsonld +
+
expect
+
+expand/0065-out.jsonld +
+
+
+
+Test t0066 Reverse-map keys with @vocab +
+
+
+
id
+
#t0066
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expand uses @vocab to expand keys in reverse-maps
+
input
+
+expand/0066-in.jsonld +
+
expect
+
+expand/0066-out.jsonld +
+
+
+
+Test t0067 prefix://suffix not a compact IRI +
+
+
+
id
+
#t0067
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes
+
input
+
+expand/0067-in.jsonld +
+
expect
+
+expand/0067-out.jsonld +
+
+
+
+Test t0068 _:suffix values are not a compact IRI +
+
+
+
id
+
#t0068
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore
+
input
+
+expand/0068-in.jsonld +
+
expect
+
+expand/0068-out.jsonld +
+
+
+
+Test t0069 Compact IRI as term with type mapping +
+
+
+
id
+
#t0069
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Redefine compact IRI to define type mapping using the compact IRI itself as value of @id
+
input
+
+expand/0069-in.jsonld +
+
expect
+
+expand/0069-out.jsonld +
+
+
+
+Test t0070 Compact IRI as term defined using equivalent compact IRI +
+
+
+
id
+
#t0070
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Redefine compact IRI to define type mapping using the compact IRI itself as string value
+
input
+
+expand/0070-in.jsonld +
+
expect
+
+expand/0070-out.jsonld +
+
+
+
+Test t0071 Redefine terms looking like compact IRIs +
+
+
+
id
+
#t0071
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Term definitions may look like compact IRIs
+
input
+
+expand/0071-in.jsonld +
+
expect
+
+expand/0071-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test t0072 Redefine term using @vocab, not itself +
+
+
+
id
+
#t0072
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Redefining a term as itself when @vocab is defined uses @vocab, not previous term definition
+
input
+
+expand/0072-in.jsonld +
+
expect
+
+expand/0072-out.jsonld +
+
+
+
+Test t0073 @context not first property +
+
+
+
id
+
#t0073
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Objects are unordered, so serialized node definition containing @context may have @context at the end of the node definition
+
input
+
+expand/0073-in.jsonld +
+
expect
+
+expand/0073-out.jsonld +
+
+
+
+Test t0074 @id not first property +
+
+
+
id
+
#t0074
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Objects are unordered, so serialized node definition containing @id may have @id at the end of the node definition
+
input
+
+expand/0074-in.jsonld +
+
expect
+
+expand/0074-out.jsonld +
+
+
+
+Test t0075 @vocab as blank node identifier +
+
+
+
id
+
#t0075
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use @vocab to map all properties to blank node identifiers
+
input
+
+expand/0075-in.jsonld +
+
expect
+
+expand/0075-out.jsonld +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test t0076 base option overrides document location +
+
+
+
id
+
#t0076
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of the base option overrides the document location
+
input
+
+expand/0076-in.jsonld +
+
expect
+
+expand/0076-out.jsonld +
+
Options
+
+
+
base
+
http://example/base/
+
+
+
+
+
+Test t0077 expandContext option +
+
+
+
id
+
#t0077
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of the expandContext option to expand the input document
+
input
+
+expand/0077-in.jsonld +
+
expect
+
+expand/0077-out.jsonld +
+
Options
+
+
+
expandContext
+
expand/0077-context.jsonld
+
+
+
+
+
+Test t0078 multiple reverse properties +
+
+
+
id
+
#t0078
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of multiple reverse properties
+
input
+
+expand/0078-in.jsonld +
+
expect
+
+expand/0078-out.jsonld +
+
+
+
+Test t0079 expand @graph container +
+
+
+
id
+
#t0079
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers
+
input
+
+expand/0079-in.jsonld +
+
expect
+
+expand/0079-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0080 expand [@graph, @set] container +
+
+
+
id
+
#t0080
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of [@graph, @set] containers
+
input
+
+expand/0080-in.jsonld +
+
expect
+
+expand/0080-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0081 Creates an @graph container if value is a graph +
+
+
+
id
+
#t0081
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Don't double-expand an already expanded graph
+
input
+
+expand/0081-in.jsonld +
+
expect
+
+expand/0081-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0082 expand [@graph, @index] container +
+
+
+
id
+
#t0082
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers with @index
+
input
+
+expand/0082-in.jsonld +
+
expect
+
+expand/0082-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0083 expand [@graph, @index, @set] container +
+
+
+
id
+
#t0083
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers with @index and @set
+
input
+
+expand/0083-in.jsonld +
+
expect
+
+expand/0083-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0084 Do not expand [@graph, @index] container if value is a graph +
+
+
+
id
+
#t0084
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+expand/0084-in.jsonld +
+
expect
+
+expand/0084-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0085 expand [@graph, @id] container +
+
+
+
id
+
#t0085
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers with @id
+
input
+
+expand/0085-in.jsonld +
+
expect
+
+expand/0085-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0086 expand [@graph, @id, @set] container +
+
+
+
id
+
#t0086
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers with @id and @set
+
input
+
+expand/0086-in.jsonld +
+
expect
+
+expand/0086-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0087 Do not expand [@graph, @id] container if value is a graph +
+
+
+
id
+
#t0087
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+expand/0087-in.jsonld +
+
expect
+
+expand/0087-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0088 Do not expand native values to IRIs +
+
+
+
id
+
#t0088
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Value Expansion does not expand native values, such as booleans, to a node object
+
input
+
+expand/0088-in.jsonld +
+
expect
+
+expand/0088-out.jsonld +
+
+
+
+Test t0089 empty @base applied to the base option +
+
+
+
id
+
#t0089
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of an empty @base is applied to the base option
+
input
+
+expand/0089-in.jsonld +
+
expect
+
+expand/0089-out.jsonld +
+
Options
+
+
+
base
+
http://example/base/
+
+
+
+
+
+Test t0090 relative @base overrides base option and document location +
+
+
+
id
+
#t0090
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of a relative @base overrides base option and document location
+
input
+
+expand/0090-in.jsonld +
+
expect
+
+expand/0090-out.jsonld +
+
Options
+
+
+
base
+
http://example/base/
+
+
+
+
+
+Test t0091 relative and absolute @base overrides base option and document location +
+
+
+
id
+
#t0091
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of a relative and absolute @base overrides base option and document location
+
input
+
+expand/0091-in.jsonld +
+
expect
+
+expand/0091-out.jsonld +
+
Options
+
+
+
base
+
http://example/base/
+
+
+
+
+
+Test t0092 Various relative IRIs as properties with with @vocab: '' +
+
+
+
id
+
#t0092
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Pathological relative property IRIs
+
input
+
+expand/0092-in.jsonld +
+
expect
+
+expand/0092-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0093 expand @graph container (multiple objects) +
+
+
+
id
+
#t0093
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers
+
input
+
+expand/0093-in.jsonld +
+
expect
+
+expand/0093-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0094 expand [@graph, @set] container (multiple objects) +
+
+
+
id
+
#t0094
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of [@graph, @set] containers
+
input
+
+expand/0094-in.jsonld +
+
expect
+
+expand/0094-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0095 Creates an @graph container if value is a graph (multiple objects) +
+
+
+
id
+
#t0095
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Double-expand an already expanded graph
+
input
+
+expand/0095-in.jsonld +
+
expect
+
+expand/0095-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0096 expand [@graph, @index] container (multiple indexed objects) +
+
+
+
id
+
#t0096
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers with @index
+
input
+
+expand/0096-in.jsonld +
+
expect
+
+expand/0096-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0097 expand [@graph, @index, @set] container (multiple objects) +
+
+
+
id
+
#t0097
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers with @index and @set
+
input
+
+expand/0097-in.jsonld +
+
expect
+
+expand/0097-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0098 Do not expand [@graph, @index] container if value is a graph (multiple objects) +
+
+
+
id
+
#t0098
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+expand/0098-in.jsonld +
+
expect
+
+expand/0098-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0099 expand [@graph, @id] container (multiple objects) +
+
+
+
id
+
#t0099
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers with @id
+
input
+
+expand/0099-in.jsonld +
+
expect
+
+expand/0099-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0100 expand [@graph, @id, @set] container (multiple objects) +
+
+
+
id
+
#t0100
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers with @id and @set
+
input
+
+expand/0100-in.jsonld +
+
expect
+
+expand/0100-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0101 Do not expand [@graph, @id] container if value is a graph (multiple objects) +
+
+
+
id
+
#t0101
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+expand/0101-in.jsonld +
+
expect
+
+expand/0101-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0102 Expand @graph container if value is a graph (multiple objects) +
+
+
+
id
+
#t0102
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Creates a new graph object if indexed value is already a graph object
+
input
+
+expand/0102-in.jsonld +
+
expect
+
+expand/0102-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0103 Expand @graph container if value is a graph (multiple graphs) +
+
+
+
id
+
#t0103
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Creates a new graph object if indexed value is already a graph object
+
input
+
+expand/0103-in.jsonld +
+
expect
+
+expand/0103-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0104 Creates an @graph container if value is a graph (mixed graph and object) +
+
+
+
id
+
#t0104
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Double-expand an already expanded graph
+
input
+
+expand/0104-in.jsonld +
+
expect
+
+expand/0104-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0105 Do not expand [@graph, @index] container if value is a graph (mixed graph and object) +
+
+
+
id
+
#t0105
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+expand/0105-in.jsonld +
+
expect
+
+expand/0105-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0106 Do not expand [@graph, @id] container if value is a graph (mixed graph and object) +
+
+
+
id
+
#t0106
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+expand/0106-in.jsonld +
+
expect
+
+expand/0106-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0107 expand [@graph, @index] container (indexes with multiple objects) +
+
+
+
id
+
#t0107
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers with @index
+
input
+
+expand/0107-in.jsonld +
+
expect
+
+expand/0107-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0108 expand [@graph, @id] container (multiple ids and objects) +
+
+
+
id
+
#t0108
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Use of @graph containers with @id
+
input
+
+expand/0108-in.jsonld +
+
expect
+
+expand/0108-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0109 IRI expansion of fragments including ':' +
+
+
+
id
+
#t0109
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Do not treat as absolute IRIs values that look like compact IRIs if they're not absolute
+
input
+
+expand/0109-in.jsonld +
+
expect
+
+expand/0109-out.jsonld +
+
+
+
+Test t0110 Various relative IRIs as properties with with relative @vocab +
+
+
+
id
+
#t0110
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Pathological relative property IRIs
+
input
+
+expand/0110-in.jsonld +
+
expect
+
+expand/0110-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0111 Various relative IRIs as properties with with relative @vocab itself relative to an existing vocabulary base +
+
+
+
id
+
#t0111
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Pathological relative property IRIs
+
input
+
+expand/0111-in.jsonld +
+
expect
+
+expand/0111-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0112 Various relative IRIs as properties with with relative @vocab relative to another relative vocabulary base +
+
+
+
id
+
#t0112
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Pathological relative property IRIs
+
input
+
+expand/0112-in.jsonld +
+
expect
+
+expand/0112-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0113 context with JavaScript Object property names +
+
+
+
id
+
#t0113
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expand with context including JavaScript Object property names
+
input
+
+expand/0113-in.jsonld +
+
expect
+
+expand/0113-out.jsonld +
+
+
+
+Test t0114 Expansion allows multiple properties expanding to @type +
+
+
+
id
+
#t0114
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
An exception for the colliding keywords error is made for @type
+
input
+
+expand/0114-in.jsonld +
+
expect
+
+expand/0114-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0115 Verifies that relative IRIs as properties with @vocab: '' in 1.0 generate an error +
+
+
+
id
+
#t0115
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Relative property IRIs with relative @vocab in 1.0
+
input
+
+expand/0115-in.jsonld +
+
expect
+
+invalid vocab mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test t0116 Verifies that relative IRIs as properties with relative @vocab in 1.0 generate an error +
+
+
+
id
+
#t0116
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Relative property IRIs with relative @vocab in 1.0
+
input
+
+expand/0116-in.jsonld +
+
expect
+
+invalid vocab mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test t0117 A term starting with a colon can expand to a different IRI +
+
+
+
id
+
#t0117
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Terms may begin with a colon and not be treated as IRIs.
+
input
+
+expand/0117-in.jsonld +
+
expect
+
+expand/0117-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0118 Expanding a value staring with a colon does not treat that value as an IRI +
+
+
+
id
+
#t0118
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Terms may begin with a colon and not be treated as IRIs.
+
input
+
+expand/0118-in.jsonld +
+
expect
+
+expand/0118-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0119 Ignore some terms with @, allow others. +
+
+
+
id
+
#t0119
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Processors SHOULD generate a warning and MUST ignore terms having the form of a keyword.
+
input
+
+expand/0119-in.jsonld +
+
expect
+
+expand/0119-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0120 Ignore some values of @id with @, allow others. +
+
+
+
id
+
#t0120
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Processors SHOULD generate a warning and MUST ignore values of @id having the form of a keyword.
+
input
+
+expand/0120-in.jsonld +
+
expect
+
+expand/0120-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0121 Ignore some values of @reverse with @, allow others. +
+
+
+
id
+
#t0121
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Processors SHOULD generate a warning and MUST ignore values of @reverse having the form of a keyword.
+
input
+
+expand/0121-in.jsonld +
+
expect
+
+expand/0121-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0122 Ignore some IRIs when that start with @ when expanding. +
+
+
+
id
+
#t0122
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Processors SHOULD generate a warning and MUST ignore IRIs having the form of a keyword.
+
input
+
+expand/0122-in.jsonld +
+
expect
+
+expand/0122-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0123 Value objects including invalid literal datatype IRIs are rejected +
+
+
+
id
+
#t0123
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Processors MUST validate datatype IRIs.
+
input
+
+expand/0123-in.jsonld +
+
expect
+
+invalid typed value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0124 compact IRI as @vocab +
+
+
+
id
+
#t0124
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that @vocab defined as a compact IRI expands properly
+
input
+
+expand/0124-in.jsonld +
+
expect
+
+expand/0124-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0125 term as @vocab +
+
+
+
id
+
#t0125
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that @vocab defined as a term expands properly
+
input
+
+expand/0125-in.jsonld +
+
expect
+
+expand/0125-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0126 A scoped context may include itself recursively (direct) +
+
+
+
id
+
#t0126
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that no exception is raised on expansion when processing a scoped context referencing itself directly
+
input
+
+expand/0126-in.jsonld +
+
expect
+
+expand/0126-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0127 A scoped context may include itself recursively (indirect) +
+
+
+
id
+
#t0127
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that no exception is raised on expansion when processing a scoped context referencing itself indirectly
+
input
+
+expand/0127-in.jsonld +
+
expect
+
+expand/0127-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0128 Two scoped context may include a shared context +
+
+
+
id
+
#t0128
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that no exception is raised on expansion when processing two scoped contexts referencing a shared context
+
input
+
+expand/0128-in.jsonld +
+
expect
+
+expand/0128-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc001 adding new term +
+
+
+
id
+
#tc001
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using a scoped context uses term scope for selecting proper term
+
input
+
+expand/c001-in.jsonld +
+
expect
+
+expand/c001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc002 overriding a term +
+
+
+
id
+
#tc002
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using a scoped context uses term scope for selecting proper term
+
input
+
+expand/c002-in.jsonld +
+
expect
+
+expand/c002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc003 property and value with different terms mapping to the same expanded property +
+
+
+
id
+
#tc003
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using a scoped context uses term scope for selecting proper term
+
input
+
+expand/c003-in.jsonld +
+
expect
+
+expand/c003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc004 deep @context affects nested nodes +
+
+
+
id
+
#tc004
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using a scoped context uses term scope for selecting proper term
+
input
+
+expand/c004-in.jsonld +
+
expect
+
+expand/c004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc005 scoped context layers on intemediate contexts +
+
+
+
id
+
#tc005
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using a scoped context uses term scope for selecting proper term
+
input
+
+expand/c005-in.jsonld +
+
expect
+
+expand/c005-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc006 adding new term +
+
+
+
id
+
#tc006
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
scoped context on @type
+
input
+
+expand/c006-in.jsonld +
+
expect
+
+expand/c006-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc007 overriding a term +
+
+
+
id
+
#tc007
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
scoped context on @type
+
input
+
+expand/c007-in.jsonld +
+
expect
+
+expand/c007-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc008 alias of @type +
+
+
+
id
+
#tc008
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
scoped context on @type
+
input
+
+expand/c008-in.jsonld +
+
expect
+
+expand/c008-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc009 deep @type-scoped @context does NOT affect nested nodes +
+
+
+
id
+
#tc009
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
scoped context on @type
+
input
+
+expand/c009-in.jsonld +
+
expect
+
+expand/c009-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc010 scoped context layers on intemediate contexts +
+
+
+
id
+
#tc010
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
scoped context on @type
+
input
+
+expand/c010-in.jsonld +
+
expect
+
+expand/c010-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc011 orders @type terms when applying scoped contexts +
+
+
+
id
+
#tc011
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
scoped context on @type
+
input
+
+expand/c011-in.jsonld +
+
expect
+
+expand/c011-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc012 deep property-term scoped @context in @type-scoped @context affects nested nodes +
+
+
+
id
+
#tc012
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
scoped context on @type
+
input
+
+expand/c012-in.jsonld +
+
expect
+
+expand/c012-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc013 type maps use scoped context from type index and not scoped context from containing +
+
+
+
id
+
#tc013
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
scoped context on @type
+
input
+
+expand/c013-in.jsonld +
+
expect
+
+expand/c013-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc014 type-scoped context nullification +
+
+
+
id
+
#tc014
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped context nullification
+
input
+
+expand/c014-in.jsonld +
+
expect
+
+expand/c014-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc015 type-scoped base +
+
+
+
id
+
#tc015
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped base
+
input
+
+expand/c015-in.jsonld +
+
expect
+
+expand/c015-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc016 type-scoped vocab +
+
+
+
id
+
#tc016
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped vocab
+
input
+
+expand/c016-in.jsonld +
+
expect
+
+expand/c016-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc017 multiple type-scoped contexts are properly reverted +
+
+
+
id
+
#tc017
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
multiple type-scoped contexts are property reverted
+
input
+
+expand/c017-in.jsonld +
+
expect
+
+expand/c017-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc018 multiple type-scoped types resolved against previous context +
+
+
+
id
+
#tc018
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
multiple type-scoped types resolved against previous context
+
input
+
+expand/c018-in.jsonld +
+
expect
+
+expand/c018-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc019 type-scoped context with multiple property scoped terms +
+
+
+
id
+
#tc019
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped context with multiple property scoped terms
+
input
+
+expand/c019-in.jsonld +
+
expect
+
+expand/c019-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc020 type-scoped value +
+
+
+
id
+
#tc020
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped value
+
input
+
+expand/c020-in.jsonld +
+
expect
+
+expand/c020-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc021 type-scoped value mix +
+
+
+
id
+
#tc021
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped value mix
+
input
+
+expand/c021-in.jsonld +
+
expect
+
+expand/c021-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc022 type-scoped property-scoped contexts including @type:@vocab +
+
+
+
id
+
#tc022
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped property-scoped contexts including @type:@vocab
+
input
+
+expand/c022-in.jsonld +
+
expect
+
+expand/c022-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc023 composed type-scoped property-scoped contexts including @type:@vocab +
+
+
+
id
+
#tc023
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
composed type-scoped property-scoped contexts including @type:@vocab
+
input
+
+expand/c023-in.jsonld +
+
expect
+
+expand/c023-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc024 type-scoped + property-scoped + values evaluates against previous context +
+
+
+
id
+
#tc024
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped + property-scoped + values evaluates against previous context
+
input
+
+expand/c024-in.jsonld +
+
expect
+
+expand/c024-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc025 type-scoped + graph container +
+
+
+
id
+
#tc025
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped + graph container
+
input
+
+expand/c025-in.jsonld +
+
expect
+
+expand/c025-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc026 @propagate: true on type-scoped context +
+
+
+
id
+
#tc026
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped context with @propagate: true survive node-objects
+
input
+
+expand/c026-in.jsonld +
+
expect
+
+expand/c026-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc027 @propagate: false on property-scoped context +
+
+
+
id
+
#tc027
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
property-scoped context with @propagate: false do not survive node-objects
+
input
+
+expand/c027-in.jsonld +
+
expect
+
+expand/c027-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc028 @propagate: false on embedded context +
+
+
+
id
+
#tc028
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
embedded context with @propagate: false do not survive node-objects
+
input
+
+expand/c028-in.jsonld +
+
expect
+
+expand/c028-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc029 @propagate is invalid in 1.0 +
+
+
+
id
+
#tc029
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
@propagate is invalid in 1.0
+
input
+
+expand/c029-in.jsonld +
+
expect
+
+invalid context entry +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test tc030 @propagate must be boolean valued +
+
+
+
id
+
#tc030
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
@propagate must be boolean valued
+
input
+
+expand/c030-in.jsonld +
+
expect
+
+invalid @propagate value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc031 @context resolutions respects relative URLs. +
+
+
+
id
+
#tc031
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
URL resolution follows RFC3986
+
input
+
+expand/c031-in.jsonld +
+
expect
+
+expand/c031-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc032 Unused embedded context with error. +
+
+
+
id
+
#tc032
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
An embedded context which is never used should still be checked.
+
input
+
+expand/c032-in.jsonld +
+
expect
+
+invalid scoped context +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc033 Unused context with an embedded context error. +
+
+
+
id
+
#tc033
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
An unused context with an embedded context should still be checked.
+
input
+
+expand/c033-in.jsonld +
+
expect
+
+invalid scoped context +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc034 Remote scoped context. +
+
+
+
id
+
#tc034
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Scoped contexts may be externally loaded.
+
input
+
+expand/c034-in.jsonld +
+
expect
+
+expand/c034-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi01 Expand string using default and term directions +
+
+
+
id
+
#tdi01
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Strings are coerced to have @direction based on default and term direction.
+
input
+
+expand/di01-in.jsonld +
+
expect
+
+expand/di01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi02 Expand string using default and term directions and languages +
+
+
+
id
+
#tdi02
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Strings are coerced to have @direction based on default and term direction.
+
input
+
+expand/di02-in.jsonld +
+
expect
+
+expand/di02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi03 expand list values with @direction +
+
+
+
id
+
#tdi03
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List values where the term has @direction are used in expansion.
+
input
+
+expand/di03-in.jsonld +
+
expect
+
+expand/di03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi04 simple language map with term direction +
+
+
+
id
+
#tdi04
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+expand/di04-in.jsonld +
+
expect
+
+expand/di04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi05 simple language mapwith overriding term direction +
+
+
+
id
+
#tdi05
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+expand/di05-in.jsonld +
+
expect
+
+expand/di05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi06 simple language mapwith overriding null direction +
+
+
+
id
+
#tdi06
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+expand/di06-in.jsonld +
+
expect
+
+expand/di06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi07 simple language map with mismatching term direction +
+
+
+
id
+
#tdi07
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+expand/di07-in.jsonld +
+
expect
+
+expand/di07-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi08 @direction must be one of ltr or rtl +
+
+
+
id
+
#tdi08
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Generate an error if @direction has illegal value.
+
input
+
+expand/di08-in.jsonld +
+
expect
+
+invalid base direction +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi09 @direction is incompatible with @type +
+
+
+
id
+
#tdi09
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Value objects can have either @type but not @language or @direction.
+
input
+
+expand/di09-in.jsonld +
+
expect
+
+invalid value object +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tec01 Invalid keyword in term definition +
+
+
+
id
+
#tec01
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid term definition is found
+
input
+
+expand/ec01-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tec02 Term definition on @type with empty map +
+
+
+
id
+
#tec02
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised if @type is defined as a term with an empty map
+
input
+
+expand/ec02-in.jsonld +
+
expect
+
+keyword redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tem01 Invalid container mapping +
+
+
+
id
+
#tem01
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid container mapping is found
+
input
+
+expand/em01-in.jsonld +
+
expect
+
+invalid container mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten01 @nest MUST NOT have a string value +
+
+
+
id
+
#ten01
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
container: @nest
+
input
+
+expand/en01-in.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten02 @nest MUST NOT have a boolen value +
+
+
+
id
+
#ten02
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Transparent Nesting
+
input
+
+expand/en02-in.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten03 @nest MUST NOT have a numeric value +
+
+
+
id
+
#ten03
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Transparent Nesting
+
input
+
+expand/en03-in.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten04 @nest MUST NOT have a value object value +
+
+
+
id
+
#ten04
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Transparent Nesting
+
input
+
+expand/en04-in.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten05 does not allow a keyword other than @nest for the value of @nest +
+
+
+
id
+
#ten05
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Transparent Nesting
+
input
+
+expand/en05-in.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten06 does not allow @nest with @reverse +
+
+
+
id
+
#ten06
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Transparent Nesting
+
input
+
+expand/en06-in.jsonld +
+
expect
+
+invalid reverse property +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep02 processingMode json-ld-1.0 conflicts with @version: 1.1 +
+
+
+
id
+
#tep02
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
If processingMode is explicitly json-ld-1.0, it will conflict with 1.1 features.
+
input
+
+expand/ep02-in.jsonld +
+
expect
+
+processing mode conflict +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep03 @version must be 1.1 +
+
+
+
id
+
#tep03
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
If @version is specified, it must be 1.1
+
input
+
+expand/ep03-in.jsonld +
+
expect
+
+invalid @version value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter01 Keywords cannot be aliased to other keywords +
+
+
+
id
+
#ter01
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword
+
input
+
+expand/er01-in.jsonld +
+
expect
+
+keyword redefinition +
+
+
+
+Test ter02 A context may not include itself recursively (direct) +
+
+
+
id
+
#ter02
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when processing a context referencing itself
+
input
+
+expand/er02-in.jsonld +
+
expect
+
+recursive context inclusion +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test ter03 A context may not include itself recursively (indirect) +
+
+
+
id
+
#ter03
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when processing a context referencing itself indirectly
+
input
+
+expand/er03-in.jsonld +
+
expect
+
+recursive context inclusion +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test ter04 Error dereferencing a remote context +
+
+
+
id
+
#ter04
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context dereference results in an error
+
input
+
+expand/er04-in.jsonld +
+
expect
+
+loading remote context failed +
+
+
+
+Test ter05 Invalid remote context +
+
+
+
id
+
#ter05
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a remote context is not an object containing @context
+
input
+
+expand/er05-in.jsonld +
+
expect
+
+invalid remote context +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter06 Invalid local context +
+
+
+
id
+
#ter06
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context is not a string or object
+
input
+
+expand/er06-in.jsonld +
+
expect
+
+invalid local context +
+
+
+
+Test ter07 Invalid base IRI +
+
+
+
id
+
#ter07
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context contains an invalid @base
+
input
+
+expand/er07-in.jsonld +
+
expect
+
+invalid base IRI +
+
+
+
+Test ter08 Invalid vocab mapping +
+
+
+
id
+
#ter08
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context contains an invalid @vocab mapping
+
input
+
+expand/er08-in.jsonld +
+
expect
+
+invalid vocab mapping +
+
+
+
+Test ter09 Invalid default language +
+
+
+
id
+
#ter09
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context contains an invalid @language
+
input
+
+expand/er09-in.jsonld +
+
expect
+
+invalid default language +
+
+
+
+Test ter10 Cyclic IRI mapping +
+
+
+
id
+
#ter10
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a cyclic IRI mapping is found
+
input
+
+expand/er10-in.jsonld +
+
expect
+
+cyclic IRI mapping +
+
+
+
+Test ter11 Invalid term definition +
+
+
+
id
+
#ter11
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid term definition is found
+
input
+
+expand/er11-in.jsonld +
+
expect
+
+invalid term definition +
+
+
+
+Test ter12 Invalid type mapping (not a string) +
+
+
+
id
+
#ter12
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid type mapping is found
+
input
+
+expand/er12-in.jsonld +
+
expect
+
+invalid type mapping +
+
+
+
+Test ter13 Invalid type mapping (not absolute IRI) +
+
+
+
id
+
#ter13
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid type mapping is found
+
input
+
+expand/er13-in.jsonld +
+
expect
+
+invalid type mapping +
+
+
+
+Test ter14 Invalid reverse property (contains @id) +
+
+
+
id
+
#ter14
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid reverse property is found
+
input
+
+expand/er14-in.jsonld +
+
expect
+
+invalid reverse property +
+
+
+
+Test ter15 Invalid IRI mapping (@reverse not a string) +
+
+
+
id
+
#ter15
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid IRI mapping is found
+
input
+
+expand/er15-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
+
+
+Test ter17 Invalid reverse property (invalid @container) +
+
+
+
id
+
#ter17
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid reverse property is found
+
input
+
+expand/er17-in.jsonld +
+
expect
+
+invalid reverse property +
+
+
+
+Test ter18 Invalid IRI mapping (@id not a string) +
+
+
+
id
+
#ter18
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid IRI mapping is found
+
input
+
+expand/er18-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
+
+
+Test ter19 Invalid keyword alias (@context) +
+
+
+
id
+
#ter19
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid keyword alias is found
+
input
+
+expand/er19-in.jsonld +
+
expect
+
+invalid keyword alias +
+
+
+
+Test ter20 Invalid IRI mapping (no vocab mapping) +
+
+
+
id
+
#ter20
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid IRI mapping is found
+
input
+
+expand/er20-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
+
+
+Test ter21 Invalid container mapping +
+
+
+
id
+
#ter21
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid container mapping is found
+
input
+
+expand/er21-in.jsonld +
+
expect
+
+invalid container mapping +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter22 Invalid language mapping +
+
+
+
id
+
#ter22
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid language mapping is found
+
input
+
+expand/er22-in.jsonld +
+
expect
+
+invalid language mapping +
+
+
+
+Test ter23 Invalid IRI mapping (relative IRI in @type) +
+
+
+
id
+
#ter23
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid type mapping is found
+
input
+
+expand/er23-in.jsonld +
+
expect
+
+invalid type mapping +
+
+
+
+Test ter24 List of lists (from array) +
+
+
+
id
+
#ter24
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when a list of lists is found
+
input
+
+expand/er24-in.jsonld +
+
expect
+
+list of lists +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test ter25 Invalid reverse property map +
+
+
+
id
+
#ter25
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when a invalid reverse property map is found
+
input
+
+expand/er25-in.jsonld +
+
expect
+
+invalid reverse property map +
+
+
+
+Test ter26 Colliding keywords +
+
+
+
id
+
#ter26
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when colliding keywords are found
+
input
+
+expand/er26-in.jsonld +
+
expect
+
+colliding keywords +
+
+
+
+Test ter27 Invalid @id value +
+
+
+
id
+
#ter27
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid @id value is found
+
input
+
+expand/er27-in.jsonld +
+
expect
+
+invalid @id value +
+
+
+
+Test ter28 Invalid type value +
+
+
+
id
+
#ter28
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid type value is found
+
input
+
+expand/er28-in.jsonld +
+
expect
+
+invalid type value +
+
+
+
+Test ter29 Invalid value object value +
+
+
+
id
+
#ter29
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid value object value is found
+
input
+
+expand/er29-in.jsonld +
+
expect
+
+invalid value object value +
+
+
+
+Test ter30 Invalid language-tagged string +
+
+
+
id
+
#ter30
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid language-tagged string value is found
+
input
+
+expand/er30-in.jsonld +
+
expect
+
+invalid language-tagged string +
+
+
+
+Test ter31 Invalid @index value +
+
+
+
id
+
#ter31
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid @index value value is found
+
input
+
+expand/er31-in.jsonld +
+
expect
+
+invalid @index value +
+
+
+
+Test ter32 List of lists (from array) +
+
+
+
id
+
#ter32
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when a list of lists is found
+
input
+
+expand/er32-in.jsonld +
+
expect
+
+list of lists +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test ter33 Invalid @reverse value +
+
+
+
id
+
#ter33
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid @reverse value is found
+
input
+
+expand/er33-in.jsonld +
+
expect
+
+invalid @reverse value +
+
+
+
+Test ter34 Invalid reverse property value (in @reverse) +
+
+
+
id
+
#ter34
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid reverse property value is found
+
input
+
+expand/er34-in.jsonld +
+
expect
+
+invalid reverse property value +
+
+
+
+Test ter35 Invalid language map value +
+
+
+
id
+
#ter35
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid language map value is found
+
input
+
+expand/er35-in.jsonld +
+
expect
+
+invalid language map value +
+
+
+
+Test ter36 Invalid reverse property value (through coercion) +
+
+
+
id
+
#ter36
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid reverse property value is found
+
input
+
+expand/er36-in.jsonld +
+
expect
+
+invalid reverse property value +
+
+
+
+Test ter37 Invalid value object (unexpected keyword) +
+
+
+
id
+
#ter37
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid value object is found
+
input
+
+expand/er37-in.jsonld +
+
expect
+
+invalid value object +
+
+
+
+Test ter38 Invalid value object (@type and @language) +
+
+
+
id
+
#ter38
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid value object is found
+
input
+
+expand/er38-in.jsonld +
+
expect
+
+invalid value object +
+
+
+
+Test ter39 Invalid language-tagged value +
+
+
+
id
+
#ter39
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid language-tagged value is found
+
input
+
+expand/er39-in.jsonld +
+
expect
+
+invalid language-tagged value +
+
+
+
+Test ter40 Invalid typed value +
+
+
+
id
+
#ter40
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid typed value is found
+
input
+
+expand/er40-in.jsonld +
+
expect
+
+invalid typed value +
+
+
+
+Test ter41 Invalid set or list object +
+
+
+
id
+
#ter41
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid set or list object is found
+
input
+
+expand/er41-in.jsonld +
+
expect
+
+invalid set or list object +
+
+
+
+Test ter42 Keywords may not be redefined in 1.0 +
+
+
+
id
+
#ter42
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when processing an invalid context attempting to define @container on a keyword
+
input
+
+expand/er42-in.jsonld +
+
expect
+
+keyword redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test ter43 Term definition with @id: @type +
+
+
+
id
+
#ter43
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding term mapping to @type uses @type syntax now illegal
+
input
+
+expand/er43-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter44 Redefine terms looking like compact IRIs +
+
+
+
id
+
#ter44
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Term definitions may look like compact IRIs, but must be consistent.
+
input
+
+expand/er44-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter48 Invalid term as relative IRI +
+
+
+
id
+
#ter48
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that a relative IRI cannot be used as a term.
+
input
+
+expand/er48-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter49 A relative IRI cannot be used as a prefix +
+
+
+
id
+
#ter49
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that a relative IRI cannot be used as a term.
+
input
+
+expand/er49-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter50 Invalid reverse id +
+
+
+
id
+
#ter50
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid IRI is used for @reverse.
+
input
+
+expand/er50-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
+
+
+Test ter51 Invalid value object value using a value alias +
+
+
+
id
+
#ter51
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid value object value is found using a value alias
+
input
+
+expand/er51-in.jsonld +
+
expect
+
+invalid value object value +
+
+
+
+Test ter52 Definition for the empty term +
+
+
+
id
+
#ter52
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context contains a definition for the empty term
+
input
+
+expand/er52-in.jsonld +
+
expect
+
+invalid term definition +
+
+
+
+Test tes01 Using an array value for @context is illegal in JSON-LD 1.0 +
+
+
+
id
+
#tes01
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid container mapping is found
+
input
+
+expand/es01-in.jsonld +
+
expect
+
+invalid container mapping +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tes02 Mapping @container: [@list, @set] is invalid +
+
+
+
id
+
#tes02
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Testing legal combinations of @set with other container values
+
input
+
+expand/es02-in.jsonld +
+
expect
+
+invalid container mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin01 Basic Included array +
+
+
+
id
+
#tin01
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests included blocks.
+
input
+
+expand/in01-in.jsonld +
+
expect
+
+expand/in01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin02 Basic Included object +
+
+
+
id
+
#tin02
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests included blocks.
+
input
+
+expand/in02-in.jsonld +
+
expect
+
+expand/in02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin03 Multiple properties mapping to @included are folded together +
+
+
+
id
+
#tin03
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests included blocks.
+
input
+
+expand/in03-in.jsonld +
+
expect
+
+expand/in03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin04 Included containing @included +
+
+
+
id
+
#tin04
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests included blocks.
+
input
+
+expand/in04-in.jsonld +
+
expect
+
+expand/in04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin05 Property value with @included +
+
+
+
id
+
#tin05
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests included blocks.
+
input
+
+expand/in05-in.jsonld +
+
expect
+
+expand/in05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin06 json.api example +
+
+
+
id
+
#tin06
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests included blocks.
+
input
+
+expand/in06-in.jsonld +
+
expect
+
+expand/in06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin07 Error if @included value is a string +
+
+
+
id
+
#tin07
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests included blocks.
+
input
+
+expand/in07-in.jsonld +
+
expect
+
+invalid @included value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin08 Error if @included value is a value object +
+
+
+
id
+
#tin08
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests included blocks.
+
input
+
+expand/in08-in.jsonld +
+
expect
+
+invalid @included value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin09 Error if @included value is a list object +
+
+
+
id
+
#tin09
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests included blocks.
+
input
+
+expand/in09-in.jsonld +
+
expect
+
+invalid @included value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs01 Expand JSON literal (boolean true) +
+
+
+
id
+
#tjs01
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (boolean true).
+
input
+
+expand/js01-in.jsonld +
+
expect
+
+expand/js01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs02 Expand JSON literal (boolean false) +
+
+
+
id
+
#tjs02
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (boolean false).
+
input
+
+expand/js02-in.jsonld +
+
expect
+
+expand/js02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs03 Expand JSON literal (double) +
+
+
+
id
+
#tjs03
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (double).
+
input
+
+expand/js03-in.jsonld +
+
expect
+
+expand/js03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs04 Expand JSON literal (double-zero) +
+
+
+
id
+
#tjs04
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (double-zero).
+
input
+
+expand/js04-in.jsonld +
+
expect
+
+expand/js04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs05 Expand JSON literal (integer) +
+
+
+
id
+
#tjs05
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (integer).
+
input
+
+expand/js05-in.jsonld +
+
expect
+
+expand/js05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs06 Expand JSON literal (object) +
+
+
+
id
+
#tjs06
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (object).
+
input
+
+expand/js06-in.jsonld +
+
expect
+
+expand/js06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs07 Expand JSON literal (array) +
+
+
+
id
+
#tjs07
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (array).
+
input
+
+expand/js07-in.jsonld +
+
expect
+
+expand/js07-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs08 Expand JSON literal with array canonicalization +
+
+
+
id
+
#tjs08
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal with array canonicalization.
+
input
+
+expand/js08-in.jsonld +
+
expect
+
+expand/js08-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs09 Transform JSON literal with string canonicalization +
+
+
+
id
+
#tjs09
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal with string canonicalization.
+
input
+
+expand/js09-in.jsonld +
+
expect
+
+expand/js09-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs10 Expand JSON literal with structural canonicalization +
+
+
+
id
+
#tjs10
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal with structural canonicalization.
+
input
+
+expand/js10-in.jsonld +
+
expect
+
+expand/js10-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs11 Expand JSON literal with unicode canonicalization +
+
+
+
id
+
#tjs11
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal with unicode canonicalization.
+
input
+
+expand/js11-in.jsonld +
+
expect
+
+expand/js11-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs12 Expand JSON literal with value canonicalization +
+
+
+
id
+
#tjs12
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal with value canonicalization.
+
input
+
+expand/js12-in.jsonld +
+
expect
+
+expand/js12-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs13 Expand JSON literal with wierd canonicalization +
+
+
+
id
+
#tjs13
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal with wierd canonicalization.
+
input
+
+expand/js13-in.jsonld +
+
expect
+
+expand/js13-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs14 Expand JSON literal without expanding contents +
+
+
+
id
+
#tjs14
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal does not expand terms inside json.
+
input
+
+expand/js14-in.jsonld +
+
expect
+
+expand/js14-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs15 Expand JSON literal aleady in expanded form +
+
+
+
id
+
#tjs15
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal in expanded form.
+
input
+
+expand/js15-in.jsonld +
+
expect
+
+expand/js15-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs16 Expand JSON literal aleady in expanded form with aliased keys +
+
+
+
id
+
#tjs16
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal in expanded form with aliased keys in value object.
+
input
+
+expand/js16-in.jsonld +
+
expect
+
+expand/js16-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs17 Expand JSON literal (string) +
+
+
+
id
+
#tjs17
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (string).
+
input
+
+expand/js17-in.jsonld +
+
expect
+
+expand/js17-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs18 Expand JSON literal (null) +
+
+
+
id
+
#tjs18
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (null).
+
input
+
+expand/js18-in.jsonld +
+
expect
+
+expand/js18-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs19 Expand JSON literal with aliased @type +
+
+
+
id
+
#tjs19
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal with aliased @type.
+
input
+
+expand/js19-in.jsonld +
+
expect
+
+expand/js19-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs20 Expand JSON literal with aliased @value +
+
+
+
id
+
#tjs20
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal with aliased @value.
+
input
+
+expand/js20-in.jsonld +
+
expect
+
+expand/js20-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs21 Expand JSON literal with @context +
+
+
+
id
+
#tjs21
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding JSON literal with a @context.
+
input
+
+expand/js21-in.jsonld +
+
expect
+
+expand/js21-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs22 Expand JSON literal (null) aleady in expanded form. +
+
+
+
id
+
#tjs22
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (null).
+
input
+
+expand/js22-in.jsonld +
+
expect
+
+expand/js22-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs23 Expand JSON literal (empty array). +
+
+
+
id
+
#tjs23
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Tests expanding property with @type @json to a JSON literal (empty array).
+
input
+
+expand/js23-in.jsonld +
+
expect
+
+expand/js23-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tl001 Language map with null value +
+
+
+
id
+
#tl001
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
A language map may have a null value, which is ignored
+
input
+
+expand/l001-in.jsonld +
+
expect
+
+expand/l001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli01 @list containing @list +
+
+
+
id
+
#tli01
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List of lists
+
input
+
+expand/li01-in.jsonld +
+
expect
+
+expand/li01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli02 @list containing empty @list +
+
+
+
id
+
#tli02
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List of lists
+
input
+
+expand/li02-in.jsonld +
+
expect
+
+expand/li02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli03 @list containing @list (with coercion) +
+
+
+
id
+
#tli03
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List of lists
+
input
+
+expand/li03-in.jsonld +
+
expect
+
+expand/li03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli04 @list containing empty @list (with coercion) +
+
+
+
id
+
#tli04
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List of lists
+
input
+
+expand/li04-in.jsonld +
+
expect
+
+expand/li04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli05 coerced @list containing an array +
+
+
+
id
+
#tli05
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List of lists
+
input
+
+expand/li05-in.jsonld +
+
expect
+
+expand/li05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli06 coerced @list containing an empty array +
+
+
+
id
+
#tli06
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List of lists
+
input
+
+expand/li06-in.jsonld +
+
expect
+
+expand/li06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli07 coerced @list containing deep arrays +
+
+
+
id
+
#tli07
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List of lists
+
input
+
+expand/li07-in.jsonld +
+
expect
+
+expand/li07-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli08 coerced @list containing deep empty arrays +
+
+
+
id
+
#tli08
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List of lists
+
input
+
+expand/li08-in.jsonld +
+
expect
+
+expand/li08-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli09 coerced @list containing multiple lists +
+
+
+
id
+
#tli09
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List of lists
+
input
+
+expand/li09-in.jsonld +
+
expect
+
+expand/li09-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli10 coerced @list containing mixed list values +
+
+
+
id
+
#tli10
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
List of lists
+
input
+
+expand/li10-in.jsonld +
+
expect
+
+expand/li10-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm001 Adds @id to object not having an @id +
+
+
+
id
+
#tm001
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @container: @id
+
input
+
+expand/m001-in.jsonld +
+
expect
+
+expand/m001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm002 Retains @id in object already having an @id +
+
+
+
id
+
#tm002
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @container: @id
+
input
+
+expand/m002-in.jsonld +
+
expect
+
+expand/m002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm003 Adds @type to object not having an @type +
+
+
+
id
+
#tm003
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @container: @type
+
input
+
+expand/m003-in.jsonld +
+
expect
+
+expand/m003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm004 Prepends @type in object already having an @type +
+
+
+
id
+
#tm004
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @container: @type
+
input
+
+expand/m004-in.jsonld +
+
expect
+
+expand/m004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm005 Adds expanded @id to object +
+
+
+
id
+
#tm005
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @container: @id
+
input
+
+expand/m005-in.jsonld +
+
expect
+
+expand/m005-out.jsonld +
+
Options
+
+
+
base
+
http://example.org/
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm006 Adds vocabulary expanded @type to object +
+
+
+
id
+
#tm006
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @container: @type
+
input
+
+expand/m006-in.jsonld +
+
expect
+
+expand/m006-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm007 Adds document expanded @type to object +
+
+
+
id
+
#tm007
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @container: @type
+
input
+
+expand/m007-in.jsonld +
+
expect
+
+expand/m007-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm008 When type is in a type map +
+
+
+
id
+
#tm008
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
scoped context on @type
+
input
+
+expand/m008-in.jsonld +
+
expect
+
+expand/m008-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm009 language map with @none +
+
+
+
id
+
#tm009
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @language
+
input
+
+expand/m009-in.jsonld +
+
expect
+
+expand/m009-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm010 language map with alias of @none +
+
+
+
id
+
#tm010
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @language
+
input
+
+expand/m010-in.jsonld +
+
expect
+
+expand/m010-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm011 id map with @none +
+
+
+
id
+
#tm011
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @id
+
input
+
+expand/m011-in.jsonld +
+
expect
+
+expand/m011-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm012 type map with alias of @none +
+
+
+
id
+
#tm012
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @type
+
input
+
+expand/m012-in.jsonld +
+
expect
+
+expand/m012-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm013 graph index map with @none +
+
+
+
id
+
#tm013
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @graph and @index
+
input
+
+expand/m013-in.jsonld +
+
expect
+
+expand/m013-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm014 graph index map with alias @none +
+
+
+
id
+
#tm014
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @graph and @index
+
input
+
+expand/m014-in.jsonld +
+
expect
+
+expand/m014-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm015 graph id index map with aliased @none +
+
+
+
id
+
#tm015
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @graph and @id with @none
+
input
+
+expand/m015-in.jsonld +
+
expect
+
+expand/m015-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm016 graph id index map with aliased @none +
+
+
+
id
+
#tm016
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @graph and @id with @none
+
input
+
+expand/m016-in.jsonld +
+
expect
+
+expand/m016-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm017 string value of type map expands to node reference +
+
+
+
id
+
#tm017
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @type
+
input
+
+expand/m017-in.jsonld +
+
expect
+
+expand/m017-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm018 string value of type map expands to node reference with @type: @id +
+
+
+
id
+
#tm018
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @type
+
input
+
+expand/m018-in.jsonld +
+
expect
+
+expand/m018-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm019 string value of type map expands to node reference with @type: @vocab +
+
+
+
id
+
#tm019
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @type
+
input
+
+expand/m019-in.jsonld +
+
expect
+
+expand/m019-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm020 string value of type map must not be a literal +
+
+
+
id
+
#tm020
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
index on @type
+
input
+
+expand/m020-in.jsonld +
+
expect
+
+invalid type mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn001 Expands input using @nest +
+
+
+
id
+
#tn001
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @nest
+
input
+
+expand/n001-in.jsonld +
+
expect
+
+expand/n001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn002 Expands input using aliased @nest +
+
+
+
id
+
#tn002
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @nest
+
input
+
+expand/n002-in.jsonld +
+
expect
+
+expand/n002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn003 Appends nested values when property at base and nested +
+
+
+
id
+
#tn003
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @nest
+
input
+
+expand/n003-in.jsonld +
+
expect
+
+expand/n003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn004 Appends nested values from all @nest aliases +
+
+
+
id
+
#tn004
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @nest
+
input
+
+expand/n004-in.jsonld +
+
expect
+
+expand/n004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn005 Nested nested containers +
+
+
+
id
+
#tn005
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @nest
+
input
+
+expand/n005-in.jsonld +
+
expect
+
+expand/n005-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn006 Arrays of nested values +
+
+
+
id
+
#tn006
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @nest
+
input
+
+expand/n006-in.jsonld +
+
expect
+
+expand/n006-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn007 A nest of arrays +
+
+
+
id
+
#tn007
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @nest
+
input
+
+expand/n007-in.jsonld +
+
expect
+
+expand/n007-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn008 Multiple keys may mapping to @type when nesting +
+
+
+
id
+
#tn008
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion using @nest
+
input
+
+expand/n008-in.jsonld +
+
expect
+
+expand/n008-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp001 @version may be specified after first context +
+
+
+
id
+
#tp001
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
If processing mode is not set through API, it is set by the first context containing @version.
+
input
+
+expand/p001-in.jsonld +
+
expect
+
+expand/p001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp002 @version setting [1.0, 1.1, 1.0] +
+
+
+
id
+
#tp002
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
If processing mode is not set through API, it is set by the first context containing @version.
+
input
+
+expand/p002-in.jsonld +
+
expect
+
+expand/p002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp003 @version setting [1.1, 1.0] +
+
+
+
id
+
#tp003
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
If processing mode is not set through API, it is set by the first context containing @version.
+
input
+
+expand/p003-in.jsonld +
+
expect
+
+expand/p003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp004 @version setting [1.1, 1.0, 1.1] +
+
+
+
id
+
#tp004
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
If processing mode is not set through API, it is set by the first context containing @version.
+
input
+
+expand/p004-in.jsonld +
+
expect
+
+expand/p004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi01 error if @version is json-ld-1.0 for property-valued index +
+
+
+
id
+
#tpi01
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi01-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test tpi02 error if @container does not include @index for property-valued index +
+
+
+
id
+
#tpi02
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi02-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi03 error if @index is a keyword for property-valued index +
+
+
+
id
+
#tpi03
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi03-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi04 error if @index is not a string for property-valued index +
+
+
+
id
+
#tpi04
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi04-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi05 error if attempting to add property to value object for property-valued index +
+
+
+
id
+
#tpi05
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi05-in.jsonld +
+
expect
+
+invalid value object +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi06 property-valued index expands to property value, instead of @index (value) +
+
+
+
id
+
#tpi06
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi06-in.jsonld +
+
expect
+
+expand/pi06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi07 property-valued index appends to property value, instead of @index (value) +
+
+
+
id
+
#tpi07
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi07-in.jsonld +
+
expect
+
+expand/pi07-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi08 property-valued index expands to property value, instead of @index (node) +
+
+
+
id
+
#tpi08
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi08-in.jsonld +
+
expect
+
+expand/pi08-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi09 property-valued index appends to property value, instead of @index (node) +
+
+
+
id
+
#tpi09
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi09-in.jsonld +
+
expect
+
+expand/pi09-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi10 property-valued index does not output property for @none +
+
+
+
id
+
#tpi10
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi10-in.jsonld +
+
expect
+
+expand/pi10-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi11 property-valued index adds property to graph object +
+
+
+
id
+
#tpi11
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+expand/pi11-in.jsonld +
+
expect
+
+expand/pi11-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr01 Protect a term +
+
+
+
id
+
#tpr01
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Check error when overriding a protected term.
+
input
+
+expand/pr01-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr02 Set a term to not be protected +
+
+
+
id
+
#tpr02
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
A term with @protected: false is not protected.
+
input
+
+expand/pr02-in.jsonld +
+
expect
+
+expand/pr02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr03 Protect all terms in context +
+
+
+
id
+
#tpr03
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
A protected context protects all term definitions.
+
input
+
+expand/pr03-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr04 Do not protect term with @protected: false +
+
+
+
id
+
#tpr04
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
A protected context does not protect terms with @protected: false.
+
input
+
+expand/pr04-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr05 Clear active context with protected terms from an embedded context +
+
+
+
id
+
#tpr05
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
The Active context be set to null from an embedded context.
+
input
+
+expand/pr05-in.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr06 Clear active context of protected terms from a term. +
+
+
+
id
+
#tpr06
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
The Active context may be set to null from a scoped context of a term.
+
input
+
+expand/pr06-in.jsonld +
+
expect
+
+expand/pr06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr08 Term with protected scoped context. +
+
+
+
id
+
#tpr08
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
A scoped context can protect terms.
+
input
+
+expand/pr08-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr09 Attempt to redefine term in other protected context. +
+
+
+
id
+
#tpr09
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
A protected term cannot redefine another protected term.
+
input
+
+expand/pr09-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr10 Simple protected and unprotected terms. +
+
+
+
id
+
#tpr10
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Simple protected and unprotected terms.
+
input
+
+expand/pr10-in.jsonld +
+
expect
+
+expand/pr10-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr11 Fail to override protected term. +
+
+
+
id
+
#tpr11
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Fail to override protected term.
+
input
+
+expand/pr11-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr12 Scoped context fail to override protected term. +
+
+
+
id
+
#tpr12
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Scoped context fail to override protected term.
+
input
+
+expand/pr12-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr13 Override unprotected term. +
+
+
+
id
+
#tpr13
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Override unprotected term.
+
input
+
+expand/pr13-in.jsonld +
+
expect
+
+expand/pr13-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr14 Clear protection with null context. +
+
+
+
id
+
#tpr14
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Clear protection with null context.
+
input
+
+expand/pr14-in.jsonld +
+
expect
+
+expand/pr14-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr15 Clear protection with array with null context +
+
+
+
id
+
#tpr15
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Clear protection with array with null context
+
input
+
+expand/pr15-in.jsonld +
+
expect
+
+expand/pr15-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr16 Override protected terms after null. +
+
+
+
id
+
#tpr16
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Override protected terms after null.
+
input
+
+expand/pr16-in.jsonld +
+
expect
+
+expand/pr16-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr17 Fail to override protected terms with type. +
+
+
+
id
+
#tpr17
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Fail to override protected terms with type.
+
input
+
+expand/pr17-in.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr18 Fail to override protected terms with type+null+ctx. +
+
+
+
id
+
#tpr18
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Fail to override protected terms with type+null+ctx.
+
input
+
+expand/pr18-in.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr19 Mix of protected and unprotected terms. +
+
+
+
id
+
#tpr19
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Mix of protected and unprotected terms.
+
input
+
+expand/pr19-in.jsonld +
+
expect
+
+expand/pr19-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr20 Fail with mix of protected and unprotected terms with type+null+ctx. +
+
+
+
id
+
#tpr20
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Fail with mix of protected and unprotected terms with type+null+ctx.
+
input
+
+expand/pr20-in.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr21 Fail with mix of protected and unprotected terms with type+null. +
+
+
+
id
+
#tpr21
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Fail with mix of protected and unprotected terms with type+null.
+
input
+
+expand/pr21-in.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr22 Check legal overriding of type-scoped protected term from nested node. +
+
+
+
id
+
#tpr22
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Check legal overriding of type-scoped protected term from nested node.
+
input
+
+expand/pr22-in.jsonld +
+
expect
+
+expand/pr22-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr23 Allows redefinition of protected alias term with same definition. +
+
+
+
id
+
#tpr23
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Allows redefinition of protected alias term with same definition.
+
input
+
+expand/pr23-in.jsonld +
+
expect
+
+expand/pr23-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr24 Allows redefinition of protected prefix term with same definition. +
+
+
+
id
+
#tpr24
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Allows redefinition of protected prefix term with same definition.
+
input
+
+expand/pr24-in.jsonld +
+
expect
+
+expand/pr24-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr25 Allows redefinition of terms with scoped contexts using same definitions. +
+
+
+
id
+
#tpr25
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Allows redefinition of terms with scoped contexts using same definitions.
+
input
+
+expand/pr25-in.jsonld +
+
expect
+
+expand/pr25-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr26 Fails on redefinition of terms with scoped contexts using different definitions. +
+
+
+
id
+
#tpr26
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Fails on redefinition of terms with scoped contexts using different definitions.
+
input
+
+expand/pr26-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr27 Allows redefinition of protected alias term with same definition modulo protected flag. +
+
+
+
id
+
#tpr27
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Allows redefinition of protected alias term with same definition modulo protected flag.
+
input
+
+expand/pr27-in.jsonld +
+
expect
+
+expand/pr27-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr28 Fails if trying to redefine a protected null term. +
+
+
+
id
+
#tpr28
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
A protected term with a null IRI mapping cannot be redefined.
+
input
+
+expand/pr28-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr29 Does not expand a Compact IRI using a non-prefix term. +
+
+
+
id
+
#tpr29
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Expansion of Compact IRIs considers if the term can be used as a prefix.
+
input
+
+expand/pr29-in.jsonld +
+
expect
+
+expand/pr29-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr30 Keywords may be protected. +
+
+
+
id
+
#tpr30
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Keywords may not be redefined other than to protect them.
+
input
+
+expand/pr30-in.jsonld +
+
expect
+
+expand/pr30-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr31 Protected keyword aliases cannot be overridden. +
+
+
+
id
+
#tpr31
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Keywords may not be redefined other than to protect them.
+
input
+
+expand/pr31-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr32 Protected @type cannot be overridden. +
+
+
+
id
+
#tpr32
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Keywords may not be redefined other than to protect them.
+
input
+
+expand/pr32-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr33 Fails if trying to declare a keyword alias as prefix. +
+
+
+
id
+
#tpr33
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Keyword aliases can not be used as prefixes.
+
input
+
+expand/pr33-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr34 Ignores a non-keyword term starting with '@' +
+
+
+
id
+
#tpr34
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+expand/pr34-in.jsonld +
+
expect
+
+expand/pr34-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr35 Ignores a non-keyword term starting with '@' (with @vocab) +
+
+
+
id
+
#tpr35
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+expand/pr35-in.jsonld +
+
expect
+
+expand/pr35-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr36 Ignores a term mapping to a value in the form of a keyword. +
+
+
+
id
+
#tpr36
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+expand/pr36-in.jsonld +
+
expect
+
+expand/pr36-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr37 Ignores a term mapping to a value in the form of a keyword (with @vocab). +
+
+
+
id
+
#tpr37
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+expand/pr37-in.jsonld +
+
expect
+
+expand/pr37-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr38 Ignores a term mapping to a value in the form of a keyword (@reverse). +
+
+
+
id
+
#tpr38
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+expand/pr38-in.jsonld +
+
expect
+
+expand/pr38-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr39 Ignores a term mapping to a value in the form of a keyword (@reverse with @vocab). +
+
+
+
id
+
#tpr39
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+expand/pr39-in.jsonld +
+
expect
+
+expand/pr39-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr40 Protected terms and property-scoped contexts +
+
+
+
id
+
#tpr40
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Check overriding of protected term from property-scoped context.
+
input
+
+expand/pr40-in.jsonld +
+
expect
+
+expand/pr40-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso01 @import is invalid in 1.0. +
+
+
+
id
+
#tso01
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
@import is invalid in 1.0.
+
input
+
+expand/so01-in.jsonld +
+
expect
+
+invalid context entry +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test tso02 @import must be a string +
+
+
+
id
+
#tso02
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
@import must be a string.
+
input
+
+expand/so02-in.jsonld +
+
expect
+
+invalid @import value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso03 @import overflow +
+
+
+
id
+
#tso03
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Processors must detect source contexts that include @import.
+
input
+
+expand/so03-in.jsonld +
+
expect
+
+invalid context entry +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso05 @propagate: true on type-scoped context with @import +
+
+
+
id
+
#tso05
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
type-scoped context with @propagate: true survive node-objects (with @import)
+
input
+
+expand/so05-in.jsonld +
+
expect
+
+expand/so05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso06 @propagate: false on property-scoped context with @import +
+
+
+
id
+
#tso06
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
property-scoped context with @propagate: false do not survive node-objects (with @import)
+
input
+
+expand/so06-in.jsonld +
+
expect
+
+expand/so06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso07 Protect all terms in sourced context +
+
+
+
id
+
#tso07
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
A protected context protects all term definitions.
+
input
+
+expand/so07-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso08 Override term defined in sourced context +
+
+
+
id
+
#tso08
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
The containing context is merged into the source context.
+
input
+
+expand/so08-in.jsonld +
+
expect
+
+expand/so08-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso09 Override @vocab defined in sourced context +
+
+
+
id
+
#tso09
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
The containing context is merged into the source context.
+
input
+
+expand/so09-in.jsonld +
+
expect
+
+expand/so09-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso10 Protect terms in sourced context +
+
+
+
id
+
#tso10
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
The containing context is merged into the source context.
+
input
+
+expand/so10-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso11 Override protected terms in sourced context +
+
+
+
id
+
#tso11
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
The containing context is merged into the source context.
+
input
+
+expand/so11-in.jsonld +
+
expect
+
+expand/so11-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso12 @import may not be used in an imported context. +
+
+
+
id
+
#tso12
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
@import only valid within a term definition.
+
input
+
+expand/so12-in.jsonld +
+
expect
+
+invalid context entry +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso13 @import can only reference a single context +
+
+
+
id
+
#tso13
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
@import can only reference a single context.
+
input
+
+expand/so13-in.jsonld +
+
expect
+
+invalid remote context +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ttn01 @type: @none is illegal in 1.0. +
+
+
+
id
+
#ttn01
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
@type: @none is illegal in json-ld-1.0.
+
input
+
+expand/tn01-in.jsonld +
+
expect
+
+invalid type mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test ttn02 @type: @none expands strings as value objects +
+
+
+
id
+
#ttn02
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
@type: @none leaves inputs other than strings alone
+
input
+
+expand/tn02-in.jsonld +
+
expect
+
+expand/tn02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+
+ + diff --git a/core/src/test/resources/json-ld-api-tests/expand-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/expand-manifest.jsonld index a34b5649..7f19c5bd 100644 --- a/core/src/test/resources/json-ld-api-tests/expand-manifest.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand-manifest.jsonld @@ -1,9 +1,9 @@ { - "@context": "context.jsonld", + "@context": ["context.jsonld", {"@base": "expand-manifest"}], "@id": "", "@type": "mf:Manifest", "name": "Expansion", - "description": "JSON-LD Expansion tests use object compare", + "description": "JSON-LD Expansion tests.", "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { @@ -550,7 +550,7 @@ "name": "expandContext option", "purpose": "Use of the expandContext option to expand the input document", "option": { - "expandContext": "0077-context.jsonld" + "expandContext": "expand/0077-context.jsonld" }, "input": "expand/0077-in.jsonld", "expect": "expand/0077-out.jsonld" @@ -568,7 +568,7 @@ "purpose": "Use of @graph containers", "input": "expand/0079-in.jsonld", "expect": "expand/0079-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0080", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -576,15 +576,15 @@ "purpose": "Use of [@graph, @set] containers", "input": "expand/0080-in.jsonld", "expect": "expand/0080-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0081", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Does not create an @graph container if value is a graph", + "name": "Creates an @graph container if value is a graph", "purpose": "Don't double-expand an already expanded graph", "input": "expand/0081-in.jsonld", "expect": "expand/0081-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0082", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -592,7 +592,7 @@ "purpose": "Use of @graph containers with @index", "input": "expand/0082-in.jsonld", "expect": "expand/0082-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0083", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -600,7 +600,7 @@ "purpose": "Use of @graph containers with @index and @set", "input": "expand/0083-in.jsonld", "expect": "expand/0083-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0084", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -608,7 +608,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0084-in.jsonld", "expect": "expand/0084-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0085", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -616,7 +616,7 @@ "purpose": "Use of @graph containers with @id", "input": "expand/0085-in.jsonld", "expect": "expand/0085-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0086", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -624,7 +624,7 @@ "purpose": "Use of @graph containers with @id and @set", "input": "expand/0086-in.jsonld", "expect": "expand/0086-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0087", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -632,7 +632,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0087-in.jsonld", "expect": "expand/0087-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0088", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -676,7 +676,8 @@ "name": "Various relative IRIs as properties with with @vocab: ''", "purpose": "Pathological relative property IRIs", "input": "expand/0092-in.jsonld", - "expect": "expand/0092-out.jsonld" + "expect": "expand/0092-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0093", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -684,7 +685,7 @@ "purpose": "Use of @graph containers", "input": "expand/0093-in.jsonld", "expect": "expand/0093-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0094", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -692,15 +693,15 @@ "purpose": "Use of [@graph, @set] containers", "input": "expand/0094-in.jsonld", "expect": "expand/0094-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0095", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Does not create an @graph container if value is a graph (multiple objects)", - "purpose": "Don't double-expand an already expanded graph", + "name": "Creates an @graph container if value is a graph (multiple objects)", + "purpose": "Double-expand an already expanded graph", "input": "expand/0095-in.jsonld", "expect": "expand/0095-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0096", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -708,7 +709,7 @@ "purpose": "Use of @graph containers with @index", "input": "expand/0096-in.jsonld", "expect": "expand/0096-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0097", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -716,7 +717,7 @@ "purpose": "Use of @graph containers with @index and @set", "input": "expand/0097-in.jsonld", "expect": "expand/0097-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0098", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -724,7 +725,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0098-in.jsonld", "expect": "expand/0098-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0099", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -732,7 +733,7 @@ "purpose": "Use of @graph containers with @id", "input": "expand/0099-in.jsonld", "expect": "expand/0099-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0100", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -740,7 +741,7 @@ "purpose": "Use of @graph containers with @id and @set", "input": "expand/0100-in.jsonld", "expect": "expand/0100-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0101", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -748,31 +749,31 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0101-in.jsonld", "expect": "expand/0101-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0102", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Do not expand @graph container if value is a graph (multiple objects)", - "purpose": "Does not create a new graph object if indexed value is already a graph object", + "name": "Expand @graph container if value is a graph (multiple objects)", + "purpose": "Creates a new graph object if indexed value is already a graph object", "input": "expand/0102-in.jsonld", "expect": "expand/0102-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0103", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Do not expand @graph container if value is a graph (multiple graphs)", - "purpose": "Does not create a new graph object if indexed value is already a graph object", + "name": "Expand @graph container if value is a graph (multiple graphs)", + "purpose": "Creates a new graph object if indexed value is already a graph object", "input": "expand/0103-in.jsonld", "expect": "expand/0103-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0104", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Does not create an @graph container if value is a graph (mixed graph and object)", - "purpose": "Don't double-expand an already expanded graph", + "name": "Creates an @graph container if value is a graph (mixed graph and object)", + "purpose": "Double-expand an already expanded graph", "input": "expand/0104-in.jsonld", "expect": "expand/0104-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0105", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -780,7 +781,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0105-in.jsonld", "expect": "expand/0105-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0106", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -788,7 +789,7 @@ "purpose": "Does not create a new graph object if indexed value is already a graph object", "input": "expand/0106-in.jsonld", "expect": "expand/0106-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0107", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -796,7 +797,7 @@ "purpose": "Use of @graph containers with @index", "input": "expand/0107-in.jsonld", "expect": "expand/0107-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0108", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -804,7 +805,7 @@ "purpose": "Use of @graph containers with @id", "input": "expand/0108-in.jsonld", "expect": "expand/0108-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0109", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -818,21 +819,24 @@ "name": "Various relative IRIs as properties with with relative @vocab", "purpose": "Pathological relative property IRIs", "input": "expand/0110-in.jsonld", - "expect": "expand/0110-out.jsonld" + "expect": "expand/0110-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0111", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Various relative IRIs as properties with with relative @vocab itself relative to an existing vocabulary base", "purpose": "Pathological relative property IRIs", "input": "expand/0111-in.jsonld", - "expect": "expand/0111-out.jsonld" + "expect": "expand/0111-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0112", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], "name": "Various relative IRIs as properties with with relative @vocab relative to another relative vocabulary base", "purpose": "Pathological relative property IRIs", "input": "expand/0112-in.jsonld", - "expect": "expand/0112-out.jsonld" + "expect": "expand/0112-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#t0113", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -840,6 +844,126 @@ "purpose": "Expand with context including JavaScript Object property names", "input": "expand/0113-in.jsonld", "expect": "expand/0113-out.jsonld" + }, { + "@id": "#t0114", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expansion allows multiple properties expanding to @type", + "purpose": "An exception for the colliding keywords error is made for @type", + "input": "expand/0114-in.jsonld", + "expect": "expand/0114-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0115", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Verifies that relative IRIs as properties with @vocab: '' in 1.0 generate an error", + "purpose": "Relative property IRIs with relative @vocab in 1.0", + "input": "expand/0115-in.jsonld", + "expectErrorCode": "invalid vocab mapping", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#t0116", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Verifies that relative IRIs as properties with relative @vocab in 1.0 generate an error", + "purpose": "Relative property IRIs with relative @vocab in 1.0", + "input": "expand/0116-in.jsonld", + "expectErrorCode": "invalid vocab mapping", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#t0117", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "A term starting with a colon can expand to a different IRI", + "purpose": "Terms may begin with a colon and not be treated as IRIs.", + "input": "expand/0117-in.jsonld", + "expect": "expand/0117-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0118", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expanding a value staring with a colon does not treat that value as an IRI", + "purpose": "Terms may begin with a colon and not be treated as IRIs.", + "input": "expand/0118-in.jsonld", + "expect": "expand/0118-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0119", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Ignore some terms with @, allow others.", + "purpose": "Processors SHOULD generate a warning and MUST ignore terms having the form of a keyword.", + "input": "expand/0119-in.jsonld", + "expect": "expand/0119-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0120", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Ignore some values of @id with @, allow others.", + "purpose": "Processors SHOULD generate a warning and MUST ignore values of @id having the form of a keyword.", + "input": "expand/0120-in.jsonld", + "expect": "expand/0120-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0121", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Ignore some values of @reverse with @, allow others.", + "purpose": "Processors SHOULD generate a warning and MUST ignore values of @reverse having the form of a keyword.", + "input": "expand/0121-in.jsonld", + "expect": "expand/0121-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0122", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Ignore some IRIs when that start with @ when expanding.", + "purpose": "Processors SHOULD generate a warning and MUST ignore IRIs having the form of a keyword.", + "input": "expand/0122-in.jsonld", + "expect": "expand/0122-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0123", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Value objects including invalid literal datatype IRIs are rejected", + "purpose": "Processors MUST validate datatype IRIs.", + "input": "expand/0123-in.jsonld", + "expectErrorCode": "invalid typed value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0124", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "compact IRI as @vocab", + "purpose": "Verifies that @vocab defined as a compact IRI expands properly", + "input": "expand/0124-in.jsonld", + "expect": "expand/0124-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0125", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "term as @vocab", + "purpose": "Verifies that @vocab defined as a term expands properly", + "input": "expand/0125-in.jsonld", + "expect": "expand/0125-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0126", + "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ], + "name": "A scoped context may include itself recursively (direct)", + "purpose": "Verifies that no exception is raised on expansion when processing a scoped context referencing itself directly", + "input": "expand/0126-in.jsonld", + "expect": "expand/0126-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0127", + "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ], + "name": "A scoped context may include itself recursively (indirect)", + "purpose": "Verifies that no exception is raised on expansion when processing a scoped context referencing itself indirectly", + "input": "expand/0127-in.jsonld", + "expect": "expand/0127-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0128", + "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ], + "name": "Two scoped context may include a shared context", + "purpose": "Verifies that no exception is raised on expansion when processing two scoped contexts referencing a shared context", + "input": "expand/0128-in.jsonld", + "expect": "expand/0128-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc001", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -847,7 +971,7 @@ "purpose": "Expansion using a scoped context uses term scope for selecting proper term", "input": "expand/c001-in.jsonld", "expect": "expand/c001-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc002", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -855,7 +979,7 @@ "purpose": "Expansion using a scoped context uses term scope for selecting proper term", "input": "expand/c002-in.jsonld", "expect": "expand/c002-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc003", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -863,7 +987,7 @@ "purpose": "Expansion using a scoped context uses term scope for selecting proper term", "input": "expand/c003-in.jsonld", "expect": "expand/c003-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc004", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -871,7 +995,7 @@ "purpose": "Expansion using a scoped context uses term scope for selecting proper term", "input": "expand/c004-in.jsonld", "expect": "expand/c004-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc005", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -879,7 +1003,7 @@ "purpose": "Expansion using a scoped context uses term scope for selecting proper term", "input": "expand/c005-in.jsonld", "expect": "expand/c005-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc006", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -887,7 +1011,7 @@ "purpose": "scoped context on @type", "input": "expand/c006-in.jsonld", "expect": "expand/c006-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc007", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -895,7 +1019,7 @@ "purpose": "scoped context on @type", "input": "expand/c007-in.jsonld", "expect": "expand/c007-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc008", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -903,7 +1027,7 @@ "purpose": "scoped context on @type", "input": "expand/c008-in.jsonld", "expect": "expand/c008-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc009", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -911,7 +1035,7 @@ "purpose": "scoped context on @type", "input": "expand/c009-in.jsonld", "expect": "expand/c009-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc010", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -919,7 +1043,7 @@ "purpose": "scoped context on @type", "input": "expand/c010-in.jsonld", "expect": "expand/c010-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc011", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -927,7 +1051,7 @@ "purpose": "scoped context on @type", "input": "expand/c011-in.jsonld", "expect": "expand/c011-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc012", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -935,7 +1059,7 @@ "purpose": "scoped context on @type", "input": "expand/c012-in.jsonld", "expect": "expand/c012-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc013", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -943,7 +1067,7 @@ "purpose": "scoped context on @type", "input": "expand/c013-in.jsonld", "expect": "expand/c013-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc014", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -951,7 +1075,7 @@ "purpose": "type-scoped context nullification", "input": "expand/c014-in.jsonld", "expect": "expand/c014-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc015", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -959,7 +1083,7 @@ "purpose": "type-scoped base", "input": "expand/c015-in.jsonld", "expect": "expand/c015-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc016", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -967,7 +1091,7 @@ "purpose": "type-scoped vocab", "input": "expand/c016-in.jsonld", "expect": "expand/c016-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc017", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -975,7 +1099,7 @@ "purpose": "multiple type-scoped contexts are property reverted", "input": "expand/c017-in.jsonld", "expect": "expand/c017-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc018", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -983,7 +1107,7 @@ "purpose": "multiple type-scoped types resolved against previous context", "input": "expand/c018-in.jsonld", "expect": "expand/c018-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc019", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -991,7 +1115,7 @@ "purpose": "type-scoped context with multiple property scoped terms", "input": "expand/c019-in.jsonld", "expect": "expand/c019-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc020", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -999,7 +1123,7 @@ "purpose": "type-scoped value", "input": "expand/c020-in.jsonld", "expect": "expand/c020-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc021", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1007,7 +1131,7 @@ "purpose": "type-scoped value mix", "input": "expand/c021-in.jsonld", "expect": "expand/c021-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc022", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1015,7 +1139,7 @@ "purpose": "type-scoped property-scoped contexts including @type:@vocab", "input": "expand/c022-in.jsonld", "expect": "expand/c022-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc023", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1023,7 +1147,7 @@ "purpose": "composed type-scoped property-scoped contexts including @type:@vocab", "input": "expand/c023-in.jsonld", "expect": "expand/c023-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc024", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1031,7 +1155,7 @@ "purpose": "type-scoped + property-scoped + values evaluates against previous context", "input": "expand/c024-in.jsonld", "expect": "expand/c024-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tc025", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1039,418 +1163,601 @@ "purpose": "type-scoped + graph container", "input": "expand/c025-in.jsonld", "expect": "expand/c025-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc026", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@propagate: true on type-scoped context", + "purpose": "type-scoped context with @propagate: true survive node-objects", + "input": "expand/c026-in.jsonld", + "expect": "expand/c026-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc027", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@propagate: false on property-scoped context", + "purpose": "property-scoped context with @propagate: false do not survive node-objects", + "input": "expand/c027-in.jsonld", + "expect": "expand/c027-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc028", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@propagate: false on embedded context", + "purpose": "embedded context with @propagate: false do not survive node-objects", + "input": "expand/c028-in.jsonld", + "expect": "expand/c028-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc029", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "@propagate is invalid in 1.0", + "purpose": "@propagate is invalid in 1.0", + "input": "expand/c029-in.jsonld", + "expectErrorCode": "invalid context entry", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} + }, { + "@id": "#tc030", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "@propagate must be boolean valued", + "purpose": "@propagate must be boolean valued", + "input": "expand/c030-in.jsonld", + "expectErrorCode": "invalid @propagate value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc031", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@context resolutions respects relative URLs.", + "purpose": "URL resolution follows RFC3986", + "input": "expand/c031-in.jsonld", + "expect": "expand/c031-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc032", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Unused embedded context with error.", + "purpose": "An embedded context which is never used should still be checked.", + "input": "expand/c032-in.jsonld", + "expectErrorCode": "invalid scoped context", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc033", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Unused context with an embedded context error.", + "purpose": "An unused context with an embedded context should still be checked.", + "input": "expand/c033-in.jsonld", + "expectErrorCode": "invalid scoped context", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc034", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Remote scoped context.", + "purpose": "Scoped contexts may be externally loaded.", + "input": "expand/c034-in.jsonld", + "expect": "expand/c034-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc035", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Term scoping with embedded contexts.", + "purpose": "Terms should make use of @vocab relative to the scope in which the term was defined.", + "input": "expand/c035-in.jsonld", + "expect": "expand/c035-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tdi01", + "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ], + "name": "Expand string using default and term directions", + "purpose": "Strings are coerced to have @direction based on default and term direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/di01-in.jsonld", + "expect": "expand/di01-out.jsonld" + }, { + "@id": "#tdi02", + "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ], + "name": "Expand string using default and term directions and languages", + "purpose": "Strings are coerced to have @direction based on default and term direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/di02-in.jsonld", + "expect": "expand/di02-out.jsonld" + }, { + "@id": "#tdi03", + "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ], + "name": "expand list values with @direction", + "purpose": "List values where the term has @direction are used in expansion.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/di03-in.jsonld", + "expect": "expand/di03-out.jsonld" + }, { + "@id": "#tdi04", + "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ], + "name": "simple language map with term direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/di04-in.jsonld", + "expect": "expand/di04-out.jsonld" + }, { + "@id": "#tdi05", + "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ], + "name": "simple language mapwith overriding term direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/di05-in.jsonld", + "expect": "expand/di05-out.jsonld" + }, { + "@id": "#tdi06", + "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ], + "name": "simple language mapwith overriding null direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/di06-in.jsonld", + "expect": "expand/di06-out.jsonld" + }, { + "@id": "#tdi07", + "@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ], + "name": "simple language map with mismatching term direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/di07-in.jsonld", + "expect": "expand/di07-out.jsonld" + }, { + "@id": "#tdi08", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "@direction must be one of ltr or rtl", + "purpose": "Generate an error if @direction has illegal value.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/di08-in.jsonld", + "expectErrorCode": "invalid base direction" + }, { + "@id": "#tdi09", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "@direction is incompatible with @type", + "purpose": "Value objects can have either @type but not @language or @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/di09-in.jsonld", + "expectErrorCode": "invalid value object" + }, { + "@id": "#tec01", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid keyword in term definition", + "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", + "input": "expand/ec01-in.jsonld", + "expectErrorCode": "invalid term definition", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tec02", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Term definition on @type with empty map", + "purpose": "Verifies that an exception is raised if @type is defined as a term with an empty map", + "input": "expand/ec02-in.jsonld", + "expectErrorCode": "keyword redefinition", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tem01", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid container mapping", + "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", + "input": "expand/em01-in.jsonld", + "expectErrorCode": "invalid container mapping", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten01", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "@nest MUST NOT have a string value", + "purpose": "container: @nest", + "input": "expand/en01-in.jsonld", + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten02", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "@nest MUST NOT have a boolen value", + "purpose": "Transparent Nesting", + "input": "expand/en02-in.jsonld", + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten03", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "@nest MUST NOT have a numeric value", + "purpose": "Transparent Nesting", + "input": "expand/en03-in.jsonld", + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten04", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "@nest MUST NOT have a value object value", + "purpose": "Transparent Nesting", + "input": "expand/en04-in.jsonld", + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten05", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "does not allow a keyword other than @nest for the value of @nest", + "purpose": "Transparent Nesting", + "input": "expand/en05-in.jsonld", + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten06", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "does not allow @nest with @reverse", + "purpose": "Transparent Nesting", + "input": "expand/en06-in.jsonld", + "expectErrorCode": "invalid reverse property", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#te001", + "@id": "#tep02", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "processingMode json-ld-1.0 conflicts with @version: 1.1", + "purpose": "If processingMode is explicitly json-ld-1.0, it will conflict with 1.1 features.", + "input": "expand/ep02-in.jsonld", + "expectErrorCode": "processing mode conflict", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tep03", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "@version must be 1.1", + "purpose": "If @version is specified, it must be 1.1", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/ep03-in.jsonld", + "expectErrorCode": "invalid @version value" + }, { + "@id": "#ter01", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Keywords cannot be aliased to other keywords", "purpose": "Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword", - "input": "expand/e001-in.jsonld", - "expect": "keyword redefinition" + "input": "expand/er01-in.jsonld", + "expectErrorCode": "keyword redefinition" }, { - "@id": "#te002", + "@id": "#ter02", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "A context may not include itself recursively (direct)", "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself", - "input": "expand/e002-in.jsonld", - "expect": "recursive context inclusion", + "input": "expand/er02-in.jsonld", + "expectErrorCode": "recursive context inclusion", "option": {"specVersion": "json-ld-1.0"} }, { - "@id": "#te003", + "@id": "#ter03", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "A context may not include itself recursively (indirect)", "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself indirectly", - "input": "expand/e003-in.jsonld", - "expect": "recursive context inclusion", + "input": "expand/er03-in.jsonld", + "expectErrorCode": "recursive context inclusion", "option": {"specVersion": "json-ld-1.0"} }, { - "@id": "#te004", + "@id": "#ter04", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Error dereferencing a remote context", "purpose": "Verifies that an exception is raised on expansion when a context dereference results in an error", - "input": "expand/e004-in.jsonld", - "expect": "loading remote context failed" + "input": "expand/er04-in.jsonld", + "expectErrorCode": "loading remote context failed" }, { - "@id": "#te005", + "@id": "#ter05", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid remote context", "purpose": "Verifies that an exception is raised on expansion when a remote context is not an object containing @context", - "input": "expand/e005-in.jsonld", - "expect": "invalid remote context", + "input": "expand/er05-in.jsonld", + "expectErrorCode": "invalid remote context", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#te006", + "@id": "#ter06", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid local context", "purpose": "Verifies that an exception is raised on expansion when a context is not a string or object", - "input": "expand/e006-in.jsonld", - "expect": "invalid local context" + "input": "expand/er06-in.jsonld", + "expectErrorCode": "invalid local context" }, { - "@id": "#te007", + "@id": "#ter07", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid base IRI", "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @base", - "input": "expand/e007-in.jsonld", - "expect": "invalid base IRI" + "input": "expand/er07-in.jsonld", + "expectErrorCode": "invalid base IRI" }, { - "@id": "#te008", + "@id": "#ter08", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid vocab mapping", "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @vocab mapping", - "input": "expand/e008-in.jsonld", - "expect": "invalid vocab mapping" + "input": "expand/er08-in.jsonld", + "expectErrorCode": "invalid vocab mapping" }, { - "@id": "#te009", + "@id": "#ter09", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid default language", "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @language", - "input": "expand/e009-in.jsonld", - "expect": "invalid default language" + "input": "expand/er09-in.jsonld", + "expectErrorCode": "invalid default language" }, { - "@id": "#te010", + "@id": "#ter10", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Cyclic IRI mapping", "purpose": "Verifies that an exception is raised on expansion when a cyclic IRI mapping is found", - "input": "expand/e010-in.jsonld", - "expect": "cyclic IRI mapping" + "input": "expand/er10-in.jsonld", + "expectErrorCode": "cyclic IRI mapping" }, { - "@id": "#te011", + "@id": "#ter11", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid term definition", "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", - "input": "expand/e011-in.jsonld", - "expect": "invalid term definition" + "input": "expand/er11-in.jsonld", + "expectErrorCode": "invalid term definition" }, { - "@id": "#te012", + "@id": "#ter12", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid type mapping (not a string)", "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", - "input": "expand/e012-in.jsonld", - "expect": "invalid type mapping" + "input": "expand/er12-in.jsonld", + "expectErrorCode": "invalid type mapping" }, { - "@id": "#te013", + "@id": "#ter13", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid type mapping (not absolute IRI)", "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", - "input": "expand/e013-in.jsonld", - "expect": "invalid type mapping" + "input": "expand/er13-in.jsonld", + "expectErrorCode": "invalid type mapping" }, { - "@id": "#te014", + "@id": "#ter14", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid reverse property (contains @id)", "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", - "input": "expand/e014-in.jsonld", - "expect": "invalid reverse property" + "input": "expand/er14-in.jsonld", + "expectErrorCode": "invalid reverse property" }, { - "@id": "#te015", + "@id": "#ter15", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid IRI mapping (@reverse not a string)", "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", - "input": "expand/e015-in.jsonld", - "expect": "invalid IRI mapping" - }, { - "@id": "#te016", - "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "Invalid IRI mapping (not an absolute IRI)", - "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", - "input": "expand/e016-in.jsonld", - "expect": "invalid IRI mapping" + "input": "expand/er15-in.jsonld", + "expectErrorCode": "invalid IRI mapping" }, { - "@id": "#te017", + "@id": "#ter17", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid reverse property (invalid @container)", "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", - "input": "expand/e017-in.jsonld", - "expect": "invalid reverse property" + "input": "expand/er17-in.jsonld", + "expectErrorCode": "invalid reverse property" }, { - "@id": "#te018", + "@id": "#ter18", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid IRI mapping (@id not a string)", "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", - "input": "expand/e018-in.jsonld", - "expect": "invalid IRI mapping" + "input": "expand/er18-in.jsonld", + "expectErrorCode": "invalid IRI mapping" }, { - "@id": "#te019", + "@id": "#ter19", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "Invalid keyword alias", + "name": "Invalid keyword alias (@context)", "purpose": "Verifies that an exception is raised on expansion when a invalid keyword alias is found", - "input": "expand/e019-in.jsonld", - "expect": "invalid keyword alias" + "input": "expand/er19-in.jsonld", + "expectErrorCode": "invalid keyword alias" }, { - "@id": "#te020", + "@id": "#ter20", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid IRI mapping (no vocab mapping)", "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", - "input": "expand/e020-in.jsonld", - "expect": "invalid IRI mapping" + "input": "expand/er20-in.jsonld", + "expectErrorCode": "invalid IRI mapping" }, { - "@id": "#te021", + "@id": "#ter21", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid container mapping", "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", - "input": "expand/e021-in.jsonld", - "expect": "invalid container mapping", + "input": "expand/er21-in.jsonld", + "expectErrorCode": "invalid container mapping", "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} }, { - "@id": "#te022", + "@id": "#ter22", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid language mapping", "purpose": "Verifies that an exception is raised on expansion when a invalid language mapping is found", - "input": "expand/e022-in.jsonld", - "expect": "invalid language mapping" + "input": "expand/er22-in.jsonld", + "expectErrorCode": "invalid language mapping" }, { - "@id": "#te023", + "@id": "#ter23", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid IRI mapping (relative IRI in @type)", "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", - "input": "expand/e023-in.jsonld", - "expect": "invalid type mapping" + "input": "expand/er23-in.jsonld", + "expectErrorCode": "invalid type mapping" }, { - "@id": "#te024", + "@id": "#ter24", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "List of lists (from array)", "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", - "input": "expand/e024-in.jsonld", - "expect": "list of lists", + "input": "expand/er24-in.jsonld", + "expectErrorCode": "list of lists", "option": {"specVersion": "json-ld-1.0"} }, { - "@id": "#te025", + "@id": "#ter25", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid reverse property map", "purpose": "Verifies that an exception is raised in Expansion when a invalid reverse property map is found", - "input": "expand/e025-in.jsonld", - "expect": "invalid reverse property map" + "input": "expand/er25-in.jsonld", + "expectErrorCode": "invalid reverse property map" }, { - "@id": "#te026", + "@id": "#ter26", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Colliding keywords", "purpose": "Verifies that an exception is raised in Expansion when colliding keywords are found", - "input": "expand/e026-in.jsonld", - "expect": "colliding keywords" + "input": "expand/er26-in.jsonld", + "expectErrorCode": "colliding keywords" }, { - "@id": "#te027", + "@id": "#ter27", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid @id value", "purpose": "Verifies that an exception is raised in Expansion when an invalid @id value is found", - "input": "expand/e027-in.jsonld", - "expect": "invalid @id value" + "input": "expand/er27-in.jsonld", + "expectErrorCode": "invalid @id value" }, { - "@id": "#te028", + "@id": "#ter28", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid type value", "purpose": "Verifies that an exception is raised in Expansion when an invalid type value is found", - "input": "expand/e028-in.jsonld", - "expect": "invalid type value" + "input": "expand/er28-in.jsonld", + "expectErrorCode": "invalid type value" }, { - "@id": "#te029", + "@id": "#ter29", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid value object value", "purpose": "Verifies that an exception is raised in Expansion when an invalid value object value is found", - "input": "expand/e029-in.jsonld", - "expect": "invalid value object value" + "input": "expand/er29-in.jsonld", + "expectErrorCode": "invalid value object value" }, { - "@id": "#te030", + "@id": "#ter30", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid language-tagged string", "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged string value is found", - "input": "expand/e030-in.jsonld", - "expect": "invalid language-tagged string" + "input": "expand/er30-in.jsonld", + "expectErrorCode": "invalid language-tagged string" }, { - "@id": "#te031", + "@id": "#ter31", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid @index value", "purpose": "Verifies that an exception is raised in Expansion when an invalid @index value value is found", - "input": "expand/e031-in.jsonld", - "expect": "invalid @index value" + "input": "expand/er31-in.jsonld", + "expectErrorCode": "invalid @index value" }, { - "@id": "#te032", + "@id": "#ter32", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "List of lists (from array)", "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", - "input": "expand/e032-in.jsonld", - "expect": "list of lists", + "input": "expand/er32-in.jsonld", + "expectErrorCode": "list of lists", "option": {"specVersion": "json-ld-1.0"} }, { - "@id": "#te033", + "@id": "#ter33", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid @reverse value", "purpose": "Verifies that an exception is raised in Expansion when an invalid @reverse value is found", - "input": "expand/e033-in.jsonld", - "expect": "invalid @reverse value" + "input": "expand/er33-in.jsonld", + "expectErrorCode": "invalid @reverse value" }, { - "@id": "#te034", + "@id": "#ter34", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid reverse property value (in @reverse)", "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", - "input": "expand/e034-in.jsonld", - "expect": "invalid reverse property value" + "input": "expand/er34-in.jsonld", + "expectErrorCode": "invalid reverse property value" }, { - "@id": "#te035", + "@id": "#ter35", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid language map value", "purpose": "Verifies that an exception is raised in Expansion when an invalid language map value is found", - "input": "expand/e035-in.jsonld", - "expect": "invalid language map value" + "input": "expand/er35-in.jsonld", + "expectErrorCode": "invalid language map value" }, { - "@id": "#te036", + "@id": "#ter36", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid reverse property value (through coercion)", "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", - "input": "expand/e036-in.jsonld", - "expect": "invalid reverse property value" + "input": "expand/er36-in.jsonld", + "expectErrorCode": "invalid reverse property value" }, { - "@id": "#te037", + "@id": "#ter37", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid value object (unexpected keyword)", "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", - "input": "expand/e037-in.jsonld", - "expect": "invalid value object" + "input": "expand/er37-in.jsonld", + "expectErrorCode": "invalid value object" }, { - "@id": "#te038", + "@id": "#ter38", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid value object (@type and @language)", "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", - "input": "expand/e038-in.jsonld", - "expect": "invalid value object" + "input": "expand/er38-in.jsonld", + "expectErrorCode": "invalid value object" }, { - "@id": "#te039", + "@id": "#ter39", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid language-tagged value", "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged value is found", - "input": "expand/e039-in.jsonld", - "expect": "invalid language-tagged value" + "input": "expand/er39-in.jsonld", + "expectErrorCode": "invalid language-tagged value" }, { - "@id": "#te040", + "@id": "#ter40", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid typed value", "purpose": "Verifies that an exception is raised in Expansion when an invalid typed value is found", - "input": "expand/e040-in.jsonld", - "expect": "invalid typed value" + "input": "expand/er40-in.jsonld", + "expectErrorCode": "invalid typed value" }, { - "@id": "#te041", + "@id": "#ter41", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], "name": "Invalid set or list object", "purpose": "Verifies that an exception is raised in Expansion when an invalid set or list object is found", - "input": "expand/e041-in.jsonld", - "expect": "invalid set or list object" + "input": "expand/er41-in.jsonld", + "expectErrorCode": "invalid set or list object" }, { - "@id": "#te042", + "@id": "#ter42", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "Keywords may not be redefined", + "name": "Keywords may not be redefined in 1.0", "purpose": "Verifies that an exception is raised on expansion when processing an invalid context attempting to define @container on a keyword", - "input": "expand/e042-in.jsonld", - "expect": "keyword redefinition" + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, + "input": "expand/er42-in.jsonld", + "expectErrorCode": "keyword redefinition" }, { - "@id": "#te043", + "@id": "#ter43", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], "name": "Term definition with @id: @type", "purpose": "Expanding term mapping to @type uses @type syntax now illegal", - "input": "expand/e043-in.jsonld", - "expect": "invalid IRI mapping", + "input": "expand/er43-in.jsonld", + "expectErrorCode": "invalid IRI mapping", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#te044", + "@id": "#ter44", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], "name": "Redefine terms looking like compact IRIs", "purpose": "Term definitions may look like compact IRIs, but must be consistent.", - "input": "expand/e044-in.jsonld", - "expect": "invalid IRI mapping", + "input": "expand/er44-in.jsonld", + "expectErrorCode": "invalid IRI mapping", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#tec01", - "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "Invalid keyword in term definition", - "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", - "input": "expand/ec01-in.jsonld", - "expect": "invalid term definition", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, { - "@id": "#tem01", - "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "Invalid container mapping", - "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", - "input": "expand/em01-in.jsonld", - "expect": "invalid container mapping", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "@id": "#ter48", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Invalid term as relative IRI", + "purpose": "Verifies that a relative IRI cannot be used as a term.", + "input": "expand/er48-in.jsonld", + "expectErrorCode": "invalid IRI mapping", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#ten01", - "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "@nest MUST NOT have a string value", - "purpose": "container: @nest", - "input": "expand/en01-in.jsonld", - "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "@id": "#ter49", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "A relative IRI cannot be used as a prefix", + "purpose": "Verifies that a relative IRI cannot be used as a term.", + "input": "expand/er49-in.jsonld", + "expectErrorCode": "invalid term definition", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#ten02", + "@id": "#ter50", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "@nest MUST NOT have a boolen value", - "purpose": "Transparent Nesting", - "input": "expand/en02-in.jsonld", - "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "name": "Invalid reverse id", + "purpose": "Verifies that an exception is raised in Expansion when an invalid IRI is used for @reverse.", + "input": "expand/er50-in.jsonld", + "expectErrorCode": "invalid IRI mapping" }, { - "@id": "#ten03", + "@id": "#ter51", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "@nest MUST NOT have a numeric value", - "purpose": "Transparent Nesting", - "input": "expand/en03-in.jsonld", - "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, { - "@id": "#ten04", + "name": "Invalid value object value using a value alias", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object value is found using a value alias", + "input": "expand/er51-in.jsonld", + "expectErrorCode": "invalid value object value" + }, { + "@id": "#ter52", "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "@nest MUST NOT have a value object value", - "purpose": "Transparent Nesting", - "input": "expand/en04-in.jsonld", - "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, { - "@id": "#ten05", - "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "does not allow a keyword other than @nest for the value of @nest", - "purpose": "Transparent Nesting", - "input": "expand/en05-in.jsonld", - "expect": "invalid @nest value", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, { - "@id": "#ten06", - "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "does not allow @nest with @reverse", - "purpose": "Transparent Nesting", - "input": "expand/en06-in.jsonld", - "expect": "invalid reverse property", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, { - "@id": "#tep01", - "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "Processing mode is implicitly json-ld-1.0", - "purpose": "If not specified using processingMode, processing mode is taken as json-ld-1.0", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/ep01-in.jsonld", - "expect": "invalid container mapping" - }, { - "@id": "#tep02", - "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "processingMode json-ld-1.0 conflicts with @version: 1.1", - "purpose": "If not specified using processingMode, processing mode is taken as json-ld-1.0", - "input": "expand/ep02-in.jsonld", - "expect": "processing mode conflict", - "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} - }, { - "@id": "#tep03", - "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "@version must be 1.1", - "purpose": "If @version is specified, it must be 1.1", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/ep03-in.jsonld", - "expect": "invalid @version value" - }, { + "name": "Definition for the empty term", + "purpose": "Verifies that an exception is raised on expansion when a context contains a definition for the empty term", + "input": "expand/er52-in.jsonld", + "expectErrorCode": "invalid term definition" + }, { "@id": "#tes01", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], "name": "Using an array value for @context is illegal in JSON-LD 1.0", "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", "input": "expand/es01-in.jsonld", - "expect": "invalid container mapping", + "expectErrorCode": "invalid container mapping", "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} }, { "@id": "#tes02", @@ -1458,207 +1765,80 @@ "name": "Mapping @container: [@list, @set] is invalid", "purpose": "Testing legal combinations of @set with other container values", "input": "expand/es02-in.jsonld", - "expect": "invalid container mapping", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} - }, { - "@id": "#th001", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands embedded JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "expand/h001-in.html", - "expect": "expand/h001-out.jsonld", + "expectErrorCode": "invalid container mapping", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th002", + "@id": "#tin01", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands first embedded JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "expand/h002-in.html", - "expect": "expand/h002-out.jsonld", + "name": "Basic Included array", + "purpose": "Tests included blocks.", + "input": "expand/in01-in.jsonld", + "expect": "expand/in01-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th003", + "@id": "#tin02", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands targeted JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", - "input": "expand/h003-in.html#second", - "expect": "expand/h003-out.jsonld", + "name": "Basic Included object", + "purpose": "Tests included blocks.", + "input": "expand/in02-in.jsonld", + "expect": "expand/in02-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th004", + "@id": "#tin03", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands all embedded JSON-LD script elements with extractAllScripts option", - "purpose": "Tests embedded JSON-LD in HTML extracting all elements", - "input": "expand/h004-in.html", - "expect": "expand/h004-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} - }, { - "@id": "#th005", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands multiple embedded JSON-LD script elements where one is an array", - "purpose": "Tests embedded JSON-LD in HTML extracting all elements with array", - "input": "expand/h005-in.html", - "expect": "expand/h005-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} - }, { - "@id": "#th006", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands as empty with no embedded JSON-LD script elements", - "purpose": "Tests embedded JSON-LD in HTML when none exist", - "input": "expand/h006-in.html", - "expect": "expand/h006-out.jsonld", + "name": "Multiple properties mapping to @included are folded together", + "purpose": "Tests included blocks.", + "input": "expand/in03-in.jsonld", + "expect": "expand/in03-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th007", + "@id": "#tin04", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands as empty with no embedded JSON-LD script elements and extractAllScripts", - "purpose": "Tests embedded JSON-LD in HTML when none exist extracting all elements", - "input": "expand/h007-in.html", - "expect": "expand/h007-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} - }, { - "@id": "#th010", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands embedded JSON-LD script element with HTML character references", - "purpose": "Tests embedded JSON-LD in HTML with character references", - "input": "expand/h010-in.html", - "expect": "expand/h010-out.jsonld", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#th011", - "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "Errors if no element found at target", - "purpose": "Tests embedded JSON-LD in HTML with fragment identifier that doesn't exist", - "input": "expand/h011-in.html#third", - "expect": "invalid script element", + "name": "Included containing @included", + "purpose": "Tests included blocks.", + "input": "expand/in04-in.jsonld", + "expect": "expand/in04-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th012", - "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "Errors if targeted element is not a script element", - "purpose": "Tests embedded JSON-LD in HTML which isn't a script element", - "input": "expand/h012-in.html#first", - "expect": "invalid script element", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#th013", - "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "Errors if targeted element does not have type application/ld+json", - "purpose": "Tests embedded JSON-LD in HTML with wrong type", - "input": "expand/h013-in.html#first", - "expect": "invalid script element", + "@id": "#tin05", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Property value with @included", + "purpose": "Tests included blocks.", + "input": "expand/in05-in.jsonld", + "expect": "expand/in05-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th014", - "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "Errors if uncommented script text contains comment", - "purpose": "Tests embedded JSON-LD in HTML with comments leftover", - "input": "expand/h014-in.html", - "expect": "invalid script element", + "@id": "#tin06", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "json.api example", + "purpose": "Tests included blocks.", + "input": "expand/in06-in.jsonld", + "expect": "expand/in06-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th015", + "@id": "#tin07", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "Errors if end comment missing", - "purpose": "Tests embedded JSON-LD in HTML with unballanced comments", - "input": "expand/h015-in.html", - "expect": "invalid script element", + "name": "Error if @included value is a string", + "purpose": "Tests included blocks.", + "input": "expand/in07-in.jsonld", + "expectErrorCode": "invalid @included value", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th016", + "@id": "#tin08", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "Errors if start comment missing", - "purpose": "Tests embedded JSON-LD in HTML with unballanced comments", - "input": "expand/h016-in.html", - "expect": "invalid script element", + "name": "Error if @included value is a value object", + "purpose": "Tests included blocks.", + "input": "expand/in08-in.jsonld", + "expectErrorCode": "invalid @included value", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th017", + "@id": "#tin09", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "Errors if uncommented script is not valid JSON", - "purpose": "Tests embedded JSON-LD in HTML which is invalid JSON", - "input": "expand/h017-in.html", - "expect": "invalid script element", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#th018", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands embedded JSON-LD script element relative to document base", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "expand/h018-in.html", - "expect": "expand/h018-out.jsonld", + "name": "Error if @included value is a list object", + "purpose": "Tests included blocks.", + "input": "expand/in09-in.jsonld", + "expectErrorCode": "invalid @included value", "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#th019", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands embedded JSON-LD script element relative to base option", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "expand/h019-in.html", - "expect": "expand/h019-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} - }, { - "@id": "#th020", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands embedded JSON-LD script element relative to HTML base", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "expand/h020-in.html", - "expect": "expand/h020-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} - }, { - "@id": "#th021", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands embedded JSON-LD script element relative to relative HTML base", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "expand/h021-in.html", - "expect": "expand/h021-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} - }, { - "@id": "#th022", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands targeted JSON-LD script element with fragment and HTML base", - "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", - "input": "expand/h022-in.html#second", - "expect": "expand/h022-out.jsonld", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#thc01", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands document using an HTML context", - "purpose": "Tests extracting a context from an HTML document.", - "input": "expand/hc01-in.jsonld", - "expect": "expand/hc01-out.jsonld", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#thc02", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands document using an HTML context with a fragment identifier", - "purpose": "Tests extracting a context from an HTML document with script identified by fragment identifier.", - "input": "expand/hc02-in.jsonld", - "expect": "expand/hc02-out.jsonld", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#thc03", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands document using an HTML context with preference to context profile", - "purpose": "Tests extracting a context from an HTML document, skipping other contexts.", - "input": "expand/hc03-in.jsonld", - "expect": "expand/hc03-out.jsonld", - "option": {"specVersion": "json-ld-1.1"} - }, { - "@id": "#thc04", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expands document using an HTML context with expandContext", - "purpose": "Tests extracting a context from an HTML document, using expandContext API option.", - "input": "expand/hc04-in.jsonld", - "expect": "expand/hc04-out.jsonld", - "option": {"expandContext": "hc04-context.html", "specVersion": "json-ld-1.1"} - }, { - "@id": "#thc05", - "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], - "name": "Errors if given an HTML file for a context where no context script element is found", - "purpose": "Verifies that an exception is raised on expansion when a remote context is an HTML file but does not contain a script element which is an object containing @context", - "input": "expand/hc05-in.jsonld", - "expect": "invalid remote context" }, { "@id": "#tjs01", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1718,27 +1898,219 @@ }, { "@id": "#tjs08", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expand JSON literal without expanding contents", - "purpose": "Tests expanding JSON literal does not expand terms inside json.", + "name": "Expand JSON literal with array canonicalization", + "purpose": "Tests expanding JSON literal with array canonicalization.", "input": "expand/js08-in.jsonld", "expect": "expand/js08-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs09", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expand JSON literal aleady in expanded form", - "purpose": "Tests expanding JSON literal in expanded form.", + "name": "Transform JSON literal with string canonicalization", + "purpose": "Tests expanding JSON literal with string canonicalization.", "input": "expand/js09-in.jsonld", "expect": "expand/js09-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs10", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Expand JSON literal aleady in expanded form with aliased keys", - "purpose": "Tests expanding JSON literal in expanded form with aliased keys in value object.", + "name": "Expand JSON literal with structural canonicalization", + "purpose": "Tests expanding JSON literal with structural canonicalization.", "input": "expand/js10-in.jsonld", "expect": "expand/js10-out.jsonld", "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs11", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal with unicode canonicalization", + "purpose": "Tests expanding JSON literal with unicode canonicalization.", + "input": "expand/js11-in.jsonld", + "expect": "expand/js11-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs12", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal with value canonicalization", + "purpose": "Tests expanding JSON literal with value canonicalization.", + "input": "expand/js12-in.jsonld", + "expect": "expand/js12-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs13", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal with wierd canonicalization", + "purpose": "Tests expanding JSON literal with wierd canonicalization.", + "input": "expand/js13-in.jsonld", + "expect": "expand/js13-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs14", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal without expanding contents", + "purpose": "Tests expanding JSON literal does not expand terms inside json.", + "input": "expand/js14-in.jsonld", + "expect": "expand/js14-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs15", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal aleady in expanded form", + "purpose": "Tests expanding JSON literal in expanded form.", + "input": "expand/js15-in.jsonld", + "expect": "expand/js15-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs16", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal aleady in expanded form with aliased keys", + "purpose": "Tests expanding JSON literal in expanded form with aliased keys in value object.", + "input": "expand/js16-in.jsonld", + "expect": "expand/js16-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs17", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (string)", + "purpose": "Tests expanding property with @type @json to a JSON literal (string).", + "input": "expand/js17-in.jsonld", + "expect": "expand/js17-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs18", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (null)", + "purpose": "Tests expanding property with @type @json to a JSON literal (null).", + "input": "expand/js18-in.jsonld", + "expect": "expand/js18-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs19", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal with aliased @type", + "purpose": "Tests expanding JSON literal with aliased @type.", + "input": "expand/js19-in.jsonld", + "expect": "expand/js19-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs20", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal with aliased @value", + "purpose": "Tests expanding JSON literal with aliased @value.", + "input": "expand/js20-in.jsonld", + "expect": "expand/js20-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs21", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal with @context", + "purpose": "Tests expanding JSON literal with a @context.", + "input": "expand/js21-in.jsonld", + "expect": "expand/js21-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs22", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (null) aleady in expanded form.", + "purpose": "Tests expanding property with @type @json to a JSON literal (null).", + "input": "expand/js22-in.jsonld", + "expect": "expand/js22-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs23", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Expand JSON literal (empty array).", + "purpose": "Tests expanding property with @type @json to a JSON literal (empty array).", + "input": "expand/js23-in.jsonld", + "expect": "expand/js23-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tl001", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Language map with null value", + "purpose": "A language map may have a null value, which is ignored", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/l001-in.jsonld", + "expect": "expand/l001-out.jsonld" + }, { + "@id": "#tli01", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@list containing @list", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li01-in.jsonld", + "expect": "expand/li01-out.jsonld" + }, { + "@id": "#tli02", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@list containing empty @list", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li02-in.jsonld", + "expect": "expand/li02-out.jsonld" + }, { + "@id": "#tli03", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@list containing @list (with coercion)", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li03-in.jsonld", + "expect": "expand/li03-out.jsonld" + }, { + "@id": "#tli04", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@list containing empty @list (with coercion)", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li04-in.jsonld", + "expect": "expand/li04-out.jsonld" + }, { + "@id": "#tli05", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing an array", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li05-in.jsonld", + "expect": "expand/li05-out.jsonld" + }, { + "@id": "#tli06", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing an empty array", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li06-in.jsonld", + "expect": "expand/li06-out.jsonld" + }, { + "@id": "#tli07", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing deep arrays", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li07-in.jsonld", + "expect": "expand/li07-out.jsonld" + }, { + "@id": "#tli08", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing deep empty arrays", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li08-in.jsonld", + "expect": "expand/li08-out.jsonld" + }, { + "@id": "#tli09", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing multiple lists", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li09-in.jsonld", + "expect": "expand/li09-out.jsonld" + }, { + "@id": "#tli10", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "coerced @list containing mixed list values", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/li10-in.jsonld", + "expect": "expand/li10-out.jsonld" }, { "@id": "#tm001", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1746,7 +2118,7 @@ "purpose": "Expansion using @container: @id", "input": "expand/m001-in.jsonld", "expect": "expand/m001-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm002", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1754,7 +2126,7 @@ "purpose": "Expansion using @container: @id", "input": "expand/m002-in.jsonld", "expect": "expand/m002-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm003", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1762,7 +2134,7 @@ "purpose": "Expansion using @container: @type", "input": "expand/m003-in.jsonld", "expect": "expand/m003-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm004", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1770,7 +2142,7 @@ "purpose": "Expansion using @container: @type", "input": "expand/m004-in.jsonld", "expect": "expand/m004-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm005", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1778,7 +2150,7 @@ "purpose": "Expansion using @container: @id", "input": "expand/m005-in.jsonld", "expect": "expand/m005-out.jsonld", - "option": {"base": "http://example.org/", "processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"base": "http://example.org/", "specVersion": "json-ld-1.1"} }, { "@id": "#tm006", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1786,7 +2158,7 @@ "purpose": "Expansion using @container: @type", "input": "expand/m006-in.jsonld", "expect": "expand/m006-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm007", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1794,7 +2166,7 @@ "purpose": "Expansion using @container: @type", "input": "expand/m007-in.jsonld", "expect": "expand/m007-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm008", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1802,7 +2174,7 @@ "purpose": "scoped context on @type", "input": "expand/m008-in.jsonld", "expect": "expand/m008-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm009", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1810,7 +2182,7 @@ "purpose": "index on @language", "input": "expand/m009-in.jsonld", "expect": "expand/m009-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm010", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1818,7 +2190,7 @@ "purpose": "index on @language", "input": "expand/m010-in.jsonld", "expect": "expand/m010-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm011", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1826,7 +2198,7 @@ "purpose": "index on @id", "input": "expand/m011-in.jsonld", "expect": "expand/m011-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm012", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1834,39 +2206,71 @@ "purpose": "index on @type", "input": "expand/m012-in.jsonld", "expect": "expand/m012-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm013", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "index map with @none", + "name": "graph index map with @none", "purpose": "index on @graph and @index", "input": "expand/m013-in.jsonld", "expect": "expand/m013-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm014", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "index map with alias @none", + "name": "graph index map with alias @none", "purpose": "index on @graph and @index", "input": "expand/m014-in.jsonld", "expect": "expand/m014-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm015", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "index map with alias @none", - "purpose": "index on @graph and @index", + "name": "graph id index map with aliased @none", + "purpose": "index on @graph and @id with @none", "input": "expand/m015-in.jsonld", "expect": "expand/m015-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tm016", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "index map with alias @none", - "purpose": "index on @graph and @index", + "name": "graph id index map with aliased @none", + "purpose": "index on @graph and @id with @none", "input": "expand/m016-in.jsonld", "expect": "expand/m016-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm017", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "string value of type map expands to node reference", + "purpose": "index on @type", + "input": "expand/m017-in.jsonld", + "expect": "expand/m017-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm018", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "string value of type map expands to node reference with @type: @id", + "purpose": "index on @type", + "input": "expand/m018-in.jsonld", + "expect": "expand/m018-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm019", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "string value of type map expands to node reference with @type: @vocab", + "purpose": "index on @type", + "input": "expand/m019-in.jsonld", + "expect": "expand/m019-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm020", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "string value of type map must not be a literal", + "purpose": "index on @type", + "input": "expand/m020-in.jsonld", + "expectErrorCode": "invalid type mapping", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn001", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1874,7 +2278,7 @@ "purpose": "Expansion using @nest", "input": "expand/n001-in.jsonld", "expect": "expand/n001-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn002", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1882,7 +2286,7 @@ "purpose": "Expansion using @nest", "input": "expand/n002-in.jsonld", "expect": "expand/n002-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn003", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1890,15 +2294,15 @@ "purpose": "Expansion using @nest", "input": "expand/n003-in.jsonld", "expect": "expand/n003-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn004", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Appends nested values from all @nest aliases in term order", + "name": "Appends nested values from all @nest aliases", "purpose": "Expansion using @nest", "input": "expand/n004-in.jsonld", "expect": "expand/n004-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn005", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1906,7 +2310,7 @@ "purpose": "Expansion using @nest", "input": "expand/n005-in.jsonld", "expect": "expand/n005-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn006", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1914,7 +2318,7 @@ "purpose": "Expansion using @nest", "input": "expand/n006-in.jsonld", "expect": "expand/n006-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tn007", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1922,7 +2326,15 @@ "purpose": "Expansion using @nest", "input": "expand/n007-in.jsonld", "expect": "expand/n007-out.jsonld", - "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tn008", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Multiple keys may mapping to @type when nesting", + "purpose": "Expansion using @nest", + "input": "expand/n008-in.jsonld", + "expect": "expand/n008-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tp001", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1958,11 +2370,11 @@ }, { "@id": "#tpi01", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], - "name": "error if @version is not json-ld-1.1 for property-valued index", + "name": "error if @version is json-ld-1.0 for property-valued index", "purpose": "Expanding index maps where index is a property.", - "option": {"specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, "input": "expand/pi01-in.jsonld", - "expect": "invalid term definition" + "expectErrorCode": "invalid term definition" }, { "@id": "#tpi02", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -1970,7 +2382,7 @@ "purpose": "Expanding index maps where index is a property.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pi02-in.jsonld", - "expect": "invalid term definition" + "expectErrorCode": "invalid term definition" }, { "@id": "#tpi03", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -1978,7 +2390,7 @@ "purpose": "Expanding index maps where index is a property.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pi03-in.jsonld", - "expect": "invalid term definition" + "expectErrorCode": "invalid term definition" }, { "@id": "#tpi04", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -1986,7 +2398,7 @@ "purpose": "Expanding index maps where index is a property.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pi04-in.jsonld", - "expect": "invalid term definition" + "expectErrorCode": "invalid term definition" }, { "@id": "#tpi05", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -1994,7 +2406,7 @@ "purpose": "Expanding index maps where index is a property.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pi05-in.jsonld", - "expect": "invalid value object" + "expectErrorCode": "invalid value object" }, { "@id": "#tpi06", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -2043,94 +2455,6 @@ "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pi11-in.jsonld", "expect": "expand/pi11-out.jsonld" - }, { - "@id": "#tl001", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "Language map with null value", - "purpose": "A language map may have a null value, which is ignored", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/l001-in.jsonld", - "expect": "expand/l001-out.jsonld" - }, { - "@id": "#tli01", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "@list containing @list", - "purpose": "List of lists", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/li01-in.jsonld", - "expect": "expand/li01-out.jsonld" - }, { - "@id": "#tli02", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "@list containing empty @list", - "purpose": "List of lists", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/li02-in.jsonld", - "expect": "expand/li02-out.jsonld" - }, { - "@id": "#tli03", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "@list containing @list (with coercion)", - "purpose": "List of lists", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/li03-in.jsonld", - "expect": "expand/li03-out.jsonld" - }, { - "@id": "#tli04", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "@list containing empty @list (with coercion)", - "purpose": "List of lists", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/li04-in.jsonld", - "expect": "expand/li04-out.jsonld" - }, { - "@id": "#tli05", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "coerced @list containing an array", - "purpose": "List of lists", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/li05-in.jsonld", - "expect": "expand/li05-out.jsonld" - }, { - "@id": "#tli06", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "coerced @list containing an empty array", - "purpose": "List of lists", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/li06-in.jsonld", - "expect": "expand/li06-out.jsonld" - }, { - "@id": "#tli07", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "coerced @list containing deep arrays", - "purpose": "List of lists", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/li07-in.jsonld", - "expect": "expand/li07-out.jsonld" - }, { - "@id": "#tli08", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "coerced @list containing deep empty arrays", - "purpose": "List of lists", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/li08-in.jsonld", - "expect": "expand/li08-out.jsonld" - }, { - "@id": "#tli09", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "coerced @list containing multiple lists", - "purpose": "List of lists", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/li09-in.jsonld", - "expect": "expand/li09-out.jsonld" - }, { - "@id": "#tli10", - "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], - "name": "coerced @list containing mixed list values", - "purpose": "List of lists", - "option": {"specVersion": "json-ld-1.1"}, - "input": "expand/li10-in.jsonld", - "expect": "expand/li10-out.jsonld" }, { "@id": "#tpr01", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -2138,7 +2462,7 @@ "purpose": "Check error when overriding a protected term.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr01-in.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr02", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -2154,7 +2478,7 @@ "purpose": "A protected context protects all term definitions.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr03-in.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr04", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -2162,7 +2486,7 @@ "purpose": "A protected context does not protect terms with @protected: false.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr04-in.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr05", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -2170,7 +2494,7 @@ "purpose": "The Active context be set to null from an embedded context.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr05-in.jsonld", - "expect": "invalid context nullification" + "expectErrorCode": "invalid context nullification" }, { "@id": "#tpr06", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -2186,7 +2510,7 @@ "purpose": "A scoped context can protect terms.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr08-in.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr09", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -2194,7 +2518,7 @@ "purpose": "A protected term cannot redefine another protected term.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr09-in.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr10", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -2210,7 +2534,7 @@ "purpose": "Fail to override protected term.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr11-in.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr12", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -2218,7 +2542,7 @@ "purpose": "Scoped context fail to override protected term.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr12-in.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr13", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -2258,7 +2582,7 @@ "purpose": "Fail to override protected terms with type.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr17-in.jsonld", - "expect": "invalid context nullification" + "expectErrorCode": "invalid context nullification" }, { "@id": "#tpr18", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -2266,7 +2590,7 @@ "purpose": "Fail to override protected terms with type+null+ctx.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr18-in.jsonld", - "expect": "invalid context nullification" + "expectErrorCode": "invalid context nullification" }, { "@id": "#tpr19", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -2282,7 +2606,7 @@ "purpose": "Fail with mix of protected and unprotected terms with type+null+ctx.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr20-in.jsonld", - "expect": "invalid context nullification" + "expectErrorCode": "invalid context nullification" }, { "@id": "#tpr21", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], @@ -2290,7 +2614,7 @@ "purpose": "Fail with mix of protected and unprotected terms with type+null.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr21-in.jsonld", - "expect": "invalid context nullification" + "expectErrorCode": "invalid context nullification" }, { "@id": "#tpr22", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -2330,7 +2654,7 @@ "purpose": "Fails on redefinition of terms with scoped contexts using different definitions.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr26-in.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr27", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -2346,7 +2670,7 @@ "purpose": "A protected term with a null IRI mapping cannot be redefined.", "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr28-in.jsonld", - "expect": "protected term redefinition" + "expectErrorCode": "protected term redefinition" }, { "@id": "#tpr29", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -2355,14 +2679,198 @@ "option": {"specVersion": "json-ld-1.1"}, "input": "expand/pr29-in.jsonld", "expect": "expand/pr29-out.jsonld" + }, { + "@id": "#tpr30", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Keywords may be protected.", + "purpose": "Keywords may not be redefined other than to protect them.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr30-in.jsonld", + "expect": "expand/pr30-out.jsonld" + }, { + "@id": "#tpr31", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Protected keyword aliases cannot be overridden.", + "purpose": "Keywords may not be redefined other than to protect them.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr31-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr32", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Protected @type cannot be overridden.", + "purpose": "Keywords may not be redefined other than to protect them.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr32-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr33", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Fails if trying to declare a keyword alias as prefix.", + "purpose": "Keyword aliases can not be used as prefixes.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr33-in.jsonld", + "expectErrorCode": "invalid term definition" + }, { + "@id": "#tpr34", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Ignores a non-keyword term starting with '@'", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr34-in.jsonld", + "expect": "expand/pr34-out.jsonld" + }, { + "@id": "#tpr35", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Ignores a non-keyword term starting with '@' (with @vocab)", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr35-in.jsonld", + "expect": "expand/pr35-out.jsonld" + }, { + "@id": "#tpr36", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Ignores a term mapping to a value in the form of a keyword.", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr36-in.jsonld", + "expect": "expand/pr36-out.jsonld" + }, { + "@id": "#tpr37", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Ignores a term mapping to a value in the form of a keyword (with @vocab).", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr37-in.jsonld", + "expect": "expand/pr37-out.jsonld" + }, { + "@id": "#tpr38", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Ignores a term mapping to a value in the form of a keyword (@reverse).", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr38-in.jsonld", + "expect": "expand/pr38-out.jsonld" + }, { + "@id": "#tpr39", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Ignores a term mapping to a value in the form of a keyword (@reverse with @vocab).", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr39-in.jsonld", + "expect": "expand/pr39-out.jsonld" + }, { + "@id": "#tpr40", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Protected terms and property-scoped contexts", + "purpose": "Check overriding of protected term from property-scoped context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/pr40-in.jsonld", + "expect": "expand/pr40-out.jsonld" + }, { + "@id": "#tso01", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "@import is invalid in 1.0.", + "purpose": "@import is invalid in 1.0.", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, + "input": "expand/so01-in.jsonld", + "expectErrorCode": "invalid context entry" + }, { + "@id": "#tso02", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "@import must be a string", + "purpose": "@import must be a string.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/so02-in.jsonld", + "expectErrorCode": "invalid @import value" + }, { + "@id": "#tso03", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "@import overflow", + "purpose": "Processors must detect source contexts that include @import.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/so03-in.jsonld", + "expectErrorCode": "invalid context entry" + }, { + "@id": "#tso05", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@propagate: true on type-scoped context with @import", + "purpose": "type-scoped context with @propagate: true survive node-objects (with @import)", + "input": "expand/so05-in.jsonld", + "expect": "expand/so05-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tso06", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "@propagate: false on property-scoped context with @import", + "purpose": "property-scoped context with @propagate: false do not survive node-objects (with @import)", + "input": "expand/so06-in.jsonld", + "expect": "expand/so06-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tso07", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Protect all terms in sourced context", + "purpose": "A protected context protects all term definitions.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/so07-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tso08", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Override term defined in sourced context", + "purpose": "The containing context is merged into the source context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/so08-in.jsonld", + "expect": "expand/so08-out.jsonld" + }, { + "@id": "#tso09", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Override @vocab defined in sourced context", + "purpose": "The containing context is merged into the source context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/so09-in.jsonld", + "expect": "expand/so09-out.jsonld" + }, { + "@id": "#tso10", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "Protect terms in sourced context", + "purpose": "The containing context is merged into the source context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/so10-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tso11", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Override protected terms in sourced context", + "purpose": "The containing context is merged into the source context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/so11-in.jsonld", + "expect": "expand/so11-out.jsonld" + }, { + "@id": "#tso12", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "@import may not be used in an imported context.", + "purpose": "@import only valid within a term definition.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/so12-in.jsonld", + "expectErrorCode": "invalid context entry" + }, { + "@id": "#tso13", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], + "name": "@import can only reference a single context", + "purpose": "@import can only reference a single context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "expand/so13-in.jsonld", + "expectErrorCode": "invalid remote context" }, { "@id": "#ttn01", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], "name": "@type: @none is illegal in 1.0.", "purpose": "@type: @none is illegal in json-ld-1.0.", - "option": {"specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, "input": "expand/tn01-in.jsonld", - "expect": "invalid type mapping" + "expectErrorCode": "invalid type mapping" }, { "@id": "#ttn02", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], diff --git a/core/src/test/resources/json-ld-api-tests/expand/0081-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0081-out.jsonld index e01c12ee..abbd8271 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/0081-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/0081-out.jsonld @@ -1,7 +1,9 @@ [{ "http://example.org/input": [{ "@graph": [{ - "http://example.org/value": [{"@value": "x"}] + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }] }] }] }] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0095-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0095-out.jsonld index 96f34845..f49ef46f 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/0095-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/0095-out.jsonld @@ -1,11 +1,11 @@ [{ "http://example.org/input": [{ "@graph": [{ - "http://example.org/value": [{"@value": "x"}] + "@graph": [{"http://example.org/value": [{"@value": "x"}]}] }] }, { "@graph": [{ - "http://example.org/value": [{"@value": "y"}] + "@graph": [{"http://example.org/value": [{"@value": "y"}]}] }] }] }] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0102-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0102-out.jsonld index ebd80838..25c0f50e 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/0102-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/0102-out.jsonld @@ -1,9 +1,13 @@ [{ - "http://example.org/input": [{ - "@graph": [{ - "http://example.org/value": [{"@value": "x"}] - }, { - "http://example.org/value": [{"@value": "y"}] - }] - }] -}] \ No newline at end of file + "http://example.org/input": [ + { + "@graph": [{ + "@graph": [{ + "http://example.org/value": [{"@value": "x"}] + }, { + "http://example.org/value": [{"@value": "y"}] + }] + }] + } + ] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0103-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0103-out.jsonld index 96f34845..5c29ced1 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/0103-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/0103-out.jsonld @@ -1,11 +1,13 @@ [{ - "http://example.org/input": [{ - "@graph": [{ - "http://example.org/value": [{"@value": "x"}] - }] - }, { - "@graph": [{ - "http://example.org/value": [{"@value": "y"}] - }] - }] + "http://example.org/input": [ + { + "@graph": [{ + "@graph": [{"http://example.org/value": [{"@value": "x"}]}] + }] + }, { + "@graph": [{ + "@graph": [{"http://example.org/value": [{"@value": "y"}]}] + }] + } + ] }] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0104-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0104-out.jsonld index 96f34845..77761d9b 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/0104-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/0104-out.jsonld @@ -1,11 +1,13 @@ [{ - "http://example.org/input": [{ - "@graph": [{ - "http://example.org/value": [{"@value": "x"}] - }] - }, { - "@graph": [{ - "http://example.org/value": [{"@value": "y"}] - }] - }] + "http://example.org/input": [ + { + "@graph": [{ + "@graph": [{"http://example.org/value": [{"@value": "x"}]}] + }] + }, { + "@graph": [{ + "http://example.org/value": [{"@value": "y"}] + }] + } + ] }] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0111-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0111-in.jsonld index 5a0a1178..f5118d3f 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/0111-in.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/0111-in.jsonld @@ -1,5 +1,6 @@ { "@context": [{ + "@version": 1.1, "@base": "http://example.com/some/deep/directory/and/file/", "@vocab": "http://example.com/vocabulary/" }, { diff --git a/core/src/test/resources/json-ld-api-tests/expand/0112-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0112-in.jsonld index 273eebdd..660f5f1b 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/0112-in.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/0112-in.jsonld @@ -1,5 +1,6 @@ { "@context": [{ + "@version": 1.1, "@base": "http://example.com/some/deep/directory/and/file/", "@vocab": "/rel1" }, { diff --git a/core/src/test/resources/json-ld-api-tests/expand/0114-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0114-in.jsonld new file mode 100644 index 00000000..82443b96 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0114-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "type1": "@type", + "type2": "@type" + }, + "type1": "Type1", + "type2": "Type2" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0114-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0114-out.jsonld new file mode 100644 index 00000000..0f20a86b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0114-out.jsonld @@ -0,0 +1,3 @@ +[{ + "@type": ["http://example.org/Type1", "http://example.org/Type2"] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0115-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0115-in.jsonld new file mode 100644 index 00000000..b2feca59 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0115-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "" + }, + "@id": "relativePropertyIris", + "link": "link" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0116-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0116-in.jsonld new file mode 100644 index 00000000..4f953753 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0116-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "/relative" + }, + "@id": "relativePropertyIris", + "link": "link" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0117-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0117-in.jsonld new file mode 100644 index 00000000..c2f5ca35 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0117-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/vocab", + ":term": {"@type": "@id"} + }, + ":term": "http://example.org/base" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0117-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0117-out.jsonld new file mode 100644 index 00000000..960fab4a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0117-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab:term": [{"@id": "http://example.org/base"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0118-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0118-in.jsonld new file mode 100644 index 00000000..96a5d71d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0118-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": {"@vocab": "http://schema.org/"}, + "@id": "foo:bar-id", + "@type": "foo:bar-type", + "foo:bar": "is an absolute iri property", + "term": "is schema.org/term", + ":fish": "is schema.org/:fish" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0118-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0118-out.jsonld new file mode 100644 index 00000000..388145ad --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0118-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "foo:bar-id", + "@type": ["foo:bar-type"], + "foo:bar": [{"@value": "is an absolute iri property"}], + "http://schema.org/term": [{"@value": "is schema.org/term"}], + "http://schema.org/:fish": [{"@value": "is schema.org/:fish"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0119-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0119-in.jsonld new file mode 100644 index 00000000..e1d2459e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0119-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@": "http://example.org/vocab/at", + "@foo.bar": "http://example.org/vocab/foo.bar", + "@ignoreMe": "http://example.org/vocab/ignoreMe" + }, + "@": "allowed", + "@foo.bar": "allowed", + "@ignoreMe": "ignored" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0119-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0119-out.jsonld new file mode 100644 index 00000000..ea7c93a9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0119-out.jsonld @@ -0,0 +1,4 @@ +[{ + "http://example.org/vocab/at": [{"@value": "allowed"}], + "http://example.org/vocab/foo.bar": [{"@value": "allowed"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0120-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0120-in.jsonld new file mode 100644 index 00000000..171f431c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0120-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.orb/vocab/", + "at": {"@id": "@"}, + "foo.bar": {"@id": "@foo.bar"}, + "ignoreMe": {"@id": "@ignoreMe"} + }, + "at": "allowed", + "foo.bar": "allowed", + "ignoreMe": "resolves to @vocab" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0120-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0120-out.jsonld new file mode 100644 index 00000000..b154e014 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0120-out.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example.orb/vocab/@": [{"@value": "allowed"}], + "http://example.orb/vocab/@foo.bar": [{"@value": "allowed"}], + "http://example.orb/vocab/ignoreMe": [{"@value": "resolves to @vocab"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0121-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0121-in.jsonld new file mode 100644 index 00000000..1b7f7fb2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0121-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@base": "http://example.org/", + "@vocab": "http://example.org/vocab/", + "at": {"@reverse": "@"}, + "foo.bar": {"@reverse": "@foo.bar"} + }, + "@id": "foo", + "at": {"@id": "allowed"}, + "foo.bar": {"@id": "allowed"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0121-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0121-out.jsonld new file mode 100644 index 00000000..cccb9567 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0121-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "http://example.org/foo", + "@reverse": { + "http://example.org/vocab/@": [{"@id": "http://example.org/allowed"}], + "http://example.org/vocab/@foo.bar": [{"@id": "http://example.org/allowed"}] + } +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0122-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0122-in.jsonld new file mode 100644 index 00000000..528bf335 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0122-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@base": "http://example.org/" + }, + "http://example.org/vocab/at": {"@id": "@"}, + "http://example.org/vocab/foo.bar": {"@id": "@foo.bar"}, + "http://example.org/vocab/ignoreme": {"@id": "@ignoreMe"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0122-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0122-out.jsonld new file mode 100644 index 00000000..cf6aa365 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0122-out.jsonld @@ -0,0 +1,5 @@ +[{ + "http://example.org/vocab/at": [{"@id": "http://example.org/@"}], + "http://example.org/vocab/foo.bar": [{"@id": "http://example.org/@foo.bar"}], + "http://example.org/vocab/ignoreme": [{"@id": null}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0123-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0123-in.jsonld new file mode 100644 index 00000000..41a7a8b2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0123-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.com/foo", + "http://example.com/bar": {"@value": "bar", "@type": "http://example.com/baz z"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/0124-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0124-in.jsonld new file mode 100644 index 00000000..ac16aaf2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0124-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [ + { + "@version": 1.1, + "ex": { + "@id": "http://example.org/", + "@prefix": true + } + }, + { + "@vocab": "ex:ns/" + } + ], + "foo": "bar" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0124-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0124-out.jsonld new file mode 100644 index 00000000..84f89a4c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0124-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "http://example.org/ns/foo": [ + { + "@value": "bar" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0125-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0125-in.jsonld new file mode 100644 index 00000000..92b3ef61 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0125-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [ + { + "@version": 1.1, + "ex": { + "@id": "http://example.org/", + "@prefix": true + } + }, + { + "@vocab": "ex" + } + ], + "foo": "bar" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0125-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0125-out.jsonld new file mode 100644 index 00000000..23e2700c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0125-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "http://example.org/foo": [ + { + "@value": "bar" + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0126-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0126-context.jsonld new file mode 100644 index 00000000..928397cb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0126-context.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "prop": { + "@id": "ex:prop", + "@context": "0126-context.jsonld" + }, + "value": { + "@id": "ex:value" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0126-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0126-in.jsonld new file mode 100644 index 00000000..b36e1085 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0126-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": "0126-context.jsonld", + "@id": "ex:id", + "prop": { + "value": "v" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0126-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0126-out.jsonld new file mode 100644 index 00000000..bdf762a6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0126-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "ex:id", + "ex:prop": [ + { + "ex:value": [ + { + "@value": "v" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0127-context-1.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0127-context-1.jsonld new file mode 100644 index 00000000..80615617 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0127-context-1.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "prop": { + "@id": "ex:prop", + "@context": "0127-context-2.jsonld" + }, + "value": { + "@id": "ex:value" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0127-context-2.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0127-context-2.jsonld new file mode 100644 index 00000000..2d23df43 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0127-context-2.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "0127-context-1.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0127-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0127-in.jsonld new file mode 100644 index 00000000..3b5668fd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0127-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": "0127-context-1.jsonld", + "@id": "ex:id", + "prop": { + "value": "v" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0127-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0127-out.jsonld new file mode 100644 index 00000000..bdf762a6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0127-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "ex:id", + "ex:prop": [ + { + "ex:value": [ + { + "@value": "v" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0128-context-1.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0128-context-1.jsonld new file mode 100644 index 00000000..9d520ad8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0128-context-1.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "0128-context-3.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0128-context-2.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0128-context-2.jsonld new file mode 100644 index 00000000..9d520ad8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0128-context-2.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "0128-context-3.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0128-context-3.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0128-context-3.jsonld new file mode 100644 index 00000000..31bcb7b8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0128-context-3.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "prop": { + "@id": "ex:prop", + "@context": "0128-context-3.jsonld" + }, + "value": { + "@id": "ex:value" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0128-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0128-in.jsonld new file mode 100644 index 00000000..8ef7fafa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0128-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": [ + "0128-context-1.jsonld", + "0128-context-2.jsonld" + ], + "@id": "ex:id", + "prop": { + "value": "v" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0128-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0128-out.jsonld new file mode 100644 index 00000000..bdf762a6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0128-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "@id": "ex:id", + "ex:prop": [ + { + "ex:value": [ + { + "@value": "v" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/c024-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c024-in.jsonld index 9fe803fa..d647c554 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/c024-in.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/c024-in.jsonld @@ -11,7 +11,6 @@ "@id": "ex:Inner", "@context": { "@version": 1.1, - "val": "@value", "foo": { "@id": "ex:foo", "@container": "@set", diff --git a/core/src/test/resources/json-ld-api-tests/expand/c026-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c026-in.jsonld new file mode 100644 index 00000000..09f08030 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c026-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "Foo": { + "@context": { + "@propagate": true, + "baz": {"@type": "@vocab"} + } + } + }, + "@type": "Foo", + "bar": {"baz": "buzz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c026-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c026-out.jsonld new file mode 100644 index 00000000..8ff196e6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c026-out.jsonld @@ -0,0 +1,8 @@ +[ + { + "@type": ["http://example/Foo"], + "http://example/bar": [{ + "http://example/baz": [{"@id": "http://example/buzz"}] + }] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/c027-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c027-in.jsonld new file mode 100644 index 00000000..7937a8ee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c027-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "bar": { + "@context": { + "@propagate": false, + "baz": {"@type": "@id"} + } + } + }, + "bar": {"baz": {"baz": "buzz"}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c027-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c027-out.jsonld new file mode 100644 index 00000000..28baae40 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c027-out.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example/bar": [{ + "http://example/baz": [{ + "http://example/baz": [{"@value": "buzz"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c028-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c028-in.jsonld new file mode 100644 index 00000000..87792cd0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c028-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/" + }, + "bar": { + "@context": { + "@propagate": false, + "baz": {"@type": "@vocab"} + }, + "baz": { + "baz": "buzz" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c028-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c028-out.jsonld new file mode 100644 index 00000000..28baae40 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c028-out.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example/bar": [{ + "http://example/baz": [{ + "http://example/baz": [{"@value": "buzz"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c029-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c029-in.jsonld new file mode 100644 index 00000000..cb000cf4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c029-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@propagate": true + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c030-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c030-in.jsonld new file mode 100644 index 00000000..39d91a17 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c030-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "@propagate": "not boolean" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c031-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c031-context.jsonld new file mode 100644 index 00000000..edd71cce --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c031-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.org/c/", + "inner": { + "@id": "http://a.example/in" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/c031-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c031-in.jsonld new file mode 100644 index 00000000..82d462c8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c031-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [ + {"@base": "http://example.org/a/"}, + "c031/c031-context.jsonld" + ], + "outer": { + "inner": "ab" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/c031-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c031-out.jsonld new file mode 100644 index 00000000..24c88a6d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c031-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "http://a.example/out": [{ + "http://a.example/in": [{ + "@value":"ab" + }] + }] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/c031/c031-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c031/c031-context.jsonld new file mode 100644 index 00000000..f1bf22b1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c031/c031-context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.org/b/", + "outer": { + "@id": "http://a.example/out", + "@context": "../c031-context.jsonld" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/c032-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c032-in.jsonld new file mode 100644 index 00000000..48b812f9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c032-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "t1": { + "@id": "ex:t1", + "@context": { + "t2": { + "@context": {"type": null} + } + } + } + }, + "t1": "something" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c033-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c033-in.jsonld new file mode 100644 index 00000000..3628ff4e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c033-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "t1": { + "@id": "ex:t1", + "@context": { + "t2": { + "@context": {"type": null} + } + } + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/c034-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c034-context.jsonld new file mode 100644 index 00000000..7dd9f871 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c034-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "bar": "http://example.org/bar" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c034-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c034-in.jsonld new file mode 100644 index 00000000..6655d520 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c034-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": "c034-context.jsonld"} + }, + "foo": { + "bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c034-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c034-out.jsonld new file mode 100644 index 00000000..122c864a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c034-out.jsonld @@ -0,0 +1,5 @@ +[ + { + "http://example/foo": [{"http://example.org/bar": [{"@value": "baz"}]}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/c035-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c035-in.jsonld new file mode 100644 index 00000000..f436b93e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c035-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://vocab.org/", + "prop1": {} + }, + "@id": "ex:outer", + "foo": { + "@context": { + "@vocab": "http://vocab.override.org/" + }, + "@id": "ex:inner", + "prop1": "baz1", + "prop2": "baz2" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/c035-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/c035-out.jsonld new file mode 100644 index 00000000..deee2a02 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/c035-out.jsonld @@ -0,0 +1,20 @@ +[ + { + "@id": "ex:outer", + "http://vocab.org/foo": [ + { + "@id": "ex:inner", + "http://vocab.org/prop1": [ + { + "@value": "baz1" + } + ], + "http://vocab.override.org/prop2": [ + { + "@value": "baz2" + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/di01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di01-in.jsonld new file mode 100644 index 00000000..ae8217d3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di01-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@direction": "rtl", + "ex": "http://example.org/vocab#", + "ex:ltr": { "@direction": "ltr" }, + "ex:none": { "@direction": null } + }, + "ex:rtl": "rtl", + "ex:ltr": "ltr", + "ex:none": "no direction" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di01-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di01-out.jsonld new file mode 100644 index 00000000..17709834 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di01-out.jsonld @@ -0,0 +1,7 @@ +[ + { + "http://example.org/vocab#rtl": [{"@value": "rtl", "@direction": "rtl"}], + "http://example.org/vocab#ltr": [{"@value": "ltr", "@direction": "ltr"}], + "http://example.org/vocab#none": [{"@value": "no direction"}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di02-in.jsonld new file mode 100644 index 00000000..379362f5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di02-in.jsonld @@ -0,0 +1,25 @@ +{ + "@context": { + "@version": 1.1, + "@language": "en", + "@direction": "rtl", + "ex": "http://example.org/vocab#", + "ex:ltr": { "@direction": "ltr" }, + "ex:none": { "@direction": null }, + "ex:german": { "@language": "de" }, + "ex:nolang": { "@language": null }, + "ex:german_ltr": { "@language": "de", "@direction": "ltr" }, + "ex:nolang_ltr": { "@language": null, "@direction": "ltr" }, + "ex:none_none": { "@language": null, "@direction": null }, + "ex:german_none": { "@language": "de", "@direction": null } + }, + "ex:rtl": "rtl en", + "ex:ltr": "ltr en", + "ex:none": "no direction en", + "ex:german": "german rtl", + "ex:nolang": "no language rtl", + "ex:german_ltr": "german ltr", + "ex:nolang_ltr": "no language ltr", + "ex:none_none": "no language or direction", + "ex:german_none": "german no direction" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di02-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di02-out.jsonld new file mode 100644 index 00000000..77d62249 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di02-out.jsonld @@ -0,0 +1,13 @@ +[ + { + "http://example.org/vocab#rtl": [{"@value": "rtl en", "@language": "en", "@direction": "rtl"}], + "http://example.org/vocab#ltr": [{"@value": "ltr en", "@language": "en", "@direction": "ltr"}], + "http://example.org/vocab#none": [{"@value": "no direction en", "@language": "en"}], + "http://example.org/vocab#german": [{"@value": "german rtl", "@language": "de", "@direction": "rtl"}], + "http://example.org/vocab#nolang": [{"@value": "no language rtl", "@direction": "rtl"}], + "http://example.org/vocab#german_ltr": [{"@value": "german ltr", "@language": "de", "@direction": "ltr"}], + "http://example.org/vocab#nolang_ltr": [{"@value": "no language ltr", "@direction": "ltr"}], + "http://example.org/vocab#none_none": [{"@value": "no language or direction"}], + "http://example.org/vocab#german_none": [{"@value": "german no direction", "@language": "de"}] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di03-in.jsonld new file mode 100644 index 00000000..22ca2005 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di03-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "foo_ltr": {"@id": "http://example.com/foo", "@container": "@list", "@direction": "ltr"}, + "foo_rtl": {"@id": "http://example.com/foo", "@container": "@list", "@direction": "rtl"} + }, + "foo_ltr": ["en"], + "foo_rtl": ["ar"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di03-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di03-out.jsonld new file mode 100644 index 00000000..429aa76f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di03-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.com/foo": [ + {"@list": [{"@value": "en", "@direction": "ltr"}]}, + {"@list": [{"@value": "ar", "@direction": "rtl"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di04-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di04-in.jsonld new file mode 100644 index 00000000..b1cf3f4a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di04-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@direction": "ltr", + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di04-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di04-out.jsonld new file mode 100644 index 00000000..a0b9512c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di04-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "Die Königin", "@language": "de", "@direction": "ltr"}, + {"@value": "Ihre Majestät", "@language": "de", "@direction": "ltr"}, + {"@value": "The Queen", "@language": "en", "@direction": "ltr"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di05-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di05-in.jsonld new file mode 100644 index 00000000..a61d6a93 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di05-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@direction": "ltr", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di05-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di05-out.jsonld new file mode 100644 index 00000000..a0b9512c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di05-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "Die Königin", "@language": "de", "@direction": "ltr"}, + {"@value": "Ihre Majestät", "@language": "de", "@direction": "ltr"}, + {"@value": "The Queen", "@language": "en", "@direction": "ltr"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di06-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di06-in.jsonld new file mode 100644 index 00000000..f8a69db9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di06-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "vocab": "http://example.com/vocab/", + "@direction": "rtl", + "label": { + "@id": "vocab:label", + "@direction": "ltr", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di06-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di06-out.jsonld new file mode 100644 index 00000000..a0b9512c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di06-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "Die Königin", "@language": "de", "@direction": "ltr"}, + {"@value": "Ihre Majestät", "@language": "de", "@direction": "ltr"}, + {"@value": "The Queen", "@language": "en", "@direction": "ltr"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di07-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di07-in.jsonld new file mode 100644 index 00000000..23e90ddd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di07-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "vocab": "http://example.com/vocab/", + "@direction": "rtl", + "label": { + "@id": "vocab:label", + "@direction": null, + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di07-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di07-out.jsonld new file mode 100644 index 00000000..2ba56561 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di07-out.jsonld @@ -0,0 +1,10 @@ +[ + { + "@id": "http://example.com/queen", + "http://example.com/vocab/label": [ + {"@value": "Die Königin", "@language": "de"}, + {"@value": "Ihre Majestät", "@language": "de"}, + {"@value": "The Queen", "@language": "en"} + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di08-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di08-in.jsonld new file mode 100644 index 00000000..de8e61c7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di08-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@direction": "foo" + }, + "vocab:term": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/di09-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/di09-in.jsonld new file mode 100644 index 00000000..31f21d0d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/di09-in.jsonld @@ -0,0 +1,7 @@ +{ + "ex:p": { + "@value": "v", + "@type": "ex:t", + "@direction": "rtl" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/e003-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e003-context.jsonld new file mode 100644 index 00000000..8629f916 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e003-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "e003-in.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/e052-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e052-in.jsonld new file mode 100644 index 00000000..7e3013c5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e052-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "e052-in.jsonld", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/e053-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e053-context.jsonld new file mode 100644 index 00000000..2da63c09 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e053-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "e053-in.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/e053-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e053-in.jsonld new file mode 100644 index 00000000..5f672792 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e053-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "e053-context.jsonld", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/e054-context-1.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e054-context-1.jsonld new file mode 100644 index 00000000..5f536da4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e054-context-1.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "e054-context-2.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/e054-context-2.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e054-context-2.jsonld new file mode 100644 index 00000000..16c05b52 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e054-context-2.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "e054-context-1.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/e054-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/e054-in.jsonld new file mode 100644 index 00000000..e3ac866e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/e054-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": [ + "e054-context-1.jsonld", + "e054-context-2.jsonld" + ], + "@id": "ex:id" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/ec02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/ec02-in.jsonld new file mode 100644 index 00000000..ce20b960 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/ec02-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@type": {} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er01-in.jsonld new file mode 100644 index 00000000..4d295897 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er01-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@type": "@id" + }, + "@type": "http://example.org/type" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er02-in.jsonld new file mode 100644 index 00000000..64ea5895 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er02-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "er02-in.jsonld", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er03-in.jsonld new file mode 100644 index 00000000..524fd18b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er03-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "er03-in.jsonld", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er04-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er04-in.jsonld new file mode 100644 index 00000000..77391915 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er04-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "tag:non-dereferencable-iri", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er05-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er05-in.jsonld new file mode 100644 index 00000000..c1a1be6c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er05-in.jsonld @@ -0,0 +1,4 @@ +[{ + "@context": "er05-in.jsonld", + "@id": "http://example/test#example" +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/er06-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er06-in.jsonld new file mode 100644 index 00000000..f30126f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er06-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": true, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er07-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er07-in.jsonld new file mode 100644 index 00000000..17033fc0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er07-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@base": true}, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er08-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er08-in.jsonld new file mode 100644 index 00000000..af74aecb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er08-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": true}, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er09-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er09-in.jsonld new file mode 100644 index 00000000..d35c6348 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er09-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@language": true}, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er10-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er10-in.jsonld new file mode 100644 index 00000000..f686eac9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er10-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "term:term"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er11-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er11-in.jsonld new file mode 100644 index 00000000..f42f32d7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er11-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": true + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er12-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er12-in.jsonld new file mode 100644 index 00000000..5d4295ad --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er12-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@type": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er13-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er13-in.jsonld new file mode 100644 index 00000000..9a968432 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er13-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@type": "_:not-an-iri"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er14-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er14-in.jsonld new file mode 100644 index 00000000..c6b1007e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er14-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@reverse": "http://example/reverse"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er15-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er15-in.jsonld new file mode 100644 index 00000000..2a805bc8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er15-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@reverse": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er17-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er17-in.jsonld new file mode 100644 index 00000000..403acef9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er17-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@reverse": "http://example/reverse", "@container": "@list"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er18-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er18-in.jsonld new file mode 100644 index 00000000..9a9e2afa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er18-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er19-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er19-in.jsonld new file mode 100644 index 00000000..04f67abe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er19-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "@context"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er20-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er20-in.jsonld new file mode 100644 index 00000000..dff3ba52 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er20-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@container": "@set"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er21-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er21-in.jsonld new file mode 100644 index 00000000..8fdc3753 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er21-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@container": "@id"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er22-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er22-in.jsonld new file mode 100644 index 00000000..37f0e71c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er22-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@language": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er23-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er23-in.jsonld new file mode 100644 index 00000000..3162bb46 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er23-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@type": "relative/iri"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er24-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er24-in.jsonld new file mode 100644 index 00000000..f5e78e4d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er24-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [{"@list": ["baz"]}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er25-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er25-in.jsonld new file mode 100644 index 00000000..0b66e9af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er25-in.jsonld @@ -0,0 +1,6 @@ +{ + "@id": "http://example/foo", + "@reverse": { + "@id": "http://example/bar" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er26-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er26-in.jsonld new file mode 100644 index 00000000..36a12b8b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er26-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "id": "@id", + "ID": "@id" + }, + "id": "http://example/foo", + "ID": "http://example/bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er27-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er27-in.jsonld new file mode 100644 index 00000000..76d36d5a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er27-in.jsonld @@ -0,0 +1,3 @@ +{ + "@id": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er28-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er28-in.jsonld new file mode 100644 index 00000000..6c8f7762 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er28-in.jsonld @@ -0,0 +1,3 @@ +{ + "@type": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er29-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er29-in.jsonld new file mode 100644 index 00000000..c669c9e5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er29-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/prop": {"@value": ["foo"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er30-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er30-in.jsonld new file mode 100644 index 00000000..abba6cee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er30-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/prop": {"@value": "foo", "@language": true} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er31-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er31-in.jsonld new file mode 100644 index 00000000..f0c5c462 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er31-in.jsonld @@ -0,0 +1,7 @@ +{ + "http://example.com/vocab/indexMap": { + "@value": "simple string", + "@language": "en", + "@index": true + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er32-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er32-in.jsonld new file mode 100644 index 00000000..75ec1a87 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er32-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.com/foo": {"@list": [{"@list": ["baz"]}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er33-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er33-in.jsonld new file mode 100644 index 00000000..a57607fa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er33-in.jsonld @@ -0,0 +1,5 @@ +{ + "http://example/prop": { + "@reverse": true + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er34-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er34-in.jsonld new file mode 100644 index 00000000..d48c68b8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er34-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": "Dave Longley" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er35-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er35-in.jsonld new file mode 100644 index 00000000..c523c942 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er35-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": true + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er36-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er36-in.jsonld new file mode 100644 index 00000000..8e9ff8b5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er36-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@reverse": "http://example/reverse"} + }, + "@id": "http://example/foo", + "term": {"@list": ["http://example/bar"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er37-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er37-in.jsonld new file mode 100644 index 00000000..0a2d1750 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er37-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": "bar", "@id": "http://example/baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er38-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er38-in.jsonld new file mode 100644 index 00000000..20d4a7b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er38-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": "bar", "@language": "en", "@type": "http://example/type"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er39-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er39-in.jsonld new file mode 100644 index 00000000..0d03781b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er39-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": true, "@language": "en"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er40-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er40-in.jsonld new file mode 100644 index 00000000..ea9b6303 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er40-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": "bar", "@type": "_:dt"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er41-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er41-in.jsonld new file mode 100644 index 00000000..c7ad513c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er41-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/prop": {"@list": ["foo"], "@id": "http://example/bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er42-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er42-in.jsonld new file mode 100644 index 00000000..41360255 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er42-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@type": {"@container": "@set"} + }, + "@type": "http://example.org/type" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er43-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er43-in.jsonld new file mode 100644 index 00000000..36d8cac7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er43-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.com/a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b" + }, { + "@id": "http://example.com/c", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ + "http://example.com/d", + "http://example.com/e" + ] + }, { + "@id": "http://example.com/f", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er44-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er44-in.jsonld new file mode 100644 index 00000000..257bd312 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er44-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "v:term": "v:somethingElse", + "v:termId": { "@id": "v:somethingElseId" } + } + ], + "v:term": "value of v:term", + "v:termId": "value of v:termId" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er45-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er45-in.jsonld new file mode 100644 index 00000000..598c43fe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er45-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "v:term": "v:somethingElse", + "v:termId": { "@id": "v:somethingElseId" } + }, + { + "v:term": "v:term", + "v:termId": { "@id": "v:termId" } + } + ], + "v:term": "value of v:term", + "v:termId": "value of v:termId" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er48-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er48-in.jsonld new file mode 100644 index 00000000..c3ad292a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er48-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "./something": "http://example.com/vocab#somethingElse" + }, + "./something": "something" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er49-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er49-in.jsonld new file mode 100644 index 00000000..72c0a72d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er49-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http:/example.org", + "./something": {"@type": "@id", "@prefix": true} + }, + "./something": "something" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er50-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er50-in.jsonld new file mode 100644 index 00000000..a54cc667 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er50-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "rev": {"@reverse": "not an IRI"} + }, + "@id": "http://example.org/foo", + "rev": {"@id": "http://example.org/bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/er51-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er51-in.jsonld new file mode 100644 index 00000000..dc9ace8e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er51-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"value": "@value"}, + "http://example/prop": {"value": ["foo"]} +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/er52-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er52-in.jsonld new file mode 100644 index 00000000..3bd32cf3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er52-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term"}, + "": {"@id": "http://example.org/empty"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in01-in.jsonld new file mode 100644 index 00000000..145c36e7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in01-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": [{ + "prop": "value2" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in01-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in01-out.jsonld new file mode 100644 index 00000000..2e218830 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in01-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/prop": [{"@value": "value"}], + "@included": [{ + "http://example.org/prop": [{"@value": "value2"}] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in02-in.jsonld new file mode 100644 index 00000000..a976cce7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in02-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": { + "prop": "value2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in02-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in02-out.jsonld new file mode 100644 index 00000000..2e218830 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in02-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/prop": [{"@value": "value"}], + "@included": [{ + "http://example.org/prop": [{"@value": "value2"}] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in03-in.jsonld new file mode 100644 index 00000000..ed476d43 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in03-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "included1": "@included", + "included2": "@included" + }, + "included1": {"prop": "value1"}, + "included2": {"prop": "value2"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in03-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in03-out.jsonld new file mode 100644 index 00000000..349be02d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in03-out.jsonld @@ -0,0 +1,6 @@ +[{ + "@included": [ + {"http://example.org/prop": [{"@value": "value1"}]}, + {"http://example.org/prop": [{"@value": "value2"}]} + ] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in04-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in04-in.jsonld new file mode 100644 index 00000000..2436a454 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in04-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": { + "prop": "value2", + "@included": { + "prop": "value3" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in04-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in04-out.jsonld new file mode 100644 index 00000000..766ef215 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in04-out.jsonld @@ -0,0 +1,9 @@ +[{ + "http://example.org/prop": [{"@value": "value"}], + "@included": [{ + "http://example.org/prop": [{"@value": "value2"}], + "@included": [{ + "http://example.org/prop": [{"@value": "value3"}] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in05-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in05-in.jsonld new file mode 100644 index 00000000..b94709b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in05-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": { + "@type": "Foo", + "@included": { + "@type": "Bar" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in05-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in05-out.jsonld new file mode 100644 index 00000000..671224bd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in05-out.jsonld @@ -0,0 +1,8 @@ +[{ + "http://example.org/prop": [{ + "@type": ["http://example.org/Foo"], + "@included": [{ + "@type": ["http://example.org/Bar"] + }] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in06-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in06-in.jsonld new file mode 100644 index 00000000..2e5339f5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in06-in.jsonld @@ -0,0 +1,90 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/vocab#", + "@base": "http://example.org/base/", + "id": "@id", + "type": "@type", + "data": "@nest", + "attributes": "@nest", + "links": "@nest", + "relationships": "@nest", + "included": "@included", + "self": {"@type": "@id"}, + "related": {"@type": "@id"}, + "comments": { + "@context": { + "data": null + } + } + }, + "data": [{ + "type": "articles", + "id": "1", + "attributes": { + "title": "JSON:API paints my bikeshed!" + }, + "links": { + "self": "http://example.com/articles/1" + }, + "relationships": { + "author": { + "links": { + "self": "http://example.com/articles/1/relationships/author", + "related": "http://example.com/articles/1/author" + }, + "data": { "type": "people", "id": "9" } + }, + "comments": { + "links": { + "self": "http://example.com/articles/1/relationships/comments", + "related": "http://example.com/articles/1/comments" + }, + "data": [ + { "type": "comments", "id": "5" }, + { "type": "comments", "id": "12" } + ] + } + } + }], + "included": [{ + "type": "people", + "id": "9", + "attributes": { + "first-name": "Dan", + "last-name": "Gebhardt", + "twitter": "dgeb" + }, + "links": { + "self": "http://example.com/people/9" + } + }, { + "type": "comments", + "id": "5", + "attributes": { + "body": "First!" + }, + "relationships": { + "author": { + "data": { "type": "people", "id": "2" } + } + }, + "links": { + "self": "http://example.com/comments/5" + } + }, { + "type": "comments", + "id": "12", + "attributes": { + "body": "I like XML better" + }, + "relationships": { + "author": { + "data": { "type": "people", "id": "9" } + } + }, + "links": { + "self": "http://example.com/comments/12" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in06-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in06-out.jsonld new file mode 100644 index 00000000..73ae7b88 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in06-out.jsonld @@ -0,0 +1,42 @@ +[{ + "@id": "http://example.org/base/1", + "@type": ["http://example.org/vocab#articles"], + "http://example.org/vocab#title": [{"@value": "JSON:API paints my bikeshed!"}], + "http://example.org/vocab#self": [{"@id": "http://example.com/articles/1"}], + "http://example.org/vocab#author": [{ + "@id": "http://example.org/base/9", + "@type": ["http://example.org/vocab#people"], + "http://example.org/vocab#self": [{"@id": "http://example.com/articles/1/relationships/author"}], + "http://example.org/vocab#related": [{"@id": "http://example.com/articles/1/author"}] + }], + "http://example.org/vocab#comments": [{ + "http://example.org/vocab#self": [{"@id": "http://example.com/articles/1/relationships/comments"}], + "http://example.org/vocab#related": [{"@id": "http://example.com/articles/1/comments"}] + }], + "@included": [{ + "@id": "http://example.org/base/9", + "@type": ["http://example.org/vocab#people"], + "http://example.org/vocab#first-name": [{"@value": "Dan"}], + "http://example.org/vocab#last-name": [{"@value": "Gebhardt"}], + "http://example.org/vocab#twitter": [{"@value": "dgeb"}], + "http://example.org/vocab#self": [{"@id": "http://example.com/people/9"}] + }, { + "@id": "http://example.org/base/5", + "@type": ["http://example.org/vocab#comments"], + "http://example.org/vocab#body": [{"@value": "First!"}], + "http://example.org/vocab#author": [{ + "@id": "http://example.org/base/2", + "@type": ["http://example.org/vocab#people"] + }], + "http://example.org/vocab#self": [{"@id": "http://example.com/comments/5"}] + }, { + "@id": "http://example.org/base/12", + "@type": ["http://example.org/vocab#comments"], + "http://example.org/vocab#body": [{"@value": "I like XML better"}], + "http://example.org/vocab#author": [{ + "@id": "http://example.org/base/9", + "@type": ["http://example.org/vocab#people"] + }], + "http://example.org/vocab#self": [{"@id": "http://example.com/comments/12"}] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in07-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in07-in.jsonld new file mode 100644 index 00000000..b7958e50 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in07-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "@included": "string" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in08-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in08-in.jsonld new file mode 100644 index 00000000..01a245c3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in08-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "@included": {"@value": "value"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/in09-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/in09-in.jsonld new file mode 100644 index 00000000..7ef08559 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/in09-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "@included": {"@list": ["value"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js08-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js08-in.jsonld index 837a69a4..16ae134f 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/js08-in.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/js08-in.jsonld @@ -1,7 +1,14 @@ { "@context": { "@version": 1.1, - "e": {"@id": "http://example.org/vocab#array", "@type": "@json"} + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} }, - "e": [{"e": "bar"}] + "e": [ + 56, + { + "d": true, + "10": null, + "1": [ ] + } + ] } \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js08-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js08-out.jsonld index a20f5d8e..98ecfbd4 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/js08-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/js08-out.jsonld @@ -1,3 +1,17 @@ -[{ - "http://example.org/vocab#array": [{"@value": [{"e": "bar"}], "@type": "@json"}] -}] \ No newline at end of file +[ + { + "http://example.org/vocab#c14n": [ + { + "@type": "@json", + "@value": [ + 56, + { + "d": true, + "10": null, + "1": [] + } + ] + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/js09-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js09-in.jsonld index cc9820a5..3ade2918 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/js09-in.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/js09-in.jsonld @@ -1,3 +1,12 @@ { - "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": { + "peach": "This sorting order", + "péché": "is wrong according to French", + "pêche": "but canonicalization MUST", + "sin": "ignore locale" + } } \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js09-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js09-out.jsonld index c9df2866..374c3d39 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/js09-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/js09-out.jsonld @@ -1,3 +1,15 @@ -[{ - "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] -}] \ No newline at end of file +[ + { + "http://example.org/vocab#c14n": [ + { + "@type": "@json", + "@value": { + "peach": "This sorting order", + "péché": "is wrong according to French", + "pêche": "but canonicalization MUST", + "sin": "ignore locale" + } + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/js10-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js10-in.jsonld index e40669f3..5a34da26 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/js10-in.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/js10-in.jsonld @@ -1,4 +1,14 @@ { - "@context": {"@version": 1.1, "value": "@value", "type": "@type", "json": "@json"}, - "http://example.org/vocab#object": [{"value": {"foo": "bar"}, "type": "json"}] + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": { + "1": {"f": {"f": "hi","F": 5} ," ": 56.0}, + "10": { }, + "": "empty", + "a": { }, + "111": [ {"e": "yes","E": "no" } ], + "A": { } + } } \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js10-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js10-out.jsonld index c9df2866..0e0b9554 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/js10-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/js10-out.jsonld @@ -1,3 +1,17 @@ -[{ - "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] -}] \ No newline at end of file +[ + { + "http://example.org/vocab#c14n": [ + { + "@type": "@json", + "@value": { + "1": {"f": {"f": "hi","F": 5} ," ": 56.0}, + "10": { }, + "": "empty", + "a": { }, + "111": [ {"e": "yes","E": "no" } ], + "A": { } + } + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/js11-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js11-in.jsonld new file mode 100644 index 00000000..8f6f20b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js11-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": { + "Unnormalized Unicode":"A\u030a" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js11-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js11-out.jsonld new file mode 100644 index 00000000..00207665 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js11-out.jsonld @@ -0,0 +1,12 @@ +[ + { + "http://example.org/vocab#c14n": [ + { + "@type": "@json", + "@value": { + "Unnormalized Unicode":"A\u030a" + } + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/js12-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js12-in.jsonld new file mode 100644 index 00000000..325b874a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js12-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": { + "numbers": [333333333.33333329, 1E30, 4.50, 2e-3, 0.000000000000000000000000001], + "string": "\u20ac$\u000F\u000aA'\u0042\u0022\u005c\\\"\/", + "literals": [null, true, false] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js12-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js12-out.jsonld new file mode 100644 index 00000000..a0170d5b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js12-out.jsonld @@ -0,0 +1,14 @@ +[ + { + "http://example.org/vocab#c14n": [ + { + "@type": "@json", + "@value": { + "numbers": [333333333.33333329, 1E30, 4.50, 2e-3, 0.000000000000000000000000001], + "string": "\u20ac$\u000F\u000aA'\u0042\u0022\u005c\\\"\/", + "literals": [null, true, false] + } + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/js13-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js13-in.jsonld new file mode 100644 index 00000000..dc476ae9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js13-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#c14n", "@type": "@json"} + }, + "e": { + "\u20ac": "Euro Sign", + "\r": "Carriage Return", + "\u000a": "Newline", + "1": "One", + "\u0080": "Control\u007f", + "\ud83d\ude02": "Smiley", + "\u00f6": "Latin Small Letter O With Diaeresis", + "": "Browser Challenge" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js13-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js13-out.jsonld new file mode 100644 index 00000000..39c27375 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js13-out.jsonld @@ -0,0 +1,19 @@ +[ + { + "http://example.org/vocab#c14n": [ + { + "@type": "@json", + "@value": { + "\u20ac": "Euro Sign", + "\r": "Carriage Return", + "\u000a": "Newline", + "1": "One", + "\u0080": "Control\u007f", + "\ud83d\ude02": "Smiley", + "\u00f6": "Latin Small Letter O With Diaeresis", + "": "Browser Challenge" + } + } + ] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/js14-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js14-in.jsonld new file mode 100644 index 00000000..837a69a4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js14-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#array", "@type": "@json"} + }, + "e": [{"e": "bar"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js14-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js14-out.jsonld new file mode 100644 index 00000000..a20f5d8e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js14-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#array": [{"@value": [{"e": "bar"}], "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js15-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js15-in.jsonld new file mode 100644 index 00000000..cc9820a5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js15-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js15-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js15-out.jsonld new file mode 100644 index 00000000..c9df2866 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js15-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js16-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js16-in.jsonld new file mode 100644 index 00000000..e40669f3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js16-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@version": 1.1, "value": "@value", "type": "@type", "json": "@json"}, + "http://example.org/vocab#object": [{"value": {"foo": "bar"}, "type": "json"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js16-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js16-out.jsonld new file mode 100644 index 00000000..c9df2866 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js16-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js17-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js17-in.jsonld new file mode 100644 index 00000000..08fc84f7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js17-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#string", "@type": "@json"} + }, + "e": "string" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js17-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js17-out.jsonld new file mode 100644 index 00000000..56ae74fc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js17-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/vocab#string": [{ + "@value": "string", + "@type": "@json" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js18-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js18-in.jsonld new file mode 100644 index 00000000..56411149 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js18-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#null", "@type": "@json"} + }, + "e": null +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js18-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js18-out.jsonld new file mode 100644 index 00000000..5efe8b14 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js18-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/vocab#null": [{ + "@value": null, + "@type": "@json" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js19-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js19-in.jsonld new file mode 100644 index 00000000..7da97503 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js19-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "type": "@type" + }, + "ex:foo": { + "type": "@json", + "@value": { + "test": 1 + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/js19-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js19-out.jsonld new file mode 100644 index 00000000..da4939cc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js19-out.jsonld @@ -0,0 +1,8 @@ +[{ + "ex:foo": [{ + "@type": "@json", + "@value": { + "test": 1 + } + }] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/js20-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js20-in.jsonld new file mode 100644 index 00000000..f1799a35 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js20-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "value": "@value" + }, + "ex:foo": { + "@type": "@json", + "value": { + "test": 1 + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/js20-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js20-out.jsonld new file mode 100644 index 00000000..da4939cc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js20-out.jsonld @@ -0,0 +1,8 @@ +[{ + "ex:foo": [{ + "@type": "@json", + "@value": { + "test": 1 + } + }] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/js21-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js21-in.jsonld new file mode 100644 index 00000000..85ccb0cd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js21-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "ex:foo": { + "@type": "@json" + } + }, + "ex:foo": { + "@context": "ex:not:a:context", + "test": 1 + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/js21-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js21-out.jsonld new file mode 100644 index 00000000..8509c9cf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js21-out.jsonld @@ -0,0 +1,9 @@ +[{ + "ex:foo": [{ + "@type": "@json", + "@value": { + "@context": "ex:not:a:context", + "test": 1 + } + }] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/js22-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js22-in.jsonld new file mode 100644 index 00000000..7d2d4320 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js22-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.org/vocab#null": {"@value": null, "@type": "@json"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js22-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js22-out.jsonld new file mode 100644 index 00000000..5efe8b14 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js22-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/vocab#null": [{ + "@value": null, + "@type": "@json" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js23-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js23-in.jsonld new file mode 100644 index 00000000..d45cd202 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js23-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.org/vocab#null": {"@value": [], "@type": "@json"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/js23-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/js23-out.jsonld new file mode 100644 index 00000000..d08dd980 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/js23-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/vocab#null": [{ + "@value": [], + "@type": "@json" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/m017-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m017-in.jsonld new file mode 100644 index 00000000..d571678d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/m017-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/m017-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m017-out.jsonld new file mode 100644 index 00000000..b1076fd6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/m017-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/ns/foo": [{ + "@id": "http://example.org/base/baz", + "@type": [ "http://example.org/ns/bar" ] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/m018-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m018-in.jsonld new file mode 100644 index 00000000..7acaba29 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/m018-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@type": "@id", "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/m018-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m018-out.jsonld new file mode 100644 index 00000000..b1076fd6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/m018-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/ns/foo": [{ + "@id": "http://example.org/base/baz", + "@type": [ "http://example.org/ns/bar" ] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/m019-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m019-in.jsonld new file mode 100644 index 00000000..81386dfe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/m019-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@type": "@vocab", "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/m019-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m019-out.jsonld new file mode 100644 index 00000000..29e72e9f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/m019-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example.org/ns/foo": [{ + "@id": "http://example.org/ns/baz", + "@type": [ "http://example.org/ns/bar" ] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/m020-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/m020-in.jsonld new file mode 100644 index 00000000..4b1a8319 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/m020-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@type": "literal", "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/n008-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n008-in.jsonld new file mode 100644 index 00000000..c598df0f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/n008-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest" + }, + "p1": "v1", + "nest": [ + {"@type": "T1"}, + {"@type": "T2"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/n008-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/n008-out.jsonld new file mode 100644 index 00000000..c1bb1e0a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/n008-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@type": ["http://example.org/T1", "http://example.org/T2"], + "http://example.org/p1": [{"@value": "v1"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr29-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr29-out.jsonld index fe204c1d..edc7f431 100644 --- a/core/src/test/resources/json-ld-api-tests/expand/pr29-out.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand/pr29-out.jsonld @@ -4,9 +4,7 @@ { "@value": "tricky" } - ] - }, - { + ], "tag:champin.net,2019:prop": [ { "@value": "This is not treated as a Compact IRI" diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr30-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr30-in.jsonld new file mode 100644 index 00000000..5744284d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr30-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "id": {"@id": "@id", "@protected": true}, + "type": {"@id" : "@type", "@container": "@set", "@protected" : true}, + "@type": {"@container": "@set", "@protected": true} + }, + "id": "http://example.com/1", + "type": "http://example.org/ns/Foo", + "@type": "http://example.org/ns/Bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr30-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr30-out.jsonld new file mode 100644 index 00000000..caa90d7e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr30-out.jsonld @@ -0,0 +1,9 @@ +[ + { + "@id": "http://example.com/1", + "@type": [ + "http://example.org/ns/Bar", + "http://example.org/ns/Foo" + ] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr31-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr31-in.jsonld new file mode 100644 index 00000000..459d335a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr31-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": [{ + "@version": 1.1, + "id": {"@id": "@id", "@protected": true}, + "type": {"@id" : "@type", "@container": "@set", "@protected" : true}, + "@type": {"@container": "@set", "@protected": true} + }, { + "@version": 1.1, + "id": "http://example.com/id" + }], + "id": "http://example.com/1", + "type": ["http://example.org/ns/Foo"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr32-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr32-in.jsonld new file mode 100644 index 00000000..3f287c01 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr32-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": [{ + "@version": 1.1, + "id": {"@id": "@id", "@protected": true}, + "type": {"@id" : "@type", "@container": "@set", "@protected" : true}, + "@type": {"@container": "@set", "@protected": true} + }, { + "@version": 1.1, + "@type": {"@protected": true} + }], + "id": "http://example.com/1", + "type": ["http://example.org/ns/Foo"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr33-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr33-in.jsonld new file mode 100644 index 00000000..ac9b9e5a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr33-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "foo": { + "@id": "@type", + "@prefix": true + } + }, + "foo:bar": "http://example.org/baz" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr34-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr34-in.jsonld new file mode 100644 index 00000000..18bbf1c7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr34-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@ignoreMe": "http://example.org/should-ignore" + }, + "@type": "http://example.com/IgnoreTest", + "@ignoreMe": "should not be here" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr34-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr34-out.jsonld new file mode 100644 index 00000000..38735bb6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr34-out.jsonld @@ -0,0 +1,3 @@ +[{ + "@type": ["http://example.com/IgnoreTest"] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr35-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr35-in.jsonld new file mode 100644 index 00000000..0145697e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr35-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "@ignoreMe": "http://example.org/should-ignore" + }, + "@type": "http://example.com/IgnoreTest", + "@ignoreMe": "should not be here" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr35-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr35-out.jsonld new file mode 100644 index 00000000..38735bb6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr35-out.jsonld @@ -0,0 +1,3 @@ +[{ + "@type": ["http://example.com/IgnoreTest"] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr36-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr36-in.jsonld new file mode 100644 index 00000000..bf8fe6cc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr36-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ignoreMe": "@ignoreMe" + }, + "@type": "http://example.com/IgnoreTest", + "ignoreMe": "should not be here" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr36-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr36-out.jsonld new file mode 100644 index 00000000..38735bb6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr36-out.jsonld @@ -0,0 +1,3 @@ +[{ + "@type": ["http://example.com/IgnoreTest"] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr37-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr37-in.jsonld new file mode 100644 index 00000000..b1820a1a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr37-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "ignoreMe": "@ignoreMe" + }, + "@type": "http://example.com/IgnoreTest", + "ignoreMe": "vocabulary relative" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr37-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr37-out.jsonld new file mode 100644 index 00000000..f6dfa550 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr37-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@type": ["http://example.com/IgnoreTest"], + "http://example.org/ignoreMe": [{"@value": "vocabulary relative"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr38-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr38-in.jsonld new file mode 100644 index 00000000..9f4ac1af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr38-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ignoreMe": {"@reverse": "@ignoreMe"} + }, + "@type": "http://example.com/IgnoreTest", + "ignoreMe": {"http://example.org/text": "should not be here"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr38-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr38-out.jsonld new file mode 100644 index 00000000..38735bb6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr38-out.jsonld @@ -0,0 +1,3 @@ +[{ + "@type": ["http://example.com/IgnoreTest"] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr39-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr39-in.jsonld new file mode 100644 index 00000000..1ea54f7d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr39-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "ignoreMe": {"@reverse": "@ignoreMe"} + }, + "@type": "http://example.com/IgnoreTest", + "ignoreMe": {"text": "not reversed"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr39-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr39-out.jsonld new file mode 100644 index 00000000..aa51f662 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr39-out.jsonld @@ -0,0 +1,6 @@ +[{ + "@type": ["http://example.com/IgnoreTest"], + "http://example.org/ignoreMe": [{ + "http://example.org/text": [{"@value": "not reversed"}] + }] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr40-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr40-in.jsonld new file mode 100644 index 00000000..52c7b642 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr40-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@vocab": "http://vocab.org/", + "@protected": true, + "bar": "http://ignored.org/bar", + "foo": { + "@context": { + "bar": "http://example.org/other" + } + } + }, + "@id": "ex:outer", + "foo": { + "@id": "ex:inner", + "bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/pr40-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/pr40-out.jsonld new file mode 100644 index 00000000..bba43a5f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/pr40-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "ex:outer", + "http://vocab.org/foo": [{ + "@id": "ex:inner", + "http://example.org/other": [{"@value": "baz"}] + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so01-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so01-in.jsonld new file mode 100644 index 00000000..7423c425 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so01-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@import": "so01-in.jsonld" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so02-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so02-in.jsonld new file mode 100644 index 00000000..a46da56f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so02-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "@import": {} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so03-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so03-in.jsonld new file mode 100644 index 00000000..9b615289 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so03-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "@import": "so03-in.jsonld" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so05-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so05-context.jsonld new file mode 100644 index 00000000..902a3870 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so05-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "baz": {"@id": "http://example.org/baz", "@type": "@vocab"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so05-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so05-in.jsonld new file mode 100644 index 00000000..664c82db --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so05-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "Foo": { + "@context": { + "@import": "so05-context.jsonld", + "@propagate": true + } + } + }, + "@type": "Foo", + "bar": {"baz": "buzz"} +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so05-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so05-out.jsonld new file mode 100644 index 00000000..d4e93f65 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so05-out.jsonld @@ -0,0 +1,8 @@ +[ + { + "@type": ["http://example/Foo"], + "http://example/bar": [{ + "http://example.org/baz": [{"@id": "http://example/buzz"}] + }] + } +] diff --git a/core/src/test/resources/json-ld-api-tests/expand/so06-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so06-context.jsonld new file mode 100644 index 00000000..5da1e53f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so06-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "baz": {"@id": "http://example.com/baz", "@type": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so06-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so06-in.jsonld new file mode 100644 index 00000000..3b664b9b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so06-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "bar": { + "@context": { + "@import": "so06-context.jsonld", + "@propagate": false + } + } + }, + "bar": {"baz": {"baz": "buzz"}} +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so06-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so06-out.jsonld new file mode 100644 index 00000000..7ee0ec71 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so06-out.jsonld @@ -0,0 +1,7 @@ +[{ + "http://example/bar": [{ + "http://example.com/baz": [{ + "http://example/baz": [{"@value": "buzz"}] + }] + }] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/so07-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so07-context.jsonld new file mode 100644 index 00000000..7ddb66da --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so07-context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "protected1": { + "@id": "http://example.com/protected1" + }, + "protected2": { + "@id": "http://example.com/protected2" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so07-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so07-in.jsonld new file mode 100644 index 00000000..1d8d5aaa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so07-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "@protected": true, + "@import": "so07-context.jsonld" + }, + "protected1": { + "@context": { + "protected1": "http://example.com/something-else", + "protected2": "http://example.com/something-else" + }, + "protected1": "error / property http://example.com/protected1", + "protected2": "error / property http://example.com/protected2" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so08-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so08-context.jsonld new file mode 100644 index 00000000..3e6660a8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so08-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": "http://example.org/sourced" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so08-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so08-in.jsonld new file mode 100644 index 00000000..bfb50b89 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so08-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@import": "so08-context.jsonld", + "term": "http://example.org/redefined" + }, + "term": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so08-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so08-out.jsonld new file mode 100644 index 00000000..bb1a9f84 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so08-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/redefined": [{"@value": "value"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so09-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so09-context.jsonld new file mode 100644 index 00000000..45334dcb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so09-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/source/", + "term": {"@id": "term"} + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so09-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so09-in.jsonld new file mode 100644 index 00000000..f6b52160 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so09-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@import": "so09-context.jsonld", + "@vocab": "http://example.org/redefined/" + }, + "term": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so09-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so09-out.jsonld new file mode 100644 index 00000000..6a83f156 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so09-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/redefined/term": [{"@value": "value"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so10-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so10-context.jsonld new file mode 100644 index 00000000..d36bc5c6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so10-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": "http://example.org/protected" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so10-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so10-in.jsonld new file mode 100644 index 00000000..ec45ada1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so10-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "@import": "so10-context.jsonld" + }, { + "term": "http://example.org/unprotected" + }], + "term": "value" +} + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so11-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so11-context.jsonld new file mode 100644 index 00000000..3e6660a8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so11-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": "http://example.org/sourced" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so11-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so11-in.jsonld new file mode 100644 index 00000000..a63f1590 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so11-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "@import": "so08-context.jsonld", + "term": "http://example.org/redefined" + }, + "term": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so11-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so11-out.jsonld new file mode 100644 index 00000000..bb1a9f84 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so11-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/redefined": [{"@value": "value"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/expand/so12-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so12-in.jsonld new file mode 100644 index 00000000..00432d2f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so12-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@import": "so12-in.jsonld" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so13-context.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so13-context.jsonld new file mode 100644 index 00000000..7c984d7c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so13-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": [{ + "term": "http://example.org/term" + }, { + "term2": "http://example.org/term2" + }] +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/so13-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/so13-in.jsonld new file mode 100644 index 00000000..ce04701e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/so13-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@import": "so13-context.jsonld" + }, + "term": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/flatten-manifest.html b/core/src/test/resources/json-ld-api-tests/flatten-manifest.html new file mode 100644 index 00000000..e89b6488 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten-manifest.html @@ -0,0 +1,1441 @@ + + + + + +Flattening + + + + + +

+ +W3C + +

+

Flattening

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +flatten-manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD Framing Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

flatten tests have input and expected documents and an optional context document.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior.

+ +

Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Test case properties identifying a file (input, output, context, expectContext, and frame) are presumed to have a media type appropriate for the file extension. + +
      +
    • application/ld+json for .jsonld
    • +
    • text/html for .html
    • +
    • application/n-quads for .nq
    • +
  • +
  • The media type for the file associated with the input property can be overridden using the contentType option.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • Some toRdf tests require the use of JSON Canonicalization Scheme to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results using RDF Dataset Isomorphism. These tests are marked using the useJCS option.
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
  • Some tests may have a requires property, indicating some optional behavior described by a test vocabulary term.
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-api.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+
+
baseIri
+
https://w3c.github.io/json-ld-api/tests/
+
+

JSON-LD Flattening tests.

+
+

+Test sequence: +

+
+
+Test t0001 drop free-floating nodes +
+
+
+
id
+
#t0001
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening drops unreferenced nodes having only @id
+
input
+
+flatten/0001-in.jsonld +
+
expect
+
+flatten/0001-out.jsonld +
+
+
+
+Test t0002 basic +
+
+
+
id
+
#t0002
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening terms with different types of values
+
input
+
+flatten/0002-in.jsonld +
+
expect
+
+flatten/0002-out.jsonld +
+
+
+
+Test t0003 drop null and unmapped properties +
+
+
+
id
+
#t0003
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Verifies that null values and unmapped properties are removed from expanded output
+
input
+
+flatten/0003-in.jsonld +
+
expect
+
+flatten/0003-out.jsonld +
+
+
+
+Test t0004 optimize @set, keep empty arrays +
+
+
+
id
+
#t0004
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Uses of @set are removed in expansion; values of @set, or just plain values which are empty arrays are retained
+
input
+
+flatten/0004-in.jsonld +
+
expect
+
+flatten/0004-out.jsonld +
+
+
+
+Test t0005 do not expand aliased @id/@type +
+
+
+
id
+
#t0005
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
If a keyword is aliased, it is not used when flattening
+
input
+
+flatten/0005-in.jsonld +
+
expect
+
+flatten/0005-out.jsonld +
+
+
+
+Test t0006 alias keywords +
+
+
+
id
+
#t0006
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Aliased keywords expand in resulting document
+
input
+
+flatten/0006-in.jsonld +
+
expect
+
+flatten/0006-out.jsonld +
+
+
+
+Test t0007 date type-coercion +
+
+
+
id
+
#t0007
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Expand strings to expanded value with @type: xsd:dateTime
+
input
+
+flatten/0007-in.jsonld +
+
expect
+
+flatten/0007-out.jsonld +
+
+
+
+Test t0008 @value with @language +
+
+
+
id
+
#t0008
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Keep expanded values with @language, drop non-conforming value objects containing just @language
+
input
+
+flatten/0008-in.jsonld +
+
expect
+
+flatten/0008-out.jsonld +
+
+
+
+Test t0009 @graph with terms +
+
+
+
id
+
#t0009
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Use of @graph to contain multiple nodes within array
+
input
+
+flatten/0009-in.jsonld +
+
expect
+
+flatten/0009-out.jsonld +
+
+
+
+Test t0010 native types +
+
+
+
id
+
#t0010
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening native scalar retains native scalar within expanded value
+
input
+
+flatten/0010-in.jsonld +
+
expect
+
+flatten/0010-out.jsonld +
+
+
+
+Test t0011 coerced @id +
+
+
+
id
+
#t0011
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
A value of a property with @type: @id coercion expands to a node reference
+
input
+
+flatten/0011-in.jsonld +
+
expect
+
+flatten/0011-out.jsonld +
+
+
+
+Test t0012 @graph with embed +
+
+
+
id
+
#t0012
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening objects containing chained objects flattens all objects
+
input
+
+flatten/0012-in.jsonld +
+
expect
+
+flatten/0012-out.jsonld +
+
+
+
+Test t0013 flatten already expanded +
+
+
+
id
+
#t0013
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening an expanded/flattened document maintains input document
+
input
+
+flatten/0013-in.jsonld +
+
expect
+
+flatten/0013-out.jsonld +
+
+
+
+Test t0014 @set of @value objects with keyword aliases +
+
+
+
id
+
#t0014
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening aliased @set and @value
+
input
+
+flatten/0014-in.jsonld +
+
expect
+
+flatten/0014-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test t0015 collapse set of sets, keep empty lists +
+
+
+
id
+
#t0015
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
An array of multiple @set nodes are collapsed into a single array
+
input
+
+flatten/0015-in.jsonld +
+
expect
+
+flatten/0015-out.jsonld +
+
+
+
+Test t0016 context reset +
+
+
+
id
+
#t0016
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Setting @context to null within an embedded object resets back to initial context state
+
input
+
+flatten/0016-in.jsonld +
+
expect
+
+flatten/0016-out.jsonld +
+
+
+
+Test t0017 @graph and @id aliased +
+
+
+
id
+
#t0017
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening with @graph and @id aliases
+
input
+
+flatten/0017-in.jsonld +
+
expect
+
+flatten/0017-out.jsonld +
+
+
+
+Test t0018 override default @language +
+
+
+
id
+
#t0018
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
override default @language in terms; only language-tag strings
+
input
+
+flatten/0018-in.jsonld +
+
expect
+
+flatten/0018-out.jsonld +
+
+
+
+Test t0019 remove @value = null +
+
+
+
id
+
#t0019
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening a value of null removes the value
+
input
+
+flatten/0019-in.jsonld +
+
expect
+
+flatten/0019-out.jsonld +
+
+
+
+Test t0020 do not remove @graph if not at top-level +
+
+
+
id
+
#t0020
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
@graph used under a node is retained
+
input
+
+flatten/0020-in.jsonld +
+
expect
+
+flatten/0020-out.jsonld +
+
+
+
+Test t0021 do not remove @graph at top-level if not only property +
+
+
+
id
+
#t0021
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
@graph used at the top level is retained if there are other properties
+
input
+
+flatten/0021-in.jsonld +
+
expect
+
+flatten/0021-out.jsonld +
+
+
+
+Test t0022 flatten value with default language +
+
+
+
id
+
#t0022
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening with a default language applies that language to string values
+
input
+
+flatten/0022-in.jsonld +
+
expect
+
+flatten/0022-out.jsonld +
+
+
+
+Test t0023 Flattening list/set with coercion +
+
+
+
id
+
#t0023
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening lists and sets with properties having coercion coerces list/set values
+
input
+
+flatten/0023-in.jsonld +
+
expect
+
+flatten/0023-out.jsonld +
+
+
+
+Test t0024 Multiple contexts +
+
+
+
id
+
#t0024
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Tests that contexts in an array are merged
+
input
+
+flatten/0024-in.jsonld +
+
expect
+
+flatten/0024-out.jsonld +
+
+
+
+Test t0025 Problematic IRI flattening tests +
+
+
+
id
+
#t0025
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening different kinds of terms and Compact IRIs
+
input
+
+flatten/0025-in.jsonld +
+
expect
+
+flatten/0025-out.jsonld +
+
+
+
+Test t0026 Term definition with @id: @type +
+
+
+
id
+
#t0026
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening term mapping to @type uses @type syntax
+
input
+
+flatten/0026-in.jsonld +
+
expect
+
+flatten/0026-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test t0027 Duplicate values in @list and @set +
+
+
+
id
+
#t0027
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Duplicate values in @list and @set are not merged
+
input
+
+flatten/0027-in.jsonld +
+
expect
+
+flatten/0027-out.jsonld +
+
+
+
+Test t0028 Use @vocab in properties and @type but not in @id +
+
+
+
id
+
#t0028
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
@vocab is used to compact properties and @type, but is not used for @id
+
input
+
+flatten/0028-in.jsonld +
+
expect
+
+flatten/0028-out.jsonld +
+
+
+
+Test t0030 Language maps +
+
+
+
id
+
#t0030
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Language Maps expand values to include @language
+
input
+
+flatten/0030-in.jsonld +
+
expect
+
+flatten/0030-out.jsonld +
+
+
+
+Test t0031 type-coercion of native types +
+
+
+
id
+
#t0031
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening native types with type coercion adds the coerced type to an expanded value representation and retains the native value representation
+
input
+
+flatten/0031-in.jsonld +
+
expect
+
+flatten/0031-out.jsonld +
+
+
+
+Test t0032 Null term and @vocab +
+
+
+
id
+
#t0032
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Mapping a term to null decouples it from @vocab
+
input
+
+flatten/0032-in.jsonld +
+
expect
+
+flatten/0032-out.jsonld +
+
+
+
+Test t0033 Using @vocab with with type-coercion +
+
+
+
id
+
#t0033
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Verifies that terms can be defined using @vocab
+
input
+
+flatten/0033-in.jsonld +
+
expect
+
+flatten/0033-out.jsonld +
+
+
+
+Test t0034 Multiple properties expanding to the same IRI +
+
+
+
id
+
#t0034
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Verifies multiple values from separate terms are deterministically made multiple values of the IRI associated with the terms
+
input
+
+flatten/0034-in.jsonld +
+
expect
+
+flatten/0034-out.jsonld +
+
+
+
+Test t0035 Language maps with @vocab, default language, and colliding property +
+
+
+
id
+
#t0035
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Pathological tests of language maps
+
input
+
+flatten/0035-in.jsonld +
+
expect
+
+flatten/0035-out.jsonld +
+
+
+
+Test t0036 Flattening @index +
+
+
+
id
+
#t0036
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening index maps for terms defined with @container: @index
+
input
+
+flatten/0036-in.jsonld +
+
expect
+
+flatten/0036-out.jsonld +
+
+
+
+Test t0037 Flattening reverse properties +
+
+
+
id
+
#t0037
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flattening @reverse keeps @reverse
+
input
+
+flatten/0037-in.jsonld +
+
expect
+
+flatten/0037-out.jsonld +
+
+
+
+Test t0038 Flattening blank node labels +
+
+
+
id
+
#t0038
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Blank nodes are not relabeled during expansion
+
input
+
+flatten/0038-in.jsonld +
+
expect
+
+flatten/0038-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test t0039 Using terms in a reverse-maps +
+
+
+
id
+
#t0039
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Terms within @reverse are expanded
+
input
+
+flatten/0039-in.jsonld +
+
expect
+
+flatten/0039-out.jsonld +
+
+
+
+Test t0040 language and index expansion on non-objects +
+
+
+
id
+
#t0040
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Only invoke language and index map expansion if the value is a JSON object
+
input
+
+flatten/0040-in.jsonld +
+
expect
+
+flatten/0040-out.jsonld +
+
+
+
+Test t0041 Free-floating sets and lists +
+
+
+
id
+
#t0041
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Free-floating values in sets are removed, free-floating lists are removed completely
+
input
+
+flatten/0041-in.jsonld +
+
expect
+
+flatten/0041-out.jsonld +
+
+
+
+Test t0042 List objects not equivalent +
+
+
+
id
+
#t0042
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Lists objects are implicit unlabeled blank nodes and thus never equivalent
+
input
+
+flatten/0042-in.jsonld +
+
expect
+
+flatten/0042-out.jsonld +
+
+
+
+Test t0043 Sample test manifest extract +
+
+
+
id
+
#t0043
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flatten a test manifest
+
input
+
+flatten/0043-in.jsonld +
+
expect
+
+flatten/0043-out.jsonld +
+
+
+
+Test t0044 compactArrays option +
+
+
+
id
+
#t0044
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Setting compactArrays to false causes single element arrays to be retained
+
input
+
+flatten/0044-in.jsonld +
+
context
+
+flatten/0044-context.jsonld +
+
expect
+
+flatten/0044-out.jsonld +
+
Options
+
+
+
compactArrays
+
false
+
+
+
+
+
+Test t0045 Blank nodes with reverse properties +
+
+
+
id
+
#t0045
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Proper (re-)labeling of blank nodes if used with reverse properties.
+
input
+
+flatten/0045-in.jsonld +
+
expect
+
+flatten/0045-out.jsonld +
+
+
+
+Test t0046 Empty string as identifier +
+
+
+
id
+
#t0046
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Usage of empty strings in identifiers needs special care when constructing the node map.
+
input
+
+flatten/0046-in.jsonld +
+
expect
+
+flatten/0046-out.jsonld +
+
+
+
+Test t0047 Flatten using relative fragment identifier properly joins to base +
+
+
+
id
+
#t0047
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Compacting a relative round-trips
+
input
+
+flatten/0047-in.jsonld +
+
expect
+
+flatten/0047-out.jsonld +
+
Options
+
+
+
base
+
http://example.org/
+
+
+
+
+
+Test t0048 @list with embedded object +
+
+
+
id
+
#t0048
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Node definitions contained within lists are flattend to top level.
+
input
+
+flatten/0048-in.jsonld +
+
expect
+
+flatten/0048-out.jsonld +
+
+
+
+Test t0049 context with JavaScript Object property names +
+
+
+
id
+
#t0049
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Flatten with context including JavaScript Object property names
+
input
+
+flatten/0049-in.jsonld +
+
expect
+
+flatten/0049-out.jsonld +
+
+
+
+Test te001 Conflicting indexes +
+
+
+
id
+
#te001
+
Type
+
jld:NegativeEvaluationTest, jld:FlattenTest
+
Purpose
+
Verifies that an exception is raised in Flattening when conflicting indexes are found
+
input
+
+flatten/e001-in.jsonld +
+
expect
+
+conflicting indexes +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin01 Basic Included array +
+
+
+
id
+
#tin01
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Tests included blocks.
+
input
+
+flatten/in01-in.jsonld +
+
expect
+
+flatten/in01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin02 Basic Included object +
+
+
+
id
+
#tin02
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Tests included blocks.
+
input
+
+flatten/in02-in.jsonld +
+
expect
+
+flatten/in02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin03 Multiple properties mapping to @included are folded together +
+
+
+
id
+
#tin03
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Tests included blocks.
+
input
+
+flatten/in03-in.jsonld +
+
expect
+
+flatten/in03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin04 Included containing @included +
+
+
+
id
+
#tin04
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Tests included blocks.
+
input
+
+flatten/in04-in.jsonld +
+
expect
+
+flatten/in04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin05 Property value with @included +
+
+
+
id
+
#tin05
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Tests included blocks.
+
input
+
+flatten/in05-in.jsonld +
+
expect
+
+flatten/in05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin06 json.api example +
+
+
+
id
+
#tin06
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Tests included blocks.
+
input
+
+flatten/in06-in.jsonld +
+
expect
+
+flatten/in06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli01 @list containing an deep list +
+
+
+
id
+
#tli01
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Lists of lists
+
input
+
+flatten/li01-in.jsonld +
+
expect
+
+flatten/li01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli02 @list containing empty @list +
+
+
+
id
+
#tli02
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Lists of lists
+
input
+
+flatten/li02-in.jsonld +
+
expect
+
+flatten/li02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli03 @list containing mixed list values +
+
+
+
id
+
#tli03
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest
+
Purpose
+
Lists of lists
+
input
+
+flatten/li03-in.jsonld +
+
expect
+
+flatten/li03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+
+ + diff --git a/core/src/test/resources/json-ld-api-tests/flatten-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/flatten-manifest.jsonld index 5872b947..3268cac8 100644 --- a/core/src/test/resources/json-ld-api-tests/flatten-manifest.jsonld +++ b/core/src/test/resources/json-ld-api-tests/flatten-manifest.jsonld @@ -1,9 +1,9 @@ { - "@context": "context.jsonld", + "@context": ["context.jsonld", {"@base": "flatten-manifest"}], "@id": "", "@type": "mf:Manifest", "name": "Flattening", - "description": "JSON-LD flattening tests use object comparison.", + "description": "JSON-LD Flattening tests.", "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { @@ -357,42 +357,54 @@ "purpose": "Verifies that an exception is raised in Flattening when conflicting indexes are found", "option": {"specVersion": "json-ld-1.1"}, "input": "flatten/e001-in.jsonld", - "expect": "conflicting indexes" + "expectErrorCode": "conflicting indexes" }, { - "@id": "#th001", + "@id": "#tin01", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], - "name": "Flattens embedded JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "flatten/h001-in.html", - "context": "flatten/h001-context.jsonld", - "expect": "flatten/h001-out.jsonld", + "name": "Basic Included array", + "purpose": "Tests included blocks.", + "input": "flatten/in01-in.jsonld", + "expect": "flatten/in01-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th002", + "@id": "#tin02", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], - "name": "Flattens first embedded JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "flatten/h002-in.html", - "context": "flatten/h002-context.jsonld", - "expect": "flatten/h002-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "extractAllScripts": false} + "name": "Basic Included object", + "purpose": "Tests included blocks.", + "input": "flatten/in02-in.jsonld", + "expect": "flatten/in02-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tin03", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Multiple properties mapping to @included are folded together", + "purpose": "Tests included blocks.", + "input": "flatten/in03-in.jsonld", + "expect": "flatten/in03-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tin04", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], + "name": "Included containing @included", + "purpose": "Tests included blocks.", + "input": "flatten/in04-in.jsonld", + "expect": "flatten/in04-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th003", + "@id": "#tin05", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], - "name": "Flattens targeted JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", - "input": "flatten/h003-in.html#second", - "context": "flatten/h003-context.jsonld", - "expect": "flatten/h003-out.jsonld", + "name": "Property value with @included", + "purpose": "Tests included blocks.", + "input": "flatten/in05-in.jsonld", + "expect": "flatten/in05-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th004", + "@id": "#tin06", "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest"], - "name": "Flattens all script elements by default", - "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", - "input": "flatten/h004-in.html", - "context": "flatten/h004-context.jsonld", - "expect": "flatten/h004-out.jsonld", + "name": "json.api example", + "purpose": "Tests included blocks.", + "input": "flatten/in06-in.jsonld", + "expect": "flatten/in06-out.jsonld", "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tli01", diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in01-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in01-in.jsonld new file mode 100644 index 00000000..145c36e7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in01-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": [{ + "prop": "value2" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in01-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in01-out.jsonld new file mode 100644 index 00000000..8bb51573 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in01-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "_:b0", + "http://example.org/prop": [{"@value": "value"}] +}, { + "@id": "_:b1", + "http://example.org/prop": [{"@value": "value2"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in02-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in02-in.jsonld new file mode 100644 index 00000000..a976cce7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in02-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": { + "prop": "value2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in02-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in02-out.jsonld new file mode 100644 index 00000000..8bb51573 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in02-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "_:b0", + "http://example.org/prop": [{"@value": "value"}] +}, { + "@id": "_:b1", + "http://example.org/prop": [{"@value": "value2"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in03-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in03-in.jsonld new file mode 100644 index 00000000..ed476d43 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in03-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "included1": "@included", + "included2": "@included" + }, + "included1": {"prop": "value1"}, + "included2": {"prop": "value2"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in03-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in03-out.jsonld new file mode 100644 index 00000000..6b9e8e66 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in03-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "_:b1", + "http://example.org/prop": [{"@value": "value1"}] +}, { + "@id": "_:b2", + "http://example.org/prop": [{"@value": "value2"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in04-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in04-in.jsonld new file mode 100644 index 00000000..2436a454 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in04-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": { + "prop": "value2", + "@included": { + "prop": "value3" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in04-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in04-out.jsonld new file mode 100644 index 00000000..efb9a424 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in04-out.jsonld @@ -0,0 +1,10 @@ +[{ + "@id": "_:b0", + "http://example.org/prop": [{"@value": "value"}] +}, { + "@id": "_:b1", + "http://example.org/prop": [{"@value": "value2"}] +}, { + "@id": "_:b2", + "http://example.org/prop": [{"@value": "value3"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in05-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in05-in.jsonld new file mode 100644 index 00000000..b94709b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in05-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": { + "@type": "Foo", + "@included": { + "@type": "Bar" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in05-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in05-out.jsonld new file mode 100644 index 00000000..9e6fb442 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in05-out.jsonld @@ -0,0 +1,10 @@ +[{ + "@id": "_:b0", + "http://example.org/prop": [{"@id": "_:b1"}] +}, { + "@id": "_:b1", + "@type": ["http://example.org/Foo"] +}, { + "@id": "_:b2", + "@type": ["http://example.org/Bar"] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in06-in.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in06-in.jsonld new file mode 100644 index 00000000..2e5339f5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in06-in.jsonld @@ -0,0 +1,90 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/vocab#", + "@base": "http://example.org/base/", + "id": "@id", + "type": "@type", + "data": "@nest", + "attributes": "@nest", + "links": "@nest", + "relationships": "@nest", + "included": "@included", + "self": {"@type": "@id"}, + "related": {"@type": "@id"}, + "comments": { + "@context": { + "data": null + } + } + }, + "data": [{ + "type": "articles", + "id": "1", + "attributes": { + "title": "JSON:API paints my bikeshed!" + }, + "links": { + "self": "http://example.com/articles/1" + }, + "relationships": { + "author": { + "links": { + "self": "http://example.com/articles/1/relationships/author", + "related": "http://example.com/articles/1/author" + }, + "data": { "type": "people", "id": "9" } + }, + "comments": { + "links": { + "self": "http://example.com/articles/1/relationships/comments", + "related": "http://example.com/articles/1/comments" + }, + "data": [ + { "type": "comments", "id": "5" }, + { "type": "comments", "id": "12" } + ] + } + } + }], + "included": [{ + "type": "people", + "id": "9", + "attributes": { + "first-name": "Dan", + "last-name": "Gebhardt", + "twitter": "dgeb" + }, + "links": { + "self": "http://example.com/people/9" + } + }, { + "type": "comments", + "id": "5", + "attributes": { + "body": "First!" + }, + "relationships": { + "author": { + "data": { "type": "people", "id": "2" } + } + }, + "links": { + "self": "http://example.com/comments/5" + } + }, { + "type": "comments", + "id": "12", + "attributes": { + "body": "I like XML better" + }, + "relationships": { + "author": { + "data": { "type": "people", "id": "9" } + } + }, + "links": { + "self": "http://example.com/comments/12" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten/in06-out.jsonld b/core/src/test/resources/json-ld-api-tests/flatten/in06-out.jsonld new file mode 100644 index 00000000..d846c2bf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/flatten/in06-out.jsonld @@ -0,0 +1,40 @@ +[{ + "@id": "_:b0", + "http://example.org/vocab#self": [{"@id": "http://example.com/articles/1/relationships/comments"} + ], + "http://example.org/vocab#related": [{"@id": "http://example.com/articles/1/comments"}] + }, { + "@id": "http://example.org/base/1", + "@type": ["http://example.org/vocab#articles"], + "http://example.org/vocab#title": [{"@value": "JSON:API paints my bikeshed!"}], + "http://example.org/vocab#self": [{"@id": "http://example.com/articles/1"}], + "http://example.org/vocab#author": [{"@id": "http://example.org/base/9"}], + "http://example.org/vocab#comments": [{"@id": "_:b0"}] +}, { + "@id": "http://example.org/base/12", + "@type": ["http://example.org/vocab#comments"], + "http://example.org/vocab#body": [{"@value": "I like XML better"}], + "http://example.org/vocab#author": [{"@id": "http://example.org/base/9"}], + "http://example.org/vocab#self": [{"@id": "http://example.com/comments/12"}] +}, { + "@id": "http://example.org/base/2", + "@type": ["http://example.org/vocab#people"] +}, { + "@id": "http://example.org/base/5", + "@type": ["http://example.org/vocab#comments"], + "http://example.org/vocab#body": [{"@value": "First!"} + ], + "http://example.org/vocab#author": [{"@id": "http://example.org/base/2"}], + "http://example.org/vocab#self": [{"@id": "http://example.com/comments/5"}] +}, { + "@id": "http://example.org/base/9", + "@type": ["http://example.org/vocab#people"], + "http://example.org/vocab#first-name": [{"@value": "Dan"}], + "http://example.org/vocab#last-name": [{"@value": "Gebhardt"}], + "http://example.org/vocab#twitter": [{"@value": "dgeb"}], + "http://example.org/vocab#self": [ + {"@id": "http://example.com/people/9"}, + {"@id": "http://example.com/articles/1/relationships/author"} + ], + "http://example.org/vocab#related": [{"@id": "http://example.com/articles/1/author"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf-manifest.html b/core/src/test/resources/json-ld-api-tests/fromRdf-manifest.html new file mode 100644 index 00000000..47604352 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf-manifest.html @@ -0,0 +1,1420 @@ + + + + + +Transform RDF to JSON-LD + + + + + +

+ +W3C + +

+

Transform RDF to JSON-LD

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +fromRdf-manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD Framing Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior.

+ +

Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Test case properties identifying a file (input, output, context, expectContext, and frame) are presumed to have a media type appropriate for the file extension. + +
      +
    • application/ld+json for .jsonld
    • +
    • text/html for .html
    • +
    • application/n-quads for .nq
    • +
  • +
  • The media type for the file associated with the input property can be overridden using the contentType option.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • Some toRdf tests require the use of JSON Canonicalization Scheme to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results using RDF Dataset Isomorphism. These tests are marked using the useJCS option.
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
  • Some tests may have a requires property, indicating some optional behavior described by a test vocabulary term.
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-api.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+
+
baseIri
+
https://w3c.github.io/json-ld-api/tests/
+
+

JSON-LD From RDF tests.

+
+

+Test sequence: +

+
+
+Test t0001 Object Lists +
+
+
+
id
+
#t0001
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Tests generation using different types of objects.
+
input
+
+fromRdf/0001-in.nq +
+
expect
+
+fromRdf/0001-out.jsonld +
+
+
+
+Test t0002 Native Types +
+
+
+
id
+
#t0002
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Do not use native datatypes for xsd:boolean, xsd:integer, and xsd:double by default.
+
input
+
+fromRdf/0002-in.nq +
+
expect
+
+fromRdf/0002-out.jsonld +
+
+
+
+Test t0003 BNodes and references +
+
+
+
id
+
#t0003
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
BNode name generation and references between resources.
+
input
+
+fromRdf/0003-in.nq +
+
expect
+
+fromRdf/0003-out.jsonld +
+
+
+
+Test t0004 Lists +
+
+
+
id
+
#t0004
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Multiple lists with different types of element.
+
input
+
+fromRdf/0004-in.nq +
+
expect
+
+fromRdf/0004-out.jsonld +
+
+
+
+Test t0005 Document with list +
+
+
+
id
+
#t0005
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Uses a named graph containing a list.
+
input
+
+fromRdf/0005-in.nq +
+
expect
+
+fromRdf/0005-out.jsonld +
+
+
+
+Test t0006 Two graphs having same subject but different values +
+
+
+
id
+
#t0006
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Ensure that properties and list elements aren't confused between graphs.
+
input
+
+fromRdf/0006-in.nq +
+
expect
+
+fromRdf/0006-out.jsonld +
+
+
+
+Test t0007 Graph with multiple named graphs +
+
+
+
id
+
#t0007
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Testing @graph recursion.
+
input
+
+fromRdf/0007-in.nq +
+
expect
+
+fromRdf/0007-out.jsonld +
+
+
+
+Test t0008 List conversion +
+
+
+
id
+
#t0008
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Conversion of lists of lists (the triples in the input are only partially ordered on purpose (1.0 semantics)
+
input
+
+fromRdf/0008-in.nq +
+
expect
+
+fromRdf/0008-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test t0009 List conversion with IRI nodes +
+
+
+
id
+
#t0009
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Preserve IRI list nodes (i.e., not blank nodes) when converting to @list
+
input
+
+fromRdf/0009-in.nq +
+
expect
+
+fromRdf/0009-out.jsonld +
+
+
+
+Test t0010 List pattern without rdf:nil +
+
+
+
id
+
#t0010
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Do not convert lists that are not terminated by rdf:nil to @list.
+
input
+
+fromRdf/0010-in.nq +
+
expect
+
+fromRdf/0010-out.jsonld +
+
+
+
+Test t0011 List pattern with extra properties +
+
+
+
id
+
#t0011
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
If additional properties are associated to a list node, the list is only partially converted to @list.
+
input
+
+fromRdf/0011-in.nq +
+
expect
+
+fromRdf/0011-out.jsonld +
+
+
+
+Test t0012 List pattern with cycles +
+
+
+
id
+
#t0012
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Detect lists containing cycles and do not convert them to @list.
+
input
+
+fromRdf/0012-in.nq +
+
expect
+
+fromRdf/0012-out.jsonld +
+
+
+
+Test t0013 List pattern with multiple values of rdf:first +
+
+
+
id
+
#t0013
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Do not convert list nodes to @list if nodes contain more than one value for rdf:first.
+
input
+
+fromRdf/0013-in.nq +
+
expect
+
+fromRdf/0013-out.jsonld +
+
+
+
+Test t0014 List pattern with multiple values of rdf:rest +
+
+
+
id
+
#t0014
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Do not convert list nodes to @list if nodes contain more than one value for rdf:rest.
+
input
+
+fromRdf/0014-in.nq +
+
expect
+
+fromRdf/0014-out.jsonld +
+
+
+
+Test t0015 List pattern with IRI rdf:rest +
+
+
+
id
+
#t0015
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Do not convert lists to @list if a list node's rdf:rest is an IRI.
+
input
+
+fromRdf/0015-in.nq +
+
expect
+
+fromRdf/0015-out.jsonld +
+
+
+
+Test t0016 List pattern with type rdf:List +
+
+
+
id
+
#t0016
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
List nodes may have a rdf:type rdf:List.
+
input
+
+fromRdf/0016-in.nq +
+
expect
+
+fromRdf/0016-out.jsonld +
+
+
+
+Test t0017 Remove duplicate triples +
+
+
+
id
+
#t0017
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Equivalent triples are used only once
+
input
+
+fromRdf/0017-in.nq +
+
expect
+
+fromRdf/0017-out.jsonld +
+
+
+
+Test t0018 use native types flag set to true +
+
+
+
id
+
#t0018
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Literals with datatype xsd:boolean, xsd:integer, and xsd:double are serialized using native scalar values
+
input
+
+fromRdf/0018-in.nq +
+
expect
+
+fromRdf/0018-out.jsonld +
+
Options
+
+
+
useNativeTypes
+
true
+
+
+
+
+
+Test t0019 use rdf:type flag set to false +
+
+
+
id
+
#t0019
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Setting useRdfType to true causes an rdf:type predicate to be treated like a normal property, not @type
+
input
+
+fromRdf/0019-in.nq +
+
expect
+
+fromRdf/0019-out.jsonld +
+
Options
+
+
+
useRdfType
+
true
+
+
+
+
+
+Test t0020 list with node shared across graphs +
+
+
+
id
+
#t0020
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
An otherwise conformant list with a node shared across different lists does not serialize using @list
+
input
+
+fromRdf/0020-in.nq +
+
expect
+
+fromRdf/0020-out.jsonld +
+
+
+
+Test t0021 list with node shared across graphs (same triple in different graphs) +
+
+
+
id
+
#t0021
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
If a list node is used in different graphs, it isn't removed and converted to @list
+
input
+
+fromRdf/0021-in.nq +
+
expect
+
+fromRdf/0021-out.jsonld +
+
+
+
+Test t0022 list from duplicate triples +
+
+
+
id
+
#t0022
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Duplicate triples for a list node will not prevent @list from being properly generated
+
input
+
+fromRdf/0022-in.nq +
+
expect
+
+fromRdf/0022-out.jsonld +
+
+
+
+Test t0023 triple with RDF nil subject +
+
+
+
id
+
#t0023
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Test triple with RDF nil subject
+
input
+
+fromRdf/0023-in.nq +
+
expect
+
+fromRdf/0023-out.jsonld +
+
+
+
+Test t0024 multiple languages for same subject+property+value +
+
+
+
id
+
#t0024
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Uniqness of triples should include the value language
+
input
+
+fromRdf/0024-in.nq +
+
expect
+
+fromRdf/0024-out.jsonld +
+
+
+
+Test t0025 multiple types for same subject+property+value +
+
+
+
id
+
#t0025
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Uniqness of triples should include the value type
+
input
+
+fromRdf/0025-in.nq +
+
expect
+
+fromRdf/0025-out.jsonld +
+
+
+
+Test t0026 triple with rdf:first property and rdf:nil value +
+
+
+
id
+
#t0026
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Check list generation with rdf:first property and rdf:nil value.
+
input
+
+fromRdf/0026-in.nq +
+
expect
+
+fromRdf/0026-out.jsonld +
+
+
+
+Test tdi01 rdfDirection: null with i18n literal with direction and no language +
+
+
+
id
+
#tdi01
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Does not parse i18n datatype without proper option.
+
input
+
+fromRdf/di01-in.nq +
+
expect
+
+fromRdf/di01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi02 rdfDirection: null with i18n literal with direction and language +
+
+
+
id
+
#tdi02
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Does not parse i18n datatype without proper option.
+
input
+
+fromRdf/di02-in.nq +
+
expect
+
+fromRdf/di02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi03 rdfDirection: null with compound literal with direction and no language +
+
+
+
id
+
#tdi03
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Does not parse compound literal without proper option.
+
input
+
+fromRdf/di03-in.nq +
+
expect
+
+fromRdf/di03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi04 rdfDirection: null with compound literal with direction and language +
+
+
+
id
+
#tdi04
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Does not parse compound literal without proper option.
+
input
+
+fromRdf/di04-in.nq +
+
expect
+
+fromRdf/di04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi05 rdfDirection: i18n-datatype with i18n literal with direction and no language +
+
+
+
id
+
#tdi05
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Parses i18n datatype with proper option.
+
input
+
+fromRdf/di05-in.nq +
+
expect
+
+fromRdf/di05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
i18n-datatype
+
+
+
+
+
+Test tdi06 rdfDirection: i18n-datatype with i18n literal with direction and language +
+
+
+
id
+
#tdi06
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Parses i18n datatype with proper option.
+
input
+
+fromRdf/di06-in.nq +
+
expect
+
+fromRdf/di06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
i18n-datatype
+
+
+
+
+
+Test tdi07 rdfDirection: i18n-datatype with compound literal with direction and no language +
+
+
+
id
+
#tdi07
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Does not parse compound literal without proper option.
+
input
+
+fromRdf/di07-in.nq +
+
expect
+
+fromRdf/di07-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
i18n-datatype
+
+
+
+
+
+Test tdi08 rdfDirection: i18n-datatype with compound literal with direction and language +
+
+
+
id
+
#tdi08
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Does not parse compound literal without proper option.
+
input
+
+fromRdf/di08-in.nq +
+
expect
+
+fromRdf/di08-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
i18n-datatype
+
+
+
+
+
+Test tdi09 rdfDirection: compound-literal with i18n literal with direction and no language +
+
+
+
id
+
#tdi09
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Does not parse i18n datatype without proper option.
+
input
+
+fromRdf/di09-in.nq +
+
expect
+
+fromRdf/di09-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
compound-literal
+
+
+
+
+
+Test tdi10 rdfDirection: compound-literal with i18n literal with direction and language +
+
+
+
id
+
#tdi10
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Does not parse i18n datatype without proper option.
+
input
+
+fromRdf/di10-in.nq +
+
expect
+
+fromRdf/di10-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
compound-literal
+
+
+
+
+
+Test tdi11 rdfDirection: compound-literal with compound literal with direction and no language +
+
+
+
id
+
#tdi11
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Parses compound literal with proper option.
+
input
+
+fromRdf/di11-in.nq +
+
expect
+
+fromRdf/di11-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
compound-literal
+
+
+
+
+
+Test tdi12 rdfDirection: compound-literal with compound literal with direction and language +
+
+
+
id
+
#tdi12
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Parses compound literal with proper option.
+
input
+
+fromRdf/di12-in.nq +
+
expect
+
+fromRdf/di12-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
compound-literal
+
+
+
+
+
+Test tjs01 JSON literal (boolean true) +
+
+
+
id
+
#tjs01
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Tests creating property with rdf:type rdf:JSON to a JSON literal (boolean true).
+
input
+
+fromRdf/js01-in.nq +
+
expect
+
+fromRdf/js01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs02 JSON literal (boolean false) +
+
+
+
id
+
#tjs02
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Tests creating property with rdf:type rdf:JSON to a JSON literal (boolean false).
+
input
+
+fromRdf/js02-in.nq +
+
expect
+
+fromRdf/js02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs03 JSON literal (double) +
+
+
+
id
+
#tjs03
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Tests creating property with rdf:type rdf:JSON to a JSON literal (double).
+
input
+
+fromRdf/js03-in.nq +
+
expect
+
+fromRdf/js03-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs04 JSON literal (double-zero) +
+
+
+
id
+
#tjs04
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Tests creating property with rdf:type rdf:JSON to a JSON literal (double-zero).
+
input
+
+fromRdf/js04-in.nq +
+
expect
+
+fromRdf/js04-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs05 JSON literal (integer) +
+
+
+
id
+
#tjs05
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Tests creating property with rdf:type rdf:JSON to a JSON literal (integer).
+
input
+
+fromRdf/js05-in.nq +
+
expect
+
+fromRdf/js05-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs06 JSON literal (object) +
+
+
+
id
+
#tjs06
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Tests creating property with rdf:type rdf:JSON to a JSON literal (object).
+
input
+
+fromRdf/js06-in.nq +
+
expect
+
+fromRdf/js06-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs07 JSON literal (array) +
+
+
+
id
+
#tjs07
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Tests creating property with rdf:type rdf:JSON to a JSON literal (array).
+
input
+
+fromRdf/js07-in.nq +
+
expect
+
+fromRdf/js07-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs08 Invalid JSON literal (bare-word) +
+
+
+
id
+
#tjs08
+
Type
+
jld:NegativeEvaluationTest, jld:FromRDFTest
+
Purpose
+
Processors must generate an error when deserializing an invalid JSON literal.
+
input
+
+fromRdf/js08-in.nq +
+
expect
+
+invalid JSON literal +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs09 Invalid JSON literal (invalid structure) +
+
+
+
id
+
#tjs09
+
Type
+
jld:NegativeEvaluationTest, jld:FromRDFTest
+
Purpose
+
Processors must generate an error when deserializing an invalid JSON literal.
+
input
+
+fromRdf/js09-in.nq +
+
expect
+
+invalid JSON literal +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs10 JSON literal (string) +
+
+
+
id
+
#tjs10
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Tests creating property with rdf:type rdf:JSON to a JSON literal (string).
+
input
+
+fromRdf/js10-in.nq +
+
expect
+
+fromRdf/js10-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs11 JSON literal (null) +
+
+
+
id
+
#tjs11
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
Tests creating property with rdf:type rdf:JSON to a JSON literal (null).
+
input
+
+fromRdf/js11-in.nq +
+
expect
+
+fromRdf/js11-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli01 @list containing empty @list +
+
+
+
id
+
#tli01
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
List of lists
+
input
+
+fromRdf/li01-in.nq +
+
expect
+
+fromRdf/li01-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli02 @list containing multiple lists +
+
+
+
id
+
#tli02
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
List of lists
+
input
+
+fromRdf/li02-in.nq +
+
expect
+
+fromRdf/li02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli03 t0008 as interpreted for 1.1. +
+
+
+
id
+
#tli03
+
Type
+
jld:PositiveEvaluationTest, jld:FromRDFTest
+
Purpose
+
List of lists
+
input
+
+fromRdf/li02-in.nq +
+
expect
+
+fromRdf/li02-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+
+ + diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf-manifest.jsonld index 4a04c921..3240b818 100644 --- a/core/src/test/resources/json-ld-api-tests/fromRdf-manifest.jsonld +++ b/core/src/test/resources/json-ld-api-tests/fromRdf-manifest.jsonld @@ -1,9 +1,9 @@ { - "@context": "context.jsonld", + "@context": ["context.jsonld", {"@base": "fromRdf-manifest"}], "@id": "", "@type": "mf:Manifest", "name": "Transform RDF to JSON-LD", - "description": "Transform RDF to JSON-LD tests take N-Quads input and use object comparison.", + "description": "JSON-LD From RDF tests.", "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { @@ -195,6 +195,103 @@ "purpose": "Check list generation with rdf:first property and rdf:nil value.", "input": "fromRdf/0026-in.nq", "expect": "fromRdf/0026-out.jsonld" + }, { + "@id": "#tdi01", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: null with i18n literal with direction and no language", + "purpose": "Does not parse i18n datatype without proper option.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "fromRdf/di01-in.nq", + "expect": "fromRdf/di01-out.jsonld" + }, { + "@id": "#tdi02", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: null with i18n literal with direction and language", + "purpose": "Does not parse i18n datatype without proper option.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "fromRdf/di02-in.nq", + "expect": "fromRdf/di02-out.jsonld" + }, { + "@id": "#tdi03", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: null with compound literal with direction and no language", + "purpose": "Does not parse compound literal without proper option.", + "option": {"specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1"}, + "input": "fromRdf/di03-in.nq", + "expect": "fromRdf/di03-out.jsonld" + }, { + "@id": "#tdi04", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: null with compound literal with direction and language", + "purpose": "Does not parse compound literal without proper option.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "fromRdf/di04-in.nq", + "expect": "fromRdf/di04-out.jsonld" + }, { + "@id": "#tdi05", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: i18n-datatype with i18n literal with direction and no language", + "purpose": "Parses i18n datatype with proper option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "input": "fromRdf/di05-in.nq", + "expect": "fromRdf/di05-out.jsonld" + }, { + "@id": "#tdi06", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: i18n-datatype with i18n literal with direction and language", + "purpose": "Parses i18n datatype with proper option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "input": "fromRdf/di06-in.nq", + "expect": "fromRdf/di06-out.jsonld" + }, { + "@id": "#tdi07", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: i18n-datatype with compound literal with direction and no language", + "purpose": "Does not parse compound literal without proper option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "input": "fromRdf/di07-in.nq", + "expect": "fromRdf/di07-out.jsonld" + }, { + "@id": "#tdi08", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: i18n-datatype with compound literal with direction and language", + "purpose": "Does not parse compound literal without proper option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "input": "fromRdf/di08-in.nq", + "expect": "fromRdf/di08-out.jsonld" + }, { + "@id": "#tdi09", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: compound-literal with i18n literal with direction and no language", + "purpose": "Does not parse i18n datatype without proper option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "input": "fromRdf/di09-in.nq", + "expect": "fromRdf/di09-out.jsonld" + }, { + "@id": "#tdi10", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: compound-literal with i18n literal with direction and language", + "purpose": "Does not parse i18n datatype without proper option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "input": "fromRdf/di10-in.nq", + "expect": "fromRdf/di10-out.jsonld" + }, { + "@id": "#tdi11", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: compound-literal with compound literal with direction and no language", + "purpose": "Parses compound literal with proper option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "input": "fromRdf/di11-in.nq", + "expect": "fromRdf/di11-out.jsonld" + }, { + "@id": "#tdi12", + "@type": [ "jld:PositiveEvaluationTest", "jld:FromRDFTest" ], + "name": "rdfDirection: compound-literal with compound literal with direction and language", + "purpose": "Parses compound literal with proper option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "input": "fromRdf/di12-in.nq", + "expect": "fromRdf/di12-out.jsonld" }, { "@id": "#tjs01", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], @@ -202,7 +299,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (boolean true).", "input": "fromRdf/js01-in.nq", "expect": "fromRdf/js01-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs02", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], @@ -210,7 +307,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (boolean false).", "input": "fromRdf/js02-in.nq", "expect": "fromRdf/js02-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs03", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], @@ -218,7 +315,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (double).", "input": "fromRdf/js03-in.nq", "expect": "fromRdf/js03-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs04", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], @@ -226,7 +323,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (double-zero).", "input": "fromRdf/js04-in.nq", "expect": "fromRdf/js04-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs05", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], @@ -234,7 +331,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (integer).", "input": "fromRdf/js05-in.nq", "expect": "fromRdf/js05-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs06", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], @@ -242,7 +339,7 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (object).", "input": "fromRdf/js06-in.nq", "expect": "fromRdf/js06-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs07", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], @@ -250,7 +347,39 @@ "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (array).", "input": "fromRdf/js07-in.nq", "expect": "fromRdf/js07-out.jsonld", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs08", + "@type": ["jld:NegativeEvaluationTest", "jld:FromRDFTest"], + "name": "Invalid JSON literal (bare-word)", + "purpose": "Processors must generate an error when deserializing an invalid JSON literal.", + "input": "fromRdf/js08-in.nq", + "expectErrorCode": "invalid JSON literal", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs09", + "@type": ["jld:NegativeEvaluationTest", "jld:FromRDFTest"], + "name": "Invalid JSON literal (invalid structure)", + "purpose": "Processors must generate an error when deserializing an invalid JSON literal.", + "input": "fromRdf/js09-in.nq", + "expectErrorCode": "invalid JSON literal", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs10", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "JSON literal (string)", + "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (string).", + "input": "fromRdf/js10-in.nq", + "expect": "fromRdf/js10-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tjs11", + "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], + "name": "JSON literal (null)", + "purpose": "Tests creating property with rdf:type rdf:JSON to a JSON literal (null).", + "input": "fromRdf/js11-in.nq", + "expect": "fromRdf/js11-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tli01", "@type": ["jld:PositiveEvaluationTest", "jld:FromRDFTest"], diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di01-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di01-in.nq new file mode 100644 index 00000000..1731a4da --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di01-in.nq @@ -0,0 +1 @@ + "no language"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di01-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di01-out.jsonld new file mode 100644 index 00000000..4337c461 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di01-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.com/a", + "http://example.org/label": [{"@value": "no language", "@type": "https://www.w3.org/ns/i18n#_rtl"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di02-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di02-in.nq new file mode 100644 index 00000000..2199d8b0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di02-in.nq @@ -0,0 +1 @@ + "en-US"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di02-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di02-out.jsonld new file mode 100644 index 00000000..10fe0a76 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di02-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.com/a", + "http://example.org/label": [{"@value": "en-US", "@type": "https://www.w3.org/ns/i18n#en-us_rtl"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di03-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di03-in.nq new file mode 100644 index 00000000..7bfd7638 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di03-in.nq @@ -0,0 +1,3 @@ + _:cl1 . +_:cl1 "no language" . +_:cl1 "rtl" . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di03-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di03-out.jsonld new file mode 100644 index 00000000..c783ad49 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di03-out.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "_:cl1", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#value": [{"@value": "no language"}], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#direction": [{"@value": "rtl"}] +}, { + "@id": "http://example.com/a", + "http://example.org/label": [{"@id": "_:cl1"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di04-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di04-in.nq new file mode 100644 index 00000000..a5b3041d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di04-in.nq @@ -0,0 +1,4 @@ + _:cl1 . +_:cl1 "en-US" . +_:cl1 "en-us" . +_:cl1 "rtl" . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di04-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di04-out.jsonld new file mode 100644 index 00000000..04d38f5c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di04-out.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "_:cl1", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#value": [{"@value": "en-US"}], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#language": [{"@value": "en-us"}], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#direction": [{"@value": "rtl"}] +}, { + "@id": "http://example.com/a", + "http://example.org/label": [{"@id": "_:cl1"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di05-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di05-in.nq new file mode 100644 index 00000000..1731a4da --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di05-in.nq @@ -0,0 +1 @@ + "no language"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di05-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di05-out.jsonld new file mode 100644 index 00000000..3afb8934 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di05-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.com/a", + "http://example.org/label": [{"@value": "no language", "@direction": "rtl"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di06-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di06-in.nq new file mode 100644 index 00000000..2199d8b0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di06-in.nq @@ -0,0 +1 @@ + "en-US"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di06-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di06-out.jsonld new file mode 100644 index 00000000..fa4c3d64 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di06-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.com/a", + "http://example.org/label": [{"@value": "en-US", "@language": "en-us", "@direction": "rtl"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di07-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di07-in.nq new file mode 100644 index 00000000..7bfd7638 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di07-in.nq @@ -0,0 +1,3 @@ + _:cl1 . +_:cl1 "no language" . +_:cl1 "rtl" . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di07-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di07-out.jsonld new file mode 100644 index 00000000..c783ad49 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di07-out.jsonld @@ -0,0 +1,8 @@ +[{ + "@id": "_:cl1", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#value": [{"@value": "no language"}], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#direction": [{"@value": "rtl"}] +}, { + "@id": "http://example.com/a", + "http://example.org/label": [{"@id": "_:cl1"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di08-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di08-in.nq new file mode 100644 index 00000000..a5b3041d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di08-in.nq @@ -0,0 +1,4 @@ + _:cl1 . +_:cl1 "en-US" . +_:cl1 "en-us" . +_:cl1 "rtl" . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di08-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di08-out.jsonld new file mode 100644 index 00000000..04d38f5c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di08-out.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "_:cl1", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#value": [{"@value": "en-US"}], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#language": [{"@value": "en-us"}], + "http://www.w3.org/1999/02/22-rdf-syntax-ns#direction": [{"@value": "rtl"}] +}, { + "@id": "http://example.com/a", + "http://example.org/label": [{"@id": "_:cl1"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di09-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di09-in.nq new file mode 100644 index 00000000..1731a4da --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di09-in.nq @@ -0,0 +1 @@ + "no language"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di09-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di09-out.jsonld new file mode 100644 index 00000000..4337c461 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di09-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.com/a", + "http://example.org/label": [{"@value": "no language", "@type": "https://www.w3.org/ns/i18n#_rtl"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di10-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di10-in.nq new file mode 100644 index 00000000..2199d8b0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di10-in.nq @@ -0,0 +1 @@ + "en-US"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di10-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di10-out.jsonld new file mode 100644 index 00000000..10fe0a76 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di10-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.com/a", + "http://example.org/label": [{"@value": "en-US", "@type": "https://www.w3.org/ns/i18n#en-us_rtl"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di11-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di11-in.nq new file mode 100644 index 00000000..7bfd7638 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di11-in.nq @@ -0,0 +1,3 @@ + _:cl1 . +_:cl1 "no language" . +_:cl1 "rtl" . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di11-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di11-out.jsonld new file mode 100644 index 00000000..3afb8934 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di11-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.com/a", + "http://example.org/label": [{"@value": "no language", "@direction": "rtl"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di12-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/di12-in.nq new file mode 100644 index 00000000..a5b3041d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di12-in.nq @@ -0,0 +1,4 @@ + _:cl1 . +_:cl1 "en-US" . +_:cl1 "en-us" . +_:cl1 "rtl" . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/di12-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/di12-out.jsonld new file mode 100644 index 00000000..fa4c3d64 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/di12-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example.com/a", + "http://example.org/label": [{"@value": "en-US", "@language": "en-us", "@direction": "rtl"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/js08-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js08-in.nq new file mode 100644 index 00000000..81a90a65 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/js08-in.nq @@ -0,0 +1 @@ + "bareword"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/js09-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js09-in.nq new file mode 100644 index 00000000..55d4020f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/js09-in.nq @@ -0,0 +1 @@ + "[{]"^^ . \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/js10-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js10-in.nq new file mode 100644 index 00000000..836a0d04 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/js10-in.nq @@ -0,0 +1 @@ + "\"string\""^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/js10-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/js10-out.jsonld new file mode 100644 index 00000000..62c5e0ae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/js10-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "http://example.org/vocab#id", + "http://example.org/vocab#string": [{ + "@value": "string", + "@type": "@json" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/js11-in.nq b/core/src/test/resources/json-ld-api-tests/fromRdf/js11-in.nq new file mode 100644 index 00000000..6ae11cce --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/js11-in.nq @@ -0,0 +1 @@ + "null"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/fromRdf/js11-out.jsonld b/core/src/test/resources/json-ld-api-tests/fromRdf/js11-out.jsonld new file mode 100644 index 00000000..b450bece --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/fromRdf/js11-out.jsonld @@ -0,0 +1,7 @@ +[{ + "@id": "http://example.org/vocab#id", + "http://example.org/vocab#null": [{ + "@value": null, + "@type": "@json" + }] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html-manifest.html b/core/src/test/resources/json-ld-api-tests/html-manifest.html new file mode 100644 index 00000000..09811919 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html-manifest.html @@ -0,0 +1,1568 @@ + + + + + +HTML + + + + + +

+ +W3C + +

+

HTML

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +html-manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD Framing Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

compact tests have input, expected and context documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output. Additionally, if the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

expand tests have input and expected documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output.

+ +

Expansion tests may have a expandContext option, which is treated +as an IRI relative to the manifest.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

html tests have input and expected documents and an optional context document.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

flatten tests have input and expected documents and an optional context document.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior.

+ +

Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Test case properties identifying a file (input, output, context, expectContext, and frame) are presumed to have a media type appropriate for the file extension. + +
      +
    • application/ld+json for .jsonld
    • +
    • text/html for .html
    • +
    • application/n-quads for .nq
    • +
  • +
  • The media type for the file associated with the input property can be overridden using the contentType option.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • Some toRdf tests require the use of JSON Canonicalization Scheme to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results using RDF Dataset Isomorphism. These tests are marked using the useJCS option.
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
  • Some tests may have a requires property, indicating some optional behavior described by a test vocabulary term.
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-api.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+
+
baseIri
+
https://w3c.github.io/json-ld-api/tests/
+
+

JSON-LD HTML tests

+
+

+Test sequence: +

+
+
+Test te001 Expands embedded JSON-LD script element +
+
+
+
id
+
#te001
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/e001-in.html +
+
expect
+
+html/e001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tex01 Expands embedded JSON-LD script element (xhtml) +
+
+
+
id
+
#tex01
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in XHTML
+
input
+
+html/e001-in.html +
+
expect
+
+html/e001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
contentType
+
application/xhtml+xml
+
+
+
+
+
+Test te002 Expands first embedded JSON-LD script element +
+
+
+
id
+
#te002
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/e002-in.html +
+
expect
+
+html/e002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te003 Expands targeted JSON-LD script element +
+
+
+
id
+
#te003
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with fragment identifier
+
input
+
+html/e003-in.html#second +
+
expect
+
+html/e003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te004 Expands all embedded JSON-LD script elements with extractAllScripts option +
+
+
+
id
+
#te004
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML extracting all elements
+
input
+
+html/e004-in.html +
+
expect
+
+html/e004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
extractAllScripts
+
true
+
+
+
+
+
+Test te005 Expands multiple embedded JSON-LD script elements where one is an array +
+
+
+
id
+
#te005
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML extracting all elements with array
+
input
+
+html/e005-in.html +
+
expect
+
+html/e005-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
extractAllScripts
+
true
+
+
+
+
+
+Test te006 Expands as empty with no embedded JSON-LD script elements +
+
+
+
id
+
#te006
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML when none exist
+
input
+
+html/e006-in.html +
+
expect
+
+loading document failed +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te007 Expands as empty with no embedded JSON-LD script elements and extractAllScripts +
+
+
+
id
+
#te007
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML when none exist extracting all elements
+
input
+
+html/e007-in.html +
+
expect
+
+html/e007-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
extractAllScripts
+
true
+
+
+
+
+
+Test te010 Expands embedded JSON-LD script element with HTML character references +
+
+
+
id
+
#te010
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with character references
+
input
+
+html/e010-in.html +
+
expect
+
+html/e010-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te011 Errors if no element found at target +
+
+
+
id
+
#te011
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with fragment identifier that doesn't exist
+
input
+
+html/e011-in.html#third +
+
expect
+
+loading document failed +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te012 Errors if targeted element is not a script element +
+
+
+
id
+
#te012
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML which isn't a script element
+
input
+
+html/e012-in.html#first +
+
expect
+
+loading document failed +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te013 Errors if targeted element does not have type application/ld+json +
+
+
+
id
+
#te013
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with wrong type
+
input
+
+html/e013-in.html#first +
+
expect
+
+loading document failed +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te014 Errors if uncommented script text contains comment +
+
+
+
id
+
#te014
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with comments leftover
+
input
+
+html/e014-in.html +
+
expect
+
+invalid script element +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te015 Errors if end comment missing +
+
+
+
id
+
#te015
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with unballanced comments
+
input
+
+html/e015-in.html +
+
expect
+
+invalid script element +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te016 Errors if start comment missing +
+
+
+
id
+
#te016
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with unballanced comments
+
input
+
+html/e016-in.html +
+
expect
+
+invalid script element +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te017 Errors if uncommented script is not valid JSON +
+
+
+
id
+
#te017
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML which is invalid JSON
+
input
+
+html/e017-in.html +
+
expect
+
+invalid script element +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te018 Expands embedded JSON-LD script element relative to document base +
+
+
+
id
+
#te018
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/e018-in.html +
+
expect
+
+html/e018-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te019 Expands embedded JSON-LD script element relative to base option +
+
+
+
id
+
#te019
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/e019-in.html +
+
expect
+
+html/e019-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
base
+
http://a.example.com/doc
+
+
+
+
+
+Test te020 Expands embedded JSON-LD script element relative to HTML base +
+
+
+
id
+
#te020
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/e020-in.html +
+
expect
+
+html/e020-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
base
+
http://a.example.com/doc
+
+
+
+
+
+Test te021 Expands embedded JSON-LD script element relative to relative HTML base +
+
+
+
id
+
#te021
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/e021-in.html +
+
expect
+
+html/e021-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
base
+
http://a.example.com/doc
+
+
+
+
+
+Test te022 Expands targeted JSON-LD script element with fragment and HTML base +
+
+
+
id
+
#te022
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with fragment identifier
+
input
+
+html/e022-in.html#second +
+
expect
+
+html/e022-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc001 Compacts embedded JSON-LD script element +
+
+
+
id
+
#tc001
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/c001-in.html +
+
context
+
+html/c001-context.jsonld +
+
expect
+
+html/c001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc002 Compacts first embedded JSON-LD script element +
+
+
+
id
+
#tc002
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/c002-in.html +
+
context
+
+html/c002-context.jsonld +
+
expect
+
+html/c002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc003 Compacts targeted JSON-LD script element +
+
+
+
id
+
#tc003
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with fragment identifier
+
input
+
+html/c003-in.html#second +
+
context
+
+html/c003-context.jsonld +
+
expect
+
+html/c003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc004 Compacts all embedded JSON-LD script elements with extractAllScripts option +
+
+
+
id
+
#tc004
+
Type
+
jld:PositiveEvaluationTest, jld:CompactTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML extracting all elements
+
input
+
+html/c004-in.html +
+
context
+
+html/c004-context.jsonld +
+
expect
+
+html/c004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
extractAllScripts
+
true
+
+
+
+
+
+Test tf001 Flattens embedded JSON-LD script element +
+
+
+
id
+
#tf001
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/f001-in.html +
+
context
+
+html/f001-context.jsonld +
+
expect
+
+html/f001-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tf002 Flattens first embedded JSON-LD script element +
+
+
+
id
+
#tf002
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/f002-in.html +
+
context
+
+html/f002-context.jsonld +
+
expect
+
+html/f002-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
extractAllScripts
+
false
+
+
+
+
+
+Test tf003 Flattens targeted JSON-LD script element +
+
+
+
id
+
#tf003
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with fragment identifier
+
input
+
+html/f003-in.html#second +
+
context
+
+html/f003-context.jsonld +
+
expect
+
+html/f003-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tf004 Flattens all script elements by default +
+
+
+
id
+
#tf004
+
Type
+
jld:PositiveEvaluationTest, jld:FlattenTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML multiple script elements
+
input
+
+html/f004-in.html +
+
context
+
+html/f004-context.jsonld +
+
expect
+
+html/f004-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr001 Transforms embedded JSON-LD script element +
+
+
+
id
+
#tr001
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/r001-in.html +
+
expect
+
+html/r001-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr002 Transforms first embedded JSON-LD script element +
+
+
+
id
+
#tr002
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/r002-in.html +
+
expect
+
+html/r002-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
extractAllScripts
+
false
+
+
+
+
+
+Test tr003 Transforms targeted JSON-LD script element +
+
+
+
id
+
#tr003
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with fragment identifier
+
input
+
+html/r003-in.html#second +
+
expect
+
+html/r003-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr004 Expands all embedded JSON-LD script elements with extractAllScripts option +
+
+
+
id
+
#tr004
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML extracting all elements
+
input
+
+html/r004-in.html +
+
expect
+
+html/r004-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
extractAllScripts
+
true
+
+
+
+
+
+Test tr005 Expands multiple embedded JSON-LD script elements where one is an array +
+
+
+
id
+
#tr005
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML extracting all elements with array
+
input
+
+html/r005-in.html +
+
expect
+
+html/r005-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
extractAllScripts
+
true
+
+
+
+
+
+Test tr006 Expands as empty with no embedded JSON-LD script elements +
+
+
+
id
+
#tr006
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML when none exist
+
input
+
+html/r006-in.html +
+
expect
+
+html/r006-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr007 Expands as empty with no embedded JSON-LD script elements and extractAllScripts +
+
+
+
id
+
#tr007
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML when none exist extracting all elements
+
input
+
+html/r007-in.html +
+
expect
+
+html/r007-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
extractAllScripts
+
true
+
+
+
+
+
+Test tr010 Expands embedded JSON-LD script element with HTML character references +
+
+
+
id
+
#tr010
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with character references
+
input
+
+html/r010-in.html +
+
expect
+
+html/r010-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr011 Errors if no element found at target +
+
+
+
id
+
#tr011
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with fragment identifier that doesn't exist
+
input
+
+html/r011-in.html#third +
+
expect
+
+loading document failed +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr012 Errors if targeted element is not a script element +
+
+
+
id
+
#tr012
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML which isn't a script element
+
input
+
+html/r012-in.html#first +
+
expect
+
+loading document failed +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr013 Errors if targeted element does not have type application/ld+json +
+
+
+
id
+
#tr013
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with wrong type
+
input
+
+html/r013-in.html#first +
+
expect
+
+loading document failed +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr014 Errors if uncommented script text contains comment +
+
+
+
id
+
#tr014
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with comments leftover
+
input
+
+html/r014-in.html +
+
expect
+
+invalid script element +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr015 Errors if end comment missing +
+
+
+
id
+
#tr015
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with unballanced comments
+
input
+
+html/r015-in.html +
+
expect
+
+invalid script element +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr016 Errors if start comment missing +
+
+
+
id
+
#tr016
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with unballanced comments
+
input
+
+html/r016-in.html +
+
expect
+
+invalid script element +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr017 Errors if uncommented script is not valid JSON +
+
+
+
id
+
#tr017
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML which is invalid JSON
+
input
+
+html/r017-in.html +
+
expect
+
+invalid script element +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr018 Expands embedded JSON-LD script element relative to document base +
+
+
+
id
+
#tr018
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/r018-in.html +
+
expect
+
+html/r018-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tr019 Expands embedded JSON-LD script element relative to base option +
+
+
+
id
+
#tr019
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/r019-in.html +
+
expect
+
+html/r019-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
base
+
http://a.example.com/doc
+
+
+
+
+
+Test tr020 Expands embedded JSON-LD script element relative to HTML base +
+
+
+
id
+
#tr020
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/r020-in.html +
+
expect
+
+html/r020-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
base
+
http://a.example.com/doc
+
+
+
+
+
+Test tr021 Expands embedded JSON-LD script element relative to relative HTML base +
+
+
+
id
+
#tr021
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML
+
input
+
+html/r021-in.html +
+
expect
+
+html/r021-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
base
+
http://a.example.com/doc
+
+
+
+
+
+Test tr022 Expands targeted JSON-LD script element with fragment and HTML base +
+
+
+
id
+
#tr022
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest, jld:HtmlTest
+
Purpose
+
Tests embedded JSON-LD in HTML with fragment identifier
+
input
+
+html/r022-in.html#second +
+
expect
+
+html/r022-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+
+ + diff --git a/core/src/test/resources/json-ld-api-tests/html-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/html-manifest.jsonld new file mode 100644 index 00000000..7a6aae59 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html-manifest.jsonld @@ -0,0 +1,409 @@ +{ + "@context": ["context.jsonld", {"@base": "html-manifest"}], + "@id": "", + "@type": "mf:Manifest", + "name": "HTML", + "description": "JSON-LD HTML tests", + "baseIri": "https://w3c.github.io/json-ld-api/tests/", + "sequence": [{ + "@id": "#te001", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/e001-in.html", + "expect": "html/e001-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tex01", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element (xhtml)", + "purpose": "Tests embedded JSON-LD in XHTML", + "input": "html/e001-in.html", + "expect": "html/e001-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "contentType": "application/xhtml+xml"} + }, { + "@id": "#te002", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands first embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/e002-in.html", + "expect": "html/e002-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te003", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands targeted JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "html/e003-in.html#second", + "expect": "html/e003-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te004", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands all embedded JSON-LD script elements with extractAllScripts option", + "purpose": "Tests embedded JSON-LD in HTML extracting all elements", + "input": "html/e004-in.html", + "expect": "html/e004-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#te005", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands multiple embedded JSON-LD script elements where one is an array", + "purpose": "Tests embedded JSON-LD in HTML extracting all elements with array", + "input": "html/e005-in.html", + "expect": "html/e005-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#te006", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands as empty with no embedded JSON-LD script elements", + "purpose": "Tests embedded JSON-LD in HTML when none exist", + "input": "html/e006-in.html", + "expectErrorCode": "loading document failed", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te007", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands as empty with no embedded JSON-LD script elements and extractAllScripts", + "purpose": "Tests embedded JSON-LD in HTML when none exist extracting all elements", + "input": "html/e007-in.html", + "expect": "html/e007-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#te010", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element with HTML character references", + "purpose": "Tests embedded JSON-LD in HTML with character references", + "input": "html/e010-in.html", + "expect": "html/e010-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te011", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Errors if no element found at target", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier that doesn't exist", + "input": "html/e011-in.html#third", + "expectErrorCode": "loading document failed", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te012", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Errors if targeted element is not a script element", + "purpose": "Tests embedded JSON-LD in HTML which isn't a script element", + "input": "html/e012-in.html#first", + "expectErrorCode": "loading document failed", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te013", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Errors if targeted element does not have type application/ld+json", + "purpose": "Tests embedded JSON-LD in HTML with wrong type", + "input": "html/e013-in.html#first", + "expectErrorCode": "loading document failed", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te014", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Errors if uncommented script text contains comment", + "purpose": "Tests embedded JSON-LD in HTML with comments leftover", + "input": "html/e014-in.html", + "expectErrorCode": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te015", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Errors if end comment missing", + "purpose": "Tests embedded JSON-LD in HTML with unballanced comments", + "input": "html/e015-in.html", + "expectErrorCode": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te016", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Errors if start comment missing", + "purpose": "Tests embedded JSON-LD in HTML with unballanced comments", + "input": "html/e016-in.html", + "expectErrorCode": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te017", + "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Errors if uncommented script is not valid JSON", + "purpose": "Tests embedded JSON-LD in HTML which is invalid JSON", + "input": "html/e017-in.html", + "expectErrorCode": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te018", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element relative to document base", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/e018-in.html", + "expect": "html/e018-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te019", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element relative to base option", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/e019-in.html", + "expect": "html/e019-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} + }, { + "@id": "#te020", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element relative to HTML base", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/e020-in.html", + "expect": "html/e020-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} + }, { + "@id": "#te021", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element relative to relative HTML base", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/e021-in.html", + "expect": "html/e021-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} + }, { + "@id": "#te022", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"], + "name": "Expands targeted JSON-LD script element with fragment and HTML base", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "html/e022-in.html#second", + "expect": "html/e022-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc001", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest", "jld:HtmlTest"], + "name": "Compacts embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/c001-in.html", + "context": "html/c001-context.jsonld", + "expect": "html/c001-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc002", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest", "jld:HtmlTest"], + "name": "Compacts first embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/c002-in.html", + "context": "html/c002-context.jsonld", + "expect": "html/c002-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc003", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest", "jld:HtmlTest"], + "name": "Compacts targeted JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "html/c003-in.html#second", + "context": "html/c003-context.jsonld", + "expect": "html/c003-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc004", + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest", "jld:HtmlTest"], + "name": "Compacts all embedded JSON-LD script elements with extractAllScripts option", + "purpose": "Tests embedded JSON-LD in HTML extracting all elements", + "input": "html/c004-in.html", + "context": "html/c004-context.jsonld", + "expect": "html/c004-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#tf001", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest", "jld:HtmlTest"], + "name": "Flattens embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/f001-in.html", + "context": "html/f001-context.jsonld", + "expect": "html/f001-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tf002", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest", "jld:HtmlTest"], + "name": "Flattens first embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/f002-in.html", + "context": "html/f002-context.jsonld", + "expect": "html/f002-out.jsonld", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": false} + }, { + "@id": "#tf003", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest", "jld:HtmlTest"], + "name": "Flattens targeted JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "html/f003-in.html#second", + "context": "html/f003-context.jsonld", + "expect": "html/f003-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tf004", + "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest", "jld:HtmlTest"], + "name": "Flattens all script elements by default", + "purpose": "Tests embedded JSON-LD in HTML multiple script elements", + "input": "html/f004-in.html", + "context": "html/f004-context.jsonld", + "expect": "html/f004-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr001", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Transforms embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/r001-in.html", + "expect": "html/r001-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr002", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Transforms first embedded JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/r002-in.html", + "expect": "html/r002-out.nq", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": false} + }, { + "@id": "#tr003", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Transforms targeted JSON-LD script element", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "html/r003-in.html#second", + "expect": "html/r003-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr004", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Expands all embedded JSON-LD script elements with extractAllScripts option", + "purpose": "Tests embedded JSON-LD in HTML extracting all elements", + "input": "html/r004-in.html", + "expect": "html/r004-out.nq", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#tr005", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Expands multiple embedded JSON-LD script elements where one is an array", + "purpose": "Tests embedded JSON-LD in HTML extracting all elements with array", + "input": "html/r005-in.html", + "expect": "html/r005-out.nq", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#tr006", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Expands as empty with no embedded JSON-LD script elements", + "purpose": "Tests embedded JSON-LD in HTML when none exist", + "input": "html/r006-in.html", + "expect": "html/r006-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr007", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Expands as empty with no embedded JSON-LD script elements and extractAllScripts", + "purpose": "Tests embedded JSON-LD in HTML when none exist extracting all elements", + "input": "html/r007-in.html", + "expect": "html/r007-out.nq", + "option": {"specVersion": "json-ld-1.1", "extractAllScripts": true} + }, { + "@id": "#tr010", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element with HTML character references", + "purpose": "Tests embedded JSON-LD in HTML with character references", + "input": "html/r010-in.html", + "expect": "html/r010-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr011", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Errors if no element found at target", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier that doesn't exist", + "input": "html/r011-in.html#third", + "expectErrorCode": "loading document failed", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr012", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Errors if targeted element is not a script element", + "purpose": "Tests embedded JSON-LD in HTML which isn't a script element", + "input": "html/r012-in.html#first", + "expectErrorCode": "loading document failed", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr013", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Errors if targeted element does not have type application/ld+json", + "purpose": "Tests embedded JSON-LD in HTML with wrong type", + "input": "html/r013-in.html#first", + "expectErrorCode": "loading document failed", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr014", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Errors if uncommented script text contains comment", + "purpose": "Tests embedded JSON-LD in HTML with comments leftover", + "input": "html/r014-in.html", + "expectErrorCode": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr015", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Errors if end comment missing", + "purpose": "Tests embedded JSON-LD in HTML with unballanced comments", + "input": "html/r015-in.html", + "expectErrorCode": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr016", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Errors if start comment missing", + "purpose": "Tests embedded JSON-LD in HTML with unballanced comments", + "input": "html/r016-in.html", + "expectErrorCode": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr017", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Errors if uncommented script is not valid JSON", + "purpose": "Tests embedded JSON-LD in HTML which is invalid JSON", + "input": "html/r017-in.html", + "expectErrorCode": "invalid script element", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr018", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element relative to document base", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/r018-in.html", + "expect": "html/r018-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tr019", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element relative to base option", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/r019-in.html", + "expect": "html/r019-out.nq", + "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} + }, { + "@id": "#tr020", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element relative to HTML base", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/r020-in.html", + "expect": "html/r020-out.nq", + "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} + }, { + "@id": "#tr021", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Expands embedded JSON-LD script element relative to relative HTML base", + "purpose": "Tests embedded JSON-LD in HTML", + "input": "html/r021-in.html", + "expect": "html/r021-out.nq", + "option": {"specVersion": "json-ld-1.1", "base": "http://a.example.com/doc"} + }, { + "@id": "#tr022", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"], + "name": "Expands targeted JSON-LD script element with fragment and HTML base", + "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", + "input": "html/r022-in.html#second", + "expect": "html/r022-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c001-context.jsonld b/core/src/test/resources/json-ld-api-tests/html/c001-context.jsonld new file mode 100644 index 00000000..c9ee5d89 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c001-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c001-in.html b/core/src/test/resources/json-ld-api-tests/html/c001-in.html new file mode 100644 index 00000000..57328e38 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c001-in.html @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c001-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/c001-out.jsonld new file mode 100644 index 00000000..fa6a4cf0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c001-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "foo": ["bar"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c002-context.jsonld b/core/src/test/resources/json-ld-api-tests/html/c002-context.jsonld new file mode 100644 index 00000000..c9ee5d89 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c002-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c002-in.html b/core/src/test/resources/json-ld-api-tests/html/c002-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c002-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c002-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/c002-out.jsonld new file mode 100644 index 00000000..fa6a4cf0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c002-out.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "foo": ["bar"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c003-context.jsonld b/core/src/test/resources/json-ld-api-tests/html/c003-context.jsonld new file mode 100644 index 00000000..bd58ee54 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c003-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"ex": "http://example.com/"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c003-in.html b/core/src/test/resources/json-ld-api-tests/html/c003-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c003-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c003-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/c003-out.jsonld new file mode 100644 index 00000000..f68d33ae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c003-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.com/"}, + "@graph": [ + {"ex:foo": "foo"}, + {"ex:bar": "bar"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c004-context.jsonld b/core/src/test/resources/json-ld-api-tests/html/c004-context.jsonld new file mode 100644 index 00000000..c68c329c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c004-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "ex": "http://example.com/", + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c004-in.html b/core/src/test/resources/json-ld-api-tests/html/c004-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c004-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/c004-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/c004-out.jsonld new file mode 100644 index 00000000..deede214 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/c004-out.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "ex": "http://example.com/", + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "@graph": [ + {"foo": ["bar"]}, + { + "@graph": [ + {"ex:foo": "foo"}, + {"ex:bar": "bar"} + ] + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e001-in.html b/core/src/test/resources/json-ld-api-tests/html/e001-in.html new file mode 100644 index 00000000..57328e38 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e001-in.html @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e001-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e001-out.jsonld new file mode 100644 index 00000000..e793da70 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e001-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@value": "bar"}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e002-in.html b/core/src/test/resources/json-ld-api-tests/html/e002-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e002-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e002-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e002-out.jsonld new file mode 100644 index 00000000..e793da70 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e002-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@value": "bar"}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e003-in.html b/core/src/test/resources/json-ld-api-tests/html/e003-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e003-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e003-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e003-out.jsonld new file mode 100644 index 00000000..83d36929 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e003-out.jsonld @@ -0,0 +1,4 @@ +[ + {"http://example.com/foo": [{"@value": "foo"}]}, + {"http://example.com/bar": [{"@value": "bar"}]} +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e004-in.html b/core/src/test/resources/json-ld-api-tests/html/e004-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e004-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e004-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e004-out.jsonld new file mode 100644 index 00000000..58be8a87 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e004-out.jsonld @@ -0,0 +1,10 @@ +[ + {"http://example.com/foo": [{"@list": [{"@value": "bar"}]}]}, + { + "@graph": [{ + "http://example.com/foo": [{"@value": "foo"}] + }, { + "http://example.com/bar": [{"@value": "bar"}] + }] + } +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e005-in.html b/core/src/test/resources/json-ld-api-tests/html/e005-in.html new file mode 100644 index 00000000..1c07a03f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e005-in.html @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e005-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e005-out.jsonld new file mode 100644 index 00000000..602ce014 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e005-out.jsonld @@ -0,0 +1,5 @@ +[ + {"http://example.com/foo": [{"@list": [{"@value": "bar"}]}]}, + {"http://example.com/foo": [{"@value": "foo"}]}, + {"http://example.com/bar": [{"@value": "bar"}]} +] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e006-in.html b/core/src/test/resources/json-ld-api-tests/html/e006-in.html new file mode 100644 index 00000000..4301ea4d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e006-in.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e007-in.html b/core/src/test/resources/json-ld-api-tests/html/e007-in.html new file mode 100644 index 00000000..4301ea4d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e007-in.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e007-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e007-out.jsonld new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e007-out.jsonld @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e008-in.html b/core/src/test/resources/json-ld-api-tests/html/e008-in.html new file mode 100644 index 00000000..178034ab --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e008-in.html @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e008-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e008-out.jsonld new file mode 100644 index 00000000..e793da70 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e008-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.com/foo": [{"@list": [{"@value": "bar"}]}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e009-in.html b/core/src/test/resources/json-ld-api-tests/html/e009-in.html new file mode 100644 index 00000000..1a85b642 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e009-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e009-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e009-out.jsonld new file mode 100644 index 00000000..44cc49c8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e009-out.jsonld @@ -0,0 +1,6 @@ +[{ + "http://example/comment-start": [{"@value": ""}], + "http://example/script-start": [{"@value": ""}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e010-in.html b/core/src/test/resources/json-ld-api-tests/html/e010-in.html new file mode 100644 index 00000000..384ea36e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e010-in.html @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e010-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e010-out.jsonld new file mode 100644 index 00000000..f7b5a0ee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e010-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example/foo": [{"@value": "<&>"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e011-in.html b/core/src/test/resources/json-ld-api-tests/html/e011-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e011-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e012-in.html b/core/src/test/resources/json-ld-api-tests/html/e012-in.html new file mode 100644 index 00000000..7700c932 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e012-in.html @@ -0,0 +1,12 @@ + + +
+    {
+      "@context": {
+        "foo": {"@id": "http://example.com/foo", "@container": "@list"}
+      },
+      "foo": [{"@value": "bar"}]
+    }
+    
+ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e013-in.html b/core/src/test/resources/json-ld-api-tests/html/e013-in.html new file mode 100644 index 00000000..4e0d64a4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e013-in.html @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e014-in.html b/core/src/test/resources/json-ld-api-tests/html/e014-in.html new file mode 100644 index 00000000..ceeeff8b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e014-in.html @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e015-in.html b/core/src/test/resources/json-ld-api-tests/html/e015-in.html new file mode 100644 index 00000000..eb0e188a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e015-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e016-in.html b/core/src/test/resources/json-ld-api-tests/html/e016-in.html new file mode 100644 index 00000000..1bc35a18 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e016-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e017-in.html b/core/src/test/resources/json-ld-api-tests/html/e017-in.html new file mode 100644 index 00000000..90a0e2f6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e017-in.html @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e018-in.html b/core/src/test/resources/json-ld-api-tests/html/e018-in.html new file mode 100644 index 00000000..8a644238 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e018-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e018-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e018-out.jsonld new file mode 100644 index 00000000..1006dad1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e018-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/html/e018-in.html", + "http://example.com/foo": [{"@value": "bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e019-in.html b/core/src/test/resources/json-ld-api-tests/html/e019-in.html new file mode 100644 index 00000000..8a644238 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e019-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e019-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e019-out.jsonld new file mode 100644 index 00000000..1617d64f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e019-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://a.example.com/doc", + "http://example.com/foo": [{"@value": "bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e020-in.html b/core/src/test/resources/json-ld-api-tests/html/e020-in.html new file mode 100644 index 00000000..c7fdfb1b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e020-in.html @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e020-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e020-out.jsonld new file mode 100644 index 00000000..f309cd84 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e020-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://a.example.com/base", + "http://example.com/foo": [{"@value": "bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e021-in.html b/core/src/test/resources/json-ld-api-tests/html/e021-in.html new file mode 100644 index 00000000..25b5e3cf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e021-in.html @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e021-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e021-out.jsonld new file mode 100644 index 00000000..f309cd84 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e021-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://a.example.com/base", + "http://example.com/foo": [{"@value": "bar"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e022-in.html b/core/src/test/resources/json-ld-api-tests/html/e022-in.html new file mode 100644 index 00000000..0d18ab9d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e022-in.html @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/e022-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/e022-out.jsonld new file mode 100644 index 00000000..bbfd82eb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/e022-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://a.example.com/base", + "http://example.com/bar": [{"@value": "foo"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f001-context.jsonld b/core/src/test/resources/json-ld-api-tests/html/f001-context.jsonld new file mode 100644 index 00000000..c9ee5d89 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f001-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f001-in.html b/core/src/test/resources/json-ld-api-tests/html/f001-in.html new file mode 100644 index 00000000..57328e38 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f001-in.html @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f001-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/f001-out.jsonld new file mode 100644 index 00000000..b62c9ff4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f001-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "@graph": [{"@id": "_:b0","foo": ["bar"]} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f002-context.jsonld b/core/src/test/resources/json-ld-api-tests/html/f002-context.jsonld new file mode 100644 index 00000000..c9ee5d89 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f002-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f002-in.html b/core/src/test/resources/json-ld-api-tests/html/f002-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f002-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f002-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/f002-out.jsonld new file mode 100644 index 00000000..b62c9ff4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f002-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "@graph": [{"@id": "_:b0","foo": ["bar"]} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f003-context.jsonld b/core/src/test/resources/json-ld-api-tests/html/f003-context.jsonld new file mode 100644 index 00000000..bd58ee54 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f003-context.jsonld @@ -0,0 +1,3 @@ +{ + "@context": {"ex": "http://example.com/"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f003-in.html b/core/src/test/resources/json-ld-api-tests/html/f003-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f003-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f003-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/f003-out.jsonld new file mode 100644 index 00000000..cd0c43e1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f003-out.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"ex": "http://example.com/"}, + "@graph": [ + {"@id": "_:b0", "ex:foo": "foo"}, + {"@id": "_:b1", "ex:bar": "bar"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f004-context.jsonld b/core/src/test/resources/json-ld-api-tests/html/f004-context.jsonld new file mode 100644 index 00000000..c68c329c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f004-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "ex": "http://example.com/", + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f004-in.html b/core/src/test/resources/json-ld-api-tests/html/f004-in.html new file mode 100644 index 00000000..cfac7160 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f004-in.html @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/f004-out.jsonld b/core/src/test/resources/json-ld-api-tests/html/f004-out.jsonld new file mode 100644 index 00000000..e0315dd2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/f004-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "ex": "http://example.com/", + "foo": {"@id": "http://example.com/foo", "@container": "@list"} + }, + "@graph": [ + {"@id": "_:b0", "foo": ["bar"]}, + {"@id": "_:b1", "ex:foo": "foo"}, + {"@id": "_:b2", "ex:bar": "bar"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r001-in.html b/core/src/test/resources/json-ld-api-tests/html/r001-in.html new file mode 100644 index 00000000..57328e38 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r001-in.html @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r001-out.nq b/core/src/test/resources/json-ld-api-tests/html/r001-out.nq new file mode 100644 index 00000000..91e9e279 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r001-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 "bar" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/html/r002-in.html b/core/src/test/resources/json-ld-api-tests/html/r002-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r002-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r002-out.nq b/core/src/test/resources/json-ld-api-tests/html/r002-out.nq new file mode 100644 index 00000000..91e9e279 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r002-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 "bar" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/html/r003-in.html b/core/src/test/resources/json-ld-api-tests/html/r003-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r003-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r003-out.nq b/core/src/test/resources/json-ld-api-tests/html/r003-out.nq new file mode 100644 index 00000000..44f69e9a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r003-out.nq @@ -0,0 +1,2 @@ +_:b0 "foo" . +_:b1 "bar" . diff --git a/core/src/test/resources/json-ld-api-tests/html/r004-in.html b/core/src/test/resources/json-ld-api-tests/html/r004-in.html new file mode 100644 index 00000000..b287ab50 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r004-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r004-out.nq b/core/src/test/resources/json-ld-api-tests/html/r004-out.nq new file mode 100644 index 00000000..79e62936 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r004-out.nq @@ -0,0 +1,5 @@ +_:b3 "foo" _:b2 . +_:b4 "bar" _:b2 . +_:b1 "bar" . +_:b1 . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/html/r005-in.html b/core/src/test/resources/json-ld-api-tests/html/r005-in.html new file mode 100644 index 00000000..1c07a03f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r005-in.html @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r005-out.nq b/core/src/test/resources/json-ld-api-tests/html/r005-out.nq new file mode 100644 index 00000000..7f8960ea --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r005-out.nq @@ -0,0 +1,5 @@ +_:b2 "foo" . +_:b3 "bar" . +_:b1 "bar" . +_:b1 . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/html/r006-in.html b/core/src/test/resources/json-ld-api-tests/html/r006-in.html new file mode 100644 index 00000000..4301ea4d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r006-in.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r006-out.nq b/core/src/test/resources/json-ld-api-tests/html/r006-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld-api-tests/html/r007-in.html b/core/src/test/resources/json-ld-api-tests/html/r007-in.html new file mode 100644 index 00000000..4301ea4d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r007-in.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r007-out.nq b/core/src/test/resources/json-ld-api-tests/html/r007-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld-api-tests/html/r010-in.html b/core/src/test/resources/json-ld-api-tests/html/r010-in.html new file mode 100644 index 00000000..384ea36e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r010-in.html @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r010-out.nq b/core/src/test/resources/json-ld-api-tests/html/r010-out.nq new file mode 100644 index 00000000..5bf520dc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r010-out.nq @@ -0,0 +1 @@ +_:b0 "<&>" . diff --git a/core/src/test/resources/json-ld-api-tests/html/r011-in.html b/core/src/test/resources/json-ld-api-tests/html/r011-in.html new file mode 100644 index 00000000..f18c1dae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r011-in.html @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r012-in.html b/core/src/test/resources/json-ld-api-tests/html/r012-in.html new file mode 100644 index 00000000..7700c932 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r012-in.html @@ -0,0 +1,12 @@ + + +
+    {
+      "@context": {
+        "foo": {"@id": "http://example.com/foo", "@container": "@list"}
+      },
+      "foo": [{"@value": "bar"}]
+    }
+    
+ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r013-in.html b/core/src/test/resources/json-ld-api-tests/html/r013-in.html new file mode 100644 index 00000000..4e0d64a4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r013-in.html @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r014-in.html b/core/src/test/resources/json-ld-api-tests/html/r014-in.html new file mode 100644 index 00000000..ceeeff8b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r014-in.html @@ -0,0 +1,14 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r015-in.html b/core/src/test/resources/json-ld-api-tests/html/r015-in.html new file mode 100644 index 00000000..eb0e188a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r015-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r016-in.html b/core/src/test/resources/json-ld-api-tests/html/r016-in.html new file mode 100644 index 00000000..1bc35a18 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r016-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r017-in.html b/core/src/test/resources/json-ld-api-tests/html/r017-in.html new file mode 100644 index 00000000..90a0e2f6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r017-in.html @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r018-in.html b/core/src/test/resources/json-ld-api-tests/html/r018-in.html new file mode 100644 index 00000000..8a644238 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r018-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r018-out.nq b/core/src/test/resources/json-ld-api-tests/html/r018-out.nq new file mode 100644 index 00000000..d9ad2af0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r018-out.nq @@ -0,0 +1 @@ + "bar" . diff --git a/core/src/test/resources/json-ld-api-tests/html/r019-in.html b/core/src/test/resources/json-ld-api-tests/html/r019-in.html new file mode 100644 index 00000000..8a644238 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r019-in.html @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r019-out.nq b/core/src/test/resources/json-ld-api-tests/html/r019-out.nq new file mode 100644 index 00000000..478fe402 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r019-out.nq @@ -0,0 +1 @@ + "bar" . diff --git a/core/src/test/resources/json-ld-api-tests/html/r020-in.html b/core/src/test/resources/json-ld-api-tests/html/r020-in.html new file mode 100644 index 00000000..c7fdfb1b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r020-in.html @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r020-out.nq b/core/src/test/resources/json-ld-api-tests/html/r020-out.nq new file mode 100644 index 00000000..70ac5819 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r020-out.nq @@ -0,0 +1 @@ + "bar" . diff --git a/core/src/test/resources/json-ld-api-tests/html/r021-in.html b/core/src/test/resources/json-ld-api-tests/html/r021-in.html new file mode 100644 index 00000000..25b5e3cf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r021-in.html @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r021-out.nq b/core/src/test/resources/json-ld-api-tests/html/r021-out.nq new file mode 100644 index 00000000..70ac5819 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r021-out.nq @@ -0,0 +1 @@ + "bar" . diff --git a/core/src/test/resources/json-ld-api-tests/html/r022-in.html b/core/src/test/resources/json-ld-api-tests/html/r022-in.html new file mode 100644 index 00000000..0d18ab9d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r022-in.html @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/html/r022-out.nq b/core/src/test/resources/json-ld-api-tests/html/r022-out.nq new file mode 100644 index 00000000..92a31b30 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/html/r022-out.nq @@ -0,0 +1 @@ + "foo" . diff --git a/core/src/test/resources/json-ld-api-tests/index.html b/core/src/test/resources/json-ld-api-tests/index.html new file mode 120000 index 00000000..c6687b4c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/index.html @@ -0,0 +1 @@ +manifest.html \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/manifest.html b/core/src/test/resources/json-ld-api-tests/manifest.html new file mode 100644 index 00000000..fb7f792c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/manifest.html @@ -0,0 +1,174 @@ + + + + + +JSON-LD Test Suite + + + + + +

+ +W3C + +

+

JSON-LD Test Suite

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD Framing Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

compact tests have input, expected and context documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output. Additionally, if the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

expand tests have input and expected documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output.

+ +

Expansion tests may have a expandContext option, which is treated +as an IRI relative to the manifest.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

html tests have input and expected documents and an optional context document.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

flatten tests have input and expected documents and an optional context document.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

remote-doc tests have input and expected documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+ +

Options may be present to describe the intended HTTP behavior:

+ +
    +
  • contentType: Content-Type of the returned HTTP payload, defaults to the appropriate type for the input suffix.
  • +
  • httpStatus: The HTTP status code to return, defaults to 200.
  • +
  • redirectTo: The HTTP Content-Location header value.
  • +
  • httpLink: The HTTP Link header value.
  • +
+

fromRdf tests have input and expected documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output.

+

toRdf tests have input and expected documents.

+ +

Some tests require the use of JSON Canonicalization Scheme to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results. These tests are marked using the useJCS option.

+ +

The expected results can be compared using RDF Dataset Isomorphism.

+ +

ToRdf tests may have a expandContext option, which is treated +as an IRI relative to the manifest.

+

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior.

+ +

Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Test case properties identifying a file (input, output, context, expectContext, and frame) are presumed to have a media type appropriate for the file extension. + +
      +
    • application/ld+json for .jsonld
    • +
    • text/html for .html
    • +
    • application/n-quads for .nq
    • +
  • +
  • The media type for the file associated with the input property can be overridden using the contentType option.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • Some toRdf tests require the use of JSON Canonicalization Scheme to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results using RDF Dataset Isomorphism. These tests are marked using the useJCS option.
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
  • Some tests may have a requires property, indicating some optional behavior described by a test vocabulary term.
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-api.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+

This manifest loads additional manifests for specific behavior tests

+
+

+Test sequence: +

+ +
+ + diff --git a/core/src/test/resources/json-ld-api-tests/manifest.jsonld b/core/src/test/resources/json-ld-api-tests/manifest.jsonld index fd7dfce2..10c8cb7c 100644 --- a/core/src/test/resources/json-ld-api-tests/manifest.jsonld +++ b/core/src/test/resources/json-ld-api-tests/manifest.jsonld @@ -1,5 +1,5 @@ { - "@context": "context.jsonld", + "@context": ["context.jsonld", {"@base": "manifest"}], "@id": "", "@type": "mf:Manifest", "name": "JSON-LD Test Suite", @@ -10,6 +10,7 @@ "flatten-manifest.jsonld", "fromRdf-manifest.jsonld", "remote-doc-manifest.jsonld", - "toRdf-manifest.jsonld" + "toRdf-manifest.jsonld", + "html-manifest.jsonld" ] } diff --git a/core/src/test/resources/json-ld-api-tests/mk_vocab.rb b/core/src/test/resources/json-ld-api-tests/mk_vocab.rb index 402890a7..4be1191b 100755 --- a/core/src/test/resources/json-ld-api-tests/mk_vocab.rb +++ b/core/src/test/resources/json-ld-api-tests/mk_vocab.rb @@ -26,6 +26,7 @@ ontology: compacted['@graph'].detect {|o| o['@id'] == "https://w3c.github.io/json-ld-api/tests/vocab#"}, classes: compacted['@graph'].select {|o| o['@type'] == "rdfs:Class"}.sort_by {|o| o['rdfs:label']}, properties: compacted['@graph'].select {|o| o['@type'] == "rdf:Property"}.sort_by {|o| o['rdfs:label']}, + requirements: compacted['@graph'].select {|o| o['@type'] == "mf:Requirement"}.sort_by {|o| o['rdfs:label']}, source: compacted.to_json(JSON::LD::JSON_STATE) ) File.open("vocab.html", "w") {|fh| fh.write html} diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.html b/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.html new file mode 100644 index 00000000..3306022e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.html @@ -0,0 +1,622 @@ + + + + + +Remote document + + + + + +

+ +W3C + +

+

Remote document

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +remote-doc-manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD Framing Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

expand tests have input and expected documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output.

+ +

Expansion tests may have a expandContext option, which is treated +as an IRI relative to the manifest.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+

remote-doc tests have input and expected documents.

+ +

The expected results can be compared using JSON-LD object comparison with the processor output.

+ +

For NegativeEvaluationTests, the result is a string associated with the expected error code.

+ +

Options may be present to describe the intended HTTP behavior:

+ +
    +
  • contentType: Content-Type of the returned HTTP payload, defaults to the appropriate type for the input suffix.
  • +
  • httpStatus: The HTTP status code to return, defaults to 200.
  • +
  • redirectTo: The HTTP Content-Location header value.
  • +
  • httpLink: The HTTP Link header value.
  • +
+

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior.

+ +

Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Test case properties identifying a file (input, output, context, expectContext, and frame) are presumed to have a media type appropriate for the file extension. + +
      +
    • application/ld+json for .jsonld
    • +
    • text/html for .html
    • +
    • application/n-quads for .nq
    • +
  • +
  • The media type for the file associated with the input property can be overridden using the contentType option.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • Some toRdf tests require the use of JSON Canonicalization Scheme to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results using RDF Dataset Isomorphism. These tests are marked using the useJCS option.
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
  • Some tests may have a requires property, indicating some optional behavior described by a test vocabulary term.
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-api.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+
+
baseIri
+
https://w3c.github.io/json-ld-api/tests/
+
+

JSON-LD Remote Document tests.

+
+

+Test sequence: +

+
+
+Test t0001 load JSON-LD document +
+
+
+
id
+
#t0001
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Document loader loads a JSON-LD document.
+
input
+
+remote-doc/0001-in.jsonld +
+
expect
+
+remote-doc/0001-out.jsonld +
+
+
+
+Test t0002 load JSON document +
+
+
+
id
+
#t0002
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Document loader loads a JSON document.
+
input
+
+remote-doc/0002-in.json +
+
expect
+
+remote-doc/0002-out.jsonld +
+
+
+
+Test t0003 load JSON document with extension-type +
+
+
+
id
+
#t0003
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Document loader loads a JSON document having an extension mime-subtype.
+
input
+
+remote-doc/0003-in.jldt +
+
expect
+
+remote-doc/0003-out.jsonld +
+
Options
+
+
+
contentType
+
application/jldTest+json
+
+
+
+
+
+Test t0004 loading an unknown type raises loading document failed +
+
+
+
id
+
#t0004
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Loading a document with a non-JSON mime type raises loading document failed
+
input
+
+remote-doc/0004-in.jldte +
+
expect
+
+loading document failed +
+
Options
+
+
+
contentType
+
application/jldTest
+
+
+
+
+
+Test t0005 Load JSON-LD through 301 redirect +
+
+
+
id
+
#t0005
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Loading a document with a redirect should use the redirected URL as document base
+
input
+
+remote-doc/0005-in.jsonld +
+
expect
+
+remote-doc/0001-out.jsonld +
+
Options
+
+
+
redirectTo
+
remote-doc/0001-in.jsonld
+
httpStatus
+
301
+
+
+
+
+
+Test t0006 Load JSON-LD through 303 redirect +
+
+
+
id
+
#t0006
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Loading a document with a redirect should use the redirected URL as document base
+
input
+
+remote-doc/0006-in.jsonld +
+
expect
+
+remote-doc/0001-out.jsonld +
+
Options
+
+
+
redirectTo
+
remote-doc/0001-in.jsonld
+
httpStatus
+
303
+
+
+
+
+
+Test t0007 Load JSON-LD through 307 redirect +
+
+
+
id
+
#t0007
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Loading a document with a redirect should use the redirected URL as document base
+
input
+
+remote-doc/0007-in.jsonld +
+
expect
+
+remote-doc/0001-out.jsonld +
+
Options
+
+
+
redirectTo
+
remote-doc/0001-in.jsonld
+
httpStatus
+
307
+
+
+
+
+
+Test t0008 Non-existant file (404) +
+
+
+
id
+
#t0008
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Loading a non-existant file raises loading document failed error
+
input
+
+remote-doc/missing-in.jsonld +
+
expect
+
+loading document failed +
+
+
+
+Test t0009 load JSON-LD document with link +
+
+
+
id
+
#t0009
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
If a context is specified in a link header, it is not used for JSON-LD.
+
input
+
+remote-doc/0009-in.jsonld +
+
expect
+
+remote-doc/0009-out.jsonld +
+
Options
+
+
+
httpLink
+
<0009-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"
+
+
+
+
+
+Test t0010 load JSON document with link +
+
+
+
id
+
#t0010
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
If a context is specified in a link header, it is used for JSON.
+
input
+
+remote-doc/0010-in.json +
+
expect
+
+remote-doc/0010-out.jsonld +
+
Options
+
+
+
httpLink
+
<0010-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"
+
+
+
+
+
+Test t0011 load JSON document with extension-type with link +
+
+
+
id
+
#t0011
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
If a context is specified in a link header, it is used for a JSON extension type.
+
input
+
+remote-doc/0011-in.jldt +
+
expect
+
+remote-doc/0011-out.jsonld +
+
Options
+
+
+
contentType
+
application/jldTest+json
+
httpLink
+
<0011-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"
+
+
+
+
+
+Test t0012 Multiple context link headers +
+
+
+
id
+
#t0012
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Loading a file when multiple link headers are returned is an error
+
input
+
+remote-doc/0012-in.json +
+
expect
+
+multiple context link headers +
+
Options
+
+
+
httpLink
+
["<0012-context1.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\"", "<0012-context2.jsonld>; rel=\"http://www.w3.org/ns/json-ld#context\""]
+
+
+
+
+
+Test t0013 load JSON document with link to HTML document +
+
+
+
id
+
#t0013
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
If a context is specified in a link header, it is used for JSON, extracting from HTML.
+
input
+
+remote-doc/0013-in.json +
+
expect
+
+remote-doc/0013-out.jsonld +
+
Options
+
+
+
httpLink
+
<0013-context.html>; rel="http://www.w3.org/ns/json-ld#context"
+
+
+
+
+
+Test tla01 Redirects if type is text/html +
+
+
+
id
+
#tla01
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Load an alternate link if type is not ld+json and rel=alternate.
+
input
+
+remote-doc/la01-in.html +
+
expect
+
+remote-doc/la01-out.jsonld +
+
Options
+
+
+
httpLink
+
; rel="alternate"; type="application/ld+json"
+
+
+
+
+
+Test tla02 Does not redirect if type is application/ld+json +
+
+
+
id
+
#tla02
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Load an alternate link if type is not ld+json and rel=alternate.
+
input
+
+remote-doc/la02-in.jsonld +
+
expect
+
+remote-doc/la02-out.jsonld +
+
Options
+
+
+
httpLink
+
; rel="alternate"; type="application/ld+json"
+
+
+
+
+
+Test tla03 Does not redirect if link type is not application/ld+json +
+
+
+
id
+
#tla03
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Load an alternate link if type is not ld+json and rel=alternate.
+
input
+
+remote-doc/la03-in.json +
+
expect
+
+remote-doc/la03-out.jsonld +
+
Options
+
+
+
httpLink
+
; rel="alternate"; type="application/json"
+
+
+
+
+
+Test tla04 Does not redirect if type is application/json +
+
+
+
id
+
#tla04
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Load an alternate link if type is not ld+json and rel=alternate.
+
input
+
+remote-doc/la04-in.json +
+
expect
+
+remote-doc/la04-out.jsonld +
+
Options
+
+
+
httpLink
+
; rel="alternate"; type="application/ld+json"
+
+
+
+
+
+Test tla05 Base is that of the alternate URL +
+
+
+
id
+
#tla05
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Load an alternate link if type is not ld+json and rel=alternate.
+
input
+
+remote-doc/la05-in.html +
+
expect
+
+remote-doc/la05-out.jsonld +
+
Options
+
+
+
httpLink
+
; rel="alternate"; type="application/ld+json"
+
+
+
+
+
+
+ + diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.jsonld index d2086514..4d58ea3a 100644 --- a/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.jsonld +++ b/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.jsonld @@ -1,9 +1,9 @@ { - "@context": "https://w3c.github.io/json-ld-api/tests/context.jsonld", + "@context": ["context.jsonld", {"@base": "remote-doc-manifest"}], "@id": "", "@type": "mf:Manifest", "name": "Remote document", - "description": "Tests appropriate document loading behavior as defined in the API", + "description": "JSON-LD Remote Document tests.", "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { @@ -39,7 +39,7 @@ "contentType": "application/jldTest" }, "input": "remote-doc/0004-in.jldte", - "expect": "loading document failed" + "expectErrorCode": "loading document failed" }, { "@id": "#t0005", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -79,7 +79,7 @@ "name": "Non-existant file (404)", "purpose": "Loading a non-existant file raises loading document failed error", "input": "remote-doc/missing-in.jsonld", - "expect": "loading document failed" + "expectErrorCode": "loading document failed" }, { "@id": "#t0009", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -123,7 +123,7 @@ ] }, "input": "remote-doc/0012-in.json", - "expect": "multiple context link headers" + "expectErrorCode": "multiple context link headers" }, { "@id": "#t0013", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -134,6 +134,56 @@ }, "input": "remote-doc/0013-in.json", "expect": "remote-doc/0013-out.jsonld" + }, { + "@id": "#tla01", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Redirects if type is text/html", + "purpose": "Load an alternate link if type is not ld+json and rel=alternate.", + "option": { + "httpLink": "; rel=\"alternate\"; type=\"application/ld+json\"" + }, + "input": "remote-doc/la01-in.html", + "expect": "remote-doc/la01-out.jsonld" + }, { + "@id": "#tla02", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Does not redirect if type is application/ld+json", + "purpose": "Load an alternate link if type is not ld+json and rel=alternate.", + "option": { + "httpLink": "; rel=\"alternate\"; type=\"application/ld+json\"" + }, + "input": "remote-doc/la02-in.jsonld", + "expect": "remote-doc/la02-out.jsonld" + }, { + "@id": "#tla03", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Does not redirect if link type is not application/ld+json", + "purpose": "Load an alternate link if type is not ld+json and rel=alternate.", + "option": { + "httpLink": "; rel=\"alternate\"; type=\"application/json\"" + }, + "input": "remote-doc/la03-in.json", + "expect": "remote-doc/la03-out.jsonld" + }, { + "@id": "#tla04", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Does not redirect if type is application/json", + "purpose": "Load an alternate link if type is not ld+json and rel=alternate.", + "option": { + "httpLink": "; rel=\"alternate\"; type=\"application/ld+json\"" + }, + "input": "remote-doc/la04-in.json", + "expect": "remote-doc/la04-out.jsonld" + }, { + "@id": "#tla05", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Base is that of the alternate URL", + "purpose": "Load an alternate link if type is not ld+json and rel=alternate.", + "option": { + "httpLink": "; rel=\"alternate\"; type=\"application/ld+json\"" + }, + "input": "remote-doc/la05-in.html", + "expect": "remote-doc/la05-out.jsonld" } ] } diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la01-alternate.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/la01-alternate.jsonld new file mode 100644 index 00000000..672295e9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la01-alternate.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/" + }, + "content": "alternate" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la01-in.html b/core/src/test/resources/json-ld-api-tests/remote-doc/la01-in.html new file mode 100644 index 00000000..228b26c1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la01-in.html @@ -0,0 +1,16 @@ + + + Content to be skipped + + + +

This content should be skipped

+ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la01-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/la01-out.jsonld new file mode 100644 index 00000000..a5d1e558 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la01-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/content": [{"@value": "alternate"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la02-alternate.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/la02-alternate.jsonld new file mode 100644 index 00000000..672295e9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la02-alternate.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/" + }, + "content": "alternate" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la02-in.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/la02-in.jsonld new file mode 100644 index 00000000..05fcb19a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la02-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/" + }, + "content": "not skipped" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la02-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/la02-out.jsonld new file mode 100644 index 00000000..e2c788c0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la02-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/content": [{"@value": "not skipped"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la03-alternate.json b/core/src/test/resources/json-ld-api-tests/remote-doc/la03-alternate.json new file mode 100644 index 00000000..672295e9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la03-alternate.json @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/" + }, + "content": "alternate" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la03-in.json b/core/src/test/resources/json-ld-api-tests/remote-doc/la03-in.json new file mode 100644 index 00000000..05fcb19a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la03-in.json @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/" + }, + "content": "not skipped" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la03-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/la03-out.jsonld new file mode 100644 index 00000000..e2c788c0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la03-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/content": [{"@value": "not skipped"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la04-alternate.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/la04-alternate.jsonld new file mode 100644 index 00000000..672295e9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la04-alternate.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/" + }, + "content": "alternate" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la04-in.json b/core/src/test/resources/json-ld-api-tests/remote-doc/la04-in.json new file mode 100644 index 00000000..05fcb19a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la04-in.json @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/" + }, + "content": "not skipped" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la04-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/la04-out.jsonld new file mode 100644 index 00000000..e2c788c0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la04-out.jsonld @@ -0,0 +1,3 @@ +[{ + "http://example.org/content": [{"@value": "not skipped"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la05-alternate.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/la05-alternate.jsonld new file mode 100644 index 00000000..8039161a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la05-alternate.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/" + }, + "@id": "", + "content": "alternate" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la05-in.html b/core/src/test/resources/json-ld-api-tests/remote-doc/la05-in.html new file mode 100644 index 00000000..4fb2995e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la05-in.html @@ -0,0 +1,17 @@ + + + Content to be skipped + + + +

This content should be skipped

+ + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc/la05-out.jsonld b/core/src/test/resources/json-ld-api-tests/remote-doc/la05-out.jsonld new file mode 100644 index 00000000..15871d59 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/remote-doc/la05-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "https://w3c.github.io/json-ld-api/tests/remote-doc/la05-alternate.jsonld", + "http://example.org/content": [{"@value": "alternate"}] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/template.haml b/core/src/test/resources/json-ld-api-tests/template.haml new file mode 100644 index 00000000..4d50a1df --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/template.haml @@ -0,0 +1,208 @@ +-# This template is used for generating the HTML representation of the test suite manifests. +- require 'cgi' +- require 'digest' +!!! 5 +%html + %head + %meta{"http-equiv" => "Content-Type", :content => "text/html;charset=utf-8"} + %title + = manifest['name'] + %link{rel: "alternate", href: "#{json_file}"} + %link{rel: "stylesheet", href: "https://www.w3.org/StyleSheets/TR/base"} + %body + %p + %a{href: "http://www.w3.org/"} + %img{src: "http://www.w3.org/Icons/w3c_home", alt: "W3C", height: 48, width: 72} + %h1<=manifest['name'] + :markdown + This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at + [#{json_file}](#{json_file}). The manifest vocabulary is described in the [JSON-LD Test Vocabulary](vocab.html) ([JSON-LD](vocab.jsonld), [Turtle](vocab.ttl)) and is based on the [RDF Test Vocabulary](http://www.w3.org/TR/2014/NOTE-rdf11-testcases-20140225/). + + The JSON-LD Test Suite is a set of tests that can + be used to verify JSON-LD Processor conformance to the set of specifications + that constitute JSON-LD. The goal of the suite is to provide an easy and + comprehensive JSON-LD testing solution for developers creating JSON-LD Processors. + + The [JSON-LD Framing Specification](https://w3.org/TR/json-ld11-framing) maintains its own + [test suite](https://w3c.github.io/json-ld-framing/tests/). + + ## General instructions for running the JSON-LD Test suites + + - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:CompactTest')} + :markdown + ### [compact](compact-manifest.jsonld) tests have _input_, _expected_ and _context_ documents. + + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. Additionally, if the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. + + - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:ExpandTest')} + :markdown + ### [expand](expand-manifest.jsonld) tests have _input_ and _expected_ documents. + + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. + + Expansion tests may have a `expandContext` option, which is treated + as an IRI relative to the manifest. + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. + + - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:HtmlTest')} + :markdown + ### [html](html.jsonld) tests have _input_ and _expected_ documents and an optional _context_ document. + + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. + + - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:FlattenTest')} + :markdown + ### [flatten](flatten-manifest.jsonld) tests have _input_ and _expected_ documents and an optional _context_ document. + + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. + + - if manifest['sequence'].first.is_a?(String) || manifest['name'].include?('Remote') + :markdown + ### [remote-doc](remote-doc-manifest.jsonld) tests have _input_ and _expected_ documents. + + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. + + For *NegativeEvaluationTests*, the result is a string associated with the expected error code. + + Options may be present to describe the intended HTTP behavior: + + * _contentType_: Content-Type of the returned HTTP payload, defaults to the appropriate type for the _input_ suffix. + * _httpStatus_: The HTTP status code to return, defaults to `200`. + * _redirectTo_: The HTTP _Content-Location_ header value. + * _httpLink_: The HTTP _Link_ header value. + + - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:FromRdfTest')} + :markdown + ### [fromRdf](fromRdf-manifest.jsonld) tests have _input_ and _expected_ documents. + + The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. + + - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:ToRdfTest')} + :markdown + ### [toRdf](toRdf-manifest.jsonld) tests have _input_ and _expected_ documents. + + Some tests require the use of [JSON Canonicalization Scheme](https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-05) to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results. These tests are marked using the `useJCS` option. + + The _expected_ results can be compared using [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism). + + ToRdf tests may have a `expandContext` option, which is treated + as an IRI relative to the manifest. + + :markdown + Unless `processingMode` is set explicitly in a test entry, `processingMode` is compatible with both `json-ld-1.0` and `json-ld-1.1`. + + Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference. + + Developers are encouraged to make a local copy of the test suite (available on [GitHub](http://github.com/w3c/json-ld-api/tests/)) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry. + +

JSON-LD Object comparison

+ + If algorithms are invoked with the `ordered` flag set to `true`, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for _fromRdf_, unless the input quads are also ordered). If `ordered` is `false`, then the following algorithm will ensure arrays other than values of `@list` are compared without regard to order. + + JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality. + + * JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively. + * JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is `@list`). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of `@list`, the order of these items is significant. + * JSON values are compared using strict equality. + * Values of `@language`, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way. + + Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have `@container: @list` and the comparison algorithm will not consider ordering significant. + + # Running tests + + The top-level [manifest](manifest.jsonld) references the specific test manifests, which in turn reference each test associated with a particular type of behavior. + + Implementations create their own infrastructure for running the test suite. In particular, the following should be considered: + + * _remote-doc_ tests will likely not return expected HTTP headers, so the _options_ should be used to determine what headers are associated with the input document. + * Test case properties identifying a file (_input_, _output_, _context_, _expectContext_, and _frame_) are presumed to have a media type appropriate for the file extension. + * `application/ld+json` for `.jsonld` + * `text/html` for `.html` + * `application/n-quads` for `.nq` + * The media type for the file associated with the _input_ property can be overridden using the `contentType` option. + * Some algorithms, particularly _fromRdf_, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of `@list`. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition). + * Some _toRdf_ tests require the use of [JSON Canonicalization Scheme](https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-05) to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results using [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism). These tests are marked using the `useJCS` option. + * When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from `_:b0` may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and _expected_ to datsets to extract a bijective mapping of blank node labels between the two datasets as described in [RDF Dataset Isomorphism](https://www.w3.org/TR/rdf11-concepts/#dfn-dataset-isomorphism)). + * Some tests may have a `requires` property, indicating some optional behavior described by a test vocabulary term. + + # Contributing Tests + + If you would like to contribute a new test or a fix to an existing test, + please follow these steps: + + 1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, + that you will be creating a new test or fix and the purpose of the + change. + 2. Clone the git repository: git://github.com/w3c/json-ld-api.git + 3. Make your changes and submit them via github, or via a 'git format-patch' + to the [JSON-LD Working Group mailing list](mailto:json-ld-wg@w3.org). + + ## Distribution + Distributed under the [W3C Test Suite License](http://www.w3.org/Consortium/Legal/2008/04-testsuite-license). To contribute to a W3C Test Suite, see the [policies and contribution forms](http://www.w3.org/2004/10/27-testcases). + + ## Disclaimer + UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF. + + - if manifest['baseIri'] + %dl + %dt="baseIri" + %dd=manifest['baseIri'] + %p=manifest['description'] + - if manifest['sequence'] + %section + %h2 + Test sequence: + - if manifest['sequence'].first.is_a?(String) + %ul + - manifest['sequence'].each do |man| + - man_name = man.sub('.jsonld', '') + %li + %a{href: "#{man_name}.html"}<=man_name + - else + %dl.entries + - manifest['sequence'].each do |entry| + %dt{id: entry['@id'][1..-1]} + ="Test #{entry['@id'][1..-1]} #{entry['name']}" + %dd + %dl.entry + %dt="id" + %dd=entry['@id'] + %dt="Type" + %dd="#{Array(entry['@type']).join(', ')}" + %dt="Purpose" + %dd=entry['purpose'] + %dt="input" + %dd + %a{href: entry['input']}=entry['input'] + - if entry['context'] + %dt="context" + %dd + %a{href: entry['context']}=entry['context'] + - if entry['frame'] + %dt="frame" + %dd + %a{href: entry['frame']}=entry['frame'] + %dt="expect" + %dd + - if entry['@type'].to_s.include?('Negative') + =entry['expectErrorCode'] + - else + %a{href: entry['expect']}=entry['expect'] + - if entry['option'] + %dt="Options" + %dd + %dl.options + - entry['option'].each do |k, v| + %dt=k + %dd=v + - if entry['requires'] + %dt="Requires" + %dd= entry['requires'] diff --git a/core/src/test/resources/json-ld-api-tests/toRdf-manifest.html b/core/src/test/resources/json-ld-api-tests/toRdf-manifest.html new file mode 100644 index 00000000..08e54e57 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf-manifest.html @@ -0,0 +1,11500 @@ + + + + + +Transform JSON-LD to RDF + + + + + +

+ +W3C + +

+

Transform JSON-LD to RDF

+

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at +toRdf-manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

+ +

The JSON-LD Test Suite is a set of tests that can +be used to verify JSON-LD Processor conformance to the set of specifications +that constitute JSON-LD. The goal of the suite is to provide an easy and +comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

+ +

The JSON-LD Framing Specification maintains its own +test suite.

+ +

General instructions for running the JSON-LD Test suites

+ +

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

+ +

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

+ +

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

+ +

JSON-LD Object comparison

+ +

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

+ +

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

+ +
    +
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • +
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • +
  • JSON values are compared using strict equality.
  • +
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • +
+ +

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

+ +

Running tests

+ +

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior.

+ +

Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

+ +
    +
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • +
  • Test case properties identifying a file (input, output, context, expectContext, and frame) are presumed to have a media type appropriate for the file extension. + +
      +
    • application/ld+json for .jsonld
    • +
    • text/html for .html
    • +
    • application/n-quads for .nq
    • +
  • +
  • The media type for the file associated with the input property can be overridden using the contentType option.
  • +
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • +
  • Some toRdf tests require the use of JSON Canonicalization Scheme to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results using RDF Dataset Isomorphism. These tests are marked using the useJCS option.
  • +
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • +
  • Some tests may have a requires property, indicating some optional behavior described by a test vocabulary term.
  • +
+ +

Contributing Tests

+ +

If you would like to contribute a new test or a fix to an existing test, +please follow these steps:

+ +
    +
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, +that you will be creating a new test or fix and the purpose of the +change.
  2. +
  3. Clone the git repository: git://github.com/w3c/json-ld-api.git
  4. +
  5. Make your changes and submit them via github, or via a 'git format-patch' +to the JSON-LD Working Group mailing list.
  6. +
+ +

Distribution

+ +

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

+ +

Disclaimer

+ +

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

+
+
baseIri
+
https://w3c.github.io/json-ld-api/tests/
+
+

JSON-LD To RDF tests.

+
+

+Test sequence: +

+
+
+Test t0001 Plain literal with URIs +
+
+
+
id
+
#t0001
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests generation of a triple using full URIs and a plain literal.
+
input
+
+toRdf/0001-in.jsonld +
+
expect
+
+toRdf/0001-out.nq +
+
+
+
+Test t0002 Plain literal with CURIE from default context +
+
+
+
id
+
#t0002
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests generation of a triple using a CURIE defined in the default context.
+
input
+
+toRdf/0002-in.jsonld +
+
expect
+
+toRdf/0002-out.nq +
+
+
+
+Test t0003 Default subject is BNode +
+
+
+
id
+
#t0003
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that a BNode is created if no explicit subject is set.
+
input
+
+toRdf/0003-in.jsonld +
+
expect
+
+toRdf/0003-out.nq +
+
+
+
+Test t0004 Literal with language tag +
+
+
+
id
+
#t0004
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that a plain literal is created with a language tag.
+
input
+
+toRdf/0004-in.jsonld +
+
expect
+
+toRdf/0004-out.nq +
+
+
+
+Test t0005 Extended character set literal +
+
+
+
id
+
#t0005
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that a literal may be created using extended characters.
+
input
+
+toRdf/0005-in.jsonld +
+
expect
+
+toRdf/0005-out.nq +
+
+
+
+Test t0006 Typed literal +
+
+
+
id
+
#t0006
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests creation of a literal with a datatype.
+
input
+
+toRdf/0006-in.jsonld +
+
expect
+
+toRdf/0006-out.nq +
+
+
+
+Test t0007 Tests 'a' generates rdf:type and object is implicit IRI +
+
+
+
id
+
#t0007
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verify that 'a' is an alias for rdf:type, and the object is created as an IRI.
+
input
+
+toRdf/0007-in.jsonld +
+
expect
+
+toRdf/0007-out.nq +
+
+
+
+Test t0008 Test prefix defined in @context +
+
+
+
id
+
#t0008
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Generate an IRI using a prefix defined within an @context.
+
input
+
+toRdf/0008-in.jsonld +
+
expect
+
+toRdf/0008-out.nq +
+
+
+
+Test t0009 Test using an empty suffix +
+
+
+
id
+
#t0009
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
An empty suffix may be used.
+
input
+
+toRdf/0009-in.jsonld +
+
expect
+
+toRdf/0009-out.nq +
+
+
+
+Test t0010 Test object processing defines object +
+
+
+
id
+
#t0010
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
A property referencing an associative array gets object from subject of array.
+
input
+
+toRdf/0010-in.jsonld +
+
expect
+
+toRdf/0010-out.nq +
+
+
+
+Test t0011 Test object processing defines object with implicit BNode +
+
+
+
id
+
#t0011
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
If no @ is specified, a BNode is created, and will be used as the object of an enclosing property.
+
input
+
+toRdf/0011-in.jsonld +
+
expect
+
+toRdf/0011-out.nq +
+
+
+
+Test t0012 Multiple Objects for a Single Property +
+
+
+
id
+
#t0012
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that Multiple Objects are for a Single Property using array syntax.
+
input
+
+toRdf/0012-in.jsonld +
+
expect
+
+toRdf/0012-out.nq +
+
+
+
+Test t0013 Creation of an empty list +
+
+
+
id
+
#t0013
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that @list: [] generates an empty list.
+
input
+
+toRdf/0013-in.jsonld +
+
expect
+
+toRdf/0013-out.nq +
+
+
+
+Test t0014 Creation of a list with single element +
+
+
+
id
+
#t0014
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that @list generates a list.
+
input
+
+toRdf/0014-in.jsonld +
+
expect
+
+toRdf/0014-out.nq +
+
+
+
+Test t0015 Creation of a list with multiple elements +
+
+
+
id
+
#t0015
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that list with multiple elements.
+
input
+
+toRdf/0015-in.jsonld +
+
expect
+
+toRdf/0015-out.nq +
+
+
+
+Test t0016 Empty IRI expands to resource location +
+
+
+
id
+
#t0016
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding an empty IRI uses the test file location.
+
input
+
+toRdf/0016-in.jsonld +
+
expect
+
+toRdf/0016-out.nq +
+
+
+
+Test t0017 Relative IRI expands relative resource location +
+
+
+
id
+
#t0017
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding a relative IRI uses the test file location.
+
input
+
+toRdf/0017-in.jsonld +
+
expect
+
+toRdf/0017-out.nq +
+
+
+
+Test t0018 Frag ID expands relative resource location +
+
+
+
id
+
#t0018
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding a fragment uses the test file location.
+
input
+
+toRdf/0018-in.jsonld +
+
expect
+
+toRdf/0018-out.nq +
+
+
+
+Test t0019 Test type coercion to anyURI +
+
+
+
id
+
#t0019
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests coercion of object to anyURI when specified.
+
input
+
+toRdf/0019-in.jsonld +
+
expect
+
+toRdf/0019-out.nq +
+
+
+
+Test t0020 Test type coercion to typed literal +
+
+
+
id
+
#t0020
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests coercion of object to a typed literal when specified.
+
input
+
+toRdf/0020-in.jsonld +
+
expect
+
+toRdf/0020-out.nq +
+
+
+
+Test t0022 Test coercion of double value +
+
+
+
id
+
#t0022
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that a decimal value generates a xsd:double typed literal;.
+
input
+
+toRdf/0022-in.jsonld +
+
expect
+
+toRdf/0022-out.nq +
+
+
+
+Test t0023 Test coercion of integer value +
+
+
+
id
+
#t0023
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that a decimal value generates a xsd:integer typed literal.
+
input
+
+toRdf/0023-in.jsonld +
+
expect
+
+toRdf/0023-out.nq +
+
+
+
+Test t0024 Test coercion of boolean value +
+
+
+
id
+
#t0024
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that a decimal value generates a xsd:boolean typed literal.
+
input
+
+toRdf/0024-in.jsonld +
+
expect
+
+toRdf/0024-out.nq +
+
+
+
+Test t0025 Test list coercion with single element +
+
+
+
id
+
#t0025
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that an array with a single element on a property with @list coercion creates an RDF Collection.
+
input
+
+toRdf/0025-in.jsonld +
+
expect
+
+toRdf/0025-out.nq +
+
+
+
+Test t0026 Test creation of multiple types +
+
+
+
id
+
#t0026
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that @type with an array of types creates multiple types.
+
input
+
+toRdf/0026-in.jsonld +
+
expect
+
+toRdf/0026-out.nq +
+
+
+
+Test t0027 Simple named graph (Wikidata) +
+
+
+
id
+
#t0027
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Using @graph with other keys places triples in a named graph.
+
input
+
+toRdf/0027-in.jsonld +
+
expect
+
+toRdf/0027-out.nq +
+
+
+
+Test t0028 Simple named graph +
+
+
+
id
+
#t0028
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Signing a graph.
+
input
+
+toRdf/0028-in.jsonld +
+
expect
+
+toRdf/0028-out.nq +
+
+
+
+Test t0029 named graph with embedded named graph +
+
+
+
id
+
#t0029
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that named graphs containing named graphs flatten to single level of graph naming.
+
input
+
+toRdf/0029-in.jsonld +
+
expect
+
+toRdf/0029-out.nq +
+
+
+
+Test t0030 top-level graph with string subject reference +
+
+
+
id
+
#t0030
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests graphs containing subject references as strings.
+
input
+
+toRdf/0030-in.jsonld +
+
expect
+
+toRdf/0030-out.nq +
+
+
+
+Test t0031 Reverse property +
+
+
+
id
+
#t0031
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests conversion of reverse properties.
+
input
+
+toRdf/0031-in.jsonld +
+
expect
+
+toRdf/0031-out.nq +
+
+
+
+Test t0032 @context reordering +
+
+
+
id
+
#t0032
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that generated triples do not depend on order of @context.
+
input
+
+toRdf/0032-in.jsonld +
+
expect
+
+toRdf/0032-out.nq +
+
+
+
+Test t0033 @id reordering +
+
+
+
id
+
#t0033
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that generated triples do not depend on order of @id.
+
input
+
+toRdf/0033-in.jsonld +
+
expect
+
+toRdf/0033-out.nq +
+
+
+
+Test t0034 context properties reordering +
+
+
+
id
+
#t0034
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests that generated triples do not depend on order of properties inside @context.
+
input
+
+toRdf/0034-in.jsonld +
+
expect
+
+toRdf/0034-out.nq +
+
+
+
+Test t0035 non-fractional numbers converted to xsd:double +
+
+
+
id
+
#t0035
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
xsd:double's canonical lexical is used when converting numbers without fraction that are coerced to xsd:double
+
input
+
+toRdf/0035-in.jsonld +
+
expect
+
+toRdf/0035-out.nq +
+
+
+
+Test t0036 Use nodeMapGeneration bnode labels +
+
+
+
id
+
#t0036
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
The toRDF algorithm does not relabel blank nodes; it reuses the counter from the nodeMapGeneration to generate new ones
+
input
+
+toRdf/0036-in.jsonld +
+
expect
+
+toRdf/0036-out.nq +
+
+
+
+Test t0113 Dataset with a IRI named graph +
+
+
+
id
+
#t0113
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Basic use of creating a named graph using an IRI name
+
input
+
+toRdf/0113-in.jsonld +
+
expect
+
+toRdf/0113-out.nq +
+
+
+
+Test t0114 Dataset with a IRI named graph +
+
+
+
id
+
#t0114
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Basic use of creating a named graph using a BNode name
+
input
+
+toRdf/0114-in.jsonld +
+
expect
+
+toRdf/0114-out.nq +
+
+
+
+Test t0115 Dataset with a default and two named graphs +
+
+
+
id
+
#t0115
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Dataset with a default and two named graphs (IRI and BNode)
+
input
+
+toRdf/0115-in.jsonld +
+
expect
+
+toRdf/0115-out.nq +
+
+
+
+Test t0116 Dataset from node with embedded named graph +
+
+
+
id
+
#t0116
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Embedding @graph in a node creates a named graph
+
input
+
+toRdf/0116-in.jsonld +
+
expect
+
+toRdf/0116-out.nq +
+
+
+
+Test t0117 Dataset from node with embedded named graph (bnode) +
+
+
+
id
+
#t0117
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Embedding @graph in a node creates a named graph. Graph name is created if there is no subject
+
input
+
+toRdf/0117-in.jsonld +
+
expect
+
+toRdf/0117-out.nq +
+
+
+
+Test t0118 produce generalized RDF flag +
+
+
+
id
+
#t0118
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Triples with blank node predicates are not dropped if the produce generalized RDF flag is true.
+
input
+
+toRdf/0118-in.jsonld +
+
expect
+
+toRdf/0118-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
produceGeneralizedRdf
+
true
+
+
+
Requires
+
GeneralizedRdf
+
+
+
+Test t0119 Blank nodes with reverse properties +
+
+
+
id
+
#t0119
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Proper (re-)labeling of blank nodes if used with reverse properties.
+
input
+
+toRdf/0119-in.jsonld +
+
expect
+
+toRdf/0119-out.nq +
+
+
+
+Test t0120 IRI Resolution (0) +
+
+
+
id
+
#t0120
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0120-in.jsonld +
+
expect
+
+toRdf/0120-out.nq +
+
+
+
+Test t0121 IRI Resolution (1) +
+
+
+
id
+
#t0121
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0121-in.jsonld +
+
expect
+
+toRdf/0121-out.nq +
+
+
+
+Test t0122 IRI Resolution (2) +
+
+
+
id
+
#t0122
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0122-in.jsonld +
+
expect
+
+toRdf/0122-out.nq +
+
+
+
+Test t0123 IRI Resolution (3) +
+
+
+
id
+
#t0123
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0123-in.jsonld +
+
expect
+
+toRdf/0123-out.nq +
+
+
+
+Test t0124 IRI Resolution (4) +
+
+
+
id
+
#t0124
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0124-in.jsonld +
+
expect
+
+toRdf/0124-out.nq +
+
+
+
+Test t0125 IRI Resolution (5) +
+
+
+
id
+
#t0125
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0125-in.jsonld +
+
expect
+
+toRdf/0125-out.nq +
+
+
+
+Test t0126 IRI Resolution (6) +
+
+
+
id
+
#t0126
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0126-in.jsonld +
+
expect
+
+toRdf/0126-out.nq +
+
+
+
+Test t0127 IRI Resolution (7) +
+
+
+
id
+
#t0127
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0127-in.jsonld +
+
expect
+
+toRdf/0127-out.nq +
+
+
+
+Test t0128 IRI Resolution (8) +
+
+
+
id
+
#t0128
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0128-in.jsonld +
+
expect
+
+toRdf/0128-out.nq +
+
+
+
+Test t0129 IRI Resolution (9) +
+
+
+
id
+
#t0129
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0129-in.jsonld +
+
expect
+
+toRdf/0129-out.nq +
+
+
+
+Test t0130 IRI Resolution (10) +
+
+
+
id
+
#t0130
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0130-in.jsonld +
+
expect
+
+toRdf/0130-out.nq +
+
+
+
+Test t0131 IRI Resolution (11) +
+
+
+
id
+
#t0131
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0131-in.jsonld +
+
expect
+
+toRdf/0131-out.nq +
+
+
+
+Test t0132 IRI Resolution (12) +
+
+
+
id
+
#t0132
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
IRI resolution according to RFC3986.
+
input
+
+toRdf/0132-in.jsonld +
+
expect
+
+toRdf/0132-out.nq +
+
+
+
+Test tc001 adding new term +
+
+
+
id
+
#tc001
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using a scoped context uses term scope for selecting proper term
+
input
+
+toRdf/c001-in.jsonld +
+
expect
+
+toRdf/c001-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc002 overriding a term +
+
+
+
id
+
#tc002
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using a scoped context uses term scope for selecting proper term
+
input
+
+toRdf/c002-in.jsonld +
+
expect
+
+toRdf/c002-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc003 property and value with different terms mapping to the same expanded property +
+
+
+
id
+
#tc003
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using a scoped context uses term scope for selecting proper term
+
input
+
+toRdf/c003-in.jsonld +
+
expect
+
+toRdf/c003-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc004 deep @context affects nested nodes +
+
+
+
id
+
#tc004
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using a scoped context uses term scope for selecting proper term
+
input
+
+toRdf/c004-in.jsonld +
+
expect
+
+toRdf/c004-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc005 scoped context layers on intemediate contexts +
+
+
+
id
+
#tc005
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using a scoped context uses term scope for selecting proper term
+
input
+
+toRdf/c005-in.jsonld +
+
expect
+
+toRdf/c005-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc006 adding new term +
+
+
+
id
+
#tc006
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
scoped context on @type
+
input
+
+toRdf/c006-in.jsonld +
+
expect
+
+toRdf/c006-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc007 overriding a term +
+
+
+
id
+
#tc007
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
scoped context on @type
+
input
+
+toRdf/c007-in.jsonld +
+
expect
+
+toRdf/c007-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc008 alias of @type +
+
+
+
id
+
#tc008
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
scoped context on @type
+
input
+
+toRdf/c008-in.jsonld +
+
expect
+
+toRdf/c008-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc009 deep @type-scoped @context does NOT affect nested nodes +
+
+
+
id
+
#tc009
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
scoped context on @type
+
input
+
+toRdf/c009-in.jsonld +
+
expect
+
+toRdf/c009-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc010 scoped context layers on intemediate contexts +
+
+
+
id
+
#tc010
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
scoped context on @type
+
input
+
+toRdf/c010-in.jsonld +
+
expect
+
+toRdf/c010-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc011 orders @type terms when applying scoped contexts +
+
+
+
id
+
#tc011
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
scoped context on @type
+
input
+
+toRdf/c011-in.jsonld +
+
expect
+
+toRdf/c011-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc012 deep property-term scoped @context in @type-scoped @context affects nested nodes +
+
+
+
id
+
#tc012
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
scoped context on @type
+
input
+
+toRdf/c012-in.jsonld +
+
expect
+
+toRdf/c012-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc013 type maps use scoped context from type index and not scoped context from containing +
+
+
+
id
+
#tc013
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
scoped context on @type
+
input
+
+toRdf/c013-in.jsonld +
+
expect
+
+toRdf/c013-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc014 type-scoped context nullification +
+
+
+
id
+
#tc014
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped context nullification
+
input
+
+toRdf/c014-in.jsonld +
+
expect
+
+toRdf/c014-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc015 type-scoped base +
+
+
+
id
+
#tc015
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped base
+
input
+
+toRdf/c015-in.jsonld +
+
expect
+
+toRdf/c015-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc016 type-scoped vocab +
+
+
+
id
+
#tc016
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped vocab
+
input
+
+toRdf/c016-in.jsonld +
+
expect
+
+toRdf/c016-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc017 multiple type-scoped contexts are properly reverted +
+
+
+
id
+
#tc017
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
multiple type-scoped contexts are property reverted
+
input
+
+toRdf/c017-in.jsonld +
+
expect
+
+toRdf/c017-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc018 multiple type-scoped types resolved against previous context +
+
+
+
id
+
#tc018
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
multiple type-scoped types resolved against previous context
+
input
+
+toRdf/c018-in.jsonld +
+
expect
+
+toRdf/c018-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc019 type-scoped context with multiple property scoped terms +
+
+
+
id
+
#tc019
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped context with multiple property scoped terms
+
input
+
+toRdf/c019-in.jsonld +
+
expect
+
+toRdf/c019-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc020 type-scoped value +
+
+
+
id
+
#tc020
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped value
+
input
+
+toRdf/c020-in.jsonld +
+
expect
+
+toRdf/c020-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc021 type-scoped value mix +
+
+
+
id
+
#tc021
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped value mix
+
input
+
+toRdf/c021-in.jsonld +
+
expect
+
+toRdf/c021-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc022 type-scoped property-scoped contexts including @type:@vocab +
+
+
+
id
+
#tc022
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped property-scoped contexts including @type:@vocab
+
input
+
+toRdf/c022-in.jsonld +
+
expect
+
+toRdf/c022-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc023 composed type-scoped property-scoped contexts including @type:@vocab +
+
+
+
id
+
#tc023
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
composed type-scoped property-scoped contexts including @type:@vocab
+
input
+
+toRdf/c023-in.jsonld +
+
expect
+
+toRdf/c023-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc024 type-scoped + property-scoped + values evaluates against previous context +
+
+
+
id
+
#tc024
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped + property-scoped + values evaluates against previous context
+
input
+
+toRdf/c024-in.jsonld +
+
expect
+
+toRdf/c024-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc025 type-scoped + graph container +
+
+
+
id
+
#tc025
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped + graph container
+
input
+
+toRdf/c025-in.jsonld +
+
expect
+
+toRdf/c025-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc026 @propagate: true on type-scoped context +
+
+
+
id
+
#tc026
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped context with @propagate: true survive node-objects
+
input
+
+toRdf/c026-in.jsonld +
+
expect
+
+toRdf/c026-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc027 @propagate: false on property-scoped context +
+
+
+
id
+
#tc027
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
property-scoped context with @propagate: false do not survive node-objects
+
input
+
+toRdf/c027-in.jsonld +
+
expect
+
+toRdf/c027-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc028 @propagate: false on embedded context +
+
+
+
id
+
#tc028
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
embedded context with @propagate: false do not survive node-objects
+
input
+
+toRdf/c028-in.jsonld +
+
expect
+
+toRdf/c028-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc029 @propagate is invalid in 1.0 +
+
+
+
id
+
#tc029
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
@propagate is invalid in 1.0
+
input
+
+toRdf/c029-in.jsonld +
+
expect
+
+invalid context entry +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test tc030 @propagate must be boolean valued +
+
+
+
id
+
#tc030
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
@propagate must be boolean valued
+
input
+
+toRdf/c030-in.jsonld +
+
expect
+
+invalid @propagate value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc031 @context resolutions respects relative URLs. +
+
+
+
id
+
#tc031
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
URL resolution follows RFC3986
+
input
+
+toRdf/c031-in.jsonld +
+
expect
+
+toRdf/c031-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc032 Unused embedded context with error. +
+
+
+
id
+
#tc032
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
An embedded context which is never used should still be checked.
+
input
+
+toRdf/c032-in.jsonld +
+
expect
+
+invalid scoped context +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc033 Unused context with an embedded context error. +
+
+
+
id
+
#tc033
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
An unused context with an embedded context should still be checked.
+
input
+
+toRdf/c033-in.jsonld +
+
expect
+
+invalid scoped context +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tc034 Remote scoped context. +
+
+
+
id
+
#tc034
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Scoped contexts may be externally loaded.
+
input
+
+toRdf/c034-in.jsonld +
+
expect
+
+toRdf/c034-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi01 Expand string using default and term directions +
+
+
+
id
+
#tdi01
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Strings are coerced to have @direction based on default and term direction.
+
input
+
+toRdf/di01-in.jsonld +
+
expect
+
+toRdf/di01-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi02 Expand string using default and term directions and languages +
+
+
+
id
+
#tdi02
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Strings are coerced to have @direction based on default and term direction.
+
input
+
+toRdf/di02-in.jsonld +
+
expect
+
+toRdf/di02-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi03 expand list values with @direction +
+
+
+
id
+
#tdi03
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List values where the term has @direction are used in expansion.
+
input
+
+toRdf/di03-in.jsonld +
+
expect
+
+toRdf/di03-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi04 simple language map with term direction +
+
+
+
id
+
#tdi04
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+toRdf/di04-in.jsonld +
+
expect
+
+toRdf/di04-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi05 simple language mapwith overriding term direction +
+
+
+
id
+
#tdi05
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+toRdf/di05-in.jsonld +
+
expect
+
+toRdf/di05-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi06 simple language mapwith overriding null direction +
+
+
+
id
+
#tdi06
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+toRdf/di06-in.jsonld +
+
expect
+
+toRdf/di06-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi07 simple language map with mismatching term direction +
+
+
+
id
+
#tdi07
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Term selection with language maps and @direction.
+
input
+
+toRdf/di07-in.jsonld +
+
expect
+
+toRdf/di07-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi08 @direction must be one of ltr or rtl +
+
+
+
id
+
#tdi08
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Generate an error if @direction has illegal value.
+
input
+
+toRdf/di08-in.jsonld +
+
expect
+
+invalid base direction +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tdi09 rdfDirection: i18n-datatype with direction and no language +
+
+
+
id
+
#tdi09
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Generates i18n datatype from literal with direction with option.
+
input
+
+toRdf/di09-in.jsonld +
+
expect
+
+toRdf/di09-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
i18n-datatype
+
+
+
Requires
+
I18nDatatype
+
+
+
+Test tdi10 rdfDirection: i18n-datatype with direction and language +
+
+
+
id
+
#tdi10
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Generates i18n datatype from literal with direction with option.
+
input
+
+toRdf/di10-in.jsonld +
+
expect
+
+toRdf/di10-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
i18n-datatype
+
+
+
Requires
+
I18nDatatype
+
+
+
+Test tdi11 rdfDirection: compound-literal with direction and no language +
+
+
+
id
+
#tdi11
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Generates i18n datatype from literal with direction with option.
+
input
+
+toRdf/di11-in.jsonld +
+
expect
+
+toRdf/di11-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
compound-literal
+
+
+
Requires
+
CompoundLiteral
+
+
+
+Test tdi12 rdfDirection: compound-literal with direction and language +
+
+
+
id
+
#tdi12
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Generates compound literal from literal with direction with option.
+
input
+
+toRdf/di12-in.jsonld +
+
expect
+
+toRdf/di12-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
rdfDirection
+
compound-literal
+
+
+
Requires
+
CompoundLiteral
+
+
+
+Test te001 drop free-floating nodes +
+
+
+
id
+
#te001
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Free-floating nodes do not generate RDF triples (from expand-0001)
+
input
+
+toRdf/e001-in.jsonld +
+
expect
+
+toRdf/e001-out.nq +
+
+
+
+Test te002 basic +
+
+
+
id
+
#te002
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Basic RDF conversion (from expand-0002)
+
input
+
+toRdf/e002-in.jsonld +
+
expect
+
+toRdf/e002-out.nq +
+
+
+
+Test te003 drop null and unmapped properties +
+
+
+
id
+
#te003
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Properties mapped to null or which are never mapped are dropped (from expand-0003)
+
input
+
+toRdf/e003-in.jsonld +
+
expect
+
+toRdf/e003-out.nq +
+
+
+
+Test te004 optimize @set, keep empty arrays +
+
+
+
id
+
#te004
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0004
+
input
+
+toRdf/e004-in.jsonld +
+
expect
+
+toRdf/e004-out.nq +
+
+
+
+Test te005 do not expand aliased @id/@type +
+
+
+
id
+
#te005
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0005
+
input
+
+toRdf/e005-in.jsonld +
+
expect
+
+toRdf/e005-out.nq +
+
+
+
+Test te006 alias keywords +
+
+
+
id
+
#te006
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0006
+
input
+
+toRdf/e006-in.jsonld +
+
expect
+
+toRdf/e006-out.nq +
+
+
+
+Test te007 date type-coercion +
+
+
+
id
+
#te007
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Type-coerced dates generate typed literals (from expand-0007)
+
input
+
+toRdf/e007-in.jsonld +
+
expect
+
+toRdf/e007-out.nq +
+
+
+
+Test te008 @value with @language +
+
+
+
id
+
#te008
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0008
+
input
+
+toRdf/e008-in.jsonld +
+
expect
+
+toRdf/e008-out.nq +
+
+
+
+Test te009 @graph with terms +
+
+
+
id
+
#te009
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0009
+
input
+
+toRdf/e009-in.jsonld +
+
expect
+
+toRdf/e009-out.nq +
+
+
+
+Test te010 native types +
+
+
+
id
+
#te010
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Native types generate typed literals (from expand-0010)
+
input
+
+toRdf/e010-in.jsonld +
+
expect
+
+toRdf/e010-out.nq +
+
+
+
+Test te011 coerced @id +
+
+
+
id
+
#te011
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0011
+
input
+
+toRdf/e011-in.jsonld +
+
expect
+
+toRdf/e011-out.nq +
+
+
+
+Test te012 @graph with embed +
+
+
+
id
+
#te012
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0012
+
input
+
+toRdf/e012-in.jsonld +
+
expect
+
+toRdf/e012-out.nq +
+
+
+
+Test te013 expand already expanded +
+
+
+
id
+
#te013
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0013
+
input
+
+toRdf/e013-in.jsonld +
+
expect
+
+toRdf/e013-out.nq +
+
+
+
+Test te014 @set of @value objects with keyword aliases +
+
+
+
id
+
#te014
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0014
+
input
+
+toRdf/e014-in.jsonld +
+
expect
+
+toRdf/e014-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test te015 collapse set of sets, keep empty lists +
+
+
+
id
+
#te015
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0015
+
input
+
+toRdf/e015-in.jsonld +
+
expect
+
+toRdf/e015-out.nq +
+
+
+
+Test te016 context reset +
+
+
+
id
+
#te016
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0016
+
input
+
+toRdf/e016-in.jsonld +
+
expect
+
+toRdf/e016-out.nq +
+
+
+
+Test te017 @graph and @id aliased +
+
+
+
id
+
#te017
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0017
+
input
+
+toRdf/e017-in.jsonld +
+
expect
+
+toRdf/e017-out.nq +
+
+
+
+Test te018 override default @language +
+
+
+
id
+
#te018
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0018
+
input
+
+toRdf/e018-in.jsonld +
+
expect
+
+toRdf/e018-out.nq +
+
+
+
+Test te019 remove @value = null +
+
+
+
id
+
#te019
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0019
+
input
+
+toRdf/e019-in.jsonld +
+
expect
+
+toRdf/e019-out.nq +
+
+
+
+Test te020 do not remove @graph if not at top-level +
+
+
+
id
+
#te020
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Embedded @graph without @id creates BNode-labeled named graph (from expand-0020)
+
input
+
+toRdf/e020-in.jsonld +
+
expect
+
+toRdf/e020-out.nq +
+
+
+
+Test te021 do not remove @graph at top-level if not only property +
+
+
+
id
+
#te021
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0021
+
input
+
+toRdf/e021-in.jsonld +
+
expect
+
+toRdf/e021-out.nq +
+
+
+
+Test te022 expand value with default language +
+
+
+
id
+
#te022
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0022
+
input
+
+toRdf/e022-in.jsonld +
+
expect
+
+toRdf/e022-out.nq +
+
+
+
+Test te023 Lists and sets of properties with list/set coercion +
+
+
+
id
+
#te023
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0023
+
input
+
+toRdf/e023-in.jsonld +
+
expect
+
+toRdf/e023-out.nq +
+
+
+
+Test te024 Multiple contexts +
+
+
+
id
+
#te024
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0024
+
input
+
+toRdf/e024-in.jsonld +
+
expect
+
+toRdf/e024-out.nq +
+
+
+
+Test te025 Problematic IRI expansion tests +
+
+
+
id
+
#te025
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0025
+
input
+
+toRdf/e025-in.jsonld +
+
expect
+
+toRdf/e025-out.nq +
+
+
+
+Test te026 Expanding term mapping to @type uses @type syntax +
+
+
+
id
+
#te026
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0026
+
input
+
+toRdf/e026-in.jsonld +
+
expect
+
+toRdf/e026-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test te027 Keep duplicate values in @list and @set +
+
+
+
id
+
#te027
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0027
+
input
+
+toRdf/e027-in.jsonld +
+
expect
+
+toRdf/e027-out.nq +
+
+
+
+Test te028 Use @vocab in properties and @type but not in @id +
+
+
+
id
+
#te028
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0028
+
input
+
+toRdf/e028-in.jsonld +
+
expect
+
+toRdf/e028-out.nq +
+
+
+
+Test te029 Relative IRIs +
+
+
+
id
+
#te029
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0029
+
input
+
+toRdf/e029-in.jsonld +
+
expect
+
+toRdf/e029-out.nq +
+
+
+
+Test te030 Language maps +
+
+
+
id
+
#te030
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0030
+
input
+
+toRdf/e030-in.jsonld +
+
expect
+
+toRdf/e030-out.nq +
+
+
+
+Test te031 type-coercion of native types +
+
+
+
id
+
#te031
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0031
+
input
+
+toRdf/e031-in.jsonld +
+
expect
+
+toRdf/e031-out.nq +
+
+
+
+Test te032 Mapping a term to null decouples it from @vocab +
+
+
+
id
+
#te032
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0032
+
input
+
+toRdf/e032-in.jsonld +
+
expect
+
+toRdf/e032-out.nq +
+
+
+
+Test te033 Using @vocab with with type-coercion +
+
+
+
id
+
#te033
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0033
+
input
+
+toRdf/e033-in.jsonld +
+
expect
+
+toRdf/e033-out.nq +
+
+
+
+Test te034 Multiple properties expanding to the same IRI +
+
+
+
id
+
#te034
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0034
+
input
+
+toRdf/e034-in.jsonld +
+
expect
+
+toRdf/e034-out.nq +
+
+
+
+Test te035 Language maps with @vocab, default language, and colliding property +
+
+
+
id
+
#te035
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0035
+
input
+
+toRdf/e035-in.jsonld +
+
expect
+
+toRdf/e035-out.nq +
+
+
+
+Test te036 Expanding @index +
+
+
+
id
+
#te036
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0036
+
input
+
+toRdf/e036-in.jsonld +
+
expect
+
+toRdf/e036-out.nq +
+
+
+
+Test te037 Expanding @reverse +
+
+
+
id
+
#te037
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0037
+
input
+
+toRdf/e037-in.jsonld +
+
expect
+
+toRdf/e037-out.nq +
+
+
+
+Test te038 Drop blank node predicates by default +
+
+
+
id
+
#te038
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Triples with blank node predicates are dropped by default (from expand-0038).
+
input
+
+toRdf/e038-in.jsonld +
+
expect
+
+toRdf/e038-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test te039 Using terms in a reverse-maps +
+
+
+
id
+
#te039
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0039
+
input
+
+toRdf/e039-in.jsonld +
+
expect
+
+toRdf/e039-out.nq +
+
+
+
+Test te040 language and index expansion on non-objects +
+
+
+
id
+
#te040
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0040
+
input
+
+toRdf/e040-in.jsonld +
+
expect
+
+toRdf/e040-out.nq +
+
+
+
+Test te041 Reset the default language +
+
+
+
id
+
#te041
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0041
+
input
+
+toRdf/e041-in.jsonld +
+
expect
+
+toRdf/e041-out.nq +
+
+
+
+Test te042 Expanding reverse properties +
+
+
+
id
+
#te042
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0042
+
input
+
+toRdf/e042-in.jsonld +
+
expect
+
+toRdf/e042-out.nq +
+
+
+
+Test te043 Using reverse properties inside a @reverse-container +
+
+
+
id
+
#te043
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0043
+
input
+
+toRdf/e043-in.jsonld +
+
expect
+
+toRdf/e043-out.nq +
+
+
+
+Test te044 Ensure index maps use language mapping +
+
+
+
id
+
#te044
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0044
+
input
+
+toRdf/e044-in.jsonld +
+
expect
+
+toRdf/e044-out.nq +
+
+
+
+Test te045 Top-level value objects are removed +
+
+
+
id
+
#te045
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0045
+
input
+
+toRdf/e045-in.jsonld +
+
expect
+
+toRdf/e045-out.nq +
+
+
+
+Test te046 Free-floating nodes are removed +
+
+
+
id
+
#te046
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0046
+
input
+
+toRdf/e046-in.jsonld +
+
expect
+
+toRdf/e046-out.nq +
+
+
+
+Test te047 Remove free-floating set values and lists +
+
+
+
id
+
#te047
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0047
+
input
+
+toRdf/e047-in.jsonld +
+
expect
+
+toRdf/e047-out.nq +
+
+
+
+Test te048 Terms are ignored in @id +
+
+
+
id
+
#te048
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0048
+
input
+
+toRdf/e048-in.jsonld +
+
expect
+
+toRdf/e048-out.nq +
+
+
+
+Test te049 Using strings as value of a reverse property +
+
+
+
id
+
#te049
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0049
+
input
+
+toRdf/e049-in.jsonld +
+
expect
+
+toRdf/e049-out.nq +
+
+
+
+Test te050 Term definitions with prefix separate from prefix definitions +
+
+
+
id
+
#te050
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0050
+
input
+
+toRdf/e050-in.jsonld +
+
expect
+
+toRdf/e050-out.nq +
+
+
+
+Test te051 Expansion of keyword aliases in term definitions +
+
+
+
id
+
#te051
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0051
+
input
+
+toRdf/e051-in.jsonld +
+
expect
+
+toRdf/e051-out.nq +
+
+
+
+Test te052 @vocab-relative IRIs in term definitions +
+
+
+
id
+
#te052
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0052
+
input
+
+toRdf/e052-in.jsonld +
+
expect
+
+toRdf/e052-out.nq +
+
+
+
+Test te053 Expand absolute IRI with @type: @vocab +
+
+
+
id
+
#te053
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0053
+
input
+
+toRdf/e053-in.jsonld +
+
expect
+
+toRdf/e053-out.nq +
+
+
+
+Test te054 Expand term with @type: @vocab +
+
+
+
id
+
#te054
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0054
+
input
+
+toRdf/e054-in.jsonld +
+
expect
+
+toRdf/e054-out.nq +
+
+
+
+Test te055 Expand @vocab-relative term with @type: @vocab +
+
+
+
id
+
#te055
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0055
+
input
+
+toRdf/e055-in.jsonld +
+
expect
+
+toRdf/e055-out.nq +
+
+
+
+Test te056 Use terms with @type: @vocab but not with @type: @id +
+
+
+
id
+
#te056
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0056
+
input
+
+toRdf/e056-in.jsonld +
+
expect
+
+toRdf/e056-out.nq +
+
+
+
+Test te057 Expand relative IRI with @type: @vocab +
+
+
+
id
+
#te057
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0057
+
input
+
+toRdf/e057-in.jsonld +
+
expect
+
+toRdf/e057-out.nq +
+
+
+
+Test te058 Expand compact IRI with @type: @vocab +
+
+
+
id
+
#te058
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0058
+
input
+
+toRdf/e058-in.jsonld +
+
expect
+
+toRdf/e058-out.nq +
+
+
+
+Test te059 Reset @vocab by setting it to null +
+
+
+
id
+
#te059
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0059
+
input
+
+toRdf/e059-in.jsonld +
+
expect
+
+toRdf/e059-out.nq +
+
+
+
+Test te060 Overwrite document base with @base and reset it again +
+
+
+
id
+
#te060
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0060
+
input
+
+toRdf/e060-in.jsonld +
+
expect
+
+toRdf/e060-out.nq +
+
+
+
+Test te061 Coercing native types to arbitrary datatypes +
+
+
+
id
+
#te061
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0061
+
input
+
+toRdf/e061-in.jsonld +
+
expect
+
+toRdf/e061-out.nq +
+
+
+
+Test te062 Various relative IRIs with with @base +
+
+
+
id
+
#te062
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0062
+
input
+
+toRdf/e062-in.jsonld +
+
expect
+
+toRdf/e062-out.nq +
+
+
+
+Test te063 Expand a reverse property with an index-container +
+
+
+
id
+
#te063
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0063
+
input
+
+toRdf/e063-in.jsonld +
+
expect
+
+toRdf/e063-out.nq +
+
+
+
+Test te064 Expand reverse property whose values are unlabeled blank nodes +
+
+
+
id
+
#te064
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0064
+
input
+
+toRdf/e064-in.jsonld +
+
expect
+
+toRdf/e064-out.nq +
+
+
+
+Test te065 Keys that are not mapped to an IRI in a reverse-map are dropped +
+
+
+
id
+
#te065
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0065
+
input
+
+toRdf/e065-in.jsonld +
+
expect
+
+toRdf/e065-out.nq +
+
+
+
+Test te066 Use @vocab to expand keys in reverse-maps +
+
+
+
id
+
#te066
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0066
+
input
+
+toRdf/e066-in.jsonld +
+
expect
+
+toRdf/e066-out.nq +
+
+
+
+Test te067 prefix:://sufffix not a compact IRI +
+
+
+
id
+
#te067
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0067
+
input
+
+toRdf/e067-in.jsonld +
+
expect
+
+toRdf/e067-out.nq +
+
+
+
+Test te068 _::sufffix not a compact IRI +
+
+
+
id
+
#te068
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0068
+
input
+
+toRdf/e068-in.jsonld +
+
expect
+
+toRdf/e068-out.nq +
+
+
+
+Test te069 Compact IRI as term with type mapping +
+
+
+
id
+
#te069
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0069
+
input
+
+toRdf/e069-in.jsonld +
+
expect
+
+toRdf/e069-out.nq +
+
+
+
+Test te070 Redefine compact IRI with itself +
+
+
+
id
+
#te070
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0070
+
input
+
+toRdf/e070-in.jsonld +
+
expect
+
+toRdf/e070-out.nq +
+
+
+
+Test te071 Redefine terms looking like compact IRIs +
+
+
+
id
+
#te071
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0071
+
input
+
+toRdf/e071-in.jsonld +
+
expect
+
+toRdf/e071-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test te072 Redefine term using @vocab, not itself +
+
+
+
id
+
#te072
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
RDF version of expand-0072
+
input
+
+toRdf/e072-in.jsonld +
+
expect
+
+toRdf/e072-out.nq +
+
+
+
+Test te073 @context not first property +
+
+
+
id
+
#te073
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Objects are unordered, so serialized node definition containing @context may have @context at the end of the node definition
+
input
+
+toRdf/e073-in.jsonld +
+
expect
+
+toRdf/e073-out.nq +
+
+
+
+Test te074 @id not first property +
+
+
+
id
+
#te074
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Objects are unordered, so serialized node definition containing @id may have @id at the end of the node definition
+
input
+
+toRdf/e074-in.jsonld +
+
expect
+
+toRdf/e074-out.nq +
+
+
+
+Test te075 @vocab as blank node identifier +
+
+
+
id
+
#te075
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use @vocab to map all properties to blank node identifiers
+
input
+
+toRdf/e075-in.jsonld +
+
expect
+
+toRdf/e075-out.nq +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
produceGeneralizedRdf
+
true
+
+
+
Requires
+
GeneralizedRdf
+
+
+
+Test te076 base option overrides document location +
+
+
+
id
+
#te076
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of the base option overrides the document location
+
input
+
+toRdf/e076-in.jsonld +
+
expect
+
+toRdf/e076-out.nq +
+
Options
+
+
+
base
+
http://example/base/
+
+
+
+
+
+Test te077 expandContext option +
+
+
+
id
+
#te077
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of the expandContext option to expand the input document
+
input
+
+toRdf/e077-in.jsonld +
+
expect
+
+toRdf/e077-out.nq +
+
Options
+
+
+
expandContext
+
toRdf/e077-context.jsonld
+
+
+
+
+
+Test te078 multiple reverse properties +
+
+
+
id
+
#te078
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of multiple reverse properties
+
input
+
+toRdf/e078-in.jsonld +
+
expect
+
+toRdf/e078-out.nq +
+
+
+
+Test te079 expand @graph container +
+
+
+
id
+
#te079
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers
+
input
+
+toRdf/e079-in.jsonld +
+
expect
+
+toRdf/e079-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te080 expand [@graph, @set] container +
+
+
+
id
+
#te080
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of [@graph, @set] containers
+
input
+
+toRdf/e080-in.jsonld +
+
expect
+
+toRdf/e080-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te081 Creates an @graph container if value is a graph +
+
+
+
id
+
#te081
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Don't double-expand an already expanded graph
+
input
+
+toRdf/e081-in.jsonld +
+
expect
+
+toRdf/e081-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te082 expand [@graph, @index] container +
+
+
+
id
+
#te082
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers with @index
+
input
+
+toRdf/e082-in.jsonld +
+
expect
+
+toRdf/e082-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te083 expand [@graph, @index, @set] container +
+
+
+
id
+
#te083
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers with @index and @set
+
input
+
+toRdf/e083-in.jsonld +
+
expect
+
+toRdf/e083-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te084 Do not expand [@graph, @index] container if value is a graph +
+
+
+
id
+
#te084
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+toRdf/e084-in.jsonld +
+
expect
+
+toRdf/e084-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te085 expand [@graph, @id] container +
+
+
+
id
+
#te085
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers with @id
+
input
+
+toRdf/e085-in.jsonld +
+
expect
+
+toRdf/e085-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te086 expand [@graph, @id, @set] container +
+
+
+
id
+
#te086
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers with @id and @set
+
input
+
+toRdf/e086-in.jsonld +
+
expect
+
+toRdf/e086-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te087 Do not expand [@graph, @id] container if value is a graph +
+
+
+
id
+
#te087
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+toRdf/e087-in.jsonld +
+
expect
+
+toRdf/e087-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te088 Do not expand native values to IRIs +
+
+
+
id
+
#te088
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Value Expansion does not expand native values, such as booleans, to a node object
+
input
+
+toRdf/e088-in.jsonld +
+
expect
+
+toRdf/e088-out.nq +
+
+
+
+Test te089 empty @base applied to the base option +
+
+
+
id
+
#te089
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of an empty @base is applied to the base option
+
input
+
+toRdf/e089-in.jsonld +
+
expect
+
+toRdf/e089-out.nq +
+
Options
+
+
+
base
+
http://example/base/
+
+
+
+
+
+Test te090 relative @base overrides base option and document location +
+
+
+
id
+
#te090
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of a relative @base overrides base option and document location
+
input
+
+toRdf/e090-in.jsonld +
+
expect
+
+toRdf/e090-out.nq +
+
Options
+
+
+
base
+
http://example/base/
+
+
+
+
+
+Test te091 relative and absolute @base overrides base option and document location +
+
+
+
id
+
#te091
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of a relative and absolute @base overrides base option and document location
+
input
+
+toRdf/e091-in.jsonld +
+
expect
+
+toRdf/e091-out.nq +
+
Options
+
+
+
base
+
http://example/base/
+
+
+
+
+
+Test te092 Various relative IRIs as properties with with @vocab: '' +
+
+
+
id
+
#te092
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Pathological relative property IRIs
+
input
+
+toRdf/e092-in.jsonld +
+
expect
+
+toRdf/e092-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te093 expand @graph container (multiple objects) +
+
+
+
id
+
#te093
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers
+
input
+
+toRdf/e093-in.jsonld +
+
expect
+
+toRdf/e093-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te094 expand [@graph, @set] container (multiple objects) +
+
+
+
id
+
#te094
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of [@graph, @set] containers
+
input
+
+toRdf/e094-in.jsonld +
+
expect
+
+toRdf/e094-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te095 Creates an @graph container if value is a graph (multiple objects) +
+
+
+
id
+
#te095
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Don't double-expand an already expanded graph
+
input
+
+toRdf/e095-in.jsonld +
+
expect
+
+toRdf/e095-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te096 expand [@graph, @index] container (multiple indexed objects) +
+
+
+
id
+
#te096
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers with @index
+
input
+
+toRdf/e096-in.jsonld +
+
expect
+
+toRdf/e096-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te097 expand [@graph, @index, @set] container (multiple objects) +
+
+
+
id
+
#te097
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers with @index and @set
+
input
+
+toRdf/e097-in.jsonld +
+
expect
+
+toRdf/e097-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te098 Do not expand [@graph, @index] container if value is a graph (multiple objects) +
+
+
+
id
+
#te098
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+toRdf/e098-in.jsonld +
+
expect
+
+toRdf/e098-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te099 expand [@graph, @id] container (multiple objects) +
+
+
+
id
+
#te099
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers with @id
+
input
+
+toRdf/e099-in.jsonld +
+
expect
+
+toRdf/e099-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te100 expand [@graph, @id, @set] container (multiple objects) +
+
+
+
id
+
#te100
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers with @id and @set
+
input
+
+toRdf/e100-in.jsonld +
+
expect
+
+toRdf/e100-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te101 Do not expand [@graph, @id] container if value is a graph (multiple objects) +
+
+
+
id
+
#te101
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+toRdf/e101-in.jsonld +
+
expect
+
+toRdf/e101-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te102 Expand @graph container if value is a graph (multiple objects) +
+
+
+
id
+
#te102
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+toRdf/e102-in.jsonld +
+
expect
+
+toRdf/e102-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te103 Expand @graph container if value is a graph (multiple graphs) +
+
+
+
id
+
#te103
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+toRdf/e103-in.jsonld +
+
expect
+
+toRdf/e103-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te104 Creates an @graph container if value is a graph (mixed graph and object) +
+
+
+
id
+
#te104
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Don't double-expand an already expanded graph
+
input
+
+toRdf/e104-in.jsonld +
+
expect
+
+toRdf/e104-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te105 Do not expand [@graph, @index] container if value is a graph (mixed graph and object) +
+
+
+
id
+
#te105
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+toRdf/e105-in.jsonld +
+
expect
+
+toRdf/e105-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te106 Do not expand [@graph, @id] container if value is a graph (mixed graph and object) +
+
+
+
id
+
#te106
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Does not create a new graph object if indexed value is already a graph object
+
input
+
+toRdf/e106-in.jsonld +
+
expect
+
+toRdf/e106-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te107 expand [@graph, @index] container (indexes with multiple objects) +
+
+
+
id
+
#te107
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers with @index
+
input
+
+toRdf/e107-in.jsonld +
+
expect
+
+toRdf/e107-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te108 expand [@graph, @id] container (multiple ids and objects) +
+
+
+
id
+
#te108
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Use of @graph containers with @id
+
input
+
+toRdf/e108-in.jsonld +
+
expect
+
+toRdf/e108-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te109 IRI expansion of fragments including ':' +
+
+
+
id
+
#te109
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Do not treat as absolute IRIs values that look like compact IRIs if they're not absolute
+
input
+
+toRdf/e109-in.jsonld +
+
expect
+
+toRdf/e109-out.nq +
+
+
+
+Test te110 Various relative IRIs as properties with with relative @vocab +
+
+
+
id
+
#te110
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Pathological relative property IRIs
+
input
+
+toRdf/e110-in.jsonld +
+
expect
+
+toRdf/e110-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te111 Various relative IRIs as properties with with relative @vocab itself relative to an existing vocabulary base +
+
+
+
id
+
#te111
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Pathological relative property IRIs
+
input
+
+toRdf/e111-in.jsonld +
+
expect
+
+toRdf/e111-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te112 Various relative IRIs as properties with with relative @vocab relative to another relative vocabulary base +
+
+
+
id
+
#te112
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Pathological relative property IRIs
+
input
+
+toRdf/e112-in.jsonld +
+
expect
+
+toRdf/e112-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te113 context with JavaScript Object property names +
+
+
+
id
+
#te113
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expand with context including JavaScript Object property names
+
input
+
+toRdf/e113-in.jsonld +
+
expect
+
+toRdf/e113-out.nq +
+
+
+
+Test te114 Expansion allows multiple properties expanding to @type +
+
+
+
id
+
#te114
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
An exception for the colliding keywords error is made for @type
+
input
+
+toRdf/e114-in.jsonld +
+
expect
+
+toRdf/e114-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te115 Verifies that relative IRIs as properties with @vocab: '' in 1.0 generate an error +
+
+
+
id
+
#te115
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Pathological relative property IRIs in 1.0
+
input
+
+toRdf/e115-in.jsonld +
+
expect
+
+invalid vocab mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test te116 Verifies that relative IRIs as properties with relative @vocab in 1.0 generate an error +
+
+
+
id
+
#te116
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Pathological relative property IRIs in 1.0
+
input
+
+toRdf/e116-in.jsonld +
+
expect
+
+invalid vocab mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test te117 A term starting with a colon can expand to a different IRI +
+
+
+
id
+
#te117
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Terms may begin with a colon and not be treated as IRIs.
+
input
+
+toRdf/e117-in.jsonld +
+
expect
+
+toRdf/e117-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te118 Expanding a value staring with a colon does not treat that value as an IRI +
+
+
+
id
+
#te118
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Terms may begin with a colon and not be treated as IRIs.
+
input
+
+toRdf/e118-in.jsonld +
+
expect
+
+toRdf/e118-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te119 Ignore some terms with @, allow others. +
+
+
+
id
+
#te119
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Processors SHOULD generate a warning and MUST ignore terms having the form of a keyword.
+
input
+
+toRdf/e119-in.jsonld +
+
expect
+
+toRdf/e119-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te120 Ignore some values of @id with @, allow others. +
+
+
+
id
+
#te120
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Processors SHOULD generate a warning and MUST ignore values of @id having the form of a keyword.
+
input
+
+toRdf/e120-in.jsonld +
+
expect
+
+toRdf/e120-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te121 Ignore some values of @reverse with @, allow others. +
+
+
+
id
+
#te121
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Processors SHOULD generate a warning and MUST ignore values of @reverse having the form of a keyword.
+
input
+
+toRdf/e121-in.jsonld +
+
expect
+
+toRdf/e121-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te122 Ignore some IRIs when that start with @ when expanding. +
+
+
+
id
+
#te122
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Processors SHOULD generate a warning and MUST ignore IRIs having the form of a keyword.
+
input
+
+toRdf/e122-in.jsonld +
+
expect
+
+toRdf/e122-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te123 Value objects including invalid literal datatype IRIs are rejected +
+
+
+
id
+
#te123
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Processors MUST validate datatype IRIs.
+
input
+
+toRdf/e123-in.jsonld +
+
expect
+
+invalid typed value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0124 compact IRI as @vocab +
+
+
+
id
+
#t0124
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that @vocab defined as a compact IRI expands properly
+
input
+
+toRdf/e124-in.jsonld +
+
expect
+
+toRdf/e124-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0125 term as @vocab +
+
+
+
id
+
#t0125
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that @vocab defined as a term expands properly
+
input
+
+toRdf/e125-in.jsonld +
+
expect
+
+toRdf/e125-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te126 A scoped context may include itself recursively (direct) +
+
+
+
id
+
#te126
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that no exception is raised on expansion when processing a scoped context referencing itself directly
+
input
+
+toRdf/e126-in.jsonld +
+
expect
+
+toRdf/e126-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te127 A scoped context may include itself recursively (indirect) +
+
+
+
id
+
#te127
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that no exception is raised on expansion when processing a scoped context referencing itself indirectly
+
input
+
+toRdf/e127-in.jsonld +
+
expect
+
+toRdf/e127-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test te128 Two scoped context may include a shared context +
+
+
+
id
+
#te128
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that no exception is raised on expansion when processing two scoped contexts referencing a shared context
+
input
+
+toRdf/e128-in.jsonld +
+
expect
+
+toRdf/e128-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tec01 Invalid keyword in term definition +
+
+
+
id
+
#tec01
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid term definition is found
+
input
+
+toRdf/ec01-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tec02 Term definition on @type with empty map +
+
+
+
id
+
#tec02
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised if @type is defined as a term with an empty map
+
input
+
+toRdf/ec02-in.jsonld +
+
expect
+
+keyword redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tem01 Invalid container mapping +
+
+
+
id
+
#tem01
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid container mapping is found
+
input
+
+toRdf/em01-in.jsonld +
+
expect
+
+invalid container mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten01 @nest MUST NOT have a string value +
+
+
+
id
+
#ten01
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
container: @nest
+
input
+
+toRdf/en01-in.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten02 @nest MUST NOT have a boolen value +
+
+
+
id
+
#ten02
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Transparent Nesting
+
input
+
+toRdf/en02-in.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten03 @nest MUST NOT have a numeric value +
+
+
+
id
+
#ten03
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Transparent Nesting
+
input
+
+toRdf/en03-in.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten04 @nest MUST NOT have a value object value +
+
+
+
id
+
#ten04
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Transparent Nesting
+
input
+
+toRdf/en04-in.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten05 does not allow a keyword other than @nest for the value of @nest +
+
+
+
id
+
#ten05
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Transparent Nesting
+
input
+
+toRdf/en05-in.jsonld +
+
expect
+
+invalid @nest value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ten06 does not allow @nest with @reverse +
+
+
+
id
+
#ten06
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Transparent Nesting
+
input
+
+toRdf/en06-in.jsonld +
+
expect
+
+invalid reverse property +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep02 processingMode json-ld-1.0 conflicts with @version: 1.1 +
+
+
+
id
+
#tep02
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
If processingMode is explicitly json-ld-1.0, it will conflict with 1.1 features.
+
input
+
+toRdf/ep02-in.jsonld +
+
expect
+
+processing mode conflict +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tep03 @version must be 1.1 +
+
+
+
id
+
#tep03
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
If @version is specified, it must be 1.1
+
input
+
+toRdf/ep03-in.jsonld +
+
expect
+
+invalid @version value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter01 Keywords cannot be aliased to other keywords +
+
+
+
id
+
#ter01
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword
+
input
+
+toRdf/er01-in.jsonld +
+
expect
+
+keyword redefinition +
+
+
+
+Test ter02 A context may not include itself recursively (direct) +
+
+
+
id
+
#ter02
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when processing a context referencing itself
+
input
+
+toRdf/er02-in.jsonld +
+
expect
+
+recursive context inclusion +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test ter03 A context may not include itself recursively (indirect) +
+
+
+
id
+
#ter03
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when processing a context referencing itself indirectly
+
input
+
+toRdf/er03-in.jsonld +
+
expect
+
+recursive context inclusion +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test ter04 Error dereferencing a remote context +
+
+
+
id
+
#ter04
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context dereference results in an error
+
input
+
+toRdf/er04-in.jsonld +
+
expect
+
+loading remote context failed +
+
+
+
+Test ter05 Invalid remote context +
+
+
+
id
+
#ter05
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a remote context is not an object containing @context
+
input
+
+toRdf/er05-in.jsonld +
+
expect
+
+invalid remote context +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter06 Invalid local context +
+
+
+
id
+
#ter06
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context is not a string or object
+
input
+
+toRdf/er06-in.jsonld +
+
expect
+
+invalid local context +
+
+
+
+Test ter07 Invalid base IRI +
+
+
+
id
+
#ter07
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context contains an invalid @base
+
input
+
+toRdf/er07-in.jsonld +
+
expect
+
+invalid base IRI +
+
+
+
+Test ter08 Invalid vocab mapping +
+
+
+
id
+
#ter08
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context contains an invalid @vocab mapping
+
input
+
+toRdf/er08-in.jsonld +
+
expect
+
+invalid vocab mapping +
+
+
+
+Test ter09 Invalid default language +
+
+
+
id
+
#ter09
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context contains an invalid @language
+
input
+
+toRdf/er09-in.jsonld +
+
expect
+
+invalid default language +
+
+
+
+Test ter10 Cyclic IRI mapping +
+
+
+
id
+
#ter10
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a cyclic IRI mapping is found
+
input
+
+toRdf/er10-in.jsonld +
+
expect
+
+cyclic IRI mapping +
+
+
+
+Test ter11 Invalid term definition +
+
+
+
id
+
#ter11
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid term definition is found
+
input
+
+toRdf/er11-in.jsonld +
+
expect
+
+invalid term definition +
+
+
+
+Test ter12 Invalid type mapping (not a string) +
+
+
+
id
+
#ter12
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid type mapping is found
+
input
+
+toRdf/er12-in.jsonld +
+
expect
+
+invalid type mapping +
+
+
+
+Test ter13 Invalid type mapping (not absolute IRI) +
+
+
+
id
+
#ter13
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid type mapping is found
+
input
+
+toRdf/er13-in.jsonld +
+
expect
+
+invalid type mapping +
+
+
+
+Test ter14 Invalid reverse property (contains @id) +
+
+
+
id
+
#ter14
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid reverse property is found
+
input
+
+toRdf/er14-in.jsonld +
+
expect
+
+invalid reverse property +
+
+
+
+Test ter15 Invalid IRI mapping (@reverse not a string) +
+
+
+
id
+
#ter15
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid IRI mapping is found
+
input
+
+toRdf/er15-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
+
+
+Test ter17 Invalid reverse property (invalid @container) +
+
+
+
id
+
#ter17
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid reverse property is found
+
input
+
+toRdf/er17-in.jsonld +
+
expect
+
+invalid reverse property +
+
+
+
+Test ter18 Invalid IRI mapping (@id not a string) +
+
+
+
id
+
#ter18
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid IRI mapping is found
+
input
+
+toRdf/er18-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
+
+
+Test ter19 Invalid keyword alias (@context) +
+
+
+
id
+
#ter19
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid keyword alias is found
+
input
+
+toRdf/er19-in.jsonld +
+
expect
+
+invalid keyword alias +
+
+
+
+Test ter20 Invalid IRI mapping (no vocab mapping) +
+
+
+
id
+
#ter20
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid IRI mapping is found
+
input
+
+toRdf/er20-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
+
+
+Test ter21 Invalid container mapping +
+
+
+
id
+
#ter21
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid container mapping is found
+
input
+
+toRdf/er21-in.jsonld +
+
expect
+
+invalid container mapping +
+
Options
+
+
+
processingMode
+
json-ld-1.0
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter22 Invalid language mapping +
+
+
+
id
+
#ter22
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid language mapping is found
+
input
+
+toRdf/er22-in.jsonld +
+
expect
+
+invalid language mapping +
+
+
+
+Test ter23 Invalid IRI mapping (relative IRI in @type) +
+
+
+
id
+
#ter23
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a invalid type mapping is found
+
input
+
+toRdf/er23-in.jsonld +
+
expect
+
+invalid type mapping +
+
+
+
+Test ter24 List of lists (from array) +
+
+
+
id
+
#ter24
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when a list of lists is found
+
input
+
+toRdf/er24-in.jsonld +
+
expect
+
+list of lists +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test ter25 Invalid reverse property map +
+
+
+
id
+
#ter25
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when a invalid reverse property map is found
+
input
+
+toRdf/er25-in.jsonld +
+
expect
+
+invalid reverse property map +
+
+
+
+Test ter26 Colliding keywords +
+
+
+
id
+
#ter26
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when colliding keywords are found
+
input
+
+toRdf/er26-in.jsonld +
+
expect
+
+colliding keywords +
+
+
+
+Test ter27 Invalid @id value +
+
+
+
id
+
#ter27
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid @id value is found
+
input
+
+toRdf/er27-in.jsonld +
+
expect
+
+invalid @id value +
+
+
+
+Test ter28 Invalid type value +
+
+
+
id
+
#ter28
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid type value is found
+
input
+
+toRdf/er28-in.jsonld +
+
expect
+
+invalid type value +
+
+
+
+Test ter29 Invalid value object value +
+
+
+
id
+
#ter29
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid value object value is found
+
input
+
+toRdf/er29-in.jsonld +
+
expect
+
+invalid value object value +
+
+
+
+Test ter30 Invalid language-tagged string +
+
+
+
id
+
#ter30
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid language-tagged string value is found
+
input
+
+toRdf/er30-in.jsonld +
+
expect
+
+invalid language-tagged string +
+
+
+
+Test ter31 Invalid @index value +
+
+
+
id
+
#ter31
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid @index value value is found
+
input
+
+toRdf/er31-in.jsonld +
+
expect
+
+invalid @index value +
+
+
+
+Test ter32 List of lists (from array) +
+
+
+
id
+
#ter32
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when a list of lists is found
+
input
+
+toRdf/er32-in.jsonld +
+
expect
+
+list of lists +
+
Options
+
+
+
specVersion
+
json-ld-1.0
+
+
+
+
+
+Test ter33 Invalid @reverse value +
+
+
+
id
+
#ter33
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid @reverse value is found
+
input
+
+toRdf/er33-in.jsonld +
+
expect
+
+invalid @reverse value +
+
+
+
+Test ter34 Invalid reverse property value (in @reverse) +
+
+
+
id
+
#ter34
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid reverse property value is found
+
input
+
+toRdf/er34-in.jsonld +
+
expect
+
+invalid reverse property value +
+
+
+
+Test ter35 Invalid language map value +
+
+
+
id
+
#ter35
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid language map value is found
+
input
+
+toRdf/er35-in.jsonld +
+
expect
+
+invalid language map value +
+
+
+
+Test ter36 Invalid reverse property value (through coercion) +
+
+
+
id
+
#ter36
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid reverse property value is found
+
input
+
+toRdf/er36-in.jsonld +
+
expect
+
+invalid reverse property value +
+
+
+
+Test ter37 Invalid value object (unexpected keyword) +
+
+
+
id
+
#ter37
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid value object is found
+
input
+
+toRdf/er37-in.jsonld +
+
expect
+
+invalid value object +
+
+
+
+Test ter38 Invalid value object (@type and @language) +
+
+
+
id
+
#ter38
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid value object is found
+
input
+
+toRdf/er38-in.jsonld +
+
expect
+
+invalid value object +
+
+
+
+Test ter39 Invalid language-tagged value +
+
+
+
id
+
#ter39
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid language-tagged value is found
+
input
+
+toRdf/er39-in.jsonld +
+
expect
+
+invalid language-tagged value +
+
+
+
+Test ter40 Invalid typed value +
+
+
+
id
+
#ter40
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid typed value is found
+
input
+
+toRdf/er40-in.jsonld +
+
expect
+
+invalid typed value +
+
+
+
+Test ter41 Invalid set or list object +
+
+
+
id
+
#ter41
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid set or list object is found
+
input
+
+toRdf/er41-in.jsonld +
+
expect
+
+invalid set or list object +
+
+
+
+Test ter42 Keywords may not be redefined in 1.0 +
+
+
+
id
+
#ter42
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when processing an invalid context attempting to define @container on a keyword
+
input
+
+toRdf/er42-in.jsonld +
+
expect
+
+keyword redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test ter43 Term definition with @id: @type +
+
+
+
id
+
#ter43
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding term mapping to @type uses @type syntax now illegal
+
input
+
+toRdf/er43-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter44 Redefine terms looking like compact IRIs +
+
+
+
id
+
#ter44
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Term definitions may look like compact IRIs, but must be consistent.
+
input
+
+toRdf/er44-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter48 Invalid term as relative IRI +
+
+
+
id
+
#ter48
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that a relative IRI cannot be used as a term.
+
input
+
+toRdf/er48-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter49 A relative IRI cannot be used as a prefix +
+
+
+
id
+
#ter49
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that a relative IRI cannot be used as a term.
+
input
+
+toRdf/er49-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ter50 Invalid reverse id +
+
+
+
id
+
#ter50
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid IRI is used for @reverse.
+
input
+
+toRdf/er50-in.jsonld +
+
expect
+
+invalid IRI mapping +
+
+
+
+Test ter51 Invalid value object value using a value alias +
+
+
+
id
+
#ter51
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised in Expansion when an invalid value object value is found using a value alias
+
input
+
+toRdf/er51-in.jsonld +
+
expect
+
+invalid value object value +
+
+
+
+Test ter52 Definition for the empty term +
+
+
+
id
+
#ter52
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context contains a definition for the empty term
+
input
+
+toRdf/er52-in.jsonld +
+
expect
+
+invalid term definition +
+
+
+
+Test tin01 Basic Included array +
+
+
+
id
+
#tin01
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests included blocks.
+
input
+
+toRdf/in01-in.jsonld +
+
expect
+
+toRdf/in01-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin02 Basic Included object +
+
+
+
id
+
#tin02
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests included blocks.
+
input
+
+toRdf/in02-in.jsonld +
+
expect
+
+toRdf/in02-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin03 Multiple properties mapping to @included are folded together +
+
+
+
id
+
#tin03
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests included blocks.
+
input
+
+toRdf/in03-in.jsonld +
+
expect
+
+toRdf/in03-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin04 Included containing @included +
+
+
+
id
+
#tin04
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests included blocks.
+
input
+
+toRdf/in04-in.jsonld +
+
expect
+
+toRdf/in04-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin05 Property value with @included +
+
+
+
id
+
#tin05
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests included blocks.
+
input
+
+toRdf/in05-in.jsonld +
+
expect
+
+toRdf/in05-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin06 json.api example +
+
+
+
id
+
#tin06
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests included blocks.
+
input
+
+toRdf/in06-in.jsonld +
+
expect
+
+toRdf/in06-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin07 Error if @included value is a string +
+
+
+
id
+
#tin07
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests included blocks.
+
input
+
+toRdf/in07-in.jsonld +
+
expect
+
+invalid @included value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin08 Error if @included value is a value object +
+
+
+
id
+
#tin08
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests included blocks.
+
input
+
+toRdf/in08-in.jsonld +
+
expect
+
+invalid @included value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tin09 Error if @included value is a list object +
+
+
+
id
+
#tin09
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests included blocks.
+
input
+
+toRdf/in09-in.jsonld +
+
expect
+
+invalid @included value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tjs01 Transform JSON literal (boolean true) +
+
+
+
id
+
#tjs01
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (boolean true).
+
input
+
+toRdf/js01-in.jsonld +
+
expect
+
+toRdf/js01-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs02 Transform JSON literal (boolean false) +
+
+
+
id
+
#tjs02
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (boolean false).
+
input
+
+toRdf/js02-in.jsonld +
+
expect
+
+toRdf/js02-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs03 Transform JSON literal (double) +
+
+
+
id
+
#tjs03
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (double).
+
input
+
+toRdf/js03-in.jsonld +
+
expect
+
+toRdf/js03-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs04 Transform JSON literal (double-zero) +
+
+
+
id
+
#tjs04
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (double-zero).
+
input
+
+toRdf/js04-in.jsonld +
+
expect
+
+toRdf/js04-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs05 Transform JSON literal (integer) +
+
+
+
id
+
#tjs05
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (integer).
+
input
+
+toRdf/js05-in.jsonld +
+
expect
+
+toRdf/js05-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs06 Transform JSON literal (object) +
+
+
+
id
+
#tjs06
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (object).
+
input
+
+toRdf/js06-in.jsonld +
+
expect
+
+toRdf/js06-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs07 Transform JSON literal (array) +
+
+
+
id
+
#tjs07
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (array).
+
input
+
+toRdf/js07-in.jsonld +
+
expect
+
+toRdf/js07-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs08 Transform JSON literal with array canonicalization +
+
+
+
id
+
#tjs08
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal with array canonicalization.
+
input
+
+toRdf/js08-in.jsonld +
+
expect
+
+toRdf/js08-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs09 Transform JSON literal with string canonicalization +
+
+
+
id
+
#tjs09
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal with string canonicalization.
+
input
+
+toRdf/js09-in.jsonld +
+
expect
+
+toRdf/js09-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs10 Transform JSON literal with structural canonicalization +
+
+
+
id
+
#tjs10
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal with structural canonicalization.
+
input
+
+toRdf/js10-in.jsonld +
+
expect
+
+toRdf/js10-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs11 Transform JSON literal with unicode canonicalization +
+
+
+
id
+
#tjs11
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal with unicode canonicalization.
+
input
+
+toRdf/js11-in.jsonld +
+
expect
+
+toRdf/js11-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs12 Transform JSON literal with value canonicalization +
+
+
+
id
+
#tjs12
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal with value canonicalization.
+
input
+
+toRdf/js12-in.jsonld +
+
expect
+
+toRdf/js12-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs13 Transform JSON literal with wierd canonicalization +
+
+
+
id
+
#tjs13
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal with wierd canonicalization.
+
input
+
+toRdf/js13-in.jsonld +
+
expect
+
+toRdf/js13-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs14 Transform JSON literal without expanding contents +
+
+
+
id
+
#tjs14
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal does not expand terms inside json.
+
input
+
+toRdf/js14-in.jsonld +
+
expect
+
+toRdf/js14-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs15 Transform JSON literal aleady in expanded form +
+
+
+
id
+
#tjs15
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal in expanded form.
+
input
+
+toRdf/js15-in.jsonld +
+
expect
+
+toRdf/js15-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs16 Transform JSON literal aleady in expanded form with aliased keys +
+
+
+
id
+
#tjs16
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal in expanded form with aliased keys in value object.
+
input
+
+toRdf/js16-in.jsonld +
+
expect
+
+toRdf/js16-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs17 Transform JSON literal (string) +
+
+
+
id
+
#tjs17
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (string).
+
input
+
+toRdf/js17-in.jsonld +
+
expect
+
+toRdf/js17-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs18 Transform JSON literal (null) +
+
+
+
id
+
#tjs18
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (null).
+
input
+
+toRdf/js18-in.jsonld +
+
expect
+
+toRdf/js18-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs19 Transform JSON literal with aliased @type +
+
+
+
id
+
#tjs19
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal with aliased @type.
+
input
+
+toRdf/js19-in.jsonld +
+
expect
+
+toRdf/js19-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs20 Transform JSON literal with aliased @value +
+
+
+
id
+
#tjs20
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal with aliased @value.
+
input
+
+toRdf/js20-in.jsonld +
+
expect
+
+toRdf/js20-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs21 Transform JSON literal with @context +
+
+
+
id
+
#tjs21
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming JSON literal with a @context.
+
input
+
+toRdf/js21-in.jsonld +
+
expect
+
+toRdf/js21-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs22 Transform JSON literal (null) aleady in expanded form. +
+
+
+
id
+
#tjs22
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (null).
+
input
+
+toRdf/js22-in.jsonld +
+
expect
+
+toRdf/js22-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tjs23 Transform JSON literal (empty array). +
+
+
+
id
+
#tjs23
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Tests transforming property with @type @json to a JSON literal (empty array).
+
input
+
+toRdf/js23-in.jsonld +
+
expect
+
+toRdf/js23-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
useJCS
+
true
+
+
+
+
+
+Test tli01 @list containing @list +
+
+
+
id
+
#tli01
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List of lists.
+
input
+
+toRdf/li01-in.jsonld +
+
expect
+
+toRdf/li01-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli02 @list containing empty @list +
+
+
+
id
+
#tli02
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List of lists.
+
input
+
+toRdf/li02-in.jsonld +
+
expect
+
+toRdf/li02-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli03 @list containing @list (with coercion) +
+
+
+
id
+
#tli03
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List of lists
+
input
+
+toRdf/li03-in.jsonld +
+
expect
+
+toRdf/li03-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli04 @list containing empty @list (with coercion) +
+
+
+
id
+
#tli04
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List of lists
+
input
+
+toRdf/li04-in.jsonld +
+
expect
+
+toRdf/li04-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli05 coerced @list containing an array +
+
+
+
id
+
#tli05
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List of lists
+
input
+
+toRdf/li05-in.jsonld +
+
expect
+
+toRdf/li05-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli06 coerced @list containing an empty array +
+
+
+
id
+
#tli06
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List of lists
+
input
+
+toRdf/li06-in.jsonld +
+
expect
+
+toRdf/li06-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli07 coerced @list containing deep arrays +
+
+
+
id
+
#tli07
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List of lists
+
input
+
+toRdf/li07-in.jsonld +
+
expect
+
+toRdf/li07-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli08 coerced @list containing deep empty arrays +
+
+
+
id
+
#tli08
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List of lists
+
input
+
+toRdf/li08-in.jsonld +
+
expect
+
+toRdf/li08-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli09 coerced @list containing multiple lists +
+
+
+
id
+
#tli09
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List of lists
+
input
+
+toRdf/li09-in.jsonld +
+
expect
+
+toRdf/li09-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tli10 coerced @list containing mixed list values +
+
+
+
id
+
#tli10
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
List of lists
+
input
+
+toRdf/li10-in.jsonld +
+
expect
+
+toRdf/li10-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm001 Adds @id to object not having an @id +
+
+
+
id
+
#tm001
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @container: @id
+
input
+
+toRdf/m001-in.jsonld +
+
expect
+
+toRdf/m001-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm002 Retains @id in object already having an @id +
+
+
+
id
+
#tm002
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @container: @id
+
input
+
+toRdf/m002-in.jsonld +
+
expect
+
+toRdf/m002-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm003 Adds @type to object not having an @type +
+
+
+
id
+
#tm003
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @container: @type
+
input
+
+toRdf/m003-in.jsonld +
+
expect
+
+toRdf/m003-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm004 Prepends @type in object already having an @type +
+
+
+
id
+
#tm004
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @container: @type
+
input
+
+toRdf/m004-in.jsonld +
+
expect
+
+toRdf/m004-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm005 Adds expanded @id to object +
+
+
+
id
+
#tm005
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @container: @id
+
input
+
+toRdf/m005-in.jsonld +
+
expect
+
+toRdf/m005-out.nq +
+
Options
+
+
+
base
+
http://example.org/
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm006 Adds vocabulary expanded @type to object +
+
+
+
id
+
#tm006
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @container: @type
+
input
+
+toRdf/m006-in.jsonld +
+
expect
+
+toRdf/m006-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm007 Adds document expanded @type to object +
+
+
+
id
+
#tm007
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @container: @type
+
input
+
+toRdf/m007-in.jsonld +
+
expect
+
+toRdf/m007-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm008 When type is in a type map +
+
+
+
id
+
#tm008
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
scoped context on @type
+
input
+
+toRdf/m008-in.jsonld +
+
expect
+
+toRdf/m008-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm009 language map with @none +
+
+
+
id
+
#tm009
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @language
+
input
+
+toRdf/m009-in.jsonld +
+
expect
+
+toRdf/m009-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm010 language map with alias of @none +
+
+
+
id
+
#tm010
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @language
+
input
+
+toRdf/m010-in.jsonld +
+
expect
+
+toRdf/m010-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm011 id map with @none +
+
+
+
id
+
#tm011
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @id
+
input
+
+toRdf/m011-in.jsonld +
+
expect
+
+toRdf/m011-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm012 type map with alias of @none +
+
+
+
id
+
#tm012
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @type
+
input
+
+toRdf/m012-in.jsonld +
+
expect
+
+toRdf/m012-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm013 graph index map with @none +
+
+
+
id
+
#tm013
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @graph and @index
+
input
+
+toRdf/m013-in.jsonld +
+
expect
+
+toRdf/m013-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm014 graph index map with alias @none +
+
+
+
id
+
#tm014
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @graph and @index
+
input
+
+toRdf/m014-in.jsonld +
+
expect
+
+toRdf/m014-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm015 graph id index map with aliased @none +
+
+
+
id
+
#tm015
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @graph and @id with @none
+
input
+
+toRdf/m015-in.jsonld +
+
expect
+
+toRdf/m015-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm016 graph id index map with aliased @none +
+
+
+
id
+
#tm016
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @graph and @id with @none
+
input
+
+toRdf/m016-in.jsonld +
+
expect
+
+toRdf/m016-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm017 string value of type map expands to node reference +
+
+
+
id
+
#tm017
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @type
+
input
+
+toRdf/m017-in.jsonld +
+
expect
+
+toRdf/m017-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm018 string value of type map expands to node reference with @type: @id +
+
+
+
id
+
#tm018
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @type
+
input
+
+toRdf/m018-in.jsonld +
+
expect
+
+toRdf/m018-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm019 string value of type map expands to node reference with @type: @vocab +
+
+
+
id
+
#tm019
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @type
+
input
+
+toRdf/m019-in.jsonld +
+
expect
+
+toRdf/m019-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tm020 string value of type map must not be a literal +
+
+
+
id
+
#tm020
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
index on @type
+
input
+
+toRdf/m020-in.jsonld +
+
expect
+
+invalid type mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn001 Expands input using @nest +
+
+
+
id
+
#tn001
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @nest
+
input
+
+toRdf/n001-in.jsonld +
+
expect
+
+toRdf/n001-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn002 Expands input using aliased @nest +
+
+
+
id
+
#tn002
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @nest
+
input
+
+toRdf/n002-in.jsonld +
+
expect
+
+toRdf/n002-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn003 Appends nested values when property at base and nested +
+
+
+
id
+
#tn003
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @nest
+
input
+
+toRdf/n003-in.jsonld +
+
expect
+
+toRdf/n003-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn004 Appends nested values from all @nest aliases in term order +
+
+
+
id
+
#tn004
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @nest
+
input
+
+toRdf/n004-in.jsonld +
+
expect
+
+toRdf/n004-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn005 Nested nested containers +
+
+
+
id
+
#tn005
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @nest
+
input
+
+toRdf/n005-in.jsonld +
+
expect
+
+toRdf/n005-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn006 Arrays of nested values +
+
+
+
id
+
#tn006
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @nest
+
input
+
+toRdf/n006-in.jsonld +
+
expect
+
+toRdf/n006-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn007 A nest of arrays +
+
+
+
id
+
#tn007
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @nest
+
input
+
+toRdf/n007-in.jsonld +
+
expect
+
+toRdf/n007-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tn008 Multiple keys may mapping to @type when nesting +
+
+
+
id
+
#tn008
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion using @nest
+
input
+
+toRdf/n008-in.jsonld +
+
expect
+
+toRdf/n008-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tnt01 literal_ascii_boundaries +
+
+
+
id
+
#tnt01
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal_ascii_boundaries '\x00\x26\x28...' from N-Triples
+
input
+
+toRdf/nt01-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt02 literal_with_UTF8_boundaries +
+
+
+
id
+
#tnt02
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal_with_UTF8_boundaries '\x80\x7ff\x800\xfff...' from N-Triples
+
input
+
+toRdf/nt02-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt03 literal_all_controls +
+
+
+
id
+
#tnt03
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal_all_controls '\x00\x01\x02\x03\x04...' from N-Triples
+
input
+
+toRdf/nt03-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt04 literal_all_punctuation +
+
+
+
id
+
#tnt04
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal_all_punctuation '!"#$%&()...' from N-Triples
+
input
+
+toRdf/nt04-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt05 literal_with_squote +
+
+
+
id
+
#tnt05
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with squote "x'y" from N-Triples
+
input
+
+toRdf/nt05-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt06 literal_with_2_squotes +
+
+
+
id
+
#tnt06
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with 2 squotes "x''y" from N-Triples
+
input
+
+toRdf/nt06-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt07 literal_with_dquote +
+
+
+
id
+
#tnt07
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with dquote "x"y" from N-Triples
+
input
+
+toRdf/nt07-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt08 literal_with_2_dquotes +
+
+
+
id
+
#tnt08
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with 2 dquotes """a""b""" from N-Triples
+
input
+
+toRdf/nt08-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt09 literal_with_REVERSE_SOLIDUS2 +
+
+
+
id
+
#tnt09
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
REVERSE SOLIDUS at end of literal from N-Triples
+
input
+
+toRdf/nt09-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt10 literal_with_CHARACTER_TABULATION +
+
+
+
id
+
#tnt10
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with CHARACTER TABULATION from N-Triples
+
input
+
+toRdf/nt10-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt11 literal_with_BACKSPACE +
+
+
+
id
+
#tnt11
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with BACKSPACE from N-Triples
+
input
+
+toRdf/nt11-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt12 literal_with_LINE_FEED +
+
+
+
id
+
#tnt12
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with LINE FEED from N-Triples
+
input
+
+toRdf/nt12-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt13 literal_with_CARRIAGE_RETURN +
+
+
+
id
+
#tnt13
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with CARRIAGE RETURN from N-Triples
+
input
+
+toRdf/nt13-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt14 literal_with_FORM_FEED +
+
+
+
id
+
#tnt14
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with FORM FEED from N-Triples
+
input
+
+toRdf/nt14-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt15 literal_with_REVERSE_SOLIDUS +
+
+
+
id
+
#tnt15
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with REVERSE SOLIDUS from N-Triples
+
input
+
+toRdf/nt15-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tnt16 literal_with_numeric_escape4 +
+
+
+
id
+
#tnt16
+
Type
+
jld:PositiveSyntaxTest, jld:ToRDFTest
+
Purpose
+
literal with numeric escape4 \u from N-Triples
+
input
+
+toRdf/nt16-in.jsonld +
+
expect
+
+ +
+
+
+
+Test tp001 @version may be specified after first context +
+
+
+
id
+
#tp001
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
If processing mode is not set through API, it is set by the first context containing @version.
+
input
+
+toRdf/p001-in.jsonld +
+
expect
+
+toRdf/p001-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp002 @version setting [1.0, 1.1, 1.0] +
+
+
+
id
+
#tp002
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
If processing mode is not set through API, it is set by the first context containing @version.
+
input
+
+toRdf/p002-in.jsonld +
+
expect
+
+toRdf/p002-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp003 @version setting [1.1, 1.0] +
+
+
+
id
+
#tp003
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
If processing mode is not set through API, it is set by the first context containing @version.
+
input
+
+toRdf/p003-in.jsonld +
+
expect
+
+toRdf/p003-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tp004 @version setting [1.1, 1.0, 1.1] +
+
+
+
id
+
#tp004
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
If processing mode is not set through API, it is set by the first context containing @version.
+
input
+
+toRdf/p004-in.jsonld +
+
expect
+
+toRdf/p004-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi01 error if @version is json-ld-1.0 for property-valued index +
+
+
+
id
+
#tpi01
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi01-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test tpi02 error if @container does not include @index for property-valued index +
+
+
+
id
+
#tpi02
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi02-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi03 error if @index is a keyword for property-valued index +
+
+
+
id
+
#tpi03
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi03-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi04 error if @index is not a string for property-valued index +
+
+
+
id
+
#tpi04
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi04-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi05 error if attempting to add property to value object for property-valued index +
+
+
+
id
+
#tpi05
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi05-in.jsonld +
+
expect
+
+invalid value object +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi06 property-valued index expands to property value, instead of @index (value) +
+
+
+
id
+
#tpi06
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi06-in.jsonld +
+
expect
+
+toRdf/pi06-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi07 property-valued index appends to property value, instead of @index (value) +
+
+
+
id
+
#tpi07
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi07-in.jsonld +
+
expect
+
+toRdf/pi07-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi08 property-valued index expands to property value, instead of @index (node) +
+
+
+
id
+
#tpi08
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi08-in.jsonld +
+
expect
+
+toRdf/pi08-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi09 property-valued index appends to property value, instead of @index (node) +
+
+
+
id
+
#tpi09
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi09-in.jsonld +
+
expect
+
+toRdf/pi09-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi10 property-valued index does not output property for @none +
+
+
+
id
+
#tpi10
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi10-in.jsonld +
+
expect
+
+toRdf/pi10-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpi11 property-valued index adds property to graph object +
+
+
+
id
+
#tpi11
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expanding index maps where index is a property.
+
input
+
+toRdf/pi11-in.jsonld +
+
expect
+
+toRdf/pi11-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr01 Protect a term +
+
+
+
id
+
#tpr01
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Check error when overriding a protected term.
+
input
+
+toRdf/pr01-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr02 Set a term to not be protected +
+
+
+
id
+
#tpr02
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
A term with @protected: false is not protected.
+
input
+
+toRdf/pr02-in.jsonld +
+
expect
+
+toRdf/pr02-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr03 Protect all terms in context +
+
+
+
id
+
#tpr03
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
A protected context protects all term definitions.
+
input
+
+toRdf/pr03-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr04 Do not protect term with @protected: false +
+
+
+
id
+
#tpr04
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
A protected context does not protect terms with @protected: false.
+
input
+
+toRdf/pr04-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr05 Clear active context with protected terms from an embedded context +
+
+
+
id
+
#tpr05
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
The Active context be set to null from an embedded context.
+
input
+
+toRdf/pr05-in.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr06 Clear active context of protected terms from a term. +
+
+
+
id
+
#tpr06
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
The Active context may be set to null from a scoped context of a term.
+
input
+
+toRdf/pr06-in.jsonld +
+
expect
+
+toRdf/pr06-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr08 Term with protected scoped context. +
+
+
+
id
+
#tpr08
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
A scoped context can protect terms.
+
input
+
+toRdf/pr08-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr09 Attempt to redefine term in other protected context. +
+
+
+
id
+
#tpr09
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
A protected term cannot redefine another protected term.
+
input
+
+toRdf/pr09-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr10 Simple protected and unprotected terms. +
+
+
+
id
+
#tpr10
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Simple protected and unprotected terms.
+
input
+
+toRdf/pr10-in.jsonld +
+
expect
+
+toRdf/pr10-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr11 Fail to override protected term. +
+
+
+
id
+
#tpr11
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Fail to override protected term.
+
input
+
+toRdf/pr11-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr12 Scoped context fail to override protected term. +
+
+
+
id
+
#tpr12
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Scoped context fail to override protected term.
+
input
+
+toRdf/pr12-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr13 Override unprotected term. +
+
+
+
id
+
#tpr13
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Override unprotected term.
+
input
+
+toRdf/pr13-in.jsonld +
+
expect
+
+toRdf/pr13-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr14 Clear protection with null context. +
+
+
+
id
+
#tpr14
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Clear protection with null context.
+
input
+
+toRdf/pr14-in.jsonld +
+
expect
+
+toRdf/pr14-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr15 Clear protection with array with null context +
+
+
+
id
+
#tpr15
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Clear protection with array with null context
+
input
+
+toRdf/pr15-in.jsonld +
+
expect
+
+toRdf/pr15-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr16 Override protected terms after null. +
+
+
+
id
+
#tpr16
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Override protected terms after null.
+
input
+
+toRdf/pr16-in.jsonld +
+
expect
+
+toRdf/pr16-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr17 Fail to override protected terms with type. +
+
+
+
id
+
#tpr17
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Fail to override protected terms with type.
+
input
+
+toRdf/pr17-in.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr18 Fail to override protected terms with type+null+ctx. +
+
+
+
id
+
#tpr18
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Fail to override protected terms with type+null+ctx.
+
input
+
+toRdf/pr18-in.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr19 Mix of protected and unprotected terms. +
+
+
+
id
+
#tpr19
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Mix of protected and unprotected terms.
+
input
+
+toRdf/pr19-in.jsonld +
+
expect
+
+toRdf/pr19-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr20 Fail with mix of protected and unprotected terms with type+null+ctx. +
+
+
+
id
+
#tpr20
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Fail with mix of protected and unprotected terms with type+null+ctx.
+
input
+
+toRdf/pr20-in.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr21 Fail with mix of protected and unprotected terms with type+null. +
+
+
+
id
+
#tpr21
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Fail with mix of protected and unprotected terms with type+null.
+
input
+
+toRdf/pr21-in.jsonld +
+
expect
+
+invalid context nullification +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr22 Check legal overriding of type-scoped protected term from nested node. +
+
+
+
id
+
#tpr22
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Check legal overriding of type-scoped protected term from nested node.
+
input
+
+toRdf/pr22-in.jsonld +
+
expect
+
+toRdf/pr22-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr23 Allows redefinition of protected alias term with same definition. +
+
+
+
id
+
#tpr23
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Allows redefinition of protected alias term with same definition.
+
input
+
+toRdf/pr23-in.jsonld +
+
expect
+
+toRdf/pr23-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr24 Allows redefinition of protected prefix term with same definition. +
+
+
+
id
+
#tpr24
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Allows redefinition of protected prefix term with same definition.
+
input
+
+toRdf/pr24-in.jsonld +
+
expect
+
+toRdf/pr24-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr25 Allows redefinition of terms with scoped contexts using same definitions. +
+
+
+
id
+
#tpr25
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Allows redefinition of terms with scoped contexts using same definitions.
+
input
+
+toRdf/pr25-in.jsonld +
+
expect
+
+toRdf/pr25-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr26 Fails on redefinition of terms with scoped contexts using different definitions. +
+
+
+
id
+
#tpr26
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Fails on redefinition of terms with scoped contexts using different definitions.
+
input
+
+toRdf/pr26-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr27 Allows redefinition of protected alias term with same definition modulo protected flag. +
+
+
+
id
+
#tpr27
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Allows redefinition of protected alias term with same definition modulo protected flag.
+
input
+
+toRdf/pr27-in.jsonld +
+
expect
+
+toRdf/pr27-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr28 Fails if trying to redefine a protected null term. +
+
+
+
id
+
#tpr28
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
A protected term with a null IRI mapping cannot be redefined.
+
input
+
+toRdf/pr28-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr29 Does not expand a Compact IRI using a non-prefix term. +
+
+
+
id
+
#tpr29
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Expansion of Compact IRIs considers if the term can be used as a prefix.
+
input
+
+toRdf/pr29-in.jsonld +
+
expect
+
+toRdf/pr29-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr30 Keywords may be protected. +
+
+
+
id
+
#tpr30
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Keywords may not be redefined other than to protect them.
+
input
+
+toRdf/pr30-in.jsonld +
+
expect
+
+toRdf/pr30-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr31 Protected keyword aliases cannot be overridden. +
+
+
+
id
+
#tpr31
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Keywords may not be redefined other than to protect them.
+
input
+
+toRdf/pr31-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr32 Protected @type cannot be overridden. +
+
+
+
id
+
#tpr32
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Keywords may not be redefined other than to protect them.
+
input
+
+toRdf/pr32-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr33 Fails if trying to declare a keyword alias as prefix. +
+
+
+
id
+
#tpr33
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Keyword aliases can not be used as prefixes.
+
input
+
+toRdf/pr33-in.jsonld +
+
expect
+
+invalid term definition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr34 Ignores a non-keyword term starting with '@' +
+
+
+
id
+
#tpr34
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+toRdf/pr34-in.jsonld +
+
expect
+
+toRdf/pr34-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr35 Ignores a non-keyword term starting with '@' (with @vocab) +
+
+
+
id
+
#tpr35
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+toRdf/pr35-in.jsonld +
+
expect
+
+toRdf/pr35-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr36 Ignores a term mapping to a value in the form of a keyword. +
+
+
+
id
+
#tpr36
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+toRdf/pr36-in.jsonld +
+
expect
+
+toRdf/pr36-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr37 Ignores a term mapping to a value in the form of a keyword (with @vocab). +
+
+
+
id
+
#tpr37
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+toRdf/pr37-in.jsonld +
+
expect
+
+toRdf/pr37-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr38 Ignores a term mapping to a value in the form of a keyword (@reverse). +
+
+
+
id
+
#tpr38
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+toRdf/pr38-in.jsonld +
+
expect
+
+toRdf/pr38-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr39 Ignores a term mapping to a value in the form of a keyword (@reverse with @vocab). +
+
+
+
id
+
#tpr39
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Terms in the form of a keyword, which are not keywords, are ignored.
+
input
+
+toRdf/pr39-in.jsonld +
+
expect
+
+toRdf/pr39-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tpr40 Protected terms and property-scoped contexts +
+
+
+
id
+
#tpr40
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
Check overriding of protected term from property-scoped context.
+
input
+
+toRdf/pr40-in.jsonld +
+
expect
+
+toRdf/pr40-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test trt01 Representing numbers >= 1e21 +
+
+
+
id
+
#trt01
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
numbers with no fractions but that are >= 1e21 are represented as xsd:double
+
input
+
+toRdf/rt01-in.jsonld +
+
expect
+
+toRdf/rt01-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso01 @import is invalid in 1.0. +
+
+
+
id
+
#tso01
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
@import is invalid in 1.0.
+
input
+
+toRdf/so01-in.jsonld +
+
expect
+
+invalid context entry +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test tso02 @import must be a string +
+
+
+
id
+
#tso02
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
@import must be a string.
+
input
+
+toRdf/so02-in.jsonld +
+
expect
+
+invalid @import value +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso03 @import overflow +
+
+
+
id
+
#tso03
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
Processors must detect source contexts that include @import.
+
input
+
+toRdf/so03-in.jsonld +
+
expect
+
+invalid context entry +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso05 @propagate: true on type-scoped context with @import +
+
+
+
id
+
#tso05
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
type-scoped context with @propagate: true survive node-objects (with @import)
+
input
+
+toRdf/so05-in.jsonld +
+
expect
+
+toRdf/so05-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso06 @propagate: false on property-scoped context with @import +
+
+
+
id
+
#tso06
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
property-scoped context with @propagate: false do not survive node-objects (with @import)
+
input
+
+toRdf/so06-in.jsonld +
+
expect
+
+toRdf/so06-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso07 Protect all terms in sourced context +
+
+
+
id
+
#tso07
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
A protected context protects all term definitions.
+
input
+
+toRdf/so07-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso08 Override term defined in sourced context +
+
+
+
id
+
#tso08
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
The containing context is merged into the source context.
+
input
+
+toRdf/so08-in.jsonld +
+
expect
+
+toRdf/so08-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso09 Override @vocab defined in sourced context +
+
+
+
id
+
#tso09
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
The containing context is merged into the source context.
+
input
+
+toRdf/so09-in.jsonld +
+
expect
+
+toRdf/so09-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso10 Protect terms in sourced context +
+
+
+
id
+
#tso10
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
The containing context is merged into the source context.
+
input
+
+toRdf/so10-in.jsonld +
+
expect
+
+protected term redefinition +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso11 Override protected terms in sourced context +
+
+
+
id
+
#tso11
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
The containing context is merged into the source context.
+
input
+
+toRdf/so11-in.jsonld +
+
expect
+
+toRdf/so11-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso12 @import may not be used in an imported context. +
+
+
+
id
+
#tso12
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
@import only valid within a term definition.
+
input
+
+toRdf/so12-in.jsonld +
+
expect
+
+invalid context entry +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test tso13 @import can only reference a single context +
+
+
+
id
+
#tso13
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
@import can only reference a single context.
+
input
+
+toRdf/so13-in.jsonld +
+
expect
+
+invalid remote context +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test ttn01 @type: @none is illegal in 1.0. +
+
+
+
id
+
#ttn01
+
Type
+
jld:NegativeEvaluationTest, jld:ToRDFTest
+
Purpose
+
@type: @none is illegal in json-ld-1.0.
+
input
+
+toRdf/tn01-in.jsonld +
+
expect
+
+invalid type mapping +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
processingMode
+
json-ld-1.0
+
+
+
+
+
+Test ttn02 @type: @none expands strings as value objects +
+
+
+
id
+
#ttn02
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
@type: @none leaves inputs other than strings alone
+
input
+
+toRdf/tn02-in.jsonld +
+
expect
+
+toRdf/tn02-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test twf01 Triples including invalid subject IRIs are rejected +
+
+
+
id
+
#twf01
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
ToRdf emits only well-formed statements.
+
input
+
+toRdf/wf01-in.jsonld +
+
expect
+
+toRdf/wf01-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test twf02 Triples including invalid predicate IRIs are rejected +
+
+
+
id
+
#twf02
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
ToRdf emits only well-formed statements.
+
input
+
+toRdf/wf02-in.jsonld +
+
expect
+
+toRdf/wf02-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test twf03 Triples including invalid object IRIs are rejected +
+
+
+
id
+
#twf03
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
ToRdf emits only well-formed statements.
+
input
+
+toRdf/wf03-in.jsonld +
+
expect
+
+toRdf/wf03-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test twf04 Triples including invalid type IRIs are rejected +
+
+
+
id
+
#twf04
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
ToRdf emits only well-formed statements.
+
input
+
+toRdf/wf04-in.jsonld +
+
expect
+
+toRdf/wf04-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test twf05 Triples including invalid language tags are rejected +
+
+
+
id
+
#twf05
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
ToRdf emits only well-formed statements.
+
input
+
+toRdf/wf05-in.jsonld +
+
expect
+
+toRdf/wf05-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test twf07 Triples including invalid graph name IRIs are rejected +
+
+
+
id
+
#twf07
+
Type
+
jld:PositiveEvaluationTest, jld:ToRDFTest
+
Purpose
+
ToRdf emits only well-formed statements.
+
input
+
+toRdf/wf07-in.jsonld +
+
expect
+
+toRdf/wf07-out.nq +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+
+ + diff --git a/core/src/test/resources/json-ld-api-tests/toRdf-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-manifest.jsonld index 1b60ec72..bea5d3b6 100644 --- a/core/src/test/resources/json-ld-api-tests/toRdf-manifest.jsonld +++ b/core/src/test/resources/json-ld-api-tests/toRdf-manifest.jsonld @@ -1,9 +1,9 @@ { - "@context": "context.jsonld", + "@context": ["context.jsonld", {"@base": "toRdf-manifest"}], "@id": "", "@type": "mf:Manifest", "name": "Transform JSON-LD to RDF", - "description": "JSON-LD to RDF tests generate RDF Datasets and use RDF Dataset Isomorphism comparison.", + "description": "JSON-LD To RDF tests.", "baseIri": "https://w3c.github.io/json-ld-api/tests/", "sequence": [ { @@ -252,680 +252,2000 @@ "input": "toRdf/0036-in.jsonld", "expect": "toRdf/0036-out.nq" }, { - "@id": "#t0041", + "@id": "#t0113", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Dataset with a IRI named graph", + "purpose": "Basic use of creating a named graph using an IRI name", + "input": "toRdf/0113-in.jsonld", + "expect": "toRdf/0113-out.nq" + }, { + "@id": "#t0114", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Dataset with a IRI named graph", + "purpose": "Basic use of creating a named graph using a BNode name", + "input": "toRdf/0114-in.jsonld", + "expect": "toRdf/0114-out.nq" + }, { + "@id": "#t0115", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Dataset with a default and two named graphs", + "purpose": "Dataset with a default and two named graphs (IRI and BNode)", + "input": "toRdf/0115-in.jsonld", + "expect": "toRdf/0115-out.nq" + }, { + "@id": "#t0116", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Dataset from node with embedded named graph", + "purpose": "Embedding @graph in a node creates a named graph", + "input": "toRdf/0116-in.jsonld", + "expect": "toRdf/0116-out.nq" + }, { + "@id": "#t0117", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Dataset from node with embedded named graph (bnode)", + "purpose": "Embedding @graph in a node creates a named graph. Graph name is created if there is no subject", + "input": "toRdf/0117-in.jsonld", + "expect": "toRdf/0117-out.nq" + }, { + "@id": "#t0118", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "produce generalized RDF flag", + "purpose": "Triples with blank node predicates are not dropped if the produce generalized RDF flag is true.", + "option": { + "specVersion": "json-ld-1.0", + "produceGeneralizedRdf": true + }, + "requires": "GeneralizedRdf", + "input": "toRdf/0118-in.jsonld", + "expect": "toRdf/0118-out.nq" + }, { + "@id": "#t0119", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Blank nodes with reverse properties", + "purpose": "Proper (re-)labeling of blank nodes if used with reverse properties.", + "input": "toRdf/0119-in.jsonld", + "expect": "toRdf/0119-out.nq" + }, { + "@id": "#t0120", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (0)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0120-in.jsonld", + "expect": "toRdf/0120-out.nq" + }, { + "@id": "#t0121", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (1)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0121-in.jsonld", + "expect": "toRdf/0121-out.nq" + }, { + "@id": "#t0122", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (2)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0122-in.jsonld", + "expect": "toRdf/0122-out.nq" + }, { + "@id": "#t0123", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (3)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0123-in.jsonld", + "expect": "toRdf/0123-out.nq" + }, { + "@id": "#t0124", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (4)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0124-in.jsonld", + "expect": "toRdf/0124-out.nq" + }, { + "@id": "#t0125", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (5)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0125-in.jsonld", + "expect": "toRdf/0125-out.nq" + }, { + "@id": "#t0126", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (6)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0126-in.jsonld", + "expect": "toRdf/0126-out.nq" + }, { + "@id": "#t0127", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (7)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0127-in.jsonld", + "expect": "toRdf/0127-out.nq" + }, { + "@id": "#t0128", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (8)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0128-in.jsonld", + "expect": "toRdf/0128-out.nq" + }, { + "@id": "#t0129", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (9)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0129-in.jsonld", + "expect": "toRdf/0129-out.nq" + }, { + "@id": "#t0130", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (10)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0130-in.jsonld", + "expect": "toRdf/0130-out.nq" + }, { + "@id": "#t0131", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (11)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0131-in.jsonld", + "expect": "toRdf/0131-out.nq" + }, { + "@id": "#t0132", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI Resolution (12)", + "purpose": "IRI resolution according to RFC3986.", + "input": "toRdf/0132-in.jsonld", + "expect": "toRdf/0132-out.nq" + }, { + "@id": "#tc001", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "adding new term", + "purpose": "Expansion using a scoped context uses term scope for selecting proper term", + "input": "toRdf/c001-in.jsonld", + "expect": "toRdf/c001-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc002", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "overriding a term", + "purpose": "Expansion using a scoped context uses term scope for selecting proper term", + "input": "toRdf/c002-in.jsonld", + "expect": "toRdf/c002-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc003", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "property and value with different terms mapping to the same expanded property", + "purpose": "Expansion using a scoped context uses term scope for selecting proper term", + "input": "toRdf/c003-in.jsonld", + "expect": "toRdf/c003-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc004", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "deep @context affects nested nodes", + "purpose": "Expansion using a scoped context uses term scope for selecting proper term", + "input": "toRdf/c004-in.jsonld", + "expect": "toRdf/c004-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc005", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "scoped context layers on intemediate contexts", + "purpose": "Expansion using a scoped context uses term scope for selecting proper term", + "input": "toRdf/c005-in.jsonld", + "expect": "toRdf/c005-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc006", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "adding new term", + "purpose": "scoped context on @type", + "input": "toRdf/c006-in.jsonld", + "expect": "toRdf/c006-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc007", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "overriding a term", + "purpose": "scoped context on @type", + "input": "toRdf/c007-in.jsonld", + "expect": "toRdf/c007-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc008", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "alias of @type", + "purpose": "scoped context on @type", + "input": "toRdf/c008-in.jsonld", + "expect": "toRdf/c008-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc009", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "deep @type-scoped @context does NOT affect nested nodes", + "purpose": "scoped context on @type", + "input": "toRdf/c009-in.jsonld", + "expect": "toRdf/c009-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc010", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "scoped context layers on intemediate contexts", + "purpose": "scoped context on @type", + "input": "toRdf/c010-in.jsonld", + "expect": "toRdf/c010-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc011", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "orders @type terms when applying scoped contexts", + "purpose": "scoped context on @type", + "input": "toRdf/c011-in.jsonld", + "expect": "toRdf/c011-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc012", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "deep property-term scoped @context in @type-scoped @context affects nested nodes", + "purpose": "scoped context on @type", + "input": "toRdf/c012-in.jsonld", + "expect": "toRdf/c012-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc013", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type maps use scoped context from type index and not scoped context from containing", + "purpose": "scoped context on @type", + "input": "toRdf/c013-in.jsonld", + "expect": "toRdf/c013-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc014", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type-scoped context nullification", + "purpose": "type-scoped context nullification", + "input": "toRdf/c014-in.jsonld", + "expect": "toRdf/c014-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc015", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type-scoped base", + "purpose": "type-scoped base", + "input": "toRdf/c015-in.jsonld", + "expect": "toRdf/c015-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc016", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type-scoped vocab", + "purpose": "type-scoped vocab", + "input": "toRdf/c016-in.jsonld", + "expect": "toRdf/c016-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc017", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "multiple type-scoped contexts are properly reverted", + "purpose": "multiple type-scoped contexts are property reverted", + "input": "toRdf/c017-in.jsonld", + "expect": "toRdf/c017-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc018", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "multiple type-scoped types resolved against previous context", + "purpose": "multiple type-scoped types resolved against previous context", + "input": "toRdf/c018-in.jsonld", + "expect": "toRdf/c018-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc019", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type-scoped context with multiple property scoped terms", + "purpose": "type-scoped context with multiple property scoped terms", + "input": "toRdf/c019-in.jsonld", + "expect": "toRdf/c019-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc020", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type-scoped value", + "purpose": "type-scoped value", + "input": "toRdf/c020-in.jsonld", + "expect": "toRdf/c020-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc021", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type-scoped value mix", + "purpose": "type-scoped value mix", + "input": "toRdf/c021-in.jsonld", + "expect": "toRdf/c021-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc022", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type-scoped property-scoped contexts including @type:@vocab", + "purpose": "type-scoped property-scoped contexts including @type:@vocab", + "input": "toRdf/c022-in.jsonld", + "expect": "toRdf/c022-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc023", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "composed type-scoped property-scoped contexts including @type:@vocab", + "purpose": "composed type-scoped property-scoped contexts including @type:@vocab", + "input": "toRdf/c023-in.jsonld", + "expect": "toRdf/c023-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc024", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type-scoped + property-scoped + values evaluates against previous context", + "purpose": "type-scoped + property-scoped + values evaluates against previous context", + "input": "toRdf/c024-in.jsonld", + "expect": "toRdf/c024-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc025", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type-scoped + graph container", + "purpose": "type-scoped + graph container", + "input": "toRdf/c025-in.jsonld", + "expect": "toRdf/c025-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc026", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@propagate: true on type-scoped context", + "purpose": "type-scoped context with @propagate: true survive node-objects", + "input": "toRdf/c026-in.jsonld", + "expect": "toRdf/c026-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc027", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@propagate: false on property-scoped context", + "purpose": "property-scoped context with @propagate: false do not survive node-objects", + "input": "toRdf/c027-in.jsonld", + "expect": "toRdf/c027-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc028", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@propagate: false on embedded context", + "purpose": "embedded context with @propagate: false do not survive node-objects", + "input": "toRdf/c028-in.jsonld", + "expect": "toRdf/c028-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc029", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "@propagate is invalid in 1.0", + "purpose": "@propagate is invalid in 1.0", + "input": "toRdf/c029-in.jsonld", + "expectErrorCode": "invalid context entry", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"} + }, { + "@id": "#tc030", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "@propagate must be boolean valued", + "purpose": "@propagate must be boolean valued", + "input": "toRdf/c030-in.jsonld", + "expectErrorCode": "invalid @propagate value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc031", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@context resolutions respects relative URLs.", + "purpose": "URL resolution follows RFC3986", + "input": "toRdf/c031-in.jsonld", + "expect": "toRdf/c031-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc032", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Unused embedded context with error.", + "purpose": "An embedded context which is never used should still be checked.", + "input": "toRdf/c032-in.jsonld", + "expectErrorCode": "invalid scoped context", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc033", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Unused context with an embedded context error.", + "purpose": "An unused context with an embedded context should still be checked.", + "input": "toRdf/c033-in.jsonld", + "expectErrorCode": "invalid scoped context", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc034", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Remote scoped context.", + "purpose": "Scoped contexts may be externally loaded.", + "input": "toRdf/c034-in.jsonld", + "expect": "toRdf/c034-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tc035", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Term scoping with embedded contexts.", + "purpose": "Terms should make use of @vocab relative to the scope in which the term was defined.", + "input": "toRdf/c035-in.jsonld", + "expect": "toRdf/c035-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tdi01", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "Expand string using default and term directions", + "purpose": "Strings are coerced to have @direction based on default and term direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/di01-in.jsonld", + "expect": "toRdf/di01-out.nq" + }, { + "@id": "#tdi02", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "Expand string using default and term directions and languages", + "purpose": "Strings are coerced to have @direction based on default and term direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/di02-in.jsonld", + "expect": "toRdf/di02-out.nq" + }, { + "@id": "#tdi03", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "expand list values with @direction", + "purpose": "List values where the term has @direction are used in expansion.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/di03-in.jsonld", + "expect": "toRdf/di03-out.nq" + }, { + "@id": "#tdi04", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "simple language map with term direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/di04-in.jsonld", + "expect": "toRdf/di04-out.nq" + }, { + "@id": "#tdi05", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "simple language mapwith overriding term direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/di05-in.jsonld", + "expect": "toRdf/di05-out.nq" + }, { + "@id": "#tdi06", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "simple language mapwith overriding null direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/di06-in.jsonld", + "expect": "toRdf/di06-out.nq" + }, { + "@id": "#tdi07", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "simple language map with mismatching term direction", + "purpose": "Term selection with language maps and @direction.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/di07-in.jsonld", + "expect": "toRdf/di07-out.nq" + }, { + "@id": "#tdi08", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "@direction must be one of ltr or rtl", + "purpose": "Generate an error if @direction has illegal value.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/di08-in.jsonld", + "expectErrorCode": "invalid base direction" + }, { + "@id": "#tdi09", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "rdfDirection: i18n-datatype with direction and no language", + "purpose": "Generates i18n datatype from literal with direction with option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "requires": "I18nDatatype", + "input": "toRdf/di09-in.jsonld", + "expect": "toRdf/di09-out.nq" + }, { + "@id": "#tdi10", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "rdfDirection: i18n-datatype with direction and language", + "purpose": "Generates i18n datatype from literal with direction with option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "i18n-datatype"}, + "requires": "I18nDatatype", + "input": "toRdf/di10-in.jsonld", + "expect": "toRdf/di10-out.nq" + }, { + "@id": "#tdi11", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "rdfDirection: compound-literal with direction and no language", + "purpose": "Generates i18n datatype from literal with direction with option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "requires": "CompoundLiteral", + "input": "toRdf/di11-in.jsonld", + "expect": "toRdf/di11-out.nq" + }, { + "@id": "#tdi12", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "rdfDirection: compound-literal with direction and language", + "purpose": "Generates compound literal from literal with direction with option.", + "option": {"specVersion": "json-ld-1.1", "rdfDirection": "compound-literal"}, + "requires": "CompoundLiteral", + "input": "toRdf/di12-in.jsonld", + "expect": "toRdf/di12-out.nq" + }, { + "@id": "#te001", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "drop free-floating nodes", - "purpose": "Free-floating nodes do not generate RDF triples", - "input": "toRdf/0041-in.jsonld", - "expect": "toRdf/0041-out.nq" + "purpose": "Free-floating nodes do not generate RDF triples (from expand-0001)", + "input": "toRdf/e001-in.jsonld", + "expect": "toRdf/e001-out.nq" }, { - "@id": "#t0042", + "@id": "#te002", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "basic", - "purpose": "Basic RDF conversion", - "input": "toRdf/0042-in.jsonld", - "expect": "toRdf/0042-out.nq" + "purpose": "Basic RDF conversion (from expand-0002)", + "input": "toRdf/e002-in.jsonld", + "expect": "toRdf/e002-out.nq" }, { - "@id": "#t0043", + "@id": "#te003", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "drop null and unmapped properties", - "purpose": "Properties mapped to null or which are never mapped are dropped", - "input": "toRdf/0043-in.jsonld", - "expect": "toRdf/0043-out.nq" + "purpose": "Properties mapped to null or which are never mapped are dropped (from expand-0003)", + "input": "toRdf/e003-in.jsonld", + "expect": "toRdf/e003-out.nq" }, { - "@id": "#t0044", + "@id": "#te004", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "optimize @set, keep empty arrays", "purpose": "RDF version of expand-0004", - "input": "toRdf/0044-in.jsonld", - "expect": "toRdf/0044-out.nq" + "input": "toRdf/e004-in.jsonld", + "expect": "toRdf/e004-out.nq" }, { - "@id": "#t0045", + "@id": "#te005", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "do not expand aliased @id/@type", "purpose": "RDF version of expand-0005", - "input": "toRdf/0045-in.jsonld", - "expect": "toRdf/0045-out.nq" + "input": "toRdf/e005-in.jsonld", + "expect": "toRdf/e005-out.nq" }, { - "@id": "#t0046", + "@id": "#te006", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "alias keywords", "purpose": "RDF version of expand-0006", - "input": "toRdf/0046-in.jsonld", - "expect": "toRdf/0046-out.nq" + "input": "toRdf/e006-in.jsonld", + "expect": "toRdf/e006-out.nq" }, { - "@id": "#t0047", + "@id": "#te007", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "date type-coercion", - "purpose": "Type-coerced dates generate typed literals", - "input": "toRdf/0047-in.jsonld", - "expect": "toRdf/0047-out.nq" + "purpose": "Type-coerced dates generate typed literals (from expand-0007)", + "input": "toRdf/e007-in.jsonld", + "expect": "toRdf/e007-out.nq" }, { - "@id": "#t0048", + "@id": "#te008", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@value with @language", "purpose": "RDF version of expand-0008", - "input": "toRdf/0048-in.jsonld", - "expect": "toRdf/0048-out.nq" + "input": "toRdf/e008-in.jsonld", + "expect": "toRdf/e008-out.nq" }, { - "@id": "#t0049", + "@id": "#te009", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@graph with terms", "purpose": "RDF version of expand-0009", - "input": "toRdf/0049-in.jsonld", - "expect": "toRdf/0049-out.nq" + "input": "toRdf/e009-in.jsonld", + "expect": "toRdf/e009-out.nq" }, { - "@id": "#t0050", + "@id": "#te010", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "native types", - "purpose": "Native types generate typed literals", - "input": "toRdf/0050-in.jsonld", - "expect": "toRdf/0050-out.nq" + "purpose": "Native types generate typed literals (from expand-0010)", + "input": "toRdf/e010-in.jsonld", + "expect": "toRdf/e010-out.nq" }, { - "@id": "#t0051", + "@id": "#te011", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "coerced @id", "purpose": "RDF version of expand-0011", - "input": "toRdf/0051-in.jsonld", - "expect": "toRdf/0051-out.nq" + "input": "toRdf/e011-in.jsonld", + "expect": "toRdf/e011-out.nq" }, { - "@id": "#t0052", + "@id": "#te012", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@graph with embed", "purpose": "RDF version of expand-0012", - "input": "toRdf/0052-in.jsonld", - "expect": "toRdf/0052-out.nq" + "input": "toRdf/e012-in.jsonld", + "expect": "toRdf/e012-out.nq" }, { - "@id": "#t0053", + "@id": "#te013", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "expand already expanded", "purpose": "RDF version of expand-0013", - "input": "toRdf/0053-in.jsonld", - "expect": "toRdf/0053-out.nq" + "input": "toRdf/e013-in.jsonld", + "expect": "toRdf/e013-out.nq" }, { - "@id": "#t0054", + "@id": "#te014", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@set of @value objects with keyword aliases", "purpose": "RDF version of expand-0014", - "input": "toRdf/0054-in.jsonld", - "expect": "toRdf/0054-out.nq", + "input": "toRdf/e014-in.jsonld", + "expect": "toRdf/e014-out.nq", "option": {"specVersion": "json-ld-1.0"} }, { - "@id": "#t0055", + "@id": "#te015", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "collapse set of sets, keep empty lists", "purpose": "RDF version of expand-0015", - "input": "toRdf/0055-in.jsonld", - "expect": "toRdf/0055-out.nq" + "input": "toRdf/e015-in.jsonld", + "expect": "toRdf/e015-out.nq" }, { - "@id": "#t0056", + "@id": "#te016", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "context reset", "purpose": "RDF version of expand-0016", - "input": "toRdf/0056-in.jsonld", - "expect": "toRdf/0056-out.nq" + "input": "toRdf/e016-in.jsonld", + "expect": "toRdf/e016-out.nq" }, { - "@id": "#t0057", + "@id": "#te017", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@graph and @id aliased", "purpose": "RDF version of expand-0017", - "input": "toRdf/0057-in.jsonld", - "expect": "toRdf/0057-out.nq" + "input": "toRdf/e017-in.jsonld", + "expect": "toRdf/e017-out.nq" }, { - "@id": "#t0058", + "@id": "#te018", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "override default @language", "purpose": "RDF version of expand-0018", - "input": "toRdf/0058-in.jsonld", - "expect": "toRdf/0058-out.nq" + "input": "toRdf/e018-in.jsonld", + "expect": "toRdf/e018-out.nq" }, { - "@id": "#t0059", + "@id": "#te019", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "remove @value = null", "purpose": "RDF version of expand-0019", - "input": "toRdf/0059-in.jsonld", - "expect": "toRdf/0059-out.nq" + "input": "toRdf/e019-in.jsonld", + "expect": "toRdf/e019-out.nq" }, { - "@id": "#t0060", + "@id": "#te020", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "do not remove @graph if not at top-level", - "purpose": "Embedded @graph without @id creates BNode-labeled named graph", - "input": "toRdf/0060-in.jsonld", - "expect": "toRdf/0060-out.nq" + "purpose": "Embedded @graph without @id creates BNode-labeled named graph (from expand-0020)", + "input": "toRdf/e020-in.jsonld", + "expect": "toRdf/e020-out.nq" }, { - "@id": "#t0061", + "@id": "#te021", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "do not remove @graph at top-level if not only property", "purpose": "RDF version of expand-0021", - "input": "toRdf/0061-in.jsonld", - "expect": "toRdf/0061-out.nq" + "input": "toRdf/e021-in.jsonld", + "expect": "toRdf/e021-out.nq" }, { - "@id": "#t0062", + "@id": "#te022", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "expand value with default language", "purpose": "RDF version of expand-0022", - "input": "toRdf/0062-in.jsonld", - "expect": "toRdf/0062-out.nq" + "input": "toRdf/e022-in.jsonld", + "expect": "toRdf/e022-out.nq" }, { - "@id": "#t0063", + "@id": "#te023", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Lists and sets of properties with list/set coercion", "purpose": "RDF version of expand-0023", - "input": "toRdf/0063-in.jsonld", - "expect": "toRdf/0063-out.nq" + "input": "toRdf/e023-in.jsonld", + "expect": "toRdf/e023-out.nq" }, { - "@id": "#t0064", + "@id": "#te024", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Multiple contexts", "purpose": "RDF version of expand-0024", - "input": "toRdf/0064-in.jsonld", - "expect": "toRdf/0064-out.nq" + "input": "toRdf/e024-in.jsonld", + "expect": "toRdf/e024-out.nq" }, { - "@id": "#t0065", + "@id": "#te025", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Problematic IRI expansion tests", "purpose": "RDF version of expand-0025", - "input": "toRdf/0065-in.jsonld", - "expect": "toRdf/0065-out.nq" + "input": "toRdf/e025-in.jsonld", + "expect": "toRdf/e025-out.nq" }, { - "@id": "#t0066", + "@id": "#te026", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding term mapping to @type uses @type syntax", "purpose": "RDF version of expand-0026", - "input": "toRdf/0066-in.jsonld", - "expect": "toRdf/0066-out.nq", + "input": "toRdf/e026-in.jsonld", + "expect": "toRdf/e026-out.nq", "option": {"specVersion": "json-ld-1.0"} }, { - "@id": "#t0067", + "@id": "#te027", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Keep duplicate values in @list and @set", "purpose": "RDF version of expand-0027", - "input": "toRdf/0067-in.jsonld", - "expect": "toRdf/0067-out.nq" + "input": "toRdf/e027-in.jsonld", + "expect": "toRdf/e027-out.nq" }, { - "@id": "#t0068", + "@id": "#te028", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use @vocab in properties and @type but not in @id", "purpose": "RDF version of expand-0028", - "input": "toRdf/0068-in.jsonld", - "expect": "toRdf/0068-out.nq" + "input": "toRdf/e028-in.jsonld", + "expect": "toRdf/e028-out.nq" }, { - "@id": "#t0069", + "@id": "#te029", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Relative IRIs", "purpose": "RDF version of expand-0029", - "input": "toRdf/0069-in.jsonld", - "expect": "toRdf/0069-out.nq" + "input": "toRdf/e029-in.jsonld", + "expect": "toRdf/e029-out.nq" }, { - "@id": "#t0070", + "@id": "#te030", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Language maps", "purpose": "RDF version of expand-0030", - "input": "toRdf/0070-in.jsonld", - "expect": "toRdf/0070-out.nq" + "input": "toRdf/e030-in.jsonld", + "expect": "toRdf/e030-out.nq" }, { - "@id": "#t0071", + "@id": "#te031", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "type-coercion of native types", "purpose": "RDF version of expand-0031", - "input": "toRdf/0071-in.jsonld", - "expect": "toRdf/0071-out.nq" + "input": "toRdf/e031-in.jsonld", + "expect": "toRdf/e031-out.nq" }, { - "@id": "#t0072", + "@id": "#te032", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Mapping a term to null decouples it from @vocab", "purpose": "RDF version of expand-0032", - "input": "toRdf/0072-in.jsonld", - "expect": "toRdf/0072-out.nq" + "input": "toRdf/e032-in.jsonld", + "expect": "toRdf/e032-out.nq" }, { - "@id": "#t0073", + "@id": "#te033", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using @vocab with with type-coercion", "purpose": "RDF version of expand-0033", - "input": "toRdf/0073-in.jsonld", - "expect": "toRdf/0073-out.nq" + "input": "toRdf/e033-in.jsonld", + "expect": "toRdf/e033-out.nq" }, { - "@id": "#t0074", + "@id": "#te034", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Multiple properties expanding to the same IRI", "purpose": "RDF version of expand-0034", - "input": "toRdf/0074-in.jsonld", - "expect": "toRdf/0074-out.nq" + "input": "toRdf/e034-in.jsonld", + "expect": "toRdf/e034-out.nq" }, { - "@id": "#t0075", + "@id": "#te035", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Language maps with @vocab, default language, and colliding property", "purpose": "RDF version of expand-0035", - "input": "toRdf/0075-in.jsonld", - "expect": "toRdf/0075-out.nq" + "input": "toRdf/e035-in.jsonld", + "expect": "toRdf/e035-out.nq" }, { - "@id": "#t0076", + "@id": "#te036", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding @index", "purpose": "RDF version of expand-0036", - "input": "toRdf/0076-in.jsonld", - "expect": "toRdf/0076-out.nq" + "input": "toRdf/e036-in.jsonld", + "expect": "toRdf/e036-out.nq" }, { - "@id": "#t0077", + "@id": "#te037", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding @reverse", "purpose": "RDF version of expand-0037", - "input": "toRdf/0077-in.jsonld", - "expect": "toRdf/0077-out.nq" + "input": "toRdf/e037-in.jsonld", + "expect": "toRdf/e037-out.nq" }, { - "@id": "#t0078", + "@id": "#te038", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Drop blank node predicates by default", - "purpose": "Triples with blank node predicates are dropped by default.", - "option": {"processingMode": "json-ld-1.0"}, - "input": "toRdf/0078-in.jsonld", - "expect": "toRdf/0078-out.nq" + "purpose": "Triples with blank node predicates are dropped by default (from expand-0038).", + "option": {"specVersion": "json-ld-1.0"}, + "input": "toRdf/e038-in.jsonld", + "expect": "toRdf/e038-out.nq" }, { - "@id": "#t0079", + "@id": "#te039", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using terms in a reverse-maps", "purpose": "RDF version of expand-0039", - "input": "toRdf/0079-in.jsonld", - "expect": "toRdf/0079-out.nq" + "input": "toRdf/e039-in.jsonld", + "expect": "toRdf/e039-out.nq" }, { - "@id": "#t0080", + "@id": "#te040", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "language and index expansion on non-objects", "purpose": "RDF version of expand-0040", - "input": "toRdf/0080-in.jsonld", - "expect": "toRdf/0080-out.nq" + "input": "toRdf/e040-in.jsonld", + "expect": "toRdf/e040-out.nq" }, { - "@id": "#t0081", + "@id": "#te041", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Reset the default language", "purpose": "RDF version of expand-0041", - "input": "toRdf/0081-in.jsonld", - "expect": "toRdf/0081-out.nq" + "input": "toRdf/e041-in.jsonld", + "expect": "toRdf/e041-out.nq" }, { - "@id": "#t0082", + "@id": "#te042", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expanding reverse properties", "purpose": "RDF version of expand-0042", - "input": "toRdf/0082-in.jsonld", - "expect": "toRdf/0082-out.nq" + "input": "toRdf/e042-in.jsonld", + "expect": "toRdf/e042-out.nq" }, { - "@id": "#t0083", + "@id": "#te043", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using reverse properties inside a @reverse-container", "purpose": "RDF version of expand-0043", - "input": "toRdf/0083-in.jsonld", - "expect": "toRdf/0083-out.nq" + "input": "toRdf/e043-in.jsonld", + "expect": "toRdf/e043-out.nq" }, { - "@id": "#t0084", + "@id": "#te044", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Ensure index maps use language mapping", "purpose": "RDF version of expand-0044", - "input": "toRdf/0084-in.jsonld", - "expect": "toRdf/0084-out.nq" + "input": "toRdf/e044-in.jsonld", + "expect": "toRdf/e044-out.nq" }, { - "@id": "#t0085", + "@id": "#te045", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Top-level value objects are removed", "purpose": "RDF version of expand-0045", - "input": "toRdf/0085-in.jsonld", - "expect": "toRdf/0085-out.nq" + "input": "toRdf/e045-in.jsonld", + "expect": "toRdf/e045-out.nq" }, { - "@id": "#t0086", + "@id": "#te046", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Free-floating nodes are removed", "purpose": "RDF version of expand-0046", - "input": "toRdf/0086-in.jsonld", - "expect": "toRdf/0086-out.nq" + "input": "toRdf/e046-in.jsonld", + "expect": "toRdf/e046-out.nq" }, { - "@id": "#t0087", + "@id": "#te047", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Remove free-floating set values and lists", "purpose": "RDF version of expand-0047", - "input": "toRdf/0087-in.jsonld", - "expect": "toRdf/0087-out.nq" + "input": "toRdf/e047-in.jsonld", + "expect": "toRdf/e047-out.nq" }, { - "@id": "#t0088", + "@id": "#te048", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Terms are ignored in @id", "purpose": "RDF version of expand-0048", - "input": "toRdf/0088-in.jsonld", - "expect": "toRdf/0088-out.nq" + "input": "toRdf/e048-in.jsonld", + "expect": "toRdf/e048-out.nq" }, { - "@id": "#t0089", + "@id": "#te049", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Using strings as value of a reverse property", "purpose": "RDF version of expand-0049", - "input": "toRdf/0089-in.jsonld", - "expect": "toRdf/0089-out.nq" + "input": "toRdf/e049-in.jsonld", + "expect": "toRdf/e049-out.nq" }, { - "@id": "#t0090", + "@id": "#te050", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Term definitions with prefix separate from prefix definitions", "purpose": "RDF version of expand-0050", - "input": "toRdf/0090-in.jsonld", - "expect": "toRdf/0090-out.nq" + "input": "toRdf/e050-in.jsonld", + "expect": "toRdf/e050-out.nq" }, { - "@id": "#t0091", + "@id": "#te051", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expansion of keyword aliases in term definitions", "purpose": "RDF version of expand-0051", - "input": "toRdf/0091-in.jsonld", - "expect": "toRdf/0091-out.nq" + "input": "toRdf/e051-in.jsonld", + "expect": "toRdf/e051-out.nq" }, { - "@id": "#t0092", + "@id": "#te052", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "@vocab-relative IRIs in term definitions", "purpose": "RDF version of expand-0052", - "input": "toRdf/0092-in.jsonld", - "expect": "toRdf/0092-out.nq" + "input": "toRdf/e052-in.jsonld", + "expect": "toRdf/e052-out.nq" }, { - "@id": "#t0093", + "@id": "#te053", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand absolute IRI with @type: @vocab", "purpose": "RDF version of expand-0053", - "input": "toRdf/0093-in.jsonld", - "expect": "toRdf/0093-out.nq" + "input": "toRdf/e053-in.jsonld", + "expect": "toRdf/e053-out.nq" }, { - "@id": "#t0094", + "@id": "#te054", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand term with @type: @vocab", "purpose": "RDF version of expand-0054", - "input": "toRdf/0094-in.jsonld", - "expect": "toRdf/0094-out.nq" + "input": "toRdf/e054-in.jsonld", + "expect": "toRdf/e054-out.nq" }, { - "@id": "#t0095", + "@id": "#te055", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand @vocab-relative term with @type: @vocab", "purpose": "RDF version of expand-0055", - "input": "toRdf/0095-in.jsonld", - "expect": "toRdf/0095-out.nq" + "input": "toRdf/e055-in.jsonld", + "expect": "toRdf/e055-out.nq" }, { - "@id": "#t0096", + "@id": "#te056", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use terms with @type: @vocab but not with @type: @id", "purpose": "RDF version of expand-0056", - "input": "toRdf/0096-in.jsonld", - "expect": "toRdf/0096-out.nq" + "input": "toRdf/e056-in.jsonld", + "expect": "toRdf/e056-out.nq" }, { - "@id": "#t0097", + "@id": "#te057", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand relative IRI with @type: @vocab", "purpose": "RDF version of expand-0057", - "input": "toRdf/0097-in.jsonld", - "expect": "toRdf/0097-out.nq" + "input": "toRdf/e057-in.jsonld", + "expect": "toRdf/e057-out.nq" }, { - "@id": "#t0098", + "@id": "#te058", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand compact IRI with @type: @vocab", "purpose": "RDF version of expand-0058", - "input": "toRdf/0098-in.jsonld", - "expect": "toRdf/0098-out.nq" + "input": "toRdf/e058-in.jsonld", + "expect": "toRdf/e058-out.nq" }, { - "@id": "#t0099", + "@id": "#te059", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Reset @vocab by setting it to null", "purpose": "RDF version of expand-0059", - "input": "toRdf/0099-in.jsonld", - "expect": "toRdf/0099-out.nq" + "input": "toRdf/e059-in.jsonld", + "expect": "toRdf/e059-out.nq" }, { - "@id": "#t0100", + "@id": "#te060", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Overwrite document base with @base and reset it again", "purpose": "RDF version of expand-0060", - "input": "toRdf/0100-in.jsonld", - "expect": "toRdf/0100-out.nq" + "input": "toRdf/e060-in.jsonld", + "expect": "toRdf/e060-out.nq" }, { - "@id": "#t0101", + "@id": "#te061", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Coercing native types to arbitrary datatypes", "purpose": "RDF version of expand-0061", - "input": "toRdf/0101-in.jsonld", - "expect": "toRdf/0101-out.nq" + "input": "toRdf/e061-in.jsonld", + "expect": "toRdf/e061-out.nq" }, { - "@id": "#t0102", + "@id": "#te062", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Various relative IRIs with with @base", "purpose": "RDF version of expand-0062", - "input": "toRdf/0102-in.jsonld", - "expect": "toRdf/0102-out.nq" + "input": "toRdf/e062-in.jsonld", + "expect": "toRdf/e062-out.nq" }, { - "@id": "#t0103", + "@id": "#te063", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand a reverse property with an index-container", "purpose": "RDF version of expand-0063", - "input": "toRdf/0103-in.jsonld", - "expect": "toRdf/0103-out.nq" + "input": "toRdf/e063-in.jsonld", + "expect": "toRdf/e063-out.nq" }, { - "@id": "#t0104", + "@id": "#te064", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Expand reverse property whose values are unlabeled blank nodes", "purpose": "RDF version of expand-0064", - "input": "toRdf/0104-in.jsonld", - "expect": "toRdf/0104-out.nq" + "input": "toRdf/e064-in.jsonld", + "expect": "toRdf/e064-out.nq" }, { - "@id": "#t0105", + "@id": "#te065", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Keys that are not mapped to an IRI in a reverse-map are dropped", "purpose": "RDF version of expand-0065", - "input": "toRdf/0105-in.jsonld", - "expect": "toRdf/0105-out.nq" + "input": "toRdf/e065-in.jsonld", + "expect": "toRdf/e065-out.nq" }, { - "@id": "#t0106", + "@id": "#te066", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Use @vocab to expand keys in reverse-maps", "purpose": "RDF version of expand-0066", - "input": "toRdf/0106-in.jsonld", - "expect": "toRdf/0106-out.nq" + "input": "toRdf/e066-in.jsonld", + "expect": "toRdf/e066-out.nq" }, { - "@id": "#t0107", + "@id": "#te067", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "prefix:://sufffix not a compact IRI", "purpose": "RDF version of expand-0067", - "input": "toRdf/0107-in.jsonld", - "expect": "toRdf/0107-out.nq" + "input": "toRdf/e067-in.jsonld", + "expect": "toRdf/e067-out.nq" }, { - "@id": "#t0108", + "@id": "#te068", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "_::sufffix not a compact IRI", "purpose": "RDF version of expand-0068", - "input": "toRdf/0108-in.jsonld", - "expect": "toRdf/0108-out.nq" + "input": "toRdf/e068-in.jsonld", + "expect": "toRdf/e068-out.nq" }, { - "@id": "#t0109", + "@id": "#te069", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Compact IRI as term with type mapping", "purpose": "RDF version of expand-0069", - "input": "toRdf/0109-in.jsonld", - "expect": "toRdf/0109-out.nq" + "input": "toRdf/e069-in.jsonld", + "expect": "toRdf/e069-out.nq" }, { - "@id": "#t0110", + "@id": "#te070", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Redefine compact IRI with itself", "purpose": "RDF version of expand-0070", - "input": "toRdf/0110-in.jsonld", - "expect": "toRdf/0110-out.nq" + "input": "toRdf/e070-in.jsonld", + "expect": "toRdf/e070-out.nq" }, { - "@id": "#t0111", + "@id": "#te071", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Redefine terms looking like compact IRIs", "purpose": "RDF version of expand-0071", - "input": "toRdf/0111-in.jsonld", - "expect": "toRdf/0111-out.nq", + "input": "toRdf/e071-in.jsonld", + "expect": "toRdf/e071-out.nq", "option": {"specVersion": "json-ld-1.0"} }, { - "@id": "#t0112", + "@id": "#te072", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Redefine term using @vocab, not itself", "purpose": "RDF version of expand-0072", - "input": "toRdf/0112-in.jsonld", - "expect": "toRdf/0112-out.nq" + "input": "toRdf/e072-in.jsonld", + "expect": "toRdf/e072-out.nq" }, { - "@id": "#t0113", + "@id": "#te073", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Dataset with a IRI named graph", - "purpose": "Basic use of creating a named graph using an IRI name", - "input": "toRdf/0113-in.jsonld", - "expect": "toRdf/0113-out.nq" + "name": "@context not first property", + "purpose": "Objects are unordered, so serialized node definition containing @context may have @context at the end of the node definition", + "input": "toRdf/e073-in.jsonld", + "expect": "toRdf/e073-out.nq" }, { - "@id": "#t0114", + "@id": "#te074", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Dataset with a IRI named graph", - "purpose": "Basic use of creating a named graph using a BNode name", - "input": "toRdf/0114-in.jsonld", - "expect": "toRdf/0114-out.nq" + "name": "@id not first property", + "purpose": "Objects are unordered, so serialized node definition containing @id may have @id at the end of the node definition", + "input": "toRdf/e074-in.jsonld", + "expect": "toRdf/e074-out.nq" }, { - "@id": "#t0115", + "@id": "#te075", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Dataset with a default and two named graphs", - "purpose": "Dataset with a default and two named graphs (IRI and BNode)", - "input": "toRdf/0115-in.jsonld", - "expect": "toRdf/0115-out.nq" + "name": "@vocab as blank node identifier", + "purpose": "Use @vocab to map all properties to blank node identifiers", + "option": { + "processingMode": "json-ld-1.0", + "produceGeneralizedRdf": true + }, + "requires": "GeneralizedRdf", + "input": "toRdf/e075-in.jsonld", + "expect": "toRdf/e075-out.nq" }, { - "@id": "#t0116", + "@id": "#te076", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Dataset from node with embedded named graph", - "purpose": "Embedding @graph in a node creates a named graph", - "input": "toRdf/0116-in.jsonld", - "expect": "toRdf/0116-out.nq" + "name": "base option overrides document location", + "purpose": "Use of the base option overrides the document location", + "option": { + "base": "http://example/base/" + }, + "input": "toRdf/e076-in.jsonld", + "expect": "toRdf/e076-out.nq" }, { - "@id": "#t0117", + "@id": "#te077", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Dataset from node with embedded named graph (bnode)", - "purpose": "Embedding @graph in a node creates a named graph. Graph name is created if there is no subject", - "input": "toRdf/0117-in.jsonld", - "expect": "toRdf/0117-out.nq" + "name": "expandContext option", + "purpose": "Use of the expandContext option to expand the input document", + "option": { + "expandContext": "toRdf/e077-context.jsonld" + }, + "input": "toRdf/e077-in.jsonld", + "expect": "toRdf/e077-out.nq" }, { - "@id": "#t0118", + "@id": "#te078", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "produce generalized RDF flag", - "purpose": "Triples with blank node predicates are not dropped if the produce generalized RDF flag is true.", + "name": "multiple reverse properties", + "purpose": "Use of multiple reverse properties", + "input": "toRdf/e078-in.jsonld", + "expect": "toRdf/e078-out.nq" + }, { + "@id": "#te079", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand @graph container", + "purpose": "Use of @graph containers", + "input": "toRdf/e079-in.jsonld", + "expect": "toRdf/e079-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te080", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @set] container", + "purpose": "Use of [@graph, @set] containers", + "input": "toRdf/e080-in.jsonld", + "expect": "toRdf/e080-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te081", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Creates an @graph container if value is a graph", + "purpose": "Don't double-expand an already expanded graph", + "input": "toRdf/e081-in.jsonld", + "expect": "toRdf/e081-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te082", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @index] container", + "purpose": "Use of @graph containers with @index", + "input": "toRdf/e082-in.jsonld", + "expect": "toRdf/e082-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te083", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @index, @set] container", + "purpose": "Use of @graph containers with @index and @set", + "input": "toRdf/e083-in.jsonld", + "expect": "toRdf/e083-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te084", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Do not expand [@graph, @index] container if value is a graph", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "toRdf/e084-in.jsonld", + "expect": "toRdf/e084-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te085", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @id] container", + "purpose": "Use of @graph containers with @id", + "input": "toRdf/e085-in.jsonld", + "expect": "toRdf/e085-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te086", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @id, @set] container", + "purpose": "Use of @graph containers with @id and @set", + "input": "toRdf/e086-in.jsonld", + "expect": "toRdf/e086-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te087", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Do not expand [@graph, @id] container if value is a graph", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "toRdf/e087-in.jsonld", + "expect": "toRdf/e087-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te088", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Do not expand native values to IRIs", + "purpose": "Value Expansion does not expand native values, such as booleans, to a node object", + "input": "toRdf/e088-in.jsonld", + "expect": "toRdf/e088-out.nq" + }, { + "@id": "#te089", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "empty @base applied to the base option", + "purpose": "Use of an empty @base is applied to the base option", "option": { - "processingMode": "json-ld-1.0", - "produceGeneralizedRdf": true + "base": "http://example/base/" }, - "input": "toRdf/0118-in.jsonld", - "expect": "toRdf/0118-out.nq" + "input": "toRdf/e089-in.jsonld", + "expect": "toRdf/e089-out.nq" }, { - "@id": "#t0119", + "@id": "#te090", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Blank nodes with reverse properties", - "purpose": "Proper (re-)labeling of blank nodes if used with reverse properties.", - "input": "toRdf/0119-in.jsonld", - "expect": "toRdf/0119-out.nq" + "name": "relative @base overrides base option and document location", + "purpose": "Use of a relative @base overrides base option and document location", + "option": { + "base": "http://example/base/" + }, + "input": "toRdf/e090-in.jsonld", + "expect": "toRdf/e090-out.nq" + }, { + "@id": "#te091", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "relative and absolute @base overrides base option and document location", + "purpose": "Use of a relative and absolute @base overrides base option and document location", + "option": { + "base": "http://example/base/" + }, + "input": "toRdf/e091-in.jsonld", + "expect": "toRdf/e091-out.nq" + }, { + "@id": "#te092", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Various relative IRIs as properties with with @vocab: ''", + "purpose": "Pathological relative property IRIs", + "input": "toRdf/e092-in.jsonld", + "expect": "toRdf/e092-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te093", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand @graph container (multiple objects)", + "purpose": "Use of @graph containers", + "input": "toRdf/e093-in.jsonld", + "expect": "toRdf/e093-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te094", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @set] container (multiple objects)", + "purpose": "Use of [@graph, @set] containers", + "input": "toRdf/e094-in.jsonld", + "expect": "toRdf/e094-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te095", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Creates an @graph container if value is a graph (multiple objects)", + "purpose": "Don't double-expand an already expanded graph", + "input": "toRdf/e095-in.jsonld", + "expect": "toRdf/e095-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te096", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @index] container (multiple indexed objects)", + "purpose": "Use of @graph containers with @index", + "input": "toRdf/e096-in.jsonld", + "expect": "toRdf/e096-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te097", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @index, @set] container (multiple objects)", + "purpose": "Use of @graph containers with @index and @set", + "input": "toRdf/e097-in.jsonld", + "expect": "toRdf/e097-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te098", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Do not expand [@graph, @index] container if value is a graph (multiple objects)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "toRdf/e098-in.jsonld", + "expect": "toRdf/e098-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te099", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @id] container (multiple objects)", + "purpose": "Use of @graph containers with @id", + "input": "toRdf/e099-in.jsonld", + "expect": "toRdf/e099-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te100", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @id, @set] container (multiple objects)", + "purpose": "Use of @graph containers with @id and @set", + "input": "toRdf/e100-in.jsonld", + "expect": "toRdf/e100-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te101", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Do not expand [@graph, @id] container if value is a graph (multiple objects)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "toRdf/e101-in.jsonld", + "expect": "toRdf/e101-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te102", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expand @graph container if value is a graph (multiple objects)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "toRdf/e102-in.jsonld", + "expect": "toRdf/e102-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te103", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Expand @graph container if value is a graph (multiple graphs)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "toRdf/e103-in.jsonld", + "expect": "toRdf/e103-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te104", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Creates an @graph container if value is a graph (mixed graph and object)", + "purpose": "Don't double-expand an already expanded graph", + "input": "toRdf/e104-in.jsonld", + "expect": "toRdf/e104-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te105", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Do not expand [@graph, @index] container if value is a graph (mixed graph and object)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "toRdf/e105-in.jsonld", + "expect": "toRdf/e105-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te106", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Do not expand [@graph, @id] container if value is a graph (mixed graph and object)", + "purpose": "Does not create a new graph object if indexed value is already a graph object", + "input": "toRdf/e106-in.jsonld", + "expect": "toRdf/e106-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te107", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @index] container (indexes with multiple objects)", + "purpose": "Use of @graph containers with @index", + "input": "toRdf/e107-in.jsonld", + "expect": "toRdf/e107-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te108", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "expand [@graph, @id] container (multiple ids and objects)", + "purpose": "Use of @graph containers with @id", + "input": "toRdf/e108-in.jsonld", + "expect": "toRdf/e108-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te109", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "IRI expansion of fragments including ':'", + "purpose": "Do not treat as absolute IRIs values that look like compact IRIs if they're not absolute", + "input": "toRdf/e109-in.jsonld", + "expect": "toRdf/e109-out.nq" + }, { + "@id": "#te110", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Various relative IRIs as properties with with relative @vocab", + "purpose": "Pathological relative property IRIs", + "input": "toRdf/e110-in.jsonld", + "expect": "toRdf/e110-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te111", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Various relative IRIs as properties with with relative @vocab itself relative to an existing vocabulary base", + "purpose": "Pathological relative property IRIs", + "input": "toRdf/e111-in.jsonld", + "expect": "toRdf/e111-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0120", + "@id": "#te112", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (0)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0120-in.jsonld", - "expect": "toRdf/0120-out.nq" + "name": "Various relative IRIs as properties with with relative @vocab relative to another relative vocabulary base", + "purpose": "Pathological relative property IRIs", + "input": "toRdf/e112-in.jsonld", + "expect": "toRdf/e112-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0121", + "@id": "#te113", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (1)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0121-in.jsonld", - "expect": "toRdf/0121-out.nq" + "name": "context with JavaScript Object property names", + "purpose": "Expand with context including JavaScript Object property names", + "input": "toRdf/e113-in.jsonld", + "expect": "toRdf/e113-out.nq" }, { - "@id": "#t0122", + "@id": "#te114", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (2)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0122-in.jsonld", - "expect": "toRdf/0122-out.nq" + "name": "Expansion allows multiple properties expanding to @type", + "purpose": "An exception for the colliding keywords error is made for @type", + "input": "toRdf/e114-in.jsonld", + "expect": "toRdf/e114-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0123", + "@id": "#te115", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Verifies that relative IRIs as properties with @vocab: '' in 1.0 generate an error", + "purpose": "Pathological relative property IRIs in 1.0", + "input": "toRdf/e115-in.jsonld", + "expectErrorCode": "invalid vocab mapping", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#te116", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Verifies that relative IRIs as properties with relative @vocab in 1.0 generate an error", + "purpose": "Pathological relative property IRIs in 1.0", + "input": "toRdf/e116-in.jsonld", + "expectErrorCode": "invalid vocab mapping", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#te117", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (3)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0123-in.jsonld", - "expect": "toRdf/0123-out.nq" + "name": "A term starting with a colon can expand to a different IRI", + "purpose": "Terms may begin with a colon and not be treated as IRIs.", + "input": "toRdf/e117-in.jsonld", + "expect": "toRdf/e117-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0124", + "@id": "#te118", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (4)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0124-in.jsonld", - "expect": "toRdf/0124-out.nq" + "name": "Expanding a value staring with a colon does not treat that value as an IRI", + "purpose": "Terms may begin with a colon and not be treated as IRIs.", + "input": "toRdf/e118-in.jsonld", + "expect": "toRdf/e118-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0125", + "@id": "#te119", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (5)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0125-in.jsonld", - "expect": "toRdf/0125-out.nq" + "name": "Ignore some terms with @, allow others.", + "purpose": "Processors SHOULD generate a warning and MUST ignore terms having the form of a keyword.", + "input": "toRdf/e119-in.jsonld", + "expect": "toRdf/e119-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0126", + "@id": "#te120", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (6)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0126-in.jsonld", - "expect": "toRdf/0126-out.nq" + "name": "Ignore some values of @id with @, allow others.", + "purpose": "Processors SHOULD generate a warning and MUST ignore values of @id having the form of a keyword.", + "input": "toRdf/e120-in.jsonld", + "expect": "toRdf/e120-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0127", + "@id": "#te121", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (7)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0127-in.jsonld", - "expect": "toRdf/0127-out.nq" + "name": "Ignore some values of @reverse with @, allow others.", + "purpose": "Processors SHOULD generate a warning and MUST ignore values of @reverse having the form of a keyword.", + "input": "toRdf/e121-in.jsonld", + "expect": "toRdf/e121-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0128", + "@id": "#te122", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (8)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0128-in.jsonld", - "expect": "toRdf/0128-out.nq" + "name": "Ignore some IRIs when that start with @ when expanding.", + "purpose": "Processors SHOULD generate a warning and MUST ignore IRIs having the form of a keyword.", + "input": "toRdf/e122-in.jsonld", + "expect": "toRdf/e122-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0129", + "@id": "#te123", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Value objects including invalid literal datatype IRIs are rejected", + "purpose": "Processors MUST validate datatype IRIs.", + "input": "toRdf/e123-in.jsonld", + "expectErrorCode": "invalid typed value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0124", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (9)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0129-in.jsonld", - "expect": "toRdf/0129-out.nq" + "name": "compact IRI as @vocab", + "purpose": "Verifies that @vocab defined as a compact IRI expands properly", + "input": "toRdf/e124-in.jsonld", + "expect": "toRdf/e124-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0130", + "@id": "#t0125", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (10)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0130-in.jsonld", - "expect": "toRdf/0130-out.nq" + "name": "term as @vocab", + "purpose": "Verifies that @vocab defined as a term expands properly", + "input": "toRdf/e125-in.jsonld", + "expect": "toRdf/e125-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0131", + "@id": "#te126", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "A scoped context may include itself recursively (direct)", + "purpose": "Verifies that no exception is raised on expansion when processing a scoped context referencing itself directly", + "input": "toRdf/e126-in.jsonld", + "expect": "toRdf/e126-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te127", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "A scoped context may include itself recursively (indirect)", + "purpose": "Verifies that no exception is raised on expansion when processing a scoped context referencing itself indirectly", + "input": "toRdf/e127-in.jsonld", + "expect": "toRdf/e127-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te128", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "Two scoped context may include a shared context", + "purpose": "Verifies that no exception is raised on expansion when processing two scoped contexts referencing a shared context", + "input": "toRdf/e128-in.jsonld", + "expect": "toRdf/e128-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tec01", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid keyword in term definition", + "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", + "input": "toRdf/ec01-in.jsonld", + "expectErrorCode": "invalid term definition", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tec02", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Term definition on @type with empty map", + "purpose": "Verifies that an exception is raised if @type is defined as a term with an empty map", + "input": "toRdf/ec02-in.jsonld", + "expectErrorCode": "keyword redefinition", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tem01", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid container mapping", + "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", + "input": "toRdf/em01-in.jsonld", + "expectErrorCode": "invalid container mapping", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten01", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "@nest MUST NOT have a string value", + "purpose": "container: @nest", + "input": "toRdf/en01-in.jsonld", + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten02", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "@nest MUST NOT have a boolen value", + "purpose": "Transparent Nesting", + "input": "toRdf/en02-in.jsonld", + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten03", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "@nest MUST NOT have a numeric value", + "purpose": "Transparent Nesting", + "input": "toRdf/en03-in.jsonld", + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten04", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "@nest MUST NOT have a value object value", + "purpose": "Transparent Nesting", + "input": "toRdf/en04-in.jsonld", + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten05", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "does not allow a keyword other than @nest for the value of @nest", + "purpose": "Transparent Nesting", + "input": "toRdf/en05-in.jsonld", + "expectErrorCode": "invalid @nest value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ten06", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "does not allow @nest with @reverse", + "purpose": "Transparent Nesting", + "input": "toRdf/en06-in.jsonld", + "expectErrorCode": "invalid reverse property", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tep02", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "processingMode json-ld-1.0 conflicts with @version: 1.1", + "purpose": "If processingMode is explicitly json-ld-1.0, it will conflict with 1.1 features.", + "input": "toRdf/ep02-in.jsonld", + "expectErrorCode": "processing mode conflict", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tep03", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "@version must be 1.1", + "purpose": "If @version is specified, it must be 1.1", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/ep03-in.jsonld", + "expectErrorCode": "invalid @version value" + }, { + "@id": "#ter01", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Keywords cannot be aliased to other keywords", + "purpose": "Verifies that an exception is raised on expansion when processing an invalid context aliasing a keyword to another keyword", + "input": "toRdf/er01-in.jsonld", + "expectErrorCode": "keyword redefinition" + }, { + "@id": "#ter02", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "A context may not include itself recursively (direct)", + "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself", + "input": "toRdf/er02-in.jsonld", + "expectErrorCode": "recursive context inclusion", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#ter03", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "A context may not include itself recursively (indirect)", + "purpose": "Verifies that an exception is raised on expansion when processing a context referencing itself indirectly", + "input": "toRdf/er03-in.jsonld", + "expectErrorCode": "recursive context inclusion", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#ter04", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Error dereferencing a remote context", + "purpose": "Verifies that an exception is raised on expansion when a context dereference results in an error", + "input": "toRdf/er04-in.jsonld", + "expectErrorCode": "loading remote context failed" + }, { + "@id": "#ter05", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid remote context", + "purpose": "Verifies that an exception is raised on expansion when a remote context is not an object containing @context", + "input": "toRdf/er05-in.jsonld", + "expectErrorCode": "invalid remote context", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ter06", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid local context", + "purpose": "Verifies that an exception is raised on expansion when a context is not a string or object", + "input": "toRdf/er06-in.jsonld", + "expectErrorCode": "invalid local context" + }, { + "@id": "#ter07", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid base IRI", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @base", + "input": "toRdf/er07-in.jsonld", + "expectErrorCode": "invalid base IRI" + }, { + "@id": "#ter08", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid vocab mapping", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @vocab mapping", + "input": "toRdf/er08-in.jsonld", + "expectErrorCode": "invalid vocab mapping" + }, { + "@id": "#ter09", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid default language", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @language", + "input": "toRdf/er09-in.jsonld", + "expectErrorCode": "invalid default language" + }, { + "@id": "#ter10", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Cyclic IRI mapping", + "purpose": "Verifies that an exception is raised on expansion when a cyclic IRI mapping is found", + "input": "toRdf/er10-in.jsonld", + "expectErrorCode": "cyclic IRI mapping" + }, { + "@id": "#ter11", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid term definition", + "purpose": "Verifies that an exception is raised on expansion when a invalid term definition is found", + "input": "toRdf/er11-in.jsonld", + "expectErrorCode": "invalid term definition" + }, { + "@id": "#ter12", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid type mapping (not a string)", + "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", + "input": "toRdf/er12-in.jsonld", + "expectErrorCode": "invalid type mapping" + }, { + "@id": "#ter13", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid type mapping (not absolute IRI)", + "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", + "input": "toRdf/er13-in.jsonld", + "expectErrorCode": "invalid type mapping" + }, { + "@id": "#ter14", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid reverse property (contains @id)", + "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", + "input": "toRdf/er14-in.jsonld", + "expectErrorCode": "invalid reverse property" + }, { + "@id": "#ter15", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid IRI mapping (@reverse not a string)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "toRdf/er15-in.jsonld", + "expectErrorCode": "invalid IRI mapping" + }, { + "@id": "#ter17", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid reverse property (invalid @container)", + "purpose": "Verifies that an exception is raised on expansion when a invalid reverse property is found", + "input": "toRdf/er17-in.jsonld", + "expectErrorCode": "invalid reverse property" + }, { + "@id": "#ter18", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid IRI mapping (@id not a string)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "toRdf/er18-in.jsonld", + "expectErrorCode": "invalid IRI mapping" + }, { + "@id": "#ter19", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid keyword alias (@context)", + "purpose": "Verifies that an exception is raised on expansion when a invalid keyword alias is found", + "input": "toRdf/er19-in.jsonld", + "expectErrorCode": "invalid keyword alias" + }, { + "@id": "#ter20", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid IRI mapping (no vocab mapping)", + "purpose": "Verifies that an exception is raised on expansion when a invalid IRI mapping is found", + "input": "toRdf/er20-in.jsonld", + "expectErrorCode": "invalid IRI mapping" + }, { + "@id": "#ter21", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid container mapping", + "purpose": "Verifies that an exception is raised on expansion when a invalid container mapping is found", + "input": "toRdf/er21-in.jsonld", + "expectErrorCode": "invalid container mapping", + "option": {"processingMode": "json-ld-1.0", "specVersion": "json-ld-1.1"} + }, { + "@id": "#ter22", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid language mapping", + "purpose": "Verifies that an exception is raised on expansion when a invalid language mapping is found", + "input": "toRdf/er22-in.jsonld", + "expectErrorCode": "invalid language mapping" + }, { + "@id": "#ter23", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid IRI mapping (relative IRI in @type)", + "purpose": "Verifies that an exception is raised on expansion when a invalid type mapping is found", + "input": "toRdf/er23-in.jsonld", + "expectErrorCode": "invalid type mapping" + }, { + "@id": "#ter24", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "List of lists (from array)", + "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", + "input": "toRdf/er24-in.jsonld", + "expectErrorCode": "list of lists", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#ter25", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid reverse property map", + "purpose": "Verifies that an exception is raised in Expansion when a invalid reverse property map is found", + "input": "toRdf/er25-in.jsonld", + "expectErrorCode": "invalid reverse property map" + }, { + "@id": "#ter26", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Colliding keywords", + "purpose": "Verifies that an exception is raised in Expansion when colliding keywords are found", + "input": "toRdf/er26-in.jsonld", + "expectErrorCode": "colliding keywords" + }, { + "@id": "#ter27", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid @id value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid @id value is found", + "input": "toRdf/er27-in.jsonld", + "expectErrorCode": "invalid @id value" + }, { + "@id": "#ter28", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid type value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid type value is found", + "input": "toRdf/er28-in.jsonld", + "expectErrorCode": "invalid type value" + }, { + "@id": "#ter29", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid value object value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object value is found", + "input": "toRdf/er29-in.jsonld", + "expectErrorCode": "invalid value object value" + }, { + "@id": "#ter30", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid language-tagged string", + "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged string value is found", + "input": "toRdf/er30-in.jsonld", + "expectErrorCode": "invalid language-tagged string" + }, { + "@id": "#ter31", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid @index value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid @index value value is found", + "input": "toRdf/er31-in.jsonld", + "expectErrorCode": "invalid @index value" + }, { + "@id": "#ter32", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "List of lists (from array)", + "purpose": "Verifies that an exception is raised in Expansion when a list of lists is found", + "input": "toRdf/er32-in.jsonld", + "expectErrorCode": "list of lists", + "option": {"specVersion": "json-ld-1.0"} + }, { + "@id": "#ter33", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid @reverse value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid @reverse value is found", + "input": "toRdf/er33-in.jsonld", + "expectErrorCode": "invalid @reverse value" + }, { + "@id": "#ter34", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid reverse property value (in @reverse)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", + "input": "toRdf/er34-in.jsonld", + "expectErrorCode": "invalid reverse property value" + }, { + "@id": "#ter35", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid language map value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid language map value is found", + "input": "toRdf/er35-in.jsonld", + "expectErrorCode": "invalid language map value" + }, { + "@id": "#ter36", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid reverse property value (through coercion)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid reverse property value is found", + "input": "toRdf/er36-in.jsonld", + "expectErrorCode": "invalid reverse property value" + }, { + "@id": "#ter37", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid value object (unexpected keyword)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", + "input": "toRdf/er37-in.jsonld", + "expectErrorCode": "invalid value object" + }, { + "@id": "#ter38", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid value object (@type and @language)", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object is found", + "input": "toRdf/er38-in.jsonld", + "expectErrorCode": "invalid value object" + }, { + "@id": "#ter39", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid language-tagged value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid language-tagged value is found", + "input": "toRdf/er39-in.jsonld", + "expectErrorCode": "invalid language-tagged value" + }, { + "@id": "#ter40", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid typed value", + "purpose": "Verifies that an exception is raised in Expansion when an invalid typed value is found", + "input": "toRdf/er40-in.jsonld", + "expectErrorCode": "invalid typed value" + }, { + "@id": "#ter41", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid set or list object", + "purpose": "Verifies that an exception is raised in Expansion when an invalid set or list object is found", + "input": "toRdf/er41-in.jsonld", + "expectErrorCode": "invalid set or list object" + }, { + "@id": "#ter42", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Keywords may not be redefined in 1.0", + "purpose": "Verifies that an exception is raised on expansion when processing an invalid context attempting to define @container on a keyword", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, + "input": "toRdf/er42-in.jsonld", + "expectErrorCode": "keyword redefinition" + }, { + "@id": "#ter43", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Term definition with @id: @type", + "purpose": "Expanding term mapping to @type uses @type syntax now illegal", + "input": "toRdf/er43-in.jsonld", + "expectErrorCode": "invalid IRI mapping", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ter44", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Redefine terms looking like compact IRIs", + "purpose": "Term definitions may look like compact IRIs, but must be consistent.", + "input": "toRdf/er44-in.jsonld", + "expectErrorCode": "invalid IRI mapping", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ter48", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Invalid term as relative IRI", + "purpose": "Verifies that a relative IRI cannot be used as a term.", + "input": "toRdf/er48-in.jsonld", + "expectErrorCode": "invalid IRI mapping", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ter49", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "A relative IRI cannot be used as a prefix", + "purpose": "Verifies that a relative IRI cannot be used as a term.", + "input": "toRdf/er49-in.jsonld", + "expectErrorCode": "invalid term definition", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#ter50", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid reverse id", + "purpose": "Verifies that an exception is raised in Expansion when an invalid IRI is used for @reverse.", + "input": "toRdf/er50-in.jsonld", + "expectErrorCode": "invalid IRI mapping" + }, { + "@id": "#ter51", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid value object value using a value alias", + "purpose": "Verifies that an exception is raised in Expansion when an invalid value object value is found using a value alias", + "input": "toRdf/er51-in.jsonld", + "expectErrorCode": "invalid value object value" + }, { + "@id": "#ter52", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Definition for the empty term", + "purpose": "Verifies that an exception is raised on expansion when a context contains a definition for the empty term", + "input": "toRdf/er52-in.jsonld", + "expectErrorCode": "invalid term definition" + }, { + "@id": "#tin01", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Basic Included array", + "purpose": "Tests included blocks.", + "input": "toRdf/in01-in.jsonld", + "expect": "toRdf/in01-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tin02", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (11)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0131-in.jsonld", - "expect": "toRdf/0131-out.nq" + "name": "Basic Included object", + "purpose": "Tests included blocks.", + "input": "toRdf/in02-in.jsonld", + "expect": "toRdf/in02-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#t0132", + "@id": "#tin03", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "IRI Resolution (12)", - "purpose": "IRI resolution according to RFC3986.", - "input": "toRdf/0132-in.jsonld", - "expect": "toRdf/0132-out.nq" + "name": "Multiple properties mapping to @included are folded together", + "purpose": "Tests included blocks.", + "input": "toRdf/in03-in.jsonld", + "expect": "toRdf/in03-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th001", + "@id": "#tin04", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Transforms embedded JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "toRdf/h001-in.html", - "expect": "toRdf/h001-out.nq", + "name": "Included containing @included", + "purpose": "Tests included blocks.", + "input": "toRdf/in04-in.jsonld", + "expect": "toRdf/in04-out.nq", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th002", + "@id": "#tin05", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Transforms first embedded JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML", - "input": "toRdf/h002-in.html", - "expect": "toRdf/h002-out.nq", - "option": {"specVersion": "json-ld-1.1", "extractAllScripts": false} + "name": "Property value with @included", + "purpose": "Tests included blocks.", + "input": "toRdf/in05-in.jsonld", + "expect": "toRdf/in05-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#th003", + "@id": "#tin06", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Transforms targeted JSON-LD script element", - "purpose": "Tests embedded JSON-LD in HTML with fragment identifier", - "input": "toRdf/h003-in.html#second", - "expect": "toRdf/h003-out.nq", + "name": "json.api example", + "purpose": "Tests included blocks.", + "input": "toRdf/in06-in.jsonld", + "expect": "toRdf/in06-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tin07", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Error if @included value is a string", + "purpose": "Tests included blocks.", + "input": "toRdf/in07-in.jsonld", + "expectErrorCode": "invalid @included value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tin08", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Error if @included value is a value object", + "purpose": "Tests included blocks.", + "input": "toRdf/in08-in.jsonld", + "expectErrorCode": "invalid @included value", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tin09", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Error if @included value is a list object", + "purpose": "Tests included blocks.", + "input": "toRdf/in09-in.jsonld", + "expectErrorCode": "invalid @included value", "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tjs01", @@ -934,7 +2254,7 @@ "purpose": "Tests transforming property with @type @json to a JSON literal (boolean true).", "input": "toRdf/js01-in.jsonld", "expect": "toRdf/js01-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs02", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -942,7 +2262,7 @@ "purpose": "Tests transforming property with @type @json to a JSON literal (boolean false).", "input": "toRdf/js02-in.jsonld", "expect": "toRdf/js02-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs03", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -950,7 +2270,7 @@ "purpose": "Tests transforming property with @type @json to a JSON literal (double).", "input": "toRdf/js03-in.jsonld", "expect": "toRdf/js03-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs04", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -958,7 +2278,7 @@ "purpose": "Tests transforming property with @type @json to a JSON literal (double-zero).", "input": "toRdf/js04-in.jsonld", "expect": "toRdf/js04-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs05", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -966,7 +2286,7 @@ "purpose": "Tests transforming property with @type @json to a JSON literal (integer).", "input": "toRdf/js05-in.jsonld", "expect": "toRdf/js05-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs06", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -974,7 +2294,7 @@ "purpose": "Tests transforming property with @type @json to a JSON literal (object).", "input": "toRdf/js06-in.jsonld", "expect": "toRdf/js06-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs07", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -982,15 +2302,15 @@ "purpose": "Tests transforming property with @type @json to a JSON literal (array).", "input": "toRdf/js07-in.jsonld", "expect": "toRdf/js07-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs08", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], "name": "Transform JSON literal with array canonicalization", - "purpose": "Tests Transforming JSON literal with array canonicalization.", + "purpose": "Tests transforming JSON literal with array canonicalization.", "input": "toRdf/js08-in.jsonld", "expect": "toRdf/js08-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs09", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -998,7 +2318,7 @@ "purpose": "Tests transforming JSON literal with string canonicalization.", "input": "toRdf/js09-in.jsonld", "expect": "toRdf/js09-out.nq", - "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs10", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1006,7 +2326,7 @@ "purpose": "Tests transforming JSON literal with structural canonicalization.", "input": "toRdf/js10-in.jsonld", "expect": "toRdf/js10-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs11", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1014,7 +2334,7 @@ "purpose": "Tests transforming JSON literal with unicode canonicalization.", "input": "toRdf/js11-in.jsonld", "expect": "toRdf/js11-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs12", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1022,7 +2342,7 @@ "purpose": "Tests transforming JSON literal with value canonicalization.", "input": "toRdf/js12-in.jsonld", "expect": "toRdf/js12-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tjs13", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1030,7 +2350,87 @@ "purpose": "Tests transforming JSON literal with wierd canonicalization.", "input": "toRdf/js13-in.jsonld", "expect": "toRdf/js13-out.nq", - "option": {"specVersion": "json-ld-1.1"} + "option": {"specVersion": "json-ld-1.1", "useJCS": true} + }, { + "@id": "#tjs14", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal without expanding contents", + "purpose": "Tests transforming JSON literal does not expand terms inside json.", + "input": "toRdf/js14-in.jsonld", + "expect": "toRdf/js14-out.nq", + "option": {"specVersion": "json-ld-1.1", "useJCS": true} + }, { + "@id": "#tjs15", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal aleady in expanded form", + "purpose": "Tests transforming JSON literal in expanded form.", + "input": "toRdf/js15-in.jsonld", + "expect": "toRdf/js15-out.nq", + "option": {"specVersion": "json-ld-1.1", "useJCS": true} + }, { + "@id": "#tjs16", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal aleady in expanded form with aliased keys", + "purpose": "Tests transforming JSON literal in expanded form with aliased keys in value object.", + "input": "toRdf/js16-in.jsonld", + "expect": "toRdf/js16-out.nq", + "option": {"specVersion": "json-ld-1.1", "useJCS": true} + }, { + "@id": "#tjs17", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (string)", + "purpose": "Tests transforming property with @type @json to a JSON literal (string).", + "input": "toRdf/js17-in.jsonld", + "expect": "toRdf/js17-out.nq", + "option": {"specVersion": "json-ld-1.1", "useJCS": true} + }, { + "@id": "#tjs18", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (null)", + "purpose": "Tests transforming property with @type @json to a JSON literal (null).", + "input": "toRdf/js18-in.jsonld", + "expect": "toRdf/js18-out.nq", + "option": {"specVersion": "json-ld-1.1", "useJCS": true} + }, { + "@id": "#tjs19", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal with aliased @type", + "purpose": "Tests transforming JSON literal with aliased @type.", + "input": "toRdf/js19-in.jsonld", + "expect": "toRdf/js19-out.nq", + "option": {"specVersion": "json-ld-1.1", "useJCS": true} + }, { + "@id": "#tjs20", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal with aliased @value", + "purpose": "Tests transforming JSON literal with aliased @value.", + "input": "toRdf/js20-in.jsonld", + "expect": "toRdf/js20-out.nq", + "option": {"specVersion": "json-ld-1.1", "useJCS": true} + }, { + "@id": "#tjs21", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal with @context", + "purpose": "Tests transforming JSON literal with a @context.", + "input": "toRdf/js21-in.jsonld", + "expect": "toRdf/js21-out.nq", + "option": {"specVersion": "json-ld-1.1", "useJCS": true} + }, { + "@id": "#tjs22", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (null) aleady in expanded form.", + "purpose": "Tests transforming property with @type @json to a JSON literal (null).", + "input": "toRdf/js22-in.jsonld", + "expect": "toRdf/js22-out.nq", + "option": {"specVersion": "json-ld-1.1", "useJCS": true} + }, { + "@id": "#tjs23", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Transform JSON literal (empty array).", + "purpose": "Tests transforming property with @type @json to a JSON literal (empty array).", + "input": "toRdf/js23-in.jsonld", + "expect": "toRdf/js23-out.nq", + "option": {"specVersion": "json-ld-1.1", "useJCS": true} }, { "@id": "#tli01", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1040,68 +2440,300 @@ "expect": "toRdf/li01-out.nq", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#tli02", + "@id": "#tli02", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@list containing empty @list", + "purpose": "List of lists.", + "input": "toRdf/li02-in.jsonld", + "expect": "toRdf/li02-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tli03", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@list containing @list (with coercion)", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/li03-in.jsonld", + "expect": "toRdf/li03-out.nq" + }, { + "@id": "#tli04", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@list containing empty @list (with coercion)", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/li04-in.jsonld", + "expect": "toRdf/li04-out.nq" + }, { + "@id": "#tli05", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "coerced @list containing an array", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/li05-in.jsonld", + "expect": "toRdf/li05-out.nq" + }, { + "@id": "#tli06", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "coerced @list containing an empty array", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/li06-in.jsonld", + "expect": "toRdf/li06-out.nq" + }, { + "@id": "#tli07", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "coerced @list containing deep arrays", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/li07-in.jsonld", + "expect": "toRdf/li07-out.nq" + }, { + "@id": "#tli08", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "coerced @list containing deep empty arrays", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/li08-in.jsonld", + "expect": "toRdf/li08-out.nq" + }, { + "@id": "#tli09", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "coerced @list containing multiple lists", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/li09-in.jsonld", + "expect": "toRdf/li09-out.nq" + }, { + "@id": "#tli10", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "coerced @list containing mixed list values", + "purpose": "List of lists", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/li10-in.jsonld", + "expect": "toRdf/li10-out.nq" + }, { + "@id": "#tm001", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Adds @id to object not having an @id", + "purpose": "Expansion using @container: @id", + "input": "toRdf/m001-in.jsonld", + "expect": "toRdf/m001-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm002", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Retains @id in object already having an @id", + "purpose": "Expansion using @container: @id", + "input": "toRdf/m002-in.jsonld", + "expect": "toRdf/m002-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm003", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Adds @type to object not having an @type", + "purpose": "Expansion using @container: @type", + "input": "toRdf/m003-in.jsonld", + "expect": "toRdf/m003-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm004", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Prepends @type in object already having an @type", + "purpose": "Expansion using @container: @type", + "input": "toRdf/m004-in.jsonld", + "expect": "toRdf/m004-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm005", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Adds expanded @id to object", + "purpose": "Expansion using @container: @id", + "input": "toRdf/m005-in.jsonld", + "expect": "toRdf/m005-out.nq", + "option": {"base": "http://example.org/", "specVersion": "json-ld-1.1"} + }, { + "@id": "#tm006", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Adds vocabulary expanded @type to object", + "purpose": "Expansion using @container: @type", + "input": "toRdf/m006-in.jsonld", + "expect": "toRdf/m006-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm007", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Adds document expanded @type to object", + "purpose": "Expansion using @container: @type", + "input": "toRdf/m007-in.jsonld", + "expect": "toRdf/m007-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm008", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "When type is in a type map", + "purpose": "scoped context on @type", + "input": "toRdf/m008-in.jsonld", + "expect": "toRdf/m008-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm009", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "language map with @none", + "purpose": "index on @language", + "input": "toRdf/m009-in.jsonld", + "expect": "toRdf/m009-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm010", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "language map with alias of @none", + "purpose": "index on @language", + "input": "toRdf/m010-in.jsonld", + "expect": "toRdf/m010-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm011", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "id map with @none", + "purpose": "index on @id", + "input": "toRdf/m011-in.jsonld", + "expect": "toRdf/m011-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm012", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "type map with alias of @none", + "purpose": "index on @type", + "input": "toRdf/m012-in.jsonld", + "expect": "toRdf/m012-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm013", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "graph index map with @none", + "purpose": "index on @graph and @index", + "input": "toRdf/m013-in.jsonld", + "expect": "toRdf/m013-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm014", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "graph index map with alias @none", + "purpose": "index on @graph and @index", + "input": "toRdf/m014-in.jsonld", + "expect": "toRdf/m014-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm015", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "graph id index map with aliased @none", + "purpose": "index on @graph and @id with @none", + "input": "toRdf/m015-in.jsonld", + "expect": "toRdf/m015-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm016", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "graph id index map with aliased @none", + "purpose": "index on @graph and @id with @none", + "input": "toRdf/m016-in.jsonld", + "expect": "toRdf/m016-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm017", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "string value of type map expands to node reference", + "purpose": "index on @type", + "input": "toRdf/m017-in.jsonld", + "expect": "toRdf/m017-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm018", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "string value of type map expands to node reference with @type: @id", + "purpose": "index on @type", + "input": "toRdf/m018-in.jsonld", + "expect": "toRdf/m018-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm019", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "string value of type map expands to node reference with @type: @vocab", + "purpose": "index on @type", + "input": "toRdf/m019-in.jsonld", + "expect": "toRdf/m019-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tm020", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "string value of type map must not be a literal", + "purpose": "index on @type", + "input": "toRdf/m020-in.jsonld", + "expectErrorCode": "invalid type mapping", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tn001", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "@list containing empty @list", - "purpose": "List of lists.", - "input": "toRdf/li02-in.jsonld", - "expect": "toRdf/li02-out.nq", + "name": "Expands input using @nest", + "purpose": "Expansion using @nest", + "input": "toRdf/n001-in.jsonld", + "expect": "toRdf/n001-out.nq", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#twf01", + "@id": "#tn002", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Triples including invalid subject IRIs are rejected", - "purpose": "ToRdf emits only well-formed statements.", - "input": "toRdf/wf01-in.jsonld", - "expect": "toRdf/wf01-out.nq", + "name": "Expands input using aliased @nest", + "purpose": "Expansion using @nest", + "input": "toRdf/n002-in.jsonld", + "expect": "toRdf/n002-out.nq", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#twf02", + "@id": "#tn003", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Triples including invalid predicate IRIs are rejected", - "purpose": "ToRdf emits only well-formed statements.", - "input": "toRdf/wf02-in.jsonld", - "expect": "toRdf/wf02-out.nq", + "name": "Appends nested values when property at base and nested", + "purpose": "Expansion using @nest", + "input": "toRdf/n003-in.jsonld", + "expect": "toRdf/n003-out.nq", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#twf03", + "@id": "#tn004", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Triples including invalid object IRIs are rejected", - "purpose": "ToRdf emits only well-formed statements.", - "input": "toRdf/wf03-in.jsonld", - "expect": "toRdf/wf03-out.nq", + "name": "Appends nested values from all @nest aliases in term order", + "purpose": "Expansion using @nest", + "input": "toRdf/n004-in.jsonld", + "expect": "toRdf/n004-out.nq", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#twf04", + "@id": "#tn005", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Triples including invalid type IRIs are rejected", - "purpose": "ToRdf emits only well-formed statements.", - "input": "toRdf/wf04-in.jsonld", - "expect": "toRdf/wf04-out.nq", + "name": "Nested nested containers", + "purpose": "Expansion using @nest", + "input": "toRdf/n005-in.jsonld", + "expect": "toRdf/n005-out.nq", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#twf05", + "@id": "#tn006", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Triples including invalid language tags are rejected", - "purpose": "ToRdf emits only well-formed statements.", - "input": "toRdf/wf05-in.jsonld", - "expect": "toRdf/wf05-out.nq", + "name": "Arrays of nested values", + "purpose": "Expansion using @nest", + "input": "toRdf/n006-in.jsonld", + "expect": "toRdf/n006-out.nq", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#twf06", + "@id": "#tn007", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Triples including invalid literal datatype IRIs are rejected", - "purpose": "ToRdf emits only well-formed statements.", - "input": "toRdf/wf06-in.jsonld", - "expect": "toRdf/wf06-out.nq", + "name": "A nest of arrays", + "purpose": "Expansion using @nest", + "input": "toRdf/n007-in.jsonld", + "expect": "toRdf/n007-out.nq", "option": {"specVersion": "json-ld-1.1"} }, { - "@id": "#twf07", + "@id": "#tn008", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], - "name": "Triples including invalid graph name IRIs are rejected", - "purpose": "ToRdf emits only well-formed statements.", - "input": "toRdf/wf07-in.jsonld", - "expect": "toRdf/wf07-out.nq", + "name": "Multiple keys may mapping to @type when nesting", + "purpose": "Expansion using @nest", + "input": "toRdf/n008-in.jsonld", + "expect": "toRdf/n008-out.nq", "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tnt01", @@ -1199,6 +2831,438 @@ "name": "literal_with_numeric_escape4", "purpose": "literal with numeric escape4 \\u from N-Triples", "input": "toRdf/nt16-in.jsonld" + }, { + "@id": "#tp001", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@version may be specified after first context", + "purpose": "If processing mode is not set through API, it is set by the first context containing @version.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/p001-in.jsonld", + "expect": "toRdf/p001-out.nq" + }, { + "@id": "#tp002", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@version setting [1.0, 1.1, 1.0]", + "purpose": "If processing mode is not set through API, it is set by the first context containing @version.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/p002-in.jsonld", + "expect": "toRdf/p002-out.nq" + }, { + "@id": "#tp003", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@version setting [1.1, 1.0]", + "purpose": "If processing mode is not set through API, it is set by the first context containing @version.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/p003-in.jsonld", + "expect": "toRdf/p003-out.nq" + }, { + "@id": "#tp004", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@version setting [1.1, 1.0, 1.1]", + "purpose": "If processing mode is not set through API, it is set by the first context containing @version.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/p004-in.jsonld", + "expect": "toRdf/p004-out.nq" + }, { + "@id": "#tpi01", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "error if @version is json-ld-1.0 for property-valued index", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, + "input": "toRdf/pi01-in.jsonld", + "expectErrorCode": "invalid term definition" + }, { + "@id": "#tpi02", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "error if @container does not include @index for property-valued index", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pi02-in.jsonld", + "expectErrorCode": "invalid term definition" + }, { + "@id": "#tpi03", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "error if @index is a keyword for property-valued index", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pi03-in.jsonld", + "expectErrorCode": "invalid term definition" + }, { + "@id": "#tpi04", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "error if @index is not a string for property-valued index", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pi04-in.jsonld", + "expectErrorCode": "invalid term definition" + }, { + "@id": "#tpi05", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "error if attempting to add property to value object for property-valued index", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pi05-in.jsonld", + "expectErrorCode": "invalid value object" + }, { + "@id": "#tpi06", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "property-valued index expands to property value, instead of @index (value)", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pi06-in.jsonld", + "expect": "toRdf/pi06-out.nq" + }, { + "@id": "#tpi07", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "property-valued index appends to property value, instead of @index (value)", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pi07-in.jsonld", + "expect": "toRdf/pi07-out.nq" + }, { + "@id": "#tpi08", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "property-valued index expands to property value, instead of @index (node)", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pi08-in.jsonld", + "expect": "toRdf/pi08-out.nq" + }, { + "@id": "#tpi09", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "property-valued index appends to property value, instead of @index (node)", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pi09-in.jsonld", + "expect": "toRdf/pi09-out.nq" + }, { + "@id": "#tpi10", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "property-valued index does not output property for @none", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pi10-in.jsonld", + "expect": "toRdf/pi10-out.nq" + }, { + "@id": "#tpi11", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "property-valued index adds property to graph object", + "purpose": "Expanding index maps where index is a property.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pi11-in.jsonld", + "expect": "toRdf/pi11-out.nq" + }, { + "@id": "#tpr01", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Protect a term", + "purpose": "Check error when overriding a protected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr01-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr02", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Set a term to not be protected", + "purpose": "A term with @protected: false is not protected.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr02-in.jsonld", + "expect": "toRdf/pr02-out.nq" + }, { + "@id": "#tpr03", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Protect all terms in context", + "purpose": "A protected context protects all term definitions.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr03-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr04", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Do not protect term with @protected: false", + "purpose": "A protected context does not protect terms with @protected: false.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr04-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr05", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Clear active context with protected terms from an embedded context", + "purpose": "The Active context be set to null from an embedded context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr05-in.jsonld", + "expectErrorCode": "invalid context nullification" + }, { + "@id": "#tpr06", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Clear active context of protected terms from a term.", + "purpose": "The Active context may be set to null from a scoped context of a term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr06-in.jsonld", + "expect": "toRdf/pr06-out.nq" + }, { + "@id": "#tpr08", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Term with protected scoped context.", + "purpose": "A scoped context can protect terms.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr08-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr09", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Attempt to redefine term in other protected context.", + "purpose": "A protected term cannot redefine another protected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr09-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr10", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Simple protected and unprotected terms.", + "purpose": "Simple protected and unprotected terms.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr10-in.jsonld", + "expect": "toRdf/pr10-out.nq" + }, { + "@id": "#tpr11", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Fail to override protected term.", + "purpose": "Fail to override protected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr11-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr12", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Scoped context fail to override protected term.", + "purpose": "Scoped context fail to override protected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr12-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr13", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Override unprotected term.", + "purpose": "Override unprotected term.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr13-in.jsonld", + "expect": "toRdf/pr13-out.nq" + }, { + "@id": "#tpr14", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Clear protection with null context.", + "purpose": "Clear protection with null context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr14-in.jsonld", + "expect": "toRdf/pr14-out.nq" + }, { + "@id": "#tpr15", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Clear protection with array with null context", + "purpose": "Clear protection with array with null context", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr15-in.jsonld", + "expect": "toRdf/pr15-out.nq" + }, { + "@id": "#tpr16", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Override protected terms after null.", + "purpose": "Override protected terms after null.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr16-in.jsonld", + "expect": "toRdf/pr16-out.nq" + }, { + "@id": "#tpr17", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Fail to override protected terms with type.", + "purpose": "Fail to override protected terms with type.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr17-in.jsonld", + "expectErrorCode": "invalid context nullification" + }, { + "@id": "#tpr18", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Fail to override protected terms with type+null+ctx.", + "purpose": "Fail to override protected terms with type+null+ctx.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr18-in.jsonld", + "expectErrorCode": "invalid context nullification" + }, { + "@id": "#tpr19", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Mix of protected and unprotected terms.", + "purpose": "Mix of protected and unprotected terms.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr19-in.jsonld", + "expect": "toRdf/pr19-out.nq" + }, { + "@id": "#tpr20", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Fail with mix of protected and unprotected terms with type+null+ctx.", + "purpose": "Fail with mix of protected and unprotected terms with type+null+ctx.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr20-in.jsonld", + "expectErrorCode": "invalid context nullification" + }, { + "@id": "#tpr21", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Fail with mix of protected and unprotected terms with type+null.", + "purpose": "Fail with mix of protected and unprotected terms with type+null.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr21-in.jsonld", + "expectErrorCode": "invalid context nullification" + }, { + "@id": "#tpr22", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Check legal overriding of type-scoped protected term from nested node.", + "purpose": "Check legal overriding of type-scoped protected term from nested node.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr22-in.jsonld", + "expect": "toRdf/pr22-out.nq" + }, { + "@id": "#tpr23", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Allows redefinition of protected alias term with same definition.", + "purpose": "Allows redefinition of protected alias term with same definition.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr23-in.jsonld", + "expect": "toRdf/pr23-out.nq" + }, { + "@id": "#tpr24", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Allows redefinition of protected prefix term with same definition.", + "purpose": "Allows redefinition of protected prefix term with same definition.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr24-in.jsonld", + "expect": "toRdf/pr24-out.nq" + }, { + "@id": "#tpr25", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Allows redefinition of terms with scoped contexts using same definitions.", + "purpose": "Allows redefinition of terms with scoped contexts using same definitions.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr25-in.jsonld", + "expect": "toRdf/pr25-out.nq" + }, { + "@id": "#tpr26", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Fails on redefinition of terms with scoped contexts using different definitions.", + "purpose": "Fails on redefinition of terms with scoped contexts using different definitions.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr26-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr27", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Allows redefinition of protected alias term with same definition modulo protected flag.", + "purpose": "Allows redefinition of protected alias term with same definition modulo protected flag.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr27-in.jsonld", + "expect": "toRdf/pr27-out.nq" + }, { + "@id": "#tpr28", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Fails if trying to redefine a protected null term.", + "purpose": "A protected term with a null IRI mapping cannot be redefined.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr28-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr29", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Does not expand a Compact IRI using a non-prefix term.", + "purpose": "Expansion of Compact IRIs considers if the term can be used as a prefix.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr29-in.jsonld", + "expect": "toRdf/pr29-out.nq" + }, { + "@id": "#tpr30", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Keywords may be protected.", + "purpose": "Keywords may not be redefined other than to protect them.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr30-in.jsonld", + "expect": "toRdf/pr30-out.nq" + }, { + "@id": "#tpr31", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Protected keyword aliases cannot be overridden.", + "purpose": "Keywords may not be redefined other than to protect them.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr31-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr32", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Protected @type cannot be overridden.", + "purpose": "Keywords may not be redefined other than to protect them.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr32-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tpr33", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Fails if trying to declare a keyword alias as prefix.", + "purpose": "Keyword aliases can not be used as prefixes.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr33-in.jsonld", + "expectErrorCode": "invalid term definition" + }, { + "@id": "#tpr34", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Ignores a non-keyword term starting with '@'", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr34-in.jsonld", + "expect": "toRdf/pr34-out.nq" + }, { + "@id": "#tpr35", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Ignores a non-keyword term starting with '@' (with @vocab)", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr35-in.jsonld", + "expect": "toRdf/pr35-out.nq" + }, { + "@id": "#tpr36", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Ignores a term mapping to a value in the form of a keyword.", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr36-in.jsonld", + "expect": "toRdf/pr36-out.nq" + }, { + "@id": "#tpr37", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Ignores a term mapping to a value in the form of a keyword (with @vocab).", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr37-in.jsonld", + "expect": "toRdf/pr37-out.nq" + }, { + "@id": "#tpr38", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Ignores a term mapping to a value in the form of a keyword (@reverse).", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr38-in.jsonld", + "expect": "toRdf/pr38-out.nq" + }, { + "@id": "#tpr39", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Ignores a term mapping to a value in the form of a keyword (@reverse with @vocab).", + "purpose": "Terms in the form of a keyword, which are not keywords, are ignored.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr39-in.jsonld", + "expect": "toRdf/pr39-out.nq" + }, { + "@id": "#tpr40", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Protected terms and property-scoped contexts", + "purpose": "Check overriding of protected term from property-scoped context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/pr40-in.jsonld", + "expect": "toRdf/pr40-out.nq" }, { "@id": "#trt01", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], @@ -1207,6 +3271,166 @@ "option": {"specVersion": "json-ld-1.1"}, "input": "toRdf/rt01-in.jsonld", "expect": "toRdf/rt01-out.nq" + }, { + "@id": "#tso01", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "@import is invalid in 1.0.", + "purpose": "@import is invalid in 1.0.", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, + "input": "toRdf/so01-in.jsonld", + "expectErrorCode": "invalid context entry" + }, { + "@id": "#tso02", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "@import must be a string", + "purpose": "@import must be a string.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/so02-in.jsonld", + "expectErrorCode": "invalid @import value" + }, { + "@id": "#tso03", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "@import overflow", + "purpose": "Processors must detect source contexts that include @import.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/so03-in.jsonld", + "expectErrorCode": "invalid context entry" + }, { + "@id": "#tso05", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@propagate: true on type-scoped context with @import", + "purpose": "type-scoped context with @propagate: true survive node-objects (with @import)", + "input": "toRdf/so05-in.jsonld", + "expect": "toRdf/so05-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tso06", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@propagate: false on property-scoped context with @import", + "purpose": "property-scoped context with @propagate: false do not survive node-objects (with @import)", + "input": "toRdf/so06-in.jsonld", + "expect": "toRdf/so06-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#tso07", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Protect all terms in sourced context", + "purpose": "A protected context protects all term definitions.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/so07-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tso08", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Override term defined in sourced context", + "purpose": "The containing context is merged into the source context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/so08-in.jsonld", + "expect": "toRdf/so08-out.nq" + }, { + "@id": "#tso09", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Override @vocab defined in sourced context", + "purpose": "The containing context is merged into the source context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/so09-in.jsonld", + "expect": "toRdf/so09-out.nq" + }, { + "@id": "#tso10", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "Protect terms in sourced context", + "purpose": "The containing context is merged into the source context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/so10-in.jsonld", + "expectErrorCode": "protected term redefinition" + }, { + "@id": "#tso11", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Override protected terms in sourced context", + "purpose": "The containing context is merged into the source context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/so11-in.jsonld", + "expect": "toRdf/so11-out.nq" + }, { + "@id": "#tso12", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "@import may not be used in an imported context.", + "purpose": "@import only valid within a term definition.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/so12-in.jsonld", + "expectErrorCode": "invalid context entry" + }, { + "@id": "#tso13", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "@import can only reference a single context", + "purpose": "@import can only reference a single context.", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/so13-in.jsonld", + "expectErrorCode": "invalid remote context" + }, { + "@id": "#ttn01", + "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest"], + "name": "@type: @none is illegal in 1.0.", + "purpose": "@type: @none is illegal in json-ld-1.0.", + "option": {"specVersion": "json-ld-1.1", "processingMode": "json-ld-1.0"}, + "input": "toRdf/tn01-in.jsonld", + "expectErrorCode": "invalid type mapping" + }, { + "@id": "#ttn02", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "@type: @none expands strings as value objects", + "purpose": "@type: @none leaves inputs other than strings alone", + "option": {"specVersion": "json-ld-1.1"}, + "input": "toRdf/tn02-in.jsonld", + "expect": "toRdf/tn02-out.nq" + }, { + "@id": "#twf01", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid subject IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf01-in.jsonld", + "expect": "toRdf/wf01-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf02", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid predicate IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf02-in.jsonld", + "expect": "toRdf/wf02-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf03", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid object IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf03-in.jsonld", + "expect": "toRdf/wf03-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf04", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid type IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf04-in.jsonld", + "expect": "toRdf/wf04-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf05", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid language tags are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf05-in.jsonld", + "expect": "toRdf/wf05-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#twf07", + "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], + "name": "Triples including invalid graph name IRIs are rejected", + "purpose": "ToRdf emits only well-formed statements.", + "input": "toRdf/wf07-in.jsonld", + "expect": "toRdf/wf07-out.nq", + "option": {"specVersion": "json-ld-1.1"} } ] } diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c001-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c001-in.jsonld new file mode 100644 index 00000000..04c51209 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c001-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"bar": "http://example.org/bar"}} + }, + "foo": { + "bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c001-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c001-out.nq new file mode 100644 index 00000000..52cebd55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c001-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b1 "baz" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c002-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c002-in.jsonld new file mode 100644 index 00000000..8121cf37 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c002-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"bar": {"@type": "@id"}}}, + "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} + }, + "foo": { + "bar": "http://example/baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c002-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c002-out.nq new file mode 100644 index 00000000..9a4e88f2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c002-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c003-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c003-in.jsonld new file mode 100644 index 00000000..447ded33 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c003-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"Bar": {"@id": "bar"}}} + }, + "foo": { + "Bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c003-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c003-out.nq new file mode 100644 index 00000000..b68ce203 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c003-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b1 "baz" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c004-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c004-in.jsonld new file mode 100644 index 00000000..c9e450bf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c004-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": {"baz": {"@type": "@vocab"}}} + }, + "foo": { + "bar": { + "baz": "buzz" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c004-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c004-out.nq new file mode 100644 index 00000000..f7484be8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c004-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 _:b2 . +_:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c005-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c005-in.jsonld new file mode 100644 index 00000000..faab3202 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c005-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example/", + "b": {"@context": {"c": "http://example.org/c"}} + }, + "a": { + "@context": {"@vocab": "http://example.com/"}, + "b": { + "a": "A in example.com", + "c": "C in example.org" + }, + "c": "C in example.com" + }, + "c": "C in example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c005-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c005-out.nq new file mode 100644 index 00000000..63a80715 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c005-out.nq @@ -0,0 +1,6 @@ +_:b0 _:b1 . +_:b0 "C in example" . +_:b1 "C in example.com" . +_:b1 _:b2 . +_:b2 "A in example.com" . +_:b2 "C in example.org" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c006-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c006-in.jsonld new file mode 100644 index 00000000..757aeaa1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c006-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"bar": "http://example.org/bar"}} + }, + "a": {"@type": "Foo", "bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c006-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c006-out.nq new file mode 100644 index 00000000..a1c4cc96 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c006-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 "baz" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c007-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c007-in.jsonld new file mode 100644 index 00000000..05c9f1d6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c007-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"bar": {"@type": "@id"}}}, + "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} + }, + "a": {"@type": "Foo", "bar": "http://example/baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c007-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c007-out.nq new file mode 100644 index 00000000..7ac268cb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c007-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c008-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c008-in.jsonld new file mode 100644 index 00000000..e0b472b1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c008-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "type": "@type", + "Foo": {"@context": {"bar": "http://example.org/bar"}} + }, + "a": {"type": "Foo", "bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c008-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c008-out.nq new file mode 100644 index 00000000..a1c4cc96 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c008-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 "baz" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c009-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c009-in.jsonld new file mode 100644 index 00000000..c2b6d110 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c009-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": {"@context": {"baz": {"@type": "@vocab"}}} + }, + "@type": "Foo", + "bar": {"baz": "buzz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c009-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c009-out.nq new file mode 100644 index 00000000..e2237f34 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c009-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b0 . +_:b1 "buzz" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c010-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c010-in.jsonld new file mode 100644 index 00000000..809997b5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c010-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example/", + "B": {"@context": {"c": "http://example.org/c"}} + }, + "a": { + "@context": {"@vocab": "http://example.com/"}, + "@type": "B", + "a": "A in example.com", + "c": "C in example.org" + }, + "c": "C in example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c010-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c010-out.nq new file mode 100644 index 00000000..8ef7c1be --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c010-out.nq @@ -0,0 +1,5 @@ +_:b0 _:b1 . +_:b0 "C in example" . +_:b1 "C in example.org" . +_:b1 "A in example.com" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c011-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c011-in.jsonld new file mode 100644 index 00000000..c57c55eb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c011-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "t1": {"@context": {"foo": {"@id": "http://example.com/foo"}}}, + "t2": {"@context": {"foo": {"@id": "http://example.org/foo", "@type": "@id"}}} + }, + "@type": ["t2", "t1"], + "foo": "urn:bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c011-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c011-out.nq new file mode 100644 index 00000000..93a9513f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c011-out.nq @@ -0,0 +1,3 @@ +_:b0 . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c012-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c012-in.jsonld new file mode 100644 index 00000000..bba1c9bf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c012-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example/", + "Foo": { + "@context": { + "bar": { + "@context": { + "baz": {"@type": "@vocab"} + } + } + } + } + }, + "@type": "Foo", + "bar": {"baz": "buzz"} +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c012-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c012-out.nq new file mode 100644 index 00000000..ec730377 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c012-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b0 . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c013-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c013-in.jsonld new file mode 100644 index 00000000..63c4a0c5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c013-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "@vocab": "http://example/", + "prop": {"@container": "@index"}, + "foo": "http://example/base-foo", + "Outer": { + "@context": { + "prop": { + "@id": "http://example/outer-prop", + "@container": "@type" + } + } + }, + "Inner": {"@context": {"foo": "http://example/inner-foo"}} + }, + "@type": "Outer", + "prop": { + "Inner": { + "prop": { + "index": { + "@id": "http://example/inner-with-index", + "foo": "inner-foo" + } + } + } + }, + "foo": "base-foo" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c013-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c013-out.nq new file mode 100644 index 00000000..0a86292e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c013-out.nq @@ -0,0 +1,6 @@ +_:b0 "base-foo" . +_:b0 . +_:b0 _:b1 . +_:b1 . +_:b1 . + "inner-foo" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c014-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c014-in.jsonld new file mode 100644 index 00000000..d89e3012 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c014-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": "http://example/foo", + "Type": { + "@context": [ + null + ] + } + }, + "foo": "will-exist", + "p": { + "@type": "Type", + "foo": "will-not-exist" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c014-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c014-out.nq new file mode 100644 index 00000000..f1775eca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c014-out.nq @@ -0,0 +1,3 @@ +_:b0 "will-exist" . +_:b0 _:b1 . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c015-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c015-in.jsonld new file mode 100644 index 00000000..83bb63d5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c015-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@base": "http://example/base-base", + "@vocab": "http://example/", + "foo": "http://example/foo", + "Type": { + "@context": { + "@base": "http://example/typed-base" + } + } + }, + "@id": "#base-id", + "p": { + "@id": "#typed-id", + "@type": "Type", + "subjectReference": { + "@id": "#subject-reference-id" + }, + "nestedNode": { + "@id": "#nested-id", + "foo": "bar" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c015-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c015-out.nq new file mode 100644 index 00000000..b631564e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c015-out.nq @@ -0,0 +1,5 @@ + . + "bar" . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c016-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c016-in.jsonld new file mode 100644 index 00000000..2f1186ff --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c016-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "Type": { + "@context": { + "@vocab": "http://example.com/" + } + } + }, + "foo": "org", + "p": { + "@type": "Type", + "foo": "com", + "nested": { + "nested-prop": "org" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c016-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c016-out.nq new file mode 100644 index 00000000..5304e7f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c016-out.nq @@ -0,0 +1,6 @@ +_:b0 _:b1 . +_:b0 "org" . +_:b1 "com" . +_:b1 _:b2 . +_:b1 . +_:b2 "org" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c017-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c017-in.jsonld new file mode 100644 index 00000000..be32133c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c017-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@vocab": "http://example/", + "Bar": { + "@context": [ + { + "prop": "http://example/bar-prop" + } + ] + }, + "Foo": { + "@context": [ + { + "prop": "http://example/foo-prop" + } + ] + } + }, + "@type": ["Foo", "Bar"], + "prop": "foo", + "nested": { + "prop": "vocab" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c017-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c017-out.nq new file mode 100644 index 00000000..24bcd3ec --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c017-out.nq @@ -0,0 +1,5 @@ +_:b0 "foo" . +_:b0 _:b1 . +_:b0 . +_:b0 . +_:b1 "vocab" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c018-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c018-in.jsonld new file mode 100644 index 00000000..b8fbd43d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c018-in.jsonld @@ -0,0 +1,26 @@ +{ + "@context": { + "@vocab": "http://example/", + "Bar": { + "@context": [ + null, + { + "prop": "http://example/bar-prop" + } + ] + }, + "Foo": { + "@context": [ + null, + { + "prop": "http://example/foo-prop" + } + ] + } + }, + "@type": ["Foo", "Bar"], + "prop": "foo", + "nested": { + "prop": "will-not-exist" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c018-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c018-out.nq new file mode 100644 index 00000000..910fe997 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c018-out.nq @@ -0,0 +1,3 @@ +_:b0 "foo" . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c019-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c019-in.jsonld new file mode 100644 index 00000000..418c9cbe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c019-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "@vocab": "http://example/", + "prop": "http://example/base-prop", + "Type": { + "@context": { + "foo": { + "@context": { + "prop": "http://example/foo-prop" + } + }, + "bar": { + "@context": { + "prop": "http://example/bar-prop" + } + } + } + } + }, + "@type": "Type", + "foo": { + "prop": "foo" + }, + "bar": { + "prop": "bar" + }, + "baz": { + "prop": "baz" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c019-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c019-out.nq new file mode 100644 index 00000000..74a45579 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c019-out.nq @@ -0,0 +1,7 @@ +_:b0 _:b2 . +_:b0 _:b3 . +_:b0 _:b1 . +_:b0 . +_:b1 "foo" . +_:b2 "bar" . +_:b3 "baz" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c020-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c020-in.jsonld new file mode 100644 index 00000000..e504c397 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c020-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example/", + "type": "@type", + "Type": { + "@context": { + "value": "@value" + } + } + }, + "type": "Type", + "v": { + "value": "value", + "type": "value-type" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c020-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c020-out.nq new file mode 100644 index 00000000..097fbe8f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c020-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 "value"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c021-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c021-in.jsonld new file mode 100644 index 00000000..99d78bee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c021-in.jsonld @@ -0,0 +1,34 @@ +{ + "@context": { + "@vocab": "ex:", + "type": "@type", + "prop": "ex:untyped", + "Type": { + "@context": { + "prop": "ex:typed", + "value": "@value" + } + } + }, + "prop": { + "type": "Type", + "prop": [ + "v1", + { + "value": "v2" + }, + { + "@value": "v3" + }, + { + "prop": [ + "v4", + { + "type": "Type", + "prop": "v5" + } + ] + } + ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c021-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c021-out.nq new file mode 100644 index 00000000..3107d548 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c021-out.nq @@ -0,0 +1,10 @@ +_:b0 _:b1 . +_:b2 "v4" . +_:b2 _:b3 . +_:b1 _:b2 . +_:b1 "v1" . +_:b1 "v2" . +_:b1 "v3" . +_:b1 . +_:b3 "v5" . +_:b3 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c022-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c022-in.jsonld new file mode 100644 index 00000000..c5ef4a2e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c022-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "@vocab": "ex:", + "Type": { + "@context": { + "foo": { + "@id": "ex:foo", + "@type": "@vocab", + "@context": { + "@version": 1.1, + "Foo": "ex:Foo", + "Bar": "ex:Bar" + } + } + } + } + }, + "@type": "Type", + "foo": "Bar" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c022-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c022-out.nq new file mode 100644 index 00000000..3400d2f1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c022-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c023-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c023-in.jsonld new file mode 100644 index 00000000..94272f95 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c023-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "@version": 1.1, + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": "ex:nested" + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "@version": 1.1, + "foo": { + "@id": "ex:foo", + "@type": "@vocab", + "@context": { + "Foo": "ex:Foo" + } + } + } + } + }, + "@type": "Outer", + "nested": { + "@type": "Inner", + "foo": "Foo" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c023-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c023-out.nq new file mode 100644 index 00000000..02d58abd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c023-out.nq @@ -0,0 +1,4 @@ +_:b0 _:b1 . +_:b0 . +_:b1 . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c024-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c024-in.jsonld new file mode 100644 index 00000000..d647c554 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c024-in.jsonld @@ -0,0 +1,39 @@ +{ + "@context": { + "@version": 1.1, + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": "ex:nested" + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "@version": 1.1, + "foo": { + "@id": "ex:foo", + "@container": "@set", + "@type": "ex:Number", + "@context": { + "value": "@value" + } + }, + "bar": { + "@id": "ex:bar", + "@container": "@set", + "@type": "@id", + "@context": { + "@base": "http://example/" + } + } + } + } + }, + "@type": "Outer", + "nested": { + "@type": "Inner", + "foo": [{"value": "1"}, "2"], + "bar": [{"@id": "a"}, "b"] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c024-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c024-out.nq new file mode 100644 index 00000000..6082ca4c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c024-out.nq @@ -0,0 +1,7 @@ +_:b0 _:b1 . +_:b0 . +_:b1 "2"^^ . +_:b1 "1" . +_:b1 . +_:b1 . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c025-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c025-in.jsonld new file mode 100644 index 00000000..aa9b1fc7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c025-in.jsonld @@ -0,0 +1,27 @@ +{ + "@context": { + "@version": 1.1, + "type": "@type", + "Outer": { + "@id": "ex:Outer", + "@context": { + "nested": { + "@id": "ex:nested", + "@type": "@id", + "@container": "@graph" + } + } + }, + "Inner": { + "@id": "ex:Inner", + "@context": { + "foo": "ex:foo" + } + } + }, + "type": "Outer", + "nested": { + "type": "Inner", + "foo": "bar" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c025-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c025-out.nq new file mode 100644 index 00000000..66c5eea1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c025-out.nq @@ -0,0 +1,4 @@ +_:b0 _:b1 . +_:b0 . +_:b2 "bar" _:b1 . +_:b2 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c026-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c026-in.jsonld new file mode 100644 index 00000000..09f08030 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c026-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "Foo": { + "@context": { + "@propagate": true, + "baz": {"@type": "@vocab"} + } + } + }, + "@type": "Foo", + "bar": {"baz": "buzz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c026-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c026-out.nq new file mode 100644 index 00000000..ec730377 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c026-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b0 . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c027-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c027-in.jsonld new file mode 100644 index 00000000..7937a8ee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c027-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "bar": { + "@context": { + "@propagate": false, + "baz": {"@type": "@id"} + } + } + }, + "bar": {"baz": {"baz": "buzz"}} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c027-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c027-out.nq new file mode 100644 index 00000000..8f63b2f7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c027-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 _:b2 . +_:b2 "buzz" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c028-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c028-in.jsonld new file mode 100644 index 00000000..87792cd0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c028-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/" + }, + "bar": { + "@context": { + "@propagate": false, + "baz": {"@type": "@vocab"} + }, + "baz": { + "baz": "buzz" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c028-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c028-out.nq new file mode 100644 index 00000000..8f63b2f7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c028-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 _:b2 . +_:b2 "buzz" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c029-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c029-in.jsonld new file mode 100644 index 00000000..cb000cf4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c029-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@propagate": true + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c030-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c030-in.jsonld new file mode 100644 index 00000000..39d91a17 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c030-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "@propagate": "not boolean" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c031-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c031-context.jsonld new file mode 100644 index 00000000..edd71cce --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c031-context.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.org/c/", + "inner": { + "@id": "http://a.example/in" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c031-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c031-in.jsonld new file mode 100644 index 00000000..82d462c8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c031-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [ + {"@base": "http://example.org/a/"}, + "c031/c031-context.jsonld" + ], + "outer": { + "inner": "ab" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c031-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c031-out.nq new file mode 100644 index 00000000..3467018f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c031-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b1 "ab" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c031/c031-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c031/c031-context.jsonld new file mode 100644 index 00000000..f1bf22b1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c031/c031-context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.org/b/", + "outer": { + "@id": "http://a.example/out", + "@context": "../c031-context.jsonld" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c032-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c032-in.jsonld new file mode 100644 index 00000000..48b812f9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c032-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "t1": { + "@id": "ex:t1", + "@context": { + "t2": { + "@context": {"type": null} + } + } + } + }, + "t1": "something" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c033-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c033-in.jsonld new file mode 100644 index 00000000..3628ff4e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c033-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "t1": { + "@id": "ex:t1", + "@context": { + "t2": { + "@context": {"type": null} + } + } + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c034-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c034-context.jsonld new file mode 100644 index 00000000..7dd9f871 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c034-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "bar": "http://example.org/bar" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c034-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c034-in.jsonld new file mode 100644 index 00000000..6655d520 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c034-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "foo": {"@context": "c034-context.jsonld"} + }, + "foo": { + "bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c034-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c034-out.nq new file mode 100644 index 00000000..52cebd55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c034-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b1 "baz" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c035-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/c035-in.jsonld new file mode 100644 index 00000000..f436b93e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c035-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://vocab.org/", + "prop1": {} + }, + "@id": "ex:outer", + "foo": { + "@context": { + "@vocab": "http://vocab.override.org/" + }, + "@id": "ex:inner", + "prop1": "baz1", + "prop2": "baz2" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/c035-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/c035-out.nq new file mode 100644 index 00000000..f9d205ce --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/c035-out.nq @@ -0,0 +1,3 @@ + "baz1" . + "baz2" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di01-in.jsonld new file mode 100644 index 00000000..ae8217d3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di01-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@direction": "rtl", + "ex": "http://example.org/vocab#", + "ex:ltr": { "@direction": "ltr" }, + "ex:none": { "@direction": null } + }, + "ex:rtl": "rtl", + "ex:ltr": "ltr", + "ex:none": "no direction" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di01-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di01-out.nq new file mode 100644 index 00000000..3e213740 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di01-out.nq @@ -0,0 +1,3 @@ +_:b0 "ltr" . +_:b0 "rtl" . +_:b0 "no direction" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di02-in.jsonld new file mode 100644 index 00000000..379362f5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di02-in.jsonld @@ -0,0 +1,25 @@ +{ + "@context": { + "@version": 1.1, + "@language": "en", + "@direction": "rtl", + "ex": "http://example.org/vocab#", + "ex:ltr": { "@direction": "ltr" }, + "ex:none": { "@direction": null }, + "ex:german": { "@language": "de" }, + "ex:nolang": { "@language": null }, + "ex:german_ltr": { "@language": "de", "@direction": "ltr" }, + "ex:nolang_ltr": { "@language": null, "@direction": "ltr" }, + "ex:none_none": { "@language": null, "@direction": null }, + "ex:german_none": { "@language": "de", "@direction": null } + }, + "ex:rtl": "rtl en", + "ex:ltr": "ltr en", + "ex:none": "no direction en", + "ex:german": "german rtl", + "ex:nolang": "no language rtl", + "ex:german_ltr": "german ltr", + "ex:nolang_ltr": "no language ltr", + "ex:none_none": "no language or direction", + "ex:german_none": "german no direction" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di02-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di02-out.nq new file mode 100644 index 00000000..1d647d91 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di02-out.nq @@ -0,0 +1,9 @@ +_:b0 "german ltr"@de . +_:b0 "ltr en"@en . +_:b0 "german no direction"@de . +_:b0 "no language rtl" . +_:b0 "no language ltr" . +_:b0 "rtl en"@en . +_:b0 "no language or direction" . +_:b0 "german rtl"@de . +_:b0 "no direction en"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di03-in.jsonld new file mode 100644 index 00000000..22ca2005 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di03-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "foo_ltr": {"@id": "http://example.com/foo", "@container": "@list", "@direction": "ltr"}, + "foo_rtl": {"@id": "http://example.com/foo", "@container": "@list", "@direction": "rtl"} + }, + "foo_ltr": ["en"], + "foo_rtl": ["ar"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di03-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di03-out.nq new file mode 100644 index 00000000..29f295f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di03-out.nq @@ -0,0 +1,6 @@ +_:b2 . +_:b2 "ar" . +_:b0 _:b2 . +_:b0 _:b1 . +_:b1 . +_:b1 "en" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di04-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di04-in.jsonld new file mode 100644 index 00000000..b1cf3f4a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di04-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@direction": "ltr", + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di04-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di04-out.nq new file mode 100644 index 00000000..b2e176c4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di04-out.nq @@ -0,0 +1,3 @@ + "The Queen"@en . + "Die Königin"@de . + "Ihre Majestät"@de . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di05-in.jsonld new file mode 100644 index 00000000..a61d6a93 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di05-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@direction": "ltr", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di05-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di05-out.nq new file mode 100644 index 00000000..b2e176c4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di05-out.nq @@ -0,0 +1,3 @@ + "The Queen"@en . + "Die Königin"@de . + "Ihre Majestät"@de . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di06-in.jsonld new file mode 100644 index 00000000..f8a69db9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di06-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "vocab": "http://example.com/vocab/", + "@direction": "rtl", + "label": { + "@id": "vocab:label", + "@direction": "ltr", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di06-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di06-out.nq new file mode 100644 index 00000000..b2e176c4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di06-out.nq @@ -0,0 +1,3 @@ + "The Queen"@en . + "Die Königin"@de . + "Ihre Majestät"@de . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di07-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di07-in.jsonld new file mode 100644 index 00000000..23e90ddd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di07-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "vocab": "http://example.com/vocab/", + "@direction": "rtl", + "label": { + "@id": "vocab:label", + "@direction": null, + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di07-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di07-out.nq new file mode 100644 index 00000000..b2e176c4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di07-out.nq @@ -0,0 +1,3 @@ + "The Queen"@en . + "Die Königin"@de . + "Ihre Majestät"@de . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di08-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di08-in.jsonld new file mode 100644 index 00000000..de8e61c7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di08-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@direction": "foo" + }, + "vocab:term": "bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di09-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di09-in.jsonld new file mode 100644 index 00000000..c00231e6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di09-in.jsonld @@ -0,0 +1 @@ +{"http://example.org/label": {"@value": "no language", "@direction": "rtl"}} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di09-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di09-out.nq new file mode 100644 index 00000000..0a7014bd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di09-out.nq @@ -0,0 +1 @@ +_:a "no language"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di10-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di10-in.jsonld new file mode 100644 index 00000000..9b887109 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di10-in.jsonld @@ -0,0 +1 @@ +{"http://example.org/label": {"@value": "en-US", "@language": "en-US", "@direction": "rtl"}} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di10-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di10-out.nq new file mode 100644 index 00000000..4fbce018 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di10-out.nq @@ -0,0 +1 @@ +_:a "en-US"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di11-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di11-in.jsonld new file mode 100644 index 00000000..c00231e6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di11-in.jsonld @@ -0,0 +1 @@ +{"http://example.org/label": {"@value": "no language", "@direction": "rtl"}} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di11-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di11-out.nq new file mode 100644 index 00000000..4a82ddb6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di11-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b2 . +_:b2 "rtl" . +_:b2 "no language" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di12-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/di12-in.jsonld new file mode 100644 index 00000000..9b887109 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di12-in.jsonld @@ -0,0 +1 @@ +{"http://example.org/label": {"@value": "en-US", "@language": "en-US", "@direction": "rtl"}} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/di12-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/di12-out.nq new file mode 100644 index 00000000..24293392 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/di12-out.nq @@ -0,0 +1,4 @@ +_:b0 _:b2 . +_:b2 "rtl" . +_:b2 "en-us" . +_:b2 "en-US" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e001-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e001-in.jsonld new file mode 100644 index 00000000..0bfd26f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e001-in.jsonld @@ -0,0 +1 @@ +{"@id": "http://example.org/test#example"} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e001-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e001-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e002-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e002-in.jsonld new file mode 100644 index 00000000..e4598e55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e002-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "t1": "http://example.com/t1", + "t2": "http://example.com/t2", + "term1": "http://example.com/term1", + "term2": "http://example.com/term2", + "term3": "http://example.com/term3", + "term4": "http://example.com/term4", + "term5": "http://example.com/term5" + }, + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e002-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e002-out.nq new file mode 100644 index 00000000..54f0bc03 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e002-out.nq @@ -0,0 +1,7 @@ + "v1" . + "v2"^^ . + "v3"@en . + "4"^^ . + "50"^^ . + "51"^^ . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e003-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e003-in.jsonld new file mode 100644 index 00000000..2007f363 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e003-in.jsonld @@ -0,0 +1,12 @@ +{ + "@id": "http://example.org/id", + "http://example.org/property": null, + "regularJson": { + "nonJsonLd": "property", + "deep": [{ + "foo": "bar" + }, { + "bar": "foo" + }] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e003-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e003-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e004-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e004-in.jsonld new file mode 100644 index 00000000..8499bfa0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e004-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set"}, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist1": { "@list": [ ] }, + "mylist2": "one item", + "myset2": { "@set": [ ] }, + "myset3": [ "v1" ], + "http://example.org/list1": { "@list": [ null ] }, + "http://example.org/list2": { "@list": [ {"@value": null} ] }, + "http://example.org/set1": { "@set": [ ] }, + "http://example.org/set2": { "@set": [ null ] }, + "http://example.org/set3": [ ], + "http://example.org/set4": [ null ], + "http://example.org/set5": "one item", + "http://example.org/property": { "@list": "one item" } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e004-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e004-out.nq new file mode 100644 index 00000000..fdb2e633 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e004-out.nq @@ -0,0 +1,11 @@ + . + _:b0 . + "v1" . + . + . + _:b1 . + "one item" . +_:b0 "one item" . +_:b0 . +_:b1 "one item" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e005-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e005-in.jsonld new file mode 100644 index 00000000..33622d53 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e005-in.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": { + "@id": "http://xmlns.com/foaf/0.1/homepage", + "@type": "@id" + }, + "know": "http://xmlns.com/foaf/0.1/knows", + "@iri": "@id" + }, + "@id": "#me", + "know": [ + { + "@id": "http://example.com/bob#me", + "name": "Bob", + "homepage": "http://example.com/bob" + }, { + "@id": "http://example.com/alice#me", + "name": "Alice", + "homepage": "http://example.com/alice" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e005-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e005-out.nq new file mode 100644 index 00000000..574567a5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e005-out.nq @@ -0,0 +1,6 @@ + . + "Alice" . + . + "Bob" . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e006-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e006-in.jsonld new file mode 100644 index 00000000..045e2a2a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e006-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://example.org/test#property1": { + "@type": "@id" + }, + "http://example.org/test#property2": { + "@type": "@id" + }, + "uri": "@id" + }, + "http://example.org/test#property1": { + "http://example.org/test#property4": "foo", + "uri": "http://example.org/test#example2" + }, + "http://example.org/test#property2": "http://example.org/test#example3", + "http://example.org/test#property3": { + "uri": "http://example.org/test#example4" + }, + "uri": "http://example.org/test#example1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e006-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e006-out.nq new file mode 100644 index 00000000..a9213cf3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e006-out.nq @@ -0,0 +1,4 @@ + . + . + . + "foo" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e007-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e007-in.jsonld new file mode 100644 index 00000000..b49fac4e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e007-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "ex:date": { + "@type": "xsd:dateTime" + }, + "ex:parent": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#example1", + "ex:date": "2011-01-25T00:00:00Z", + "ex:embed": { + "@id": "http://example.org/test#example2", + "ex:parent": "http://example.org/test#example1" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e007-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e007-out.nq new file mode 100644 index 00000000..5f833b1d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e007-out.nq @@ -0,0 +1,3 @@ + "2011-01-25T00:00:00Z"^^ . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e008-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e008-in.jsonld new file mode 100644 index 00000000..a17b9493 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e008-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "ex": "http://example.org/vocab#" + }, + "@id": "http://example.org/test", + "ex:test": { "@value": "test", "@language": "en" }, + "ex:drop-lang-only": { "@language": "en" }, + "ex:keep-full-value": { "@value": "only value" } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e008-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e008-out.nq new file mode 100644 index 00000000..d0af636b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e008-out.nq @@ -0,0 +1,2 @@ + "only value" . + "test"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e009-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e009-in.jsonld new file mode 100644 index 00000000..6acef5c5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e009-in.jsonld @@ -0,0 +1,43 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "authored": "http://example.org/test#chapter", + "name": "Jane" + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e009-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e009-out.nq new file mode 100644 index 00000000..1c8d94af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e009-out.nq @@ -0,0 +1,9 @@ + . + "Writer" . + "My Book" . + "Fun" . + "Chapter One" . + . + "Jane" . + "John" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e010-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e010-in.jsonld new file mode 100644 index 00000000..f2d0a384 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e010-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "d": "http://purl.org/dc/elements/1.1/", + "e": "http://example.org/vocab#", + "f": "http://xmlns.com/foaf/0.1/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test", + "e:bool": true, + "e:int": 123 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e010-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e010-out.nq new file mode 100644 index 00000000..5fe1cc05 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e010-out.nq @@ -0,0 +1,2 @@ + "true"^^ . + "123"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e011-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e011-in.jsonld new file mode 100644 index 00000000..fa90d97d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e011-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "dc11": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:contains": { + "@type": "@id" + }, + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@id": "http://example.org/test#book", + "dc11:title": "Title", + "ex:contains": "http://example.org/test#chapter" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e011-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e011-out.nq new file mode 100644 index 00000000..c581db6a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e011-out.nq @@ -0,0 +1,2 @@ + . + "Title" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e012-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e012-in.jsonld new file mode 100644 index 00000000..ebda5732 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e012-in.jsonld @@ -0,0 +1,39 @@ +{ + "@context": { + "dc11": "http://purl.org/dc/elements/1.1/", + "ex": "http://example.org/vocab#", + "ex:authored": { + "@type": "@id" + }, + "ex:contains": { + "@type": "@id" + }, + "foaf": "http://xmlns.com/foaf/0.1/", + "xsd": "http://www.w3.org/2001/XMLSchema#" + }, + "@graph": [ + { + "@id": "http://example.org/test#chapter", + "dc11:description": "Fun", + "dc11:title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "ex:authored": "http://example.org/test#chapter", + "foaf:name": "Jane" + }, + { + "@id": "http://example.org/test#john", + "foaf:name": "John" + }, + { + "@id": "http://example.org/test#library", + "ex:contains": { + "@id": "http://example.org/test#book", + "dc11:contributor": "Writer", + "dc11:title": "My Book", + "ex:contains": "http://example.org/test#chapter" + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e012-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e012-out.nq new file mode 100644 index 00000000..1c8d94af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e012-out.nq @@ -0,0 +1,9 @@ + . + "Writer" . + "My Book" . + "Fun" . + "Chapter One" . + . + "Jane" . + "John" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e013-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e013-in.jsonld new file mode 100644 index 00000000..7795576f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e013-in.jsonld @@ -0,0 +1,9 @@ +[{ + "@id": "http://example.com/id1", + "@type": ["http://example.com/t1"], + "http://example.com/term1": ["v1"], + "http://example.com/term2": [{"@value": "v2", "@type": "http://example.com/t2"}], + "http://example.com/term3": [{"@value": "v3", "@language": "en"}], + "http://example.com/term4": [4], + "http://example.com/term5": [50, 51] +}] \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e013-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e013-out.nq new file mode 100644 index 00000000..54f0bc03 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e013-out.nq @@ -0,0 +1,7 @@ + "v1" . + "v2"^^ . + "v3"@en . + "4"^^ . + "50"^^ . + "51"^^ . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e014-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e014-in.jsonld new file mode 100644 index 00000000..ba913ff2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e014-in.jsonld @@ -0,0 +1,50 @@ +{ + "@context": { + "ex": "http://example.org/test#", + "property1": { + "@id": "http://example.org/test#property1", + "@type": "@id" + }, + "property2": { + "@id": "ex:property2", + "@type": "@id" + }, + "uri": "@id", + "set": "@set", + "value": "@value", + "type": "@type", + "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" } + }, + "property1": { + "uri": "ex:example2", + "http://example.org/test#property4": "foo" + }, + "property2": "http://example.org/test#example3", + "http://example.org/test#property3": { + "uri": "http://example.org/test#example4" + }, + "ex:property4": { + "uri": "ex:example4", + "ex:property5": [ + { + "set": [ + { + "value": "2012-03-31", + "type": "xsd:date" + } + ] + } + ] + }, + "ex:property6": [ + { + "set": [ + { + "value": null, + "type": "xsd:date" + } + ] + } + ], + "uri": "http://example.org/test#example1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e014-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e014-out.nq new file mode 100644 index 00000000..a84697e1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e014-out.nq @@ -0,0 +1,6 @@ + . + . + . + . + "foo" . + "2012-03-31"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e015-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e015-in.jsonld new file mode 100644 index 00000000..ae60d731 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e015-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set" }, + "myset3": {"@id": "http://example.com/myset3", "@container": "@set" } + }, + "@id": "http://example.org/id", + "mylist1": [], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "myset3": [ { "@set": [ "hello", "this" ] }, "will", { "@set": [ "be", "collapsed" ] } ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e015-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e015-out.nq new file mode 100644 index 00000000..ecd95e6a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e015-out.nq @@ -0,0 +1,6 @@ + . + "be" . + "collapsed" . + "hello" . + "this" . + "will" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e016-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e016-in.jsonld new file mode 100644 index 00000000..c151040a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e016-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "myproperty": { "@id": "http://example.com/myproperty" }, + "mylist1": {"@id": "http://example.com/mylist1", "@container": "@list"}, + "mylist2": {"@id": "http://example.com/mylist2", "@container": "@list"}, + "myset1": {"@id": "http://example.com/myset1", "@container": "@set" }, + "myset2": {"@id": "http://example.com/myset2", "@container": "@set" } + }, + "@id": "http://example.org/id1", + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "myproperty": { + "@context": null, + "@id": "http://example.org/id2", + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ], + "http://example.org/myproperty2": "ok" + }, + "http://example.com/emptyobj": { + "@context": null, + "mylist1": [], + "mylist2": [ 2, "hi" ], + "myset1": { "@set": [] }, + "myset2": [ { "@set": [] }, [], { "@set": [ null ] }, [ null ] ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e016-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e016-out.nq new file mode 100644 index 00000000..c5363743 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e016-out.nq @@ -0,0 +1,9 @@ + _:b0 . + . + _:b1 . + . + "ok" . +_:b1 "2"^^ . +_:b1 _:b2 . +_:b2 "hi" . +_:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e017-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e017-in.jsonld new file mode 100644 index 00000000..dea8bf80 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e017-in.jsonld @@ -0,0 +1,45 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + }, + "id": "@id", + "data": "@graph" + }, + "data": [ + { + "id": "http://example.org/test#chapter", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#jane", + "authored": "http://example.org/test#chapter", + "name": "Jane" + }, + { + "id": "http://example.org/test#john", + "name": "John" + }, + { + "id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e017-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e017-out.nq new file mode 100644 index 00000000..1c8d94af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e017-out.nq @@ -0,0 +1,9 @@ + . + "Writer" . + "My Book" . + "Fun" . + "Chapter One" . + . + "Jane" . + "John" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e018-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e018-in.jsonld new file mode 100644 index 00000000..21933fda --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e018-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "@language": "en", + "de": { "@id": "ex:german", "@language": "de" }, + "nolang": { "@id": "ex:nolang", "@language": null } + }, + "@id": "http://example.org/test", + "ex:test-default": [ + "hello", + 1, + true + ], + "de": [ + "hallo", + 2, + true + ], + "nolang": [ + "no language", + 3, + false + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e018-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e018-out.nq new file mode 100644 index 00000000..aaa1eccc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e018-out.nq @@ -0,0 +1,9 @@ + "2"^^ . + "hallo"@de . + "true"^^ . + "3"^^ . + "false"^^ . + "no language" . + "1"^^ . + "hello"@en . + "true"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e019-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e019-in.jsonld new file mode 100644 index 00000000..b91f8860 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e019-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "myproperty": "http://example.com/myproperty" + }, + "myproperty": { "@value" : null } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e019-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e019-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e020-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e020-in.jsonld new file mode 100644 index 00000000..989e1192 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e020-in.jsonld @@ -0,0 +1,51 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "@graph": [ + { + "@id": "http://example.org/test#jane", + "name": "Jane", + "authored": { + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#chapter2", + "description": "More fun", + "title": "Chapter Two" + } + ] + } + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e020-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e020-out.nq new file mode 100644 index 00000000..440b2f7b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e020-out.nq @@ -0,0 +1,11 @@ + . + "Writer" . + "My Book" . + "Fun" _:b0 . + "Chapter One" _:b0 . + "More fun" _:b0 . + "Chapter Two" _:b0 . + _:b0 . + "Jane" . + "John" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e021-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e021-in.jsonld new file mode 100644 index 00000000..e52fd1b8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e021-in.jsonld @@ -0,0 +1,56 @@ +{ + "@context": { + "authored": { + "@id": "http://example.org/vocab#authored", + "@type": "@id" + }, + "contains": { + "@id": "http://example.org/vocab#contains", + "@type": "@id" + }, + "contributor": "http://purl.org/dc/elements/1.1/contributor", + "description": "http://purl.org/dc/elements/1.1/description", + "name": "http://xmlns.com/foaf/0.1/name", + "title": { + "@id": "http://purl.org/dc/elements/1.1/title" + } + }, + "title": "My first graph", + "@graph": [ + { + "@id": "http://example.org/test#jane", + "name": "Jane", + "authored": { + "@graph": [ + { + "@id": "http://example.org/test#chapter1", + "description": "Fun", + "title": "Chapter One" + }, + { + "@id": "http://example.org/test#chapter2", + "description": "More fun", + "title": "Chapter Two" + }, + { + "@id": "http://example.org/test#chapter3", + "title": "Chapter Three" + } + ] + } + }, + { + "@id": "http://example.org/test#john", + "name": "John" + }, + { + "@id": "http://example.org/test#library", + "contains": { + "@id": "http://example.org/test#book", + "contains": "http://example.org/test#chapter", + "contributor": "Writer", + "title": "My Book" + } + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e021-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e021-out.nq new file mode 100644 index 00000000..841a3d49 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e021-out.nq @@ -0,0 +1,13 @@ + _:b0 . + "Writer" _:b0 . + "My Book" _:b0 . + "Fun" _:b1 . + "Chapter One" _:b1 . + "More fun" _:b1 . + "Chapter Two" _:b1 . + "Chapter Three" _:b1 . + _:b1 _:b0 . + "Jane" _:b0 . + "John" _:b0 . + _:b0 . +_:b0 "My first graph" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e022-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e022-in.jsonld new file mode 100644 index 00000000..e7f938ae --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e022-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": "http://example.com/term", + "@language": "en" + }, + "term": "v" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e022-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e022-out.nq new file mode 100644 index 00000000..80c93983 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e022-out.nq @@ -0,0 +1 @@ +_:b0 "v"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e023-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e023-in.jsonld new file mode 100644 index 00000000..2a33783d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e023-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "xsd": "http://www.w3.org/2001/XMLSchema#", + "idlist": {"@id": "http://example.com/idlist", "@container": "@list", "@type": "@id"}, + "datelist": {"@id": "http://example.com/datelist", "@container": "@list", "@type": "xsd:date"}, + "idset": {"@id": "http://example.com/idset", "@container": "@set", "@type": "@id"}, + "dateset": {"@id": "http://example.com/dateset", "@container": "@set", "@type": "xsd:date"}, + "idprop": {"@id": "http://example.com/idprop", "@type": "@id" }, + "dateprop": {"@id": "http://example.com/dateprop", "@type": "xsd:date" }, + "idprop2": {"@id": "http://example.com/idprop2", "@type": "@id" }, + "dateprop2": {"@id": "http://example.com/dateprop2", "@type": "xsd:date" } + }, + "idlist": ["http://example.org/id"], + "datelist": ["2012-04-12"], + "idprop": {"@list": ["http://example.org/id"]}, + "dateprop": {"@list": ["2012-04-12"]}, + "idset": ["http://example.org/id"], + "dateset": ["2012-04-12"], + "idprop2": {"@set": ["http://example.org/id"]}, + "dateprop2": {"@set": ["2012-04-12"]} +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e023-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e023-out.nq new file mode 100644 index 00000000..2b1ed62f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e023-out.nq @@ -0,0 +1,16 @@ +_:b0 _:b1 . +_:b0 "2012-04-12"^^ . +_:b0 _:b2 . +_:b0 "2012-04-12"^^ . +_:b0 _:b3 . +_:b0 . +_:b0 _:b4 . +_:b0 . +_:b1 "2012-04-12"^^ . +_:b1 . +_:b2 "2012-04-12"^^ . +_:b2 . +_:b3 . +_:b3 . +_:b4 . +_:b4 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e024-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e024-in.jsonld new file mode 100644 index 00000000..fcf010c4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e024-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": [ + { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage","@type": "@id"} + }, + {"ical": "http://www.w3.org/2002/12/cal/ical#"} + ], + "@id": "http://example.com/speakers#Alice", + "name": "Alice", + "homepage": "http://xkcd.com/177/", + "ical:summary": "Alice Talk", + "ical:location": "Lyon Convention Centre, Lyon, France" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e024-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e024-out.nq new file mode 100644 index 00000000..1ed3b1ca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e024-out.nq @@ -0,0 +1,4 @@ + "Lyon Convention Centre, Lyon, France" . + "Alice Talk" . + . + "Alice" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e025-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e025-in.jsonld new file mode 100644 index 00000000..2cd0d48e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e025-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "foo": "http://example.com/foo/", + "foo:bar": "http://example.com/foo/bar", + "bar": {"@id": "foo:bar", "@type": "@id"}, + "_": "http://example.com/underscore/" + }, + "@type": [ "foo", "foo:bar", "_" ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e025-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e025-out.nq new file mode 100644 index 00000000..4256e246 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e025-out.nq @@ -0,0 +1,3 @@ +_:b0 . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e026-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e026-in.jsonld new file mode 100644 index 00000000..36d8cac7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e026-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.com/a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b" + }, { + "@id": "http://example.com/c", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ + "http://example.com/d", + "http://example.com/e" + ] + }, { + "@id": "http://example.com/f", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e026-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e026-out.nq new file mode 100644 index 00000000..093e6294 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e026-out.nq @@ -0,0 +1,4 @@ + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e027-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e027-in.jsonld new file mode 100644 index 00000000..6c47cfb7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e027-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, + "myset": {"@id": "http://example.com/myset", "@container": "@set"} + }, + "@id": "http://example.org/id", + "mylist": [1, 2, 2, 3], + "myset": [1, 2, 2, 3] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e027-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e027-out.nq new file mode 100644 index 00000000..d089ef53 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e027-out.nq @@ -0,0 +1,12 @@ + _:b0 . + "1"^^ . + "2"^^ . + "3"^^ . +_:b0 "1"^^ . +_:b0 _:b1 . +_:b1 "2"^^ . +_:b1 _:b2 . +_:b2 "2"^^ . +_:b2 _:b3 . +_:b3 "3"^^ . +_:b3 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e028-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e028-in.jsonld new file mode 100644 index 00000000..4f05d0e4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e028-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/vocab#", + "date": { "@type": "dateTime" } + }, + "@id": "example1", + "@type": "test", + "date": "2011-01-25T00:00:00Z", + "embed": { + "@id": "example2", + "expandedDate": { "@value": "2012-08-01T00:00:00Z", "@type": "dateTime" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e028-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e028-out.nq new file mode 100644 index 00000000..edd1dd2a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e028-out.nq @@ -0,0 +1,4 @@ + "2011-01-25T00:00:00Z"^^ . + . + . + "2012-08-01T00:00:00Z"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e029-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e029-in.jsonld new file mode 100644 index 00000000..dd425bda --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e029-in.jsonld @@ -0,0 +1,32 @@ +{ + "@context": { + "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } + }, + "@id": "relativeIris", + "@type": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../../parent-parent-eq-root", + "../../../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ], + "links": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../../parent-parent-eq-root", + "./../../../useless/../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e029-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e029-out.nq new file mode 100644 index 00000000..6018fb1f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e029-out.nq @@ -0,0 +1,34 @@ + _:b0 . + . + . + . + . + . + . + . + . + . + . + . +_:b0 . +_:b0 _:b1 . +_:b1 . +_:b1 _:b2 . +_:b2 . +_:b2 _:b3 . +_:b3 . +_:b3 _:b4 . +_:b4 . +_:b4 _:b5 . +_:b5 . +_:b5 _:b6 . +_:b6 . +_:b6 _:b7 . +_:b7 . +_:b7 _:b8 . +_:b8 . +_:b8 _:b9 . +_:b9 . +_:b9 _:b10 . +_:b10 . +_:b10 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e030-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e030-in.jsonld new file mode 100644 index 00000000..ca711673 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e030-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e030-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e030-out.nq new file mode 100644 index 00000000..c171a406 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e030-out.nq @@ -0,0 +1,3 @@ + "Die Königin"@de . + "Ihre Majestät"@de . + "The Queen"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e031-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e031-in.jsonld new file mode 100644 index 00000000..192ff27c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e031-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "ex": "http://example.org/vocab#", + "xsd": "http://www.w3.org/2001/XMLSchema#", + "ex:integer": { "@type": "xsd:integer" }, + "ex:double": { "@type": "xsd:double" }, + "ex:boolean": { "@type": "xsd:boolean" } + }, + "@id": "http://example.org/test#example1", + "ex:integer": 1, + "ex:double": 123.45, + "ex:boolean": true +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e031-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e031-out.nq new file mode 100644 index 00000000..3812698c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e031-out.nq @@ -0,0 +1,3 @@ + "true"^^ . + "1.2345E2"^^ . + "1"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e032-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e032-in.jsonld new file mode 100644 index 00000000..920554fc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e032-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://xmlns.com/foaf/0.1/", + "from": null, + "university": { "@id": null } + }, + "@id": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "from": "Italy", + "university": "TU Graz" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e032-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e032-out.nq new file mode 100644 index 00000000..fe7cd665 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e032-out.nq @@ -0,0 +1 @@ + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e033-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e033-in.jsonld new file mode 100644 index 00000000..abf6feed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e033-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab#", + "homepage": { + "@type": "@id" + }, + "created_at": { + "@type": "http://www.w3.org/2001/XMLSchema#date" + } + }, + "name": "Markus Lanthaler", + "homepage": "http://www.markus-lanthaler.com/", + "created_at": "2012-10-28" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e033-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e033-out.nq new file mode 100644 index 00000000..58e36e13 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e033-out.nq @@ -0,0 +1,3 @@ +_:b0 "2012-10-28"^^ . +_:b0 . +_:b0 "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e034-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e034-in.jsonld new file mode 100644 index 00000000..22bb6039 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e034-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "colliding": "http://example.com/vocab/collidingTerm" + }, + "@id": "http://example.com/IriCollissions", + "colliding": [ + "value 1", + 2 + ], + "collidingTerm": [ + 3, + "four" + ], + "http://example.com/vocab/collidingTerm": 5 +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e034-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e034-out.nq new file mode 100644 index 00000000..a1c2f661 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e034-out.nq @@ -0,0 +1,5 @@ + "2"^^ . + "3"^^ . + "5"^^ . + "four" . + "value 1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e035-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e035-in.jsonld new file mode 100644 index 00000000..7bf59112 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e035-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.com/vocab/", + "@language": "it", + "label": { + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + }, + "http://example.com/vocab/label": [ + "Il re", + { "@value": "The king", "@language": "en" } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e035-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e035-out.nq new file mode 100644 index 00000000..a7b58eed --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e035-out.nq @@ -0,0 +1,5 @@ + "Die Königin"@de . + "Ihre Majestät"@de . + "Il re"@it . + "The Queen"@en . + "The king"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e036-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e036-in.jsonld new file mode 100644 index 00000000..23c99b55 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e036-in.jsonld @@ -0,0 +1,90 @@ +{ + "@context": { + "property": "http://example.com/property", + "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } + }, + "@id": "http://example.org/indexTest", + "indexContainer": { + "A": [ + { + "@id": "http://example.org/nodeWithoutIndexA" + }, + { + "@id": "http://example.org/nodeWithIndexA", + "@index": "this overrides the 'A' index from the container" + }, + 1, + true, + false, + null, + "simple string A", + { + "@value": "typed literal A", + "@type": "http://example.org/type" + }, + { + "@value": "language-tagged string A", + "@language": "en" + } + ], + "B": "simple string B", + "C": [ + { + "@id": "http://example.org/nodeWithoutIndexC" + }, + { + "@id": "http://example.org/nodeWithIndexC", + "@index": "this overrides the 'C' index from the container" + }, + 3, + true, + false, + null, + "simple string C", + { + "@value": "typed literal C", + "@type": "http://example.org/type" + }, + { + "@value": "language-tagged string C", + "@language": "en" + } + ] + }, + "property": [ + { + "@id": "http://example.org/nodeWithoutIndexProp" + }, + { + "@id": "http://example.org/nodeWithIndexProp", + "@index": "prop" + }, + { + "@value": 3, + "@index": "prop" + }, + { + "@value": true, + "@index": "prop" + }, + { + "@value": false, + "@index": "prop" + }, + { + "@value": null, + "@index": "prop" + }, + "simple string no index", + { + "@value": "typed literal Prop", + "@type": "http://example.org/type", + "@index": "prop" + }, + { + "@value": "language-tagged string Prop", + "@language": "en", + "@index": "prop" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e036-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e036-out.nq new file mode 100644 index 00000000..5fc76bd7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e036-out.nq @@ -0,0 +1,25 @@ + "1"^^ . + "3"^^ . + "false"^^ . + "false"^^ . + "language-tagged string A"@en . + "language-tagged string C"@en . + "simple string A" . + "simple string B" . + "simple string C" . + "true"^^ . + "true"^^ . + "typed literal A"^^ . + "typed literal C"^^ . + . + . + . + . + "3"^^ . + "false"^^ . + "language-tagged string Prop"@en . + "simple string no index" . + "true"^^ . + "typed literal Prop"^^ . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e037-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e037-in.jsonld new file mode 100644 index 00000000..7e65af4a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e037-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e037-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e037-out.nq new file mode 100644 index 00000000..787901b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e037-out.nq @@ -0,0 +1,3 @@ + . + "Dave Longley" . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e038-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e038-in.jsonld new file mode 100644 index 00000000..17071294 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e038-in.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "term": "_:term", + "termId": { "@id": "term", "@type": "@id" } + }, + "@id": "_:term", + "@type": "_:term", + "term": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Bx", + "term": "term" + }, + "plain value", + { + "@id": "_:term" + } + ], + "termId": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Cx", + "term": "termId" + }, + "term:AppendedToBlankNode", + "_:termAppendedToBlankNode", + "relativeIri", + { + "@id": "_:term" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e038-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e038-out.nq new file mode 100644 index 00000000..bca23603 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e038-out.nq @@ -0,0 +1 @@ +_:b0 _:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e039-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e039-in.jsonld new file mode 100644 index 00000000..7c3549ee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e039-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e039-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e039-out.nq new file mode 100644 index 00000000..787901b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e039-out.nq @@ -0,0 +1,3 @@ + . + "Dave Longley" . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e040-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e040-in.jsonld new file mode 100644 index 00000000..2d02e0ad --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e040-in.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + }, + "indexes": { + "@id": "vocab:index", + "@container": "@index" + } + }, + "@id": "http://example.com/queen", + "label": [ + "The Queen" + ], + "indexes": + [ + "No", + "indexes", + { "@id": "asTheValueIsntAnObject" } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e040-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e040-out.nq new file mode 100644 index 00000000..31beb5f6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e040-out.nq @@ -0,0 +1,4 @@ + "No" . + "indexes" . + . + "The Queen" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e041-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e041-in.jsonld new file mode 100644 index 00000000..7915153e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e041-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "property": "http://example.com/property", + "nested": "http://example.com/nested", + "@language": "en" + }, + "property": "this is English", + "nested": { + "@context": { + "@language": null + }, + "property": "and this is a plain string" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e041-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e041-out.nq new file mode 100644 index 00000000..d938ed71 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e041-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b0 "this is English"@en . +_:b1 "and this is a plain string" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e042-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e042-in.jsonld new file mode 100644 index 00000000..60cf9ac2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e042-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e042-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e042-out.nq new file mode 100644 index 00000000..787901b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e042-out.nq @@ -0,0 +1,3 @@ + . + "Dave Longley" . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e043-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e043-in.jsonld new file mode 100644 index 00000000..8ef07587 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e043-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "isKnownBy": [ + { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + { + "@id": "http://example.com/people/gregg", + "name": "Gregg Kellogg" + } + ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e043-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e043-out.nq new file mode 100644 index 00000000..82f12f7f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e043-out.nq @@ -0,0 +1,5 @@ + "Dave Longley" . + "Gregg Kellogg" . + . + . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e044-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e044-in.jsonld new file mode 100644 index 00000000..c12bd7b2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e044-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "property": { "@id": "http://example.com/vocab/property", "@language": "de" }, + "indexMap": { "@id": "http://example.com/vocab/indexMap", "@language": "en", "@container": "@index" } + }, + "@id": "http://example.com/node", + "property": [ + { + "@id": "http://example.com/propertyValueNode", + "indexMap": { + "expands to english string": "simple string" + } + }, + "einfacher String" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e044-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e044-out.nq new file mode 100644 index 00000000..21981f04 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e044-out.nq @@ -0,0 +1,3 @@ + "einfacher String"@de . + . + "simple string"@en . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e045-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e045-in.jsonld new file mode 100644 index 00000000..09207e31 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e045-in.jsonld @@ -0,0 +1,3 @@ +{ + "@value": "free-floating value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e045-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e045-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e046-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e046-in.jsonld new file mode 100644 index 00000000..081a8877 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e046-in.jsonld @@ -0,0 +1,14 @@ +{ + "@graph": [ + { "@id": "http://example.com/free-floating-node" }, + { "@value": "free-floating value object" }, + { "@value": "free-floating value language-tagged string", "@language": "en" }, + { "@value": "free-floating value typed value", "@type": "http://example.com/type" }, + "free-floating plain string", + true, + false, + null, + 1, + 1.5 + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e046-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e046-out.nq new file mode 100644 index 00000000..e69de29b diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e047-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e047-in.jsonld new file mode 100644 index 00000000..90d54114 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e047-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "property": "http://example.com/property" + }, + "@graph": [ + { + "@set": [ + "free-floating strings in set objects are removed", + { + "@id": "http://example.com/free-floating-node" + }, + { + "@id": "http://example.com/node", + "property": "nodes with properties are not removed" + } + ] + }, + { + "@list": [ + "lists are removed even though they represent an invisible linked structure, they have no real meaning", + { + "@id": "http://example.com/node-in-free-floating-list", + "property": "everything inside a free-floating list is removed with the list; also nodes with properties" + } + ] + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e047-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e047-out.nq new file mode 100644 index 00000000..f9b7ee6f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e047-out.nq @@ -0,0 +1 @@ + "nodes with properties are not removed" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e048-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e048-in.jsonld new file mode 100644 index 00000000..5854b8a0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e048-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "term": "http://example.com/terms-are-not-considered-in-id", + "compact-iris": "http://example.com/compact-iris#", + "property": "http://example.com/property", + "@vocab": "http://example.org/vocab-is-not-considered-for-id" + }, + "@id": "term", + "property": [ + { + "@id": "compact-iris:are-considered", + "property": "@id supports the following values: relative, absolute, and compact IRIs" + }, + { + "@id": "../parent-node", + "property": "relative IRIs get resolved against the document's base IRI" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e048-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e048-out.nq new file mode 100644 index 00000000..94324d9d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e048-out.nq @@ -0,0 +1,4 @@ + "@id supports the following values: relative, absolute, and compact IRIs" . + "relative IRIs get resolved against the document's base IRI" . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e049-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e049-in.jsonld new file mode 100644 index 00000000..3f10e016 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e049-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + "http://example.com/people/dave", + "http://example.com/people/gregg" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e049-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e049-out.nq new file mode 100644 index 00000000..fe5c7f32 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e049-out.nq @@ -0,0 +1,3 @@ + . + . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e050-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e050-in.jsonld new file mode 100644 index 00000000..01b24726 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e050-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "issue": { "@id": "http://example.com/issue/", "@type": "@id" }, + "issue:raisedBy": { "@container": "@set" } + }, + "issue": "/issue/1", + "issue:raisedBy": "Markus" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e050-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e050-out.nq new file mode 100644 index 00000000..21792147 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e050-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 "Markus" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e051-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e051-in.jsonld new file mode 100644 index 00000000..77b7fbd8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e051-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": [ + { "id": "@id" }, + { "url": "id" } + ], + "url": "/issue/1", + "http://example.com/property": "ok" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e051-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e051-out.nq new file mode 100644 index 00000000..2fe83826 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e051-out.nq @@ -0,0 +1 @@ + "ok" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e052-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e052-in.jsonld new file mode 100644 index 00000000..ee3d9d2e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e052-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "property": "vocabRelativeProperty" + }, + "property": "must expand to http://example.org/vocabRelativeProperty", + "http://example.org/property": "ok" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e052-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e052-out.nq new file mode 100644 index 00000000..7e88362c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e052-out.nq @@ -0,0 +1,2 @@ +_:b0 "ok" . +_:b0 "must expand to http://example.org/vocabRelativeProperty" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e053-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e053-in.jsonld new file mode 100644 index 00000000..3ac3ea98 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e053-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"} + }, + "term": "http://example.org/enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e053-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e053-out.nq new file mode 100644 index 00000000..fe48284d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e053-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e054-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e054-in.jsonld new file mode 100644 index 00000000..680afbf0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e054-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@type": "@vocab"}, + "enum": {"@id": "http://example.org/enum"} + }, + "term": "enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e054-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e054-out.nq new file mode 100644 index 00000000..fe48284d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e054-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e055-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e055-in.jsonld new file mode 100644 index 00000000..1c5ed3b0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e055-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "term": {"@id": "http://example.org/term", "@type": "@vocab"} + }, + "term": "enum" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e055-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e055-out.nq new file mode 100644 index 00000000..fe48284d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e055-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e056-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e056-in.jsonld new file mode 100644 index 00000000..6d5b0cb9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e056-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "homepage": { "@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@vocab" }, + "link": { "@id": "http://example.com/link", "@type": "@id" }, + "MarkusHomepage": "http://www.markus-lanthaler.com/", + "relative-iri": "http://example.com/error-if-this-is-used-for-link" + }, + "@id": "http://me.markus-lanthaler.com/", + "name": "Markus Lanthaler", + "homepage": "MarkusHomepage", + "link": "relative-iri" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e056-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e056-out.nq new file mode 100644 index 00000000..638e55e4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e056-out.nq @@ -0,0 +1,3 @@ + . + . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e057-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e057-in.jsonld new file mode 100644 index 00000000..732cc923 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e057-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" } + }, + "term": "not-a-term-thus-a-relative-IRI" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e057-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e057-out.nq new file mode 100644 index 00000000..8fc39181 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e057-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e058-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e058-in.jsonld new file mode 100644 index 00000000..68dc3249 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e058-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": { "@id": "http://example.org/term", "@type": "@vocab" }, + "prefix": "http://example.com/vocab#" + }, + "term": "prefix:suffix" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e058-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e058-out.nq new file mode 100644 index 00000000..49cae840 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e058-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e059-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e059-in.jsonld new file mode 100644 index 00000000..05f582f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e059-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.org/vocab#" + }, + "@id": "example-with-vocab", + "@type": "vocab-prefixed", + "property": "property expanded using @vocab", + "embed": { + "@context": { + "@vocab": null + }, + "@id": "example-vocab-reset", + "@type": "document-relative", + "property": "@vocab reset, property will be dropped" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e059-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e059-out.nq new file mode 100644 index 00000000..3f1f6d57 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e059-out.nq @@ -0,0 +1,4 @@ + . + . + "property expanded using @vocab" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e060-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e060-in.jsonld new file mode 100644 index 00000000..2a2d1905 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e060-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "property": "http://example.com/vocab#property" + }, + "@id": "../document-relative", + "@type": "#document-relative", + "property": { + "@context": { + "@base": "http://example.org/test/" + }, + "@id": "../document-base-overwritten", + "@type": "#document-base-overwritten", + "property": [ + { + "@context": null, + "@id": "../document-relative", + "@type": "#document-relative", + "property": "context completely reset, drops property" + }, + { + "@context": { + "@base": null + }, + "@id": "../document-relative", + "@type": "#document-relative", + "property": "@base is set to none" + } + ] + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e060-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e060-out.nq new file mode 100644 index 00000000..5ba18e46 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e060-out.nq @@ -0,0 +1,4 @@ + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e061-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e061-in.jsonld new file mode 100644 index 00000000..45c1d511 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e061-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "property": { + "@id": "http://example.com/property", + "@type": "http://example.com/datatype" + } + }, + "property": [ 1, true, false, 5.1 ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e061-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e061-out.nq new file mode 100644 index 00000000..00a8ffe3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e061-out.nq @@ -0,0 +1,4 @@ +_:b0 "1"^^ . +_:b0 "5.1E0"^^ . +_:b0 "false"^^ . +_:b0 "true"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e062-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e062-in.jsonld new file mode 100644 index 00000000..fb472514 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e062-in.jsonld @@ -0,0 +1,35 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file#with-a-fragment", + "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } + }, + "@id": "relativeIris", + "@type": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "../../../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative" + ], + "links": [ + "link", + "#fragment-works", + "?query=works", + "./", + "../", + "../parent", + "../../parent-parent-eq-root", + "./../../../../../still-root", + "../.././.././../../too-many-dots", + "/absolute", + "//example.org/scheme-relative", + "//example.org/../scheme-relative", + "//example.org/.././useless/../../scheme-relative" + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e062-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e062-out.nq new file mode 100644 index 00000000..d5f5db3e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e062-out.nq @@ -0,0 +1,38 @@ + _:b0 . + . + . + . + . + . + . + . + . + . + . + . +_:b0 . +_:b0 _:b1 . +_:b1 . +_:b1 _:b2 . +_:b10 . +_:b10 _:b11 . +_:b11 . +_:b11 _:b12 . +_:b12 . +_:b12 . +_:b2 . +_:b2 _:b3 . +_:b3 . +_:b3 _:b4 . +_:b4 . +_:b4 _:b5 . +_:b5 . +_:b5 _:b6 . +_:b6 . +_:b6 _:b7 . +_:b7 . +_:b7 _:b8 . +_:b8 . +_:b8 _:b9 . +_:b9 . +_:b9 _:b10 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e063-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e063-in.jsonld new file mode 100644 index 00000000..a9a83b0c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e063-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": { + "Dave": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "Gregg": { + "@id": "http://example.com/people/gregg", + "name": "Gregg Kellogg" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e063-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e063-out.nq new file mode 100644 index 00000000..d907850e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e063-out.nq @@ -0,0 +1,5 @@ + . + "Dave Longley" . + . + "Gregg Kellogg" . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e064-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e064-in.jsonld new file mode 100644 index 00000000..dc313893 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e064-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "isKnownBy": [ + { + "name": "Dave Longley" + }, + { + "name": "Gregg Kellogg" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e064-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e064-out.nq new file mode 100644 index 00000000..15b58420 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e064-out.nq @@ -0,0 +1,5 @@ + "Markus Lanthaler" . +_:b0 . +_:b0 "Dave Longley" . +_:b1 . +_:b1 "Gregg Kellogg" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e065-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e065-in.jsonld new file mode 100644 index 00000000..116e0504 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e065-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "relative-iri": { + "@id": "relative-node", + "name": "Keys that are not mapped to an IRI in a reverse-map are dropped" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e065-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e065-out.nq new file mode 100644 index 00000000..787901b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e065-out.nq @@ -0,0 +1,3 @@ + . + "Dave Longley" . + "Markus Lanthaler" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e066-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e066-in.jsonld new file mode 100644 index 00000000..b3a9bd80 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e066-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name", + "knows": "http://xmlns.com/foaf/0.1/knows", + "@vocab": "http://example.com/vocab/" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "knows": { + "@id": "http://example.com/people/dave", + "name": "Dave Longley" + }, + "noTerm": { + "@id": "relative-node", + "name": "Compact keys using @vocab" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e066-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e066-out.nq new file mode 100644 index 00000000..91b33114 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e066-out.nq @@ -0,0 +1,5 @@ + "Markus Lanthaler" . + "Dave Longley" . + . + "Compact keys using @vocab" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e067-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e067-in.jsonld new file mode 100644 index 00000000..a8e29a67 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e067-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "http": "http://example.com/this-prefix-would-overwrite-all-http-iris" + }, + "@id": "http://example.org/node1", + "@type": "http://example.org/type", + "http://example.org/property": "all these IRIs remain unchanged because they are interpreted as absolute IRIs" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e067-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e067-out.nq new file mode 100644 index 00000000..c33dd89a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e067-out.nq @@ -0,0 +1,2 @@ + "all these IRIs remain unchanged because they are interpreted as absolute IRIs" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e068-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e068-in.jsonld new file mode 100644 index 00000000..ab52e5e7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e068-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "_": "http://example.com/this-prefix-would-overwrite-all-blank-node-identifiers" + }, + "@id": "_:node1", + "@type": "_:type", + "_:property": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e068-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e068-out.nq new file mode 100644 index 00000000..6a736bb1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e068-out.nq @@ -0,0 +1 @@ +_:b1 _:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e069-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e069-in.jsonld new file mode 100644 index 00000000..8f4a9aa9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e069-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "rdfs:subClassOf": { "@id": "rdfs:subClassOf", "@type": "@id" } + }, + "@id": "http://example.com/vocab#class", + "@type": "rdfs:Class", + "rdfs:subClassOf": "http://example.com/vocab#someOtherClass" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e069-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e069-out.nq new file mode 100644 index 00000000..eb20efc7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e069-out.nq @@ -0,0 +1,2 @@ + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e070-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e070-in.jsonld new file mode 100644 index 00000000..59733fb5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e070-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "prefix": "http://www.example.org/vocab#", + "prefix:foo": "prefix:foo" + }, + "@id": "http://example.com/vocab#id", + "@type": "prefix:Class", + "prefix:foo": "bar" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e070-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e070-out.nq new file mode 100644 index 00000000..532caa7a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e070-out.nq @@ -0,0 +1,2 @@ + "bar" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e071-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e071-in.jsonld new file mode 100644 index 00000000..598c43fe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e071-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "v:term": "v:somethingElse", + "v:termId": { "@id": "v:somethingElseId" } + }, + { + "v:term": "v:term", + "v:termId": { "@id": "v:termId" } + } + ], + "v:term": "value of v:term", + "v:termId": "value of v:termId" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e071-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e071-out.nq new file mode 100644 index 00000000..3f78e2ce --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e071-out.nq @@ -0,0 +1,2 @@ +_:b0 "value of v:term" . +_:b0 "value of v:termId" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e072-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e072-in.jsonld new file mode 100644 index 00000000..dcfa1b40 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e072-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "term": "v:somethingElse" + }, + { + "@vocab": "http://example.com/anotherVocab#", + "term": "term" + } + ], + "term": "value of term" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e072-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e072-out.nq new file mode 100644 index 00000000..8799e69b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e072-out.nq @@ -0,0 +1 @@ +_:b0 "value of term" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e073-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e073-in.jsonld new file mode 100644 index 00000000..78873bd8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e073-in.jsonld @@ -0,0 +1,16 @@ +{ + "@id": "ex:node1", + "owl:sameAs": { + "@id": "ex:node2", + "rdfs:label": "Node 2", + "link": "ex:node3", + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#" + } + }, + "@context": { + "ex": "http://example.org/", + "owl": "http://www.w3.org/2002/07/owl#", + "link": { "@id": "ex:link", "@type": "@id" } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e073-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e073-out.nq new file mode 100644 index 00000000..1d755774 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e073-out.nq @@ -0,0 +1,3 @@ + . + "Node 2" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e074-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e074-in.jsonld new file mode 100644 index 00000000..070a328f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e074-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "ex": "http://example.org/", + "owl": "http://www.w3.org/2002/07/owl#", + "link": { + "@id": "ex:link", + "@type": "@id" + } + }, + "owl:sameAs": { + "@context": { + "rdfs": "http://www.w3.org/2000/01/rdf-schema#" + }, + "rdfs:label": "Node 2", + "link": "ex:node3", + "@id": "ex:node2" + }, + "@id": "ex:node1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e074-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e074-out.nq new file mode 100644 index 00000000..119504f6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e074-out.nq @@ -0,0 +1,3 @@ + . + . + "Node 2" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e075-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e075-in.jsonld new file mode 100644 index 00000000..23dd106b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e075-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "_:" + }, + "@id": "ex:node1", + "b1": "blank node property 1", + "b2": "blank node property 1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e075-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e075-out.nq new file mode 100644 index 00000000..820d9550 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e075-out.nq @@ -0,0 +1,2 @@ + _:b1 "blank node property 1" . + _:b2 "blank node property 1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e076-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e076-in.jsonld new file mode 100644 index 00000000..8793b622 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e076-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e076-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e076-out.nq new file mode 100644 index 00000000..c5502d89 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e076-out.nq @@ -0,0 +1 @@ + "value" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e077-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e077-context.jsonld new file mode 100644 index 00000000..79129cb2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e077-context.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "t1": "http://example.com/t1", + "t2": "http://example.com/t2", + "term1": "http://example.com/term1", + "term2": "http://example.com/term2", + "term3": "http://example.com/term3", + "term4": "http://example.com/term4", + "term5": "http://example.com/term5" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e077-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e077-in.jsonld new file mode 100644 index 00000000..5c5741fd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e077-in.jsonld @@ -0,0 +1,9 @@ +{ + "@id": "http://example.com/id1", + "@type": "t1", + "term1": "v1", + "term2": {"@value": "v2", "@type": "t2"}, + "term3": {"@value": "v3", "@language": "en"}, + "term4": 4, + "term5": [50, 51] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e077-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e077-out.nq new file mode 100644 index 00000000..e758cb02 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e077-out.nq @@ -0,0 +1,7 @@ + . + "v1" . + "v2"^^ . + "v3"@en . + "4"^^ . + "50"^^ . + "51"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e078-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e078-in.jsonld new file mode 100644 index 00000000..0a0cf729 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e078-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "name": "http://example.com/vocab#name", + "children": { "@reverse": "http://example.com/vocab#parent" }, + "pets": { "@reverse": "http://example.com/vocab#owner" } + }, + "@id": "#homer", + "name": "Homer", + "children": [ + { + "@id": "#bart", + "name": "Bart" + }, + { + "@id": "#lisa", + "name": "Lisa" + } + ], + "pets": [ + { + "@id": "#snowball-ii", + "name": "Snowball II" + }, + { + "@id": "#santas-little-helper", + "name": "Santa's Little Helper" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e078-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e078-out.nq new file mode 100644 index 00000000..65909bbb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e078-out.nq @@ -0,0 +1,9 @@ + "Bart" . + . + "Lisa" . + . + "Santa's Little Helper" . + . + "Snowball II" . + . + "Homer" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e079-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e079-in.jsonld new file mode 100644 index 00000000..8514ced2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e079-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": { + "value": "x" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e079-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e079-out.nq new file mode 100644 index 00000000..d8ab99c3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e079-out.nq @@ -0,0 +1,2 @@ +_:b2 "x" _:b1 . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e080-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e080-in.jsonld new file mode 100644 index 00000000..098f8684 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e080-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e080-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e080-out.nq new file mode 100644 index 00000000..702a2f18 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e080-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e081-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e081-in.jsonld new file mode 100644 index 00000000..d1742979 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e081-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": { + "@graph": { + "value": "x" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e081-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e081-out.nq new file mode 100644 index 00000000..a02a6aa4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e081-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b3 "x" _:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e082-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e082-in.jsonld new file mode 100644 index 00000000..83d3182b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e082-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e082-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e082-out.nq new file mode 100644 index 00000000..592093b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e082-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e083-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e083-in.jsonld new file mode 100644 index 00000000..71f8a50f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e083-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index", "@set"]} + }, + "input": { + "g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e083-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e083-out.nq new file mode 100644 index 00000000..592093b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e083-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e084-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e084-in.jsonld new file mode 100644 index 00000000..0026a778 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e084-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": { + "@graph": { + "value": "x" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e084-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e084-out.nq new file mode 100644 index 00000000..592093b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e084-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e085-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e085-in.jsonld new file mode 100644 index 00000000..3cd17bc2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e085-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e085-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e085-out.nq new file mode 100644 index 00000000..26acc430 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e085-out.nq @@ -0,0 +1,2 @@ +_:b0 "x" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e086-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e086-in.jsonld new file mode 100644 index 00000000..27ea6de7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e086-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id", "@set"]} + }, + "input": { + "http://example.com/g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e086-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e086-out.nq new file mode 100644 index 00000000..26acc430 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e086-out.nq @@ -0,0 +1,2 @@ +_:b0 "x" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e087-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e087-in.jsonld new file mode 100644 index 00000000..aa994f30 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e087-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": { + "@graph": { + "value": "x" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e087-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e087-out.nq new file mode 100644 index 00000000..26acc430 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e087-out.nq @@ -0,0 +1,2 @@ +_:b0 "x" . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e088-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e088-in.jsonld new file mode 100644 index 00000000..c0c20a1a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e088-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "@base": "http://example.com/", + "coerceId": {"@type": "@id"}, + "coerceVocab": {"@type": "@vocab"} + }, + "coerceDefault": ["string", true, false, 0, 1], + "coerceId": ["string", true, false, 0, 1], + "coerceVocab": ["string", true, false, 0, 1] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e088-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e088-out.nq new file mode 100644 index 00000000..c3fc3080 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e088-out.nq @@ -0,0 +1,15 @@ +_:b0 "true"^^ . +_:b0 . +_:b0 "0"^^ . +_:b0 "false"^^ . +_:b0 "1"^^ . +_:b0 "true"^^ . +_:b0 "string" . +_:b0 "1"^^ . +_:b0 "0"^^ . +_:b0 "false"^^ . +_:b0 "true"^^ . +_:b0 "1"^^ . +_:b0 . +_:b0 "0"^^ . +_:b0 "false"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e089-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e089-in.jsonld new file mode 100644 index 00000000..7a6dcd8d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e089-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@base": "" + }, + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e089-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e089-out.nq new file mode 100644 index 00000000..c5502d89 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e089-out.nq @@ -0,0 +1 @@ + "value" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e090-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e090-in.jsonld new file mode 100644 index 00000000..0853f89e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e090-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@base": ".." + }, + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e090-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e090-out.nq new file mode 100644 index 00000000..673e9067 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e090-out.nq @@ -0,0 +1 @@ + "value" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e091-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e091-in.jsonld new file mode 100644 index 00000000..bad0f06b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e091-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [{ + "@base": "http://foo.bar/./baz/" + }, { + "@base": "example/" + }], + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e091-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e091-out.nq new file mode 100644 index 00000000..2f582a5e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e091-out.nq @@ -0,0 +1 @@ + "value" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e092-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e092-in.jsonld new file mode 100644 index 00000000..d7ed55e1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e092-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "" + }, + "@id": "relativePropertyIris", + "link": "link", + "#fragment-works": "#fragment-works", + "?query=works": "?query=works", + "./": "./", + "../": "../", + "../parent": "../parent", + "../../parent-parent-eq-root": "../../parent-parent-eq-root", + "../../../../../still-root": "../../../../../still-root", + "../.././.././../../too-many-dots": "../.././.././../../too-many-dots", + "/absolute": "/absolute", + "//example.org/scheme-relative": "//example.org/scheme-relative" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e092-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e092-out.nq new file mode 100644 index 00000000..3d0ddfaa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e092-out.nq @@ -0,0 +1,11 @@ + "./" . + "#fragment-works" . + "/absolute" . + "../parent" . + "../" . + "../../../../../still-root" . + "//example.org/scheme-relative" . + "../.././.././../../too-many-dots" . + "link" . + "?query=works" . + "../../parent-parent-eq-root" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e093-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e093-in.jsonld new file mode 100644 index 00000000..b32c0949 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e093-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": "@graph"}, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }, { + "value": "y" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e093-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e093-out.nq new file mode 100644 index 00000000..1cf3b770 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e093-out.nq @@ -0,0 +1,4 @@ +_:b4 "y" _:b3 . +_:b0 _:b3 . +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e094-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e094-in.jsonld new file mode 100644 index 00000000..2e0dc624 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e094-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "input": {"@id": "foo:input", "@container": ["@graph", "@set"]}, + "value": "foo:value" + }, + "input": [{ + "value": "x" + }, { + "value": "y" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e094-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e094-out.nq new file mode 100644 index 00000000..1cf3b770 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e094-out.nq @@ -0,0 +1,4 @@ +_:b4 "y" _:b3 . +_:b0 _:b3 . +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e095-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e095-in.jsonld new file mode 100644 index 00000000..bf1c0824 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e095-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": [{ + "@graph": { + "value": "x" + } + }, { + "@graph": { + "value": "y" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e095-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e095-out.nq new file mode 100644 index 00000000..dde94a1a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e095-out.nq @@ -0,0 +1,4 @@ +_:b0 _:b1 . +_:b0 _:b4 . +_:b3 "x" _:b2 . +_:b6 "y" _:b5 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e096-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e096-in.jsonld new file mode 100644 index 00000000..4c7c6f45 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e096-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": {"value": "x"}, + "g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e096-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e096-out.nq new file mode 100644 index 00000000..94d78231 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e096-out.nq @@ -0,0 +1,4 @@ +_:b4 "y" _:b3 . +_:b0 _:b3 . +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e097-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e097-in.jsonld new file mode 100644 index 00000000..dc5b9003 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e097-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index", "@set"]} + }, + "input": { + "g1": {"value": "x"}, + "g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e097-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e097-out.nq new file mode 100644 index 00000000..94d78231 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e097-out.nq @@ -0,0 +1,4 @@ +_:b4 "y" _:b3 . +_:b0 _:b3 . +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e098-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e098-in.jsonld new file mode 100644 index 00000000..27ae04b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e098-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": {"@graph": {"value": "x"}}, + "g2": {"@graph": {"value": "y"}} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e098-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e098-out.nq new file mode 100644 index 00000000..94d78231 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e098-out.nq @@ -0,0 +1,4 @@ +_:b4 "y" _:b3 . +_:b0 _:b3 . +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e099-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e099-in.jsonld new file mode 100644 index 00000000..0010e0aa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e099-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": {"value": "x"}, + "http://example.com/g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e099-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e099-out.nq new file mode 100644 index 00000000..60ecaa39 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e099-out.nq @@ -0,0 +1,4 @@ +_:b1 "x" . +_:b2 "y" . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e100-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e100-in.jsonld new file mode 100644 index 00000000..43d3528f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e100-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id", "@set"]} + }, + "input": { + "http://example.com/g1": {"value": "x"}, + "http://example.com/g2": {"value": "y"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e100-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e100-out.nq new file mode 100644 index 00000000..60ecaa39 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e100-out.nq @@ -0,0 +1,4 @@ +_:b1 "x" . +_:b2 "y" . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e101-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e101-in.jsonld new file mode 100644 index 00000000..cf605565 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e101-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": { + "@graph": { + "value": "x" + } + }, + "http://example.com/g2": { + "@graph": { + "value": "y" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e101-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e101-out.nq new file mode 100644 index 00000000..60ecaa39 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e101-out.nq @@ -0,0 +1,4 @@ +_:b1 "x" . +_:b2 "y" . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e102-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e102-in.jsonld new file mode 100644 index 00000000..cac7b7f6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e102-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": { + "@graph": [{ + "value": "x" + }, { + "value": "y" + }] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e102-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e102-out.nq new file mode 100644 index 00000000..51bc427a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e102-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b3 "x" _:b2 . +_:b4 "y" _:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e103-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e103-in.jsonld new file mode 100644 index 00000000..bf1c0824 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e103-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": [{ + "@graph": { + "value": "x" + } + }, { + "@graph": { + "value": "y" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e103-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e103-out.nq new file mode 100644 index 00000000..dde94a1a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e103-out.nq @@ -0,0 +1,4 @@ +_:b0 _:b1 . +_:b0 _:b4 . +_:b3 "x" _:b2 . +_:b6 "y" _:b5 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e104-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e104-in.jsonld new file mode 100644 index 00000000..7e8d19c3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e104-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": "@graph"} + }, + "input": [ + {"@graph": {"value": "x"}}, + {"value": "y"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e104-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e104-out.nq new file mode 100644 index 00000000..08bafa71 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e104-out.nq @@ -0,0 +1,4 @@ +_:b3 "x" _:b2 . +_:b5 "y" _:b4 . +_:b0 _:b4 . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e105-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e105-in.jsonld new file mode 100644 index 00000000..bcad0c63 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e105-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": [{"@graph": {"value": "x"}}, {"value": "y"}], + "g2": [{"@graph": {"value": "a"}}, {"value": "b"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e105-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e105-out.nq new file mode 100644 index 00000000..529cb4c1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e105-out.nq @@ -0,0 +1,8 @@ +_:b6 "a" _:b5 . +_:b8 "b" _:b7 . +_:b4 "y" _:b3 . +_:b0 _:b5 . +_:b0 _:b7 . +_:b0 _:b3 . +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e106-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e106-in.jsonld new file mode 100644 index 00000000..cf605565 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e106-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": { + "@graph": { + "value": "x" + } + }, + "http://example.com/g2": { + "@graph": { + "value": "y" + } + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e106-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e106-out.nq new file mode 100644 index 00000000..60ecaa39 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e106-out.nq @@ -0,0 +1,4 @@ +_:b1 "x" . +_:b2 "y" . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e107-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e107-in.jsonld new file mode 100644 index 00000000..3e1c5afa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e107-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "g1": [{"value": "x"}, {"value": "y"}], + "g2": [{"value": "a"}, {"value": "b"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e107-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e107-out.nq new file mode 100644 index 00000000..529cb4c1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e107-out.nq @@ -0,0 +1,8 @@ +_:b6 "a" _:b5 . +_:b8 "b" _:b7 . +_:b4 "y" _:b3 . +_:b0 _:b5 . +_:b0 _:b7 . +_:b0 _:b3 . +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e108-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e108-in.jsonld new file mode 100644 index 00000000..182c031d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e108-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "http://example.com/g1": [{"value": "x"}, {"value": "y"}], + "http://example.com/g2": [{"value": "a"}, {"value": "b"}] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e108-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e108-out.nq new file mode 100644 index 00000000..d2aa10ab --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e108-out.nq @@ -0,0 +1,6 @@ +_:b1 "x" . +_:b2 "y" . +_:b4 "b" . +_:b3 "a" . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e109-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e109-in.jsonld new file mode 100644 index 00000000..7fa22658 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e109-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@base": "https://ex.org/", + "u": {"@id": "urn:u:", "@type": "@id"} + }, + "u": ["#Test", "#Test:2"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e109-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e109-out.nq new file mode 100644 index 00000000..8c6aeb8a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e109-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e110-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e110-in.jsonld new file mode 100644 index 00000000..a6f1e676 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e110-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "/relative" + }, + "@id": "relativePropertyIris", + "link": "link", + "#fragment-works": "#fragment-works", + "?query=works": "?query=works", + "./": "./", + "../": "../", + "../parent": "../parent", + "../../parent-parent-eq-root": "../../parent-parent-eq-root", + "../../../../../still-root": "../../../../../still-root", + "../.././.././../../too-many-dots": "../.././.././../../too-many-dots", + "/absolute": "/absolute", + "//example.org/scheme-relative": "//example.org/scheme-relative" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e110-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e110-out.nq new file mode 100644 index 00000000..eaeec614 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e110-out.nq @@ -0,0 +1,11 @@ + "//example.org/scheme-relative" . + "?query=works" . + "../parent" . + "link" . + "./" . + "../.././.././../../too-many-dots" . + "#fragment-works" . + "../../parent-parent-eq-root" . + "../" . + "/absolute" . + "../../../../../still-root" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e111-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e111-in.jsonld new file mode 100644 index 00000000..f5118d3f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e111-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": [{ + "@version": 1.1, + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "http://example.com/vocabulary/" + }, { + "@vocab": "./rel2#" + }], + "@id": "relativePropertyIris", + "link": "link", + "#fragment-works": "#fragment-works", + "?query=works": "?query=works", + "./": "./", + "../": "../", + "../parent": "../parent", + "../../parent-parent-eq-root": "../../parent-parent-eq-root", + "../../../../../still-root": "../../../../../still-root", + "../.././.././../../too-many-dots": "../.././.././../../too-many-dots", + "/absolute": "/absolute", + "//example.org/scheme-relative": "//example.org/scheme-relative" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e111-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e111-out.nq new file mode 100644 index 00000000..f11cf0b0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e111-out.nq @@ -0,0 +1,10 @@ + "../parent" . + "?query=works" . + "../" . + "//example.org/scheme-relative" . + "../.././.././../../too-many-dots" . + "../../../../../still-root" . + "link" . + "./" . + "../../parent-parent-eq-root" . + "/absolute" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e112-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e112-in.jsonld new file mode 100644 index 00000000..660f5f1b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e112-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": [{ + "@version": 1.1, + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "/rel1" + }, { + "@vocab": "./rel2#" + }], + "@id": "relativePropertyIris", + "link": "link", + "#fragment-works": "#fragment-works", + "?query=works": "?query=works", + "./": "./", + "../": "../", + "../parent": "../parent", + "../../parent-parent-eq-root": "../../parent-parent-eq-root", + "../../../../../still-root": "../../../../../still-root", + "../.././.././../../too-many-dots": "../.././.././../../too-many-dots", + "/absolute": "/absolute", + "//example.org/scheme-relative": "//example.org/scheme-relative" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e112-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e112-out.nq new file mode 100644 index 00000000..02838d8d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e112-out.nq @@ -0,0 +1,10 @@ + "../../parent-parent-eq-root" . + "?query=works" . + "../../../../../still-root" . + "../" . + "//example.org/scheme-relative" . + "link" . + "../parent" . + "./" . + "../.././.././../../too-many-dots" . + "/absolute" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e113-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e113-in.jsonld new file mode 100644 index 00000000..0e26a9df --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e113-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "valueOf": "http://example.org/valueOf", + "toString": "http://example.org/toString" + }, + "valueOf": "first", + "toString": "second" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e113-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e113-out.nq new file mode 100644 index 00000000..0b5c9d82 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e113-out.nq @@ -0,0 +1,2 @@ +_:b0 "second" . +_:b0 "first" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e114-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e114-in.jsonld new file mode 100644 index 00000000..82443b96 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e114-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "type1": "@type", + "type2": "@type" + }, + "type1": "Type1", + "type2": "Type2" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e114-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e114-out.nq new file mode 100644 index 00000000..474ee66e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e114-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e115-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e115-in.jsonld new file mode 100644 index 00000000..b2feca59 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e115-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "" + }, + "@id": "relativePropertyIris", + "link": "link" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e116-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e116-in.jsonld new file mode 100644 index 00000000..4f953753 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e116-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@base": "http://example.com/some/deep/directory/and/file/", + "@vocab": "/relative" + }, + "@id": "relativePropertyIris", + "link": "link" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e117-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e117-in.jsonld new file mode 100644 index 00000000..c2f5ca35 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e117-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http://example.org/vocab", + ":term": {"@type": "@id"} + }, + ":term": "http://example.org/base" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e117-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e117-out.nq new file mode 100644 index 00000000..3fdac79f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e117-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e118-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e118-in.jsonld new file mode 100644 index 00000000..96a5d71d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e118-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": {"@vocab": "http://schema.org/"}, + "@id": "foo:bar-id", + "@type": "foo:bar-type", + "foo:bar": "is an absolute iri property", + "term": "is schema.org/term", + ":fish": "is schema.org/:fish" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e118-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e118-out.nq new file mode 100644 index 00000000..e9a76416 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e118-out.nq @@ -0,0 +1,4 @@ + "is schema.org/term" . + "is an absolute iri property" . + "is schema.org/:fish" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e119-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e119-in.jsonld new file mode 100644 index 00000000..e1d2459e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e119-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@": "http://example.org/vocab/at", + "@foo.bar": "http://example.org/vocab/foo.bar", + "@ignoreMe": "http://example.org/vocab/ignoreMe" + }, + "@": "allowed", + "@foo.bar": "allowed", + "@ignoreMe": "ignored" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e119-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e119-out.nq new file mode 100644 index 00000000..7c1ebf34 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e119-out.nq @@ -0,0 +1,2 @@ +_:b0 "allowed" . +_:b0 "allowed" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e120-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e120-in.jsonld new file mode 100644 index 00000000..171f431c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e120-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.orb/vocab/", + "at": {"@id": "@"}, + "foo.bar": {"@id": "@foo.bar"}, + "ignoreMe": {"@id": "@ignoreMe"} + }, + "at": "allowed", + "foo.bar": "allowed", + "ignoreMe": "resolves to @vocab" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e120-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e120-out.nq new file mode 100644 index 00000000..f1a253b9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e120-out.nq @@ -0,0 +1,3 @@ +_:b0 "allowed" . +_:b0 "allowed" . +_:b0 "resolves to @vocab" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e121-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e121-in.jsonld new file mode 100644 index 00000000..1b7f7fb2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e121-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@base": "http://example.org/", + "@vocab": "http://example.org/vocab/", + "at": {"@reverse": "@"}, + "foo.bar": {"@reverse": "@foo.bar"} + }, + "@id": "foo", + "at": {"@id": "allowed"}, + "foo.bar": {"@id": "allowed"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e121-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e121-out.nq new file mode 100644 index 00000000..77b7eab7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e121-out.nq @@ -0,0 +1,2 @@ + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e122-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e122-in.jsonld new file mode 100644 index 00000000..528bf335 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e122-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@base": "http://example.org/" + }, + "http://example.org/vocab/at": {"@id": "@"}, + "http://example.org/vocab/foo.bar": {"@id": "@foo.bar"}, + "http://example.org/vocab/ignoreme": {"@id": "@ignoreMe"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e122-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e122-out.nq new file mode 100644 index 00000000..83c698ab --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e122-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e123-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e123-in.jsonld new file mode 100644 index 00000000..41a7a8b2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e123-in.jsonld @@ -0,0 +1,4 @@ +{ + "@id": "http://example.com/foo", + "http://example.com/bar": {"@value": "bar", "@type": "http://example.com/baz z"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e124-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e124-context.jsonld new file mode 100644 index 00000000..bd77d9a1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e124-context.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "prop": { + "@id": "ex:prop", + "@context": "e124-context.jsonld" + }, + "value": { + "@id": "ex:value" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e124-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e124-in.jsonld new file mode 100644 index 00000000..ac16aaf2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e124-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [ + { + "@version": 1.1, + "ex": { + "@id": "http://example.org/", + "@prefix": true + } + }, + { + "@vocab": "ex:ns/" + } + ], + "foo": "bar" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e124-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e124-out.nq new file mode 100644 index 00000000..290c77cc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e124-out.nq @@ -0,0 +1 @@ +_:b0 "bar" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e125-context-1.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e125-context-1.jsonld new file mode 100644 index 00000000..514b9f12 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e125-context-1.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "prop": { + "@id": "ex:prop", + "@context": "e125-context-2.jsonld" + }, + "value": { + "@id": "ex:value" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e125-context-2.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e125-context-2.jsonld new file mode 100644 index 00000000..539fc478 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e125-context-2.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "e125-context-1.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e125-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e125-in.jsonld new file mode 100644 index 00000000..92b3ef61 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e125-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [ + { + "@version": 1.1, + "ex": { + "@id": "http://example.org/", + "@prefix": true + } + }, + { + "@vocab": "ex" + } + ], + "foo": "bar" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e125-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e125-out.nq new file mode 100644 index 00000000..c6e92021 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e125-out.nq @@ -0,0 +1 @@ +_:b0 "bar" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e126-context-1.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e126-context-1.jsonld new file mode 100644 index 00000000..7c22a4f5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e126-context-1.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "e126-context-3.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e126-context-2.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e126-context-2.jsonld new file mode 100644 index 00000000..7c22a4f5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e126-context-2.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "e126-context-3.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e126-context-3.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e126-context-3.jsonld new file mode 100644 index 00000000..6b150166 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e126-context-3.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "prop": { + "@id": "ex:prop", + "@context": "e126-context-3.jsonld" + }, + "value": { + "@id": "ex:value" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e126-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e126-context.jsonld new file mode 100644 index 00000000..548ae93f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e126-context.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "prop": { + "@id": "ex:prop", + "@context": "e126-context.jsonld" + }, + "value": { + "@id": "ex:value" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e126-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e126-in.jsonld new file mode 100644 index 00000000..32f41007 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e126-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": "e126-context.jsonld", + "@id": "ex:id", + "prop": { + "value": "v" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e126-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e126-out.nq new file mode 100644 index 00000000..77fbff8f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e126-out.nq @@ -0,0 +1,2 @@ + _:b0 . +_:b0 "v" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e127-context-1.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e127-context-1.jsonld new file mode 100644 index 00000000..bd82f33d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e127-context-1.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "prop": { + "@id": "ex:prop", + "@context": "e127-context-2.jsonld" + }, + "value": { + "@id": "ex:value" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e127-context-2.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e127-context-2.jsonld new file mode 100644 index 00000000..d7c1f2c9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e127-context-2.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "e127-context-1.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e127-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e127-in.jsonld new file mode 100644 index 00000000..dcde2823 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e127-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": "e127-context-1.jsonld", + "@id": "ex:id", + "prop": { + "value": "v" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e127-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e127-out.nq new file mode 100644 index 00000000..77fbff8f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e127-out.nq @@ -0,0 +1,2 @@ + _:b0 . +_:b0 "v" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e128-context-1.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e128-context-1.jsonld new file mode 100644 index 00000000..6586e453 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e128-context-1.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "e128-context-3.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e128-context-2.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e128-context-2.jsonld new file mode 100644 index 00000000..6586e453 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e128-context-2.jsonld @@ -0,0 +1,3 @@ +{ + "@context": "e128-context-3.jsonld" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e128-context-3.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e128-context-3.jsonld new file mode 100644 index 00000000..5f71478b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e128-context-3.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "prop": { + "@id": "ex:prop", + "@context": "e128-context-3.jsonld" + }, + "value": { + "@id": "ex:value" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e128-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e128-in.jsonld new file mode 100644 index 00000000..4da4e6c8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e128-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": [ + "e128-context-1.jsonld", + "e128-context-2.jsonld" + ], + "@id": "ex:id", + "prop": { + "value": "v" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e128-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e128-out.nq new file mode 100644 index 00000000..77fbff8f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e128-out.nq @@ -0,0 +1,2 @@ + _:b0 . +_:b0 "v" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/ec01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/ec01-in.jsonld new file mode 100644 index 00000000..6ea8d9a1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/ec01-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/", "@index": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/ec02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/ec02-in.jsonld new file mode 100644 index 00000000..ce20b960 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/ec02-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@type": {} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/em01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/em01-in.jsonld new file mode 100644 index 00000000..ea465394 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/em01-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@container": "@context"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/en01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/en01-in.jsonld new file mode 100644 index 00000000..81408e66 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/en01-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@nest": "This should generate an error" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/en02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/en02-in.jsonld new file mode 100644 index 00000000..7af5e3b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/en02-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@nest": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/en03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/en03-in.jsonld new file mode 100644 index 00000000..91d33886 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/en03-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@nest": 1 +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/en04-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/en04-in.jsonld new file mode 100644 index 00000000..11e246a3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/en04-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "@nest": {"@value": "This should generate an error"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/en05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/en05-in.jsonld new file mode 100644 index 00000000..a33791ca --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/en05-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@nest": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/en06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/en06-in.jsonld new file mode 100644 index 00000000..3015c7af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/en06-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": {"@reverse": "http://example/term", "@nest": "@nest"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/ep02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/ep02-in.jsonld new file mode 100644 index 00000000..4caa4695 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/ep02-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@version": 1.1 + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/ep03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/ep03-in.jsonld new file mode 100644 index 00000000..63c70f63 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/ep03-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@version": 1.0 + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er01-in.jsonld new file mode 100644 index 00000000..4d295897 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er01-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@type": "@id" + }, + "@type": "http://example.org/type" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er02-in.jsonld new file mode 100644 index 00000000..64ea5895 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er02-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "er02-in.jsonld", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er03-in.jsonld new file mode 100644 index 00000000..524fd18b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er03-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "er03-in.jsonld", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er04-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er04-in.jsonld new file mode 100644 index 00000000..77391915 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er04-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": "tag:non-dereferencable-iri", + "@id": "http://example/test#example" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er05-in.jsonld new file mode 100644 index 00000000..c1a1be6c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er05-in.jsonld @@ -0,0 +1,4 @@ +[{ + "@context": "er05-in.jsonld", + "@id": "http://example/test#example" +}] diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er06-in.jsonld new file mode 100644 index 00000000..f30126f0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er06-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": true, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er07-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er07-in.jsonld new file mode 100644 index 00000000..17033fc0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er07-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@base": true}, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er08-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er08-in.jsonld new file mode 100644 index 00000000..af74aecb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er08-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@vocab": true}, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er09-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er09-in.jsonld new file mode 100644 index 00000000..d35c6348 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er09-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@language": true}, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er10-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er10-in.jsonld new file mode 100644 index 00000000..f686eac9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er10-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "term:term"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er11-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er11-in.jsonld new file mode 100644 index 00000000..f42f32d7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er11-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": true + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er12-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er12-in.jsonld new file mode 100644 index 00000000..5d4295ad --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er12-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@type": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er13-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er13-in.jsonld new file mode 100644 index 00000000..9a968432 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er13-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@type": "_:not-an-iri"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er14-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er14-in.jsonld new file mode 100644 index 00000000..c6b1007e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er14-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@reverse": "http://example/reverse"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er15-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er15-in.jsonld new file mode 100644 index 00000000..2a805bc8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er15-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@reverse": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er17-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er17-in.jsonld new file mode 100644 index 00000000..403acef9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er17-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@reverse": "http://example/reverse", "@container": "@list"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er18-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er18-in.jsonld new file mode 100644 index 00000000..9a9e2afa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er18-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er19-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er19-in.jsonld new file mode 100644 index 00000000..04f67abe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er19-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "@context"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er20-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er20-in.jsonld new file mode 100644 index 00000000..dff3ba52 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er20-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@container": "@set"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er21-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er21-in.jsonld new file mode 100644 index 00000000..8fdc3753 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er21-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@container": "@id"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er22-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er22-in.jsonld new file mode 100644 index 00000000..37f0e71c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er22-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@language": true} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er23-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er23-in.jsonld new file mode 100644 index 00000000..3162bb46 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er23-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example/term", "@type": "relative/iri"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er24-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er24-in.jsonld new file mode 100644 index 00000000..f5e78e4d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er24-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [{"@list": ["baz"]}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er25-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er25-in.jsonld new file mode 100644 index 00000000..0b66e9af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er25-in.jsonld @@ -0,0 +1,6 @@ +{ + "@id": "http://example/foo", + "@reverse": { + "@id": "http://example/bar" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er26-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er26-in.jsonld new file mode 100644 index 00000000..36a12b8b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er26-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "id": "@id", + "ID": "@id" + }, + "id": "http://example/foo", + "ID": "http://example/bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er27-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er27-in.jsonld new file mode 100644 index 00000000..76d36d5a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er27-in.jsonld @@ -0,0 +1,3 @@ +{ + "@id": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er28-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er28-in.jsonld new file mode 100644 index 00000000..6c8f7762 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er28-in.jsonld @@ -0,0 +1,3 @@ +{ + "@type": true +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er29-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er29-in.jsonld new file mode 100644 index 00000000..c669c9e5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er29-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/prop": {"@value": ["foo"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er30-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er30-in.jsonld new file mode 100644 index 00000000..abba6cee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er30-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/prop": {"@value": "foo", "@language": true} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er31-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er31-in.jsonld new file mode 100644 index 00000000..f0c5c462 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er31-in.jsonld @@ -0,0 +1,7 @@ +{ + "http://example.com/vocab/indexMap": { + "@value": "simple string", + "@language": "en", + "@index": true + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er32-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er32-in.jsonld new file mode 100644 index 00000000..75ec1a87 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er32-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.com/foo": {"@list": [{"@list": ["baz"]}]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er33-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er33-in.jsonld new file mode 100644 index 00000000..a57607fa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er33-in.jsonld @@ -0,0 +1,5 @@ +{ + "http://example/prop": { + "@reverse": true + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er34-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er34-in.jsonld new file mode 100644 index 00000000..d48c68b8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er34-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "name": "http://xmlns.com/foaf/0.1/name" + }, + "@id": "http://example.com/people/markus", + "name": "Markus Lanthaler", + "@reverse": { + "http://xmlns.com/foaf/0.1/knows": "Dave Longley" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er35-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er35-in.jsonld new file mode 100644 index 00000000..c523c942 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er35-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": true + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er36-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er36-in.jsonld new file mode 100644 index 00000000..8e9ff8b5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er36-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@reverse": "http://example/reverse"} + }, + "@id": "http://example/foo", + "term": {"@list": ["http://example/bar"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er37-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er37-in.jsonld new file mode 100644 index 00000000..0a2d1750 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er37-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": "bar", "@id": "http://example/baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er38-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er38-in.jsonld new file mode 100644 index 00000000..20d4a7b7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er38-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": "bar", "@language": "en", "@type": "http://example/type"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er39-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er39-in.jsonld new file mode 100644 index 00000000..0d03781b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er39-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": true, "@language": "en"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er40-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er40-in.jsonld new file mode 100644 index 00000000..ea9b6303 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er40-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/foo": {"@value": "bar", "@type": "_:dt"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er41-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er41-in.jsonld new file mode 100644 index 00000000..c7ad513c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er41-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example/prop": {"@list": ["foo"], "@id": "http://example/bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er42-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er42-in.jsonld new file mode 100644 index 00000000..41360255 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er42-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@type": {"@container": "@set"} + }, + "@type": "http://example.org/type" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er43-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er43-in.jsonld new file mode 100644 index 00000000..36d8cac7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er43-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": {"@id": "@type", "@type": "@id"} + }, + "@graph": [ + { + "@id": "http://example.com/a", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/b" + }, { + "@id": "http://example.com/c", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": [ + "http://example.com/d", + "http://example.com/e" + ] + }, { + "@id": "http://example.com/f", + "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://example.com/g" + } + ] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er44-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er44-in.jsonld new file mode 100644 index 00000000..257bd312 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er44-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "v:term": "v:somethingElse", + "v:termId": { "@id": "v:somethingElseId" } + } + ], + "v:term": "value of v:term", + "v:termId": "value of v:termId" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er45-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er45-in.jsonld new file mode 100644 index 00000000..598c43fe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er45-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [ + { + "v": "http://example.com/vocab#", + "v:term": "v:somethingElse", + "v:termId": { "@id": "v:somethingElseId" } + }, + { + "v:term": "v:term", + "v:termId": { "@id": "v:termId" } + } + ], + "v:term": "value of v:term", + "v:termId": "value of v:termId" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er48-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er48-in.jsonld new file mode 100644 index 00000000..c3ad292a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er48-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "./something": "http://example.com/vocab#somethingElse" + }, + "./something": "something" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er49-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er49-in.jsonld new file mode 100644 index 00000000..72c0a72d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er49-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@vocab": "http:/example.org", + "./something": {"@type": "@id", "@prefix": true} + }, + "./something": "something" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er50-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er50-in.jsonld new file mode 100644 index 00000000..a54cc667 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er50-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "rev": {"@reverse": "not an IRI"} + }, + "@id": "http://example.org/foo", + "rev": {"@id": "http://example.org/bar"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er51-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er51-in.jsonld new file mode 100644 index 00000000..dc9ace8e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er51-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"value": "@value"}, + "http://example/prop": {"value": ["foo"]} +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er52-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er52-in.jsonld new file mode 100644 index 00000000..3bd32cf3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er52-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term"}, + "": {"@id": "http://example.org/empty"} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/in01-in.jsonld new file mode 100644 index 00000000..145c36e7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in01-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": [{ + "prop": "value2" + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in01-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/in01-out.nq new file mode 100644 index 00000000..908b643e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in01-out.nq @@ -0,0 +1,2 @@ +_:b0 "value" . +_:b1 "value2" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/in02-in.jsonld new file mode 100644 index 00000000..a976cce7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in02-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": { + "prop": "value2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in02-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/in02-out.nq new file mode 100644 index 00000000..908b643e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in02-out.nq @@ -0,0 +1,2 @@ +_:b0 "value" . +_:b1 "value2" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/in03-in.jsonld new file mode 100644 index 00000000..ed476d43 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in03-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "included1": "@included", + "included2": "@included" + }, + "included1": {"prop": "value1"}, + "included2": {"prop": "value2"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in03-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/in03-out.nq new file mode 100644 index 00000000..4ccc9288 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in03-out.nq @@ -0,0 +1,2 @@ +_:b1 "value1" . +_:b2 "value2" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in04-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/in04-in.jsonld new file mode 100644 index 00000000..2436a454 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in04-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": "value", + "@included": { + "prop": "value2", + "@included": { + "prop": "value3" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in04-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/in04-out.nq new file mode 100644 index 00000000..04ef8b35 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in04-out.nq @@ -0,0 +1,3 @@ +_:b0 "value" . +_:b1 "value2" . +_:b2 "value3" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/in05-in.jsonld new file mode 100644 index 00000000..b94709b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in05-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "prop": { + "@type": "Foo", + "@included": { + "@type": "Bar" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in05-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/in05-out.nq new file mode 100644 index 00000000..939df601 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in05-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 . +_:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/in06-in.jsonld new file mode 100644 index 00000000..2e5339f5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in06-in.jsonld @@ -0,0 +1,90 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/vocab#", + "@base": "http://example.org/base/", + "id": "@id", + "type": "@type", + "data": "@nest", + "attributes": "@nest", + "links": "@nest", + "relationships": "@nest", + "included": "@included", + "self": {"@type": "@id"}, + "related": {"@type": "@id"}, + "comments": { + "@context": { + "data": null + } + } + }, + "data": [{ + "type": "articles", + "id": "1", + "attributes": { + "title": "JSON:API paints my bikeshed!" + }, + "links": { + "self": "http://example.com/articles/1" + }, + "relationships": { + "author": { + "links": { + "self": "http://example.com/articles/1/relationships/author", + "related": "http://example.com/articles/1/author" + }, + "data": { "type": "people", "id": "9" } + }, + "comments": { + "links": { + "self": "http://example.com/articles/1/relationships/comments", + "related": "http://example.com/articles/1/comments" + }, + "data": [ + { "type": "comments", "id": "5" }, + { "type": "comments", "id": "12" } + ] + } + } + }], + "included": [{ + "type": "people", + "id": "9", + "attributes": { + "first-name": "Dan", + "last-name": "Gebhardt", + "twitter": "dgeb" + }, + "links": { + "self": "http://example.com/people/9" + } + }, { + "type": "comments", + "id": "5", + "attributes": { + "body": "First!" + }, + "relationships": { + "author": { + "data": { "type": "people", "id": "2" } + } + }, + "links": { + "self": "http://example.com/comments/5" + } + }, { + "type": "comments", + "id": "12", + "attributes": { + "body": "I like XML better" + }, + "relationships": { + "author": { + "data": { "type": "people", "id": "9" } + } + }, + "links": { + "self": "http://example.com/comments/12" + } + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in06-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/in06-out.nq new file mode 100644 index 00000000..23bae5da --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in06-out.nq @@ -0,0 +1,23 @@ + . + _:b0 . + . + "JSON:API paints my bikeshed!" . + . + . + . + "First!" . + . + . + "Dan" . + "Gebhardt" . + . + . + . + "dgeb" . + . + . + "I like XML better" . + . + . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in07-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/in07-in.jsonld new file mode 100644 index 00000000..b7958e50 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in07-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "@included": "string" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in08-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/in08-in.jsonld new file mode 100644 index 00000000..01a245c3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in08-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "@included": {"@value": "value"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/in09-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/in09-in.jsonld new file mode 100644 index 00000000..7ef08559 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/in09-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/" + }, + "@included": {"@list": ["value"]} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js14-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js14-in.jsonld new file mode 100644 index 00000000..837a69a4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js14-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#array", "@type": "@json"} + }, + "e": [{"e": "bar"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js14-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js14-out.nq new file mode 100644 index 00000000..c90e5b20 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js14-out.nq @@ -0,0 +1 @@ +_:c14n0 "[{\"e\":\"bar\"}]"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js15-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js15-in.jsonld new file mode 100644 index 00000000..cc9820a5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js15-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js15-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js15-out.nq new file mode 100644 index 00000000..29433120 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js15-out.nq @@ -0,0 +1 @@ +_:c14n0 "{\"foo\":\"bar\"}"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js16-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js16-in.jsonld new file mode 100644 index 00000000..e40669f3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js16-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"@version": 1.1, "value": "@value", "type": "@type", "json": "@json"}, + "http://example.org/vocab#object": [{"value": {"foo": "bar"}, "type": "json"}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js16-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js16-out.nq new file mode 100644 index 00000000..29433120 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js16-out.nq @@ -0,0 +1 @@ +_:c14n0 "{\"foo\":\"bar\"}"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js17-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js17-in.jsonld new file mode 100644 index 00000000..08fc84f7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js17-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#string", "@type": "@json"} + }, + "e": "string" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js17-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js17-out.nq new file mode 100644 index 00000000..93143d26 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js17-out.nq @@ -0,0 +1 @@ +_:c14n0 "\"string\""^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js18-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js18-in.jsonld new file mode 100644 index 00000000..56411149 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js18-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "e": {"@id": "http://example.org/vocab#null", "@type": "@json"} + }, + "e": null +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js18-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js18-out.nq new file mode 100644 index 00000000..de3cac89 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js18-out.nq @@ -0,0 +1 @@ +_:b0 "null"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js19-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js19-in.jsonld new file mode 100644 index 00000000..7da97503 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js19-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "type": "@type" + }, + "ex:foo": { + "type": "@json", + "@value": { + "test": 1 + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js19-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js19-out.nq new file mode 100644 index 00000000..e1018ffa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js19-out.nq @@ -0,0 +1 @@ +_:b0 "{\"test\":1}"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js20-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js20-in.jsonld new file mode 100644 index 00000000..f1799a35 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js20-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "value": "@value" + }, + "ex:foo": { + "@type": "@json", + "value": { + "test": 1 + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js20-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js20-out.nq new file mode 100644 index 00000000..e1018ffa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js20-out.nq @@ -0,0 +1 @@ +_:b0 "{\"test\":1}"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js21-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js21-in.jsonld new file mode 100644 index 00000000..85ccb0cd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js21-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "ex:foo": { + "@type": "@json" + } + }, + "ex:foo": { + "@context": "ex:not:a:context", + "test": 1 + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js21-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js21-out.nq new file mode 100644 index 00000000..eafb23e6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js21-out.nq @@ -0,0 +1 @@ +_:c14n0 "{\"@context\":\"ex:not:a:context\",\"test\":1}"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js22-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js22-in.jsonld new file mode 100644 index 00000000..7d2d4320 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js22-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.org/vocab#null": {"@value": null, "@type": "@json"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js22-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js22-out.nq new file mode 100644 index 00000000..de3cac89 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js22-out.nq @@ -0,0 +1 @@ +_:b0 "null"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js23-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/js23-in.jsonld new file mode 100644 index 00000000..d45cd202 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js23-in.jsonld @@ -0,0 +1,3 @@ +{ + "http://example.org/vocab#null": {"@value": [], "@type": "@json"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/js23-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/js23-out.nq new file mode 100644 index 00000000..e30de539 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/js23-out.nq @@ -0,0 +1 @@ +_:b0 "[]"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/li03-in.jsonld new file mode 100644 index 00000000..f5e78e4d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li03-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [{"@list": ["baz"]}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li03-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/li03-out.nq new file mode 100644 index 00000000..cc8e9567 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li03-out.nq @@ -0,0 +1,5 @@ +_:b0 _:b1 . +_:b1 _:b2 . +_:b1 . +_:b2 "baz" . +_:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li04-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/li04-in.jsonld new file mode 100644 index 00000000..437398a9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li04-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [{"@list": []}] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li04-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/li04-out.nq new file mode 100644 index 00000000..05526458 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li04-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/li05-in.jsonld new file mode 100644 index 00000000..e38ec8ce --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li05-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [["baz"]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li05-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/li05-out.nq new file mode 100644 index 00000000..cc8e9567 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li05-out.nq @@ -0,0 +1,5 @@ +_:b0 _:b1 . +_:b1 _:b2 . +_:b1 . +_:b2 "baz" . +_:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/li06-in.jsonld new file mode 100644 index 00000000..81c8b23e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li06-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [[]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li06-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/li06-out.nq new file mode 100644 index 00000000..05526458 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li06-out.nq @@ -0,0 +1,3 @@ +_:b0 _:b1 . +_:b1 . +_:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li07-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/li07-in.jsonld new file mode 100644 index 00000000..e01353af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li07-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [[["baz"]]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li07-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/li07-out.nq new file mode 100644 index 00000000..37afaabb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li07-out.nq @@ -0,0 +1,7 @@ +_:b0 _:b1 . +_:b1 _:b2 . +_:b1 . +_:b2 _:b3 . +_:b2 . +_:b3 "baz" . +_:b3 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li08-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/li08-in.jsonld new file mode 100644 index 00000000..b14f5623 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li08-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [[[]]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li08-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/li08-out.nq new file mode 100644 index 00000000..cdf4162d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li08-out.nq @@ -0,0 +1,5 @@ +_:b0 _:b1 . +_:b1 _:b2 . +_:b1 . +_:b2 . +_:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li09-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/li09-in.jsonld new file mode 100644 index 00000000..58aea4aa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li09-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [["a"], ["b"]] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li09-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/li09-out.nq new file mode 100644 index 00000000..cee9190a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li09-out.nq @@ -0,0 +1,9 @@ +_:b0 _:b1 . +_:b1 _:b2 . +_:b1 _:b3 . +_:b2 "a" . +_:b2 . +_:b3 _:b4 . +_:b3 . +_:b4 "b" . +_:b4 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li10-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/li10-in.jsonld new file mode 100644 index 00000000..b1db13b1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li10-in.jsonld @@ -0,0 +1,4 @@ +{ + "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, + "foo": [["a"], "b"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/li10-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/li10-out.nq new file mode 100644 index 00000000..bcfd2df2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/li10-out.nq @@ -0,0 +1,7 @@ +_:b0 _:b1 . +_:b1 _:b2 . +_:b1 _:b3 . +_:b2 "a" . +_:b2 . +_:b3 "b" . +_:b3 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m001-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m001-in.jsonld new file mode 100644 index 00000000..81a736c7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m001-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "http://example.org/foo": {"label": "Object with @id "}, + "_:bar": {"label": "Object with @id _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m001-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m001-out.nq new file mode 100644 index 00000000..0a1a5bf9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m001-out.nq @@ -0,0 +1,4 @@ + "Object with @id " . +_:b1 "Object with @id _:bar" . +_:b0 . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m002-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m002-in.jsonld new file mode 100644 index 00000000..1134f16b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m002-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "http://example.org/foo": {"@id": "http://example.org/bar", "label": "Object with @id "}, + "_:bar": {"@id": "_:foo", "label": "Object with @id _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m002-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m002-out.nq new file mode 100644 index 00000000..56e02d91 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m002-out.nq @@ -0,0 +1,4 @@ +_:b1 "Object with @id _:bar" . + "Object with @id " . +_:b0 _:b1 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m003-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m003-in.jsonld new file mode 100644 index 00000000..f79d87a6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m003-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + }, + "typemap": { + "http://example.org/foo": {"label": "Object with @type "}, + "_:bar": {"label": "Object with @type _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m003-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m003-out.nq new file mode 100644 index 00000000..de3e0e51 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m003-out.nq @@ -0,0 +1,6 @@ +_:b1 "Object with @type " . +_:b1 . +_:b2 "Object with @type _:bar" . +_:b2 _:b3 . +_:b0 _:b1 . +_:b0 _:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m004-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m004-in.jsonld new file mode 100644 index 00000000..b75a0ff8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m004-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + }, + "typemap": { + "http://example.org/foo": {"@type": "http://example.org/bar", "label": "Object with @type "}, + "_:bar": {"@type": "_:foo", "label": "Object with @type _:bar"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m004-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m004-out.nq new file mode 100644 index 00000000..41c8b9f4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m004-out.nq @@ -0,0 +1,8 @@ +_:b1 "Object with @type " . +_:b1 . +_:b1 . +_:b2 "Object with @type _:bar" . +_:b2 _:b4 . +_:b2 _:b3 . +_:b0 _:b1 . +_:b0 _:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m005-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m005-in.jsonld new file mode 100644 index 00000000..e7de76b9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m005-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"} + }, + "idmap": { + "foo": {"label": "Object with @id "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m005-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m005-out.nq new file mode 100644 index 00000000..0e387319 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m005-out.nq @@ -0,0 +1,2 @@ + "Object with @id " . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m006-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m006-in.jsonld new file mode 100644 index 00000000..ce359b45 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m006-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"} + }, + "typemap": { + "Foo": {"label": "Object with @type "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m006-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m006-out.nq new file mode 100644 index 00000000..8346c878 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m006-out.nq @@ -0,0 +1,3 @@ +_:b1 "Object with @type " . +_:b1 . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m007-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m007-in.jsonld new file mode 100644 index 00000000..a660b729 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m007-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"}, + "label": "http://example/label" + }, + "typemap": { + "Foo": {"label": "Object with @type "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m007-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m007-out.nq new file mode 100644 index 00000000..8346c878 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m007-out.nq @@ -0,0 +1,3 @@ +_:b1 "Object with @type " . +_:b1 . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m008-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m008-in.jsonld new file mode 100644 index 00000000..3e48d6e6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m008-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"}, + "Type": {"@context": {"a": "http://example.org/a"}} + }, + "typemap": { + "Type": {"a": "Object with @type "} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m008-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m008-out.nq new file mode 100644 index 00000000..d4ad7374 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m008-out.nq @@ -0,0 +1,3 @@ +_:b1 . +_:b1 "Object with @type " . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m009-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m009-in.jsonld new file mode 100644 index 00000000..510a5700 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m009-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + } + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ], + "@none": "The Queen" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m009-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m009-out.nq new file mode 100644 index 00000000..067bd56a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m009-out.nq @@ -0,0 +1,4 @@ + "Ihre Majestät"@de . + "Die Königin"@de . + "The Queen"@en . + "The Queen" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m010-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m010-in.jsonld new file mode 100644 index 00000000..adc8cac3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m010-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "vocab": "http://example.com/vocab/", + "label": { + "@id": "vocab:label", + "@container": "@language" + }, + "none": "@none" + }, + "@id": "http://example.com/queen", + "label": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ], + "none": "The Queen" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m010-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m010-out.nq new file mode 100644 index 00000000..067bd56a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m010-out.nq @@ -0,0 +1,4 @@ + "Ihre Majestät"@de . + "Die Königin"@de . + "The Queen"@en . + "The Queen" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m011-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m011-in.jsonld new file mode 100644 index 00000000..a8ba3723 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m011-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "idmap": {"@container": "@id"}, + "none": "@none" + }, + "idmap": { + "@none": {"label": "Object with no @id"}, + "none": {"label": "Another object with no @id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m011-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m011-out.nq new file mode 100644 index 00000000..7014fb1c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m011-out.nq @@ -0,0 +1,4 @@ +_:b1 "Object with no @id" . +_:b2 "Another object with no @id" . +_:b0 _:b1 . +_:b0 _:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m012-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m012-in.jsonld new file mode 100644 index 00000000..c8bbe0f7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m012-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example/", + "typemap": {"@container": "@type"}, + "none": "@none" + }, + "typemap": { + "@none": {"label": "Object with no @type"}, + "none": {"label": "Another object with no @type"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m012-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m012-out.nq new file mode 100644 index 00000000..a9119472 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m012-out.nq @@ -0,0 +1,4 @@ +_:b1 "Object with no @type" . +_:b2 "Another object with no @type" . +_:b0 _:b1 . +_:b0 _:b2 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m013-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m013-in.jsonld new file mode 100644 index 00000000..545c8c30 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m013-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]} + }, + "input": { + "@none": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m013-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m013-out.nq new file mode 100644 index 00000000..592093b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m013-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m014-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m014-in.jsonld new file mode 100644 index 00000000..a1e454b2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m014-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"]}, + "none": "@none" + }, + "input": { + "none": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m014-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m014-out.nq new file mode 100644 index 00000000..592093b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m014-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m015-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m015-in.jsonld new file mode 100644 index 00000000..6594c8d6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m015-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]} + }, + "input": { + "@none": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m015-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m015-out.nq new file mode 100644 index 00000000..592093b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m015-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m016-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m016-in.jsonld new file mode 100644 index 00000000..13234db1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m016-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@id"]}, + "none": "@none" + }, + "input": { + "none": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m016-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m016-out.nq new file mode 100644 index 00000000..592093b4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m016-out.nq @@ -0,0 +1,2 @@ +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m017-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m017-in.jsonld new file mode 100644 index 00000000..d571678d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m017-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m017-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m017-out.nq new file mode 100644 index 00000000..932449c8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m017-out.nq @@ -0,0 +1,2 @@ + . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m018-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m018-in.jsonld new file mode 100644 index 00000000..7acaba29 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m018-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@type": "@id", "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m018-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m018-out.nq new file mode 100644 index 00000000..932449c8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m018-out.nq @@ -0,0 +1,2 @@ + . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m019-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m019-in.jsonld new file mode 100644 index 00000000..81386dfe --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m019-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@type": "@vocab", "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m019-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/m019-out.nq new file mode 100644 index 00000000..c1be1829 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m019-out.nq @@ -0,0 +1,2 @@ + . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/m020-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/m020-in.jsonld new file mode 100644 index 00000000..4b1a8319 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/m020-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/ns/", + "@base": "http://example.org/base/", + "foo": { "@type": "literal", "@container": "@type" } + }, + "foo": {"bar": "baz"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n001-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/n001-in.jsonld new file mode 100644 index 00000000..f0743058 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n001-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": {"@vocab": "http://example.org/"}, + "p1": "v1", + "@nest": { + "p2": "v2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n001-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/n001-out.nq new file mode 100644 index 00000000..3d0c1ac4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n001-out.nq @@ -0,0 +1,2 @@ +_:b0 "v2" . +_:b0 "v1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n002-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/n002-in.jsonld new file mode 100644 index 00000000..36e57b95 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n002-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest" + }, + "p1": "v1", + "nest": { + "p2": "v2" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n002-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/n002-out.nq new file mode 100644 index 00000000..3d0c1ac4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n002-out.nq @@ -0,0 +1,2 @@ +_:b0 "v2" . +_:b0 "v1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n003-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/n003-in.jsonld new file mode 100644 index 00000000..c1ec9022 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n003-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest" + }, + "p1": "v1", + "nest": { + "p2": "v3" + }, + "p2": "v2" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n003-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/n003-out.nq new file mode 100644 index 00000000..fb46bfbc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n003-out.nq @@ -0,0 +1,3 @@ +_:b0 "v3" . +_:b0 "v2" . +_:b0 "v1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n004-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/n004-in.jsonld new file mode 100644 index 00000000..eeffff0a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n004-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest1": "@nest", + "nest2": "@nest" + }, + "p1": "v1", + "nest2": { + "p2": "v4" + }, + "p2": "v2", + "nest1": { + "p2": "v3" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n004-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/n004-out.nq new file mode 100644 index 00000000..aea95a21 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n004-out.nq @@ -0,0 +1,4 @@ +_:b0 "v3" . +_:b0 "v2" . +_:b0 "v4" . +_:b0 "v1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n005-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/n005-in.jsonld new file mode 100644 index 00000000..a9f39497 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n005-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/" + }, + "p1": "v1", + "@nest": { + "p2": "v3", + "@nest": { + "p2": "v4" + } + }, + "p2": "v2" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n005-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/n005-out.nq new file mode 100644 index 00000000..aea95a21 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n005-out.nq @@ -0,0 +1,4 @@ +_:b0 "v3" . +_:b0 "v2" . +_:b0 "v4" . +_:b0 "v1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n006-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/n006-in.jsonld new file mode 100644 index 00000000..9b02d605 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n006-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest" + }, + "p1": "v1", + "nest": { + "p2": ["v4", "v5"] + }, + "p2": ["v2", "v3"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n006-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/n006-out.nq new file mode 100644 index 00000000..fc944997 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n006-out.nq @@ -0,0 +1,5 @@ +_:b0 "v3" . +_:b0 "v5" . +_:b0 "v2" . +_:b0 "v4" . +_:b0 "v1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n007-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/n007-in.jsonld new file mode 100644 index 00000000..aa9e8468 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n007-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest" + }, + "p1": "v1", + "nest": [{ + "p2": "v4" + }, { + "p2": "v5" + }], + "p2": ["v2", "v3"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n007-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/n007-out.nq new file mode 100644 index 00000000..fc944997 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n007-out.nq @@ -0,0 +1,5 @@ +_:b0 "v3" . +_:b0 "v5" . +_:b0 "v2" . +_:b0 "v4" . +_:b0 "v1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n008-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/n008-in.jsonld new file mode 100644 index 00000000..c598df0f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n008-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "nest": "@nest" + }, + "p1": "v1", + "nest": [ + {"@type": "T1"}, + {"@type": "T2"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/n008-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/n008-out.nq new file mode 100644 index 00000000..37bd46e5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/n008-out.nq @@ -0,0 +1,3 @@ +_:b0 "v1" . +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/p001-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/p001-in.jsonld new file mode 100644 index 00000000..5820b1c8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/p001-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": [ + {"@vocab": "http://example/"}, + {"@version": 1.1, "a": {"@type": "@id"}} + ], + "a": "http://example.org/foo" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/p001-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/p001-out.nq new file mode 100644 index 00000000..0e81d542 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/p001-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/p002-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/p002-in.jsonld new file mode 100644 index 00000000..c221cf91 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/p002-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [ + {"@vocab": "http://example/"}, + {"@version": 1.1, "a": {"@type": "@id"}}, + {"b": {"@type": "@id"}} + ], + "a": "http://example.org/foo", + "b": "http://example.org/bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/p002-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/p002-out.nq new file mode 100644 index 00000000..d829ee53 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/p002-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/p003-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/p003-in.jsonld new file mode 100644 index 00000000..e50ad3c4 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/p003-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": [ + {"@version": 1.1, "a": {"@id": "http://example/a", "@type": "@id"}}, + {"@vocab": "http://example/", "b": {"@type": "@id"}} + ], + "a": "http://example.org/foo", + "b": "http://example.org/bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/p003-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/p003-out.nq new file mode 100644 index 00000000..d829ee53 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/p003-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/p004-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/p004-in.jsonld new file mode 100644 index 00000000..f458decf --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/p004-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": [ + {"@version": 1.1, "a": {"@id": "http://example/a", "@type": "@id"}}, + {"@vocab": "http://example/"}, + {"@version": 1.1, "b": {"@type": "@id"}} + ], + "a": "http://example.org/foo", + "b": "http://example.org/bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/p004-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/p004-out.nq new file mode 100644 index 00000000..d829ee53 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/p004-out.nq @@ -0,0 +1,2 @@ +_:b0 . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi01-in.jsonld new file mode 100644 index 00000000..50e86117 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi01-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "container": {"@container": "@index", "@index": "prop"} + }, + "@id": "http://example.com/annotationsTest", + "container": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi02-in.jsonld new file mode 100644 index 00000000..45f7b965 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi02-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "container": {"@index": "prop"} + }, + "@id": "http://example.com/annotationsTest", + "container": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi03-in.jsonld new file mode 100644 index 00000000..d0803e11 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi03-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "container": { + "@id": "http://example.com/container", + "@container": "@index", + "@index": "@index" + } + }, + "@id": "http://example.com/annotationsTest", + "container": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi04-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi04-in.jsonld new file mode 100644 index 00000000..e30adb37 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi04-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "container": { + "@id": "http://example.com/container", + "@container": "@index", + "@index": true + } + }, + "@id": "http://example.com/annotationsTest", + "container": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi05-in.jsonld new file mode 100644 index 00000000..e9325a44 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi05-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.com/", + "container": { + "@id": "http://example.com/container", + "@container": "@index", + "@index": "prop" + } + }, + "@id": "http://example.com/annotationsTest", + "container": { + "en": "The Queen", + "de": [ "Die Königin", "Ihre Majestät" ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi06-in.jsonld new file mode 100644 index 00000000..c57f9382 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi06-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + }, + "@id": "article", + "author": { + "regular": "person/1", + "guest": ["person/2", "person/3"] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi06-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pi06-out.nq new file mode 100644 index 00000000..72e94c3a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi06-out.nq @@ -0,0 +1,6 @@ + "regular" . + "guest" . + . + . + . + "guest" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi07-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi07-in.jsonld new file mode 100644 index 00000000..e05de77c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi07-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"} + }, + "@id": "article", + "author": { + "regular": {"@id": "person/1", "http://example.com/prop": "foo"}, + "guest": [ + {"@id": "person/2", "prop": "foo"}, + {"@id": "person/3", "prop": "foo"} + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi07-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pi07-out.nq new file mode 100644 index 00000000..f6100dac --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi07-out.nq @@ -0,0 +1,9 @@ + "regular" . + "foo" . + "guest" . + "foo" . + . + . + . + "guest" . + "foo" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi08-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi08-in.jsonld new file mode 100644 index 00000000..17b42ddd --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi08-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"}, + "prop": {"@type": "@vocab"} + }, + "@id": "http://example.com/article", + "author": { + "regular": "person/1", + "guest": ["person/2", "person/3"] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi08-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pi08-out.nq new file mode 100644 index 00000000..038e1082 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi08-out.nq @@ -0,0 +1,6 @@ + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi09-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi09-in.jsonld new file mode 100644 index 00000000..5811c345 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi09-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"}, + "prop": {"@type": "@vocab"} + }, + "@id": "http://example.com/article", + "author": { + "regular": {"@id": "person/1", "prop": "foo"}, + "guest": [ + {"@id": "person/2", "prop": "foo"}, + {"@id": "person/3", "prop": "foo"} + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi09-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pi09-out.nq new file mode 100644 index 00000000..755f2c93 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi09-out.nq @@ -0,0 +1,9 @@ + . + . + . + . + . + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi10-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi10-in.jsonld new file mode 100644 index 00000000..a62aba22 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi10-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "@base": "http://example.com/", + "@vocab": "http://example.com/", + "author": {"@type": "@id", "@container": "@index", "@index": "prop"}, + "prop": {"@type": "@vocab"} + }, + "@id": "http://example.com/article", + "author": { + "@none": {"@id": "person/1"}, + "guest": [ + {"@id": "person/2"}, + {"@id": "person/3"} + ] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi10-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pi10-out.nq new file mode 100644 index 00000000..5cff67e9 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi10-out.nq @@ -0,0 +1,5 @@ + . + . + . + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi11-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pi11-in.jsonld new file mode 100644 index 00000000..e3dd902a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi11-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example.org/", + "input": {"@container": ["@graph", "@index"], "@index": "prop"} + }, + "input": { + "g1": {"value": "x"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pi11-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pi11-out.nq new file mode 100644 index 00000000..65335699 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pi11-out.nq @@ -0,0 +1,3 @@ +_:b1 "g1" . +_:b0 _:b1 . +_:b2 "x" _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr01-in.jsonld new file mode 100644 index 00000000..049d4cf6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr01-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "protected": { + "@protected": true + } + }, + "protected": { + "@context": { + "protected": "http://example.com/something-else" + }, + "protected": "error / property http://example.com/protected" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr02-in.jsonld new file mode 100644 index 00000000..22fe4a86 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr02-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "protected": { + "@protected": true + }, + "unprotected": { + "@protected": false + } + }, + "protected": true, + "unprotected": true, + "scope": { + "@context": { + "unprotected": "http://example.com/something-else" + }, + "unprotected": "property http://example.com/something-else" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr02-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr02-out.nq new file mode 100644 index 00000000..e345bccb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr02-out.nq @@ -0,0 +1,4 @@ +_:b1 "property http://example.com/something-else" . +_:b0 _:b1 . +_:b0 "true"^^ . +_:b0 "true"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr03-in.jsonld new file mode 100644 index 00000000..c0a8aa2a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr03-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "@protected": true, + "protected1": { + "@id": "http://example.com/protected1" + }, + "protected2": { + "@id": "http://example.com/protected2" + } + }, + "protected1": { + "@context": { + "protected1": "http://example.com/something-else", + "protected2": "http://example.com/something-else" + }, + "protected1": "error / property http://example.com/protected1", + "protected2": "error / property http://example.com/protected2" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr04-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr04-in.jsonld new file mode 100644 index 00000000..5adc5228 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr04-in.jsonld @@ -0,0 +1,21 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "@protected": true, + "protected": { + "@id": "http://example.com/protected" + }, + "unprotected": { + "@id": "http://example.com/unprotected", "@protected": false + } + }, + "protected": { + "@context": { + "protected": "http://example.com/something-else1", + "unprotected": "http://example.com/something-else2" + }, + "protected": "error / property http://example.com/protected", + "unprotected": "property http://example.com/something-else2" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr05-in.jsonld new file mode 100644 index 00000000..a7ccf05d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr05-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "@protected": true, + "protected": {"@language": null} + }, + "protected": { + "@context": [ + null, + { + "@vocab": "http://something-else/" + } + ], + "protected": "error / property http://example.com/protected" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr06-in.jsonld new file mode 100644 index 00000000..df894594 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr06-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "@protected": true, + "protected": { + "@type": "@id" + }, + "unprotected": { + "@protected": false, + "@context": null + } + }, + "unprotected": { + "protected": "not expanded, as protected is not a defined term" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr06-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr06-out.nq new file mode 100644 index 00000000..1f7b76aa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr06-out.nq @@ -0,0 +1 @@ +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr08-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr08-in.jsonld new file mode 100644 index 00000000..357c5cee --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr08-in.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "protected": { + "@protected": false + }, + "scope1": { + "@protected": false, + "@context": { + "protected": { + "@id": "http://example.com/something-else" + } + } + }, + "scope2": { + "@protected": true, + "@context": { + "protected": { + "@protected": true + } + } + } + }, + "protected": false, + "scope1": { + "@context": { + "protected": "http://example.com/another-thing" + }, + "protected": "property http://example.com/another-thing" + }, + "scope2": { + "@context": { + "protected": "http://example.com/another-thing" + }, + "protected": "error / property http://example.com/protected" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr09-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr09-in.jsonld new file mode 100644 index 00000000..29895ff3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr09-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "http://example.org/protected1", + "protected2": "http://example.org/protected2" + }, + "protected2": { + "@context": { + "protected1": "http://example.org/something-else" + }, + "protected1": "error / property http://example.org/protected1" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr10-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr10-in.jsonld new file mode 100644 index 00000000..a8933fe3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr10-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "protected": { + "@id": "ex:protected", + "@protected": true + }, + "unprotected": "ex:unprotected" + }, + "protected": "p === ex:protected", + "unprotected": { + "protected": "p === ex:protected" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr10-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr10-out.nq new file mode 100644 index 00000000..3afbc0a3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr10-out.nq @@ -0,0 +1,3 @@ +_:b1 "p === ex:protected" . +_:b0 "p === ex:protected" . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr11-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr11-in.jsonld new file mode 100644 index 00000000..de185630 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr11-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@version": 1.1, + "protected": { + "@id": "ex:protected", + "@protected": true + }, + "unprotected": "ex:unprotected" + }, + "protected": "p === ex:protected", + "unprotected": { + "@context": { + "protected": "ex:protected2" + }, + "protected": "p === ex:protected" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr12-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr12-in.jsonld new file mode 100644 index 00000000..2dc30da6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr12-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": "ex:protected2" + }, + "protected1": "p === ex:protected1", + "protected2": { + "@context": { + "protected1": "ex:protected1:error" + }, + "protected1": "error / p === ex:protected1" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr13-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr13-in.jsonld new file mode 100644 index 00000000..6f8ff006 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr13-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected": "ex:protected", + "unprotected": { + "@id": "ex:unprotected1", + "@protected": false + } + }, + "protected": { + "@context": { + "unprotected": "ex:unprotected2" + }, + "unprotected": "p === ex:unprotected2" + }, + "unprotected": "p === ex:unprotected1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr13-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr13-out.nq new file mode 100644 index 00000000..67169b88 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr13-out.nq @@ -0,0 +1,3 @@ +_:b1 "p === ex:unprotected2" . +_:b0 _:b1 . +_:b0 "p === ex:unprotected1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr14-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr14-in.jsonld new file mode 100644 index 00000000..e88b9ef2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr14-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": { + "@id": "ex:protected2", + "@context": null + } + }, + "protected1": "p === ex:protected1", + "protected2": { + "@context": { + "protected1": "ex:protected3" + }, + "protected1": "p === ex:protected3" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr14-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr14-out.nq new file mode 100644 index 00000000..12700d12 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr14-out.nq @@ -0,0 +1,3 @@ +_:b1 "p === ex:protected3" . +_:b0 _:b1 . +_:b0 "p === ex:protected1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr15-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr15-in.jsonld new file mode 100644 index 00000000..d0cf99b1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr15-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": { + "@id": "ex:protected2", + "@context": [ + null + ] + } + }, + "protected1": "p === ex:protected1", + "protected2": { + "@context": { + "protected1": "ex:protected3" + }, + "protected1": "p === ex:protected3" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr15-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr15-out.nq new file mode 100644 index 00000000..12700d12 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr15-out.nq @@ -0,0 +1,3 @@ +_:b1 "p === ex:protected3" . +_:b0 _:b1 . +_:b0 "p === ex:protected1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr16-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr16-in.jsonld new file mode 100644 index 00000000..61946e01 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr16-in.jsonld @@ -0,0 +1,30 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": { + "@id": "ex:protected2", + "@context": [ + null, + { + "protected1": "ex:protected3", + "unprotected": "ex:unprotected2" + } + ] + }, + "unprotected": { + "@protected": false, + "@id": "ex:unprotected1" + } + }, + "protected1": "p === ex:protected1", + "protected2": { + "@context": { + "protected1": "ex:protected3" + }, + "protected1": "p === ex:protected3", + "unprotected": "p === ex:unprotected2" + }, + "unprotected": "p === ex:unprotected1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr16-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr16-out.nq new file mode 100644 index 00000000..ee059ff8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr16-out.nq @@ -0,0 +1,5 @@ +_:b1 "p === ex:unprotected2" . +_:b1 "p === ex:protected3" . +_:b0 _:b1 . +_:b0 "p === ex:protected1" . +_:b0 "p === ex:unprotected1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr17-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr17-in.jsonld new file mode 100644 index 00000000..e2300354 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr17-in.jsonld @@ -0,0 +1,22 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": "ex:protected2", + "Protected": { + "@id": "ex:Protected", + "@context": [ + null + ] + } + }, + "protected1": "p === protected1", + "protected2": { + "@context": { + "unprotected": "ex:unprotected" + }, + "@type": "Protected", + "unprotected": "error / omitted" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr18-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr18-in.jsonld new file mode 100644 index 00000000..a6648cd6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr18-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected": "ex:protected1", + "Protected": { + "@id": "ex:Protected", + "@context": [ + null, + { + "protected": "ex:protected2" + } + ] + } + }, + "@type": "Protected", + "protected": "error / p === ex:protected1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr19-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr19-in.jsonld new file mode 100644 index 00000000..e418cb12 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr19-in.jsonld @@ -0,0 +1,29 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "protected2": { + "@id": "ex:protected2", + "@context": [ + null, + { + "protected1": "ex:protected3" + } + ] + }, + "unprotected": { + "@protected": false, + "@id": "ex:unprotected1" + } + }, + "protected1": "p === ex:protected1", + "protected2": { + "@context": { + "protected1": "ex:protected3" + }, + "protected1": "p === ex:protected3", + "unprotected": "p === ex:unprotected2" + }, + "unprotected": "p === ex:unprotected1" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr19-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr19-out.nq new file mode 100644 index 00000000..d4856454 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr19-out.nq @@ -0,0 +1,4 @@ +_:b1 "p === ex:protected3" . +_:b0 _:b1 . +_:b0 "p === ex:protected1" . +_:b0 "p === ex:unprotected1" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr20-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr20-in.jsonld new file mode 100644 index 00000000..69edf670 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr20-in.jsonld @@ -0,0 +1,24 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected1": "ex:protected1", + "Protected": { + "@id": "ex:Protected", + "@context": [ + null, + { + "protected1": "ex:protected2", + "unprotected": "ex:unprotected2" + } + ] + }, + "unprotected": { + "@protected": false, + "@id": "ex:unprotected1" + } + }, + "@type": "Protected", + "protected1": "error / p === ex:protected1", + "unprotected": "p === ex:unprotected2" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr21-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr21-in.jsonld new file mode 100644 index 00000000..3be7f54f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr21-in.jsonld @@ -0,0 +1,20 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "protected": "ex:protected", + "Protected": { + "@id": "ex:Protected", + "@context": [ + null + ] + }, + "unprotected": { + "@protected": false, + "@id": "ex:unprotected" + } + }, + "@type": "Protected", + "protected": "error / p === ex:protected", + "unprotected": "missing" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr22-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr22-in.jsonld new file mode 100644 index 00000000..7cd17cb8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr22-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "@vocab": "http://example.com/", + "Parent": {"@context": {"@protected": true, "foo": {"@type": "@id"}}} + }, { + "@version": 1.1, + "@protected": true, + "Child": {"@context": {"@protected": true, "foo": {"@type": "@id"}}} + }], + "@type": "Parent", + "foo": { + "@type": "Child", + "foo": "http://example.com/test" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr22-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr22-out.nq new file mode 100644 index 00000000..67303238 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr22-out.nq @@ -0,0 +1,4 @@ +_:b1 . +_:b1 . +_:b0 . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr23-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr23-in.jsonld new file mode 100644 index 00000000..23f525f3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr23-in.jsonld @@ -0,0 +1,15 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type" + }, { + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type" + }], + "id": "http://example/id", + "type": "http://example/type" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr23-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr23-out.nq new file mode 100644 index 00000000..760a31d0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr23-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr24-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr24-in.jsonld new file mode 100644 index 00000000..ed5af3b3 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr24-in.jsonld @@ -0,0 +1,12 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "foo": "http://example/foo#" + }, { + "@version": 1.1, + "@protected": true, + "foo": "http://example/foo#" + }], + "foo:bar": "foobar" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr24-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr24-out.nq new file mode 100644 index 00000000..68d4841e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr24-out.nq @@ -0,0 +1 @@ +_:b0 "foobar" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr25-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr25-in.jsonld new file mode 100644 index 00000000..02fffd68 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr25-in.jsonld @@ -0,0 +1,141 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type", + "foo": { + "@id": "http://example/foo", + "@container": ["@graph", "@set"] + }, + "bar": { + "@id": "http://example/bar", + "@type": "@id", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Bar": { + "@id": "http://example/Bar", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + }, { + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type", + "foo": { + "@id": "http://example/foo", + "@container": ["@graph", "@set"] + }, + "bar": { + "@id": "http://example/bar", + "@type": "@id", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Bar": { + "@id": "http://example/Bar", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + }], + "type": "Bar", + "foo": [{ + "bar": "http://example/" + }], + "bar-1": { + "bar-2": { + "type": "Foo", + "bar-2": "bar-2" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr25-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr25-out.nq new file mode 100644 index 00000000..dc65b1d1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr25-out.nq @@ -0,0 +1,7 @@ +_:b4 "bar-2" . +_:b4 . +_:b3 _:b4 . +_:b0 . +_:b0 _:b1 . +_:b0 _:b3 . +_:b2 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr26-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr26-in.jsonld new file mode 100644 index 00000000..28f02147 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr26-in.jsonld @@ -0,0 +1,136 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type", + "foo": { + "@id": "http://example/foo", + "@container": ["@graph", "@set"] + }, + "bar": { + "@id": "http://example/bar", + "@type": "@id", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Bar": { + "@id": "http://example/Bar", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + }, { + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type", + "foo": { + "@id": "http://example/foo", + "@container": ["@graph", "@set"] + }, + "bar": { + "@id": "http://example/bar", + "@type": "@id", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Bar": { + "@id": "http://example/Bar", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-1": { + "@id": "http://example/bar-1", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2", + "Foo": { + "@id": "http://example/Foo", + "@context": { + "@version": 1.1, + "@protected": true, + "bar-2": "http://example/bar-2" + } + } + } + } + } + }, + "Foo": { + "@id": "http://example/Foo" + } + }], + "type": "Bar", + "foo": [{ + "bar": "http://example/" + }], + "bar-1": { + "bar-2": { + "type": "Foo", + "bar-2": "bar-2" + } + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr27-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr27-in.jsonld new file mode 100644 index 00000000..27d54470 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr27-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "id": "@id", + "type": "@type" + }, { + "@version": 1.1, + "id": "@id", + "type": "@type" + }], + "id": "http://example/id", + "type": "http://example/type" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr27-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr27-out.nq new file mode 100644 index 00000000..760a31d0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr27-out.nq @@ -0,0 +1 @@ + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr28-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr28-in.jsonld new file mode 100644 index 00000000..f883af3b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr28-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "term": null + }, { + "@version": 1.1, + "term": {"@id": "http://example.com/term"} + }], + "term": "undefined" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr29-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr29-in.jsonld new file mode 100644 index 00000000..e49e6c69 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr29-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "tag": {"@id": "http://example.org/ns/tag/", "@prefix": false} + }, + "tag:champin.net,2019:prop": "This is not treated as a Compact IRI", + "tag": "tricky" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr29-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr29-out.nq new file mode 100644 index 00000000..bd4afcd2 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr29-out.nq @@ -0,0 +1,2 @@ +_:b0 "tricky" . +_:b0 "This is not treated as a Compact IRI" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr30-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr30-in.jsonld new file mode 100644 index 00000000..5744284d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr30-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@version": 1.1, + "id": {"@id": "@id", "@protected": true}, + "type": {"@id" : "@type", "@container": "@set", "@protected" : true}, + "@type": {"@container": "@set", "@protected": true} + }, + "id": "http://example.com/1", + "type": "http://example.org/ns/Foo", + "@type": "http://example.org/ns/Bar" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr30-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr30-out.nq new file mode 100644 index 00000000..52703634 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr30-out.nq @@ -0,0 +1,2 @@ + . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr31-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr31-in.jsonld new file mode 100644 index 00000000..459d335a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr31-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": [{ + "@version": 1.1, + "id": {"@id": "@id", "@protected": true}, + "type": {"@id" : "@type", "@container": "@set", "@protected" : true}, + "@type": {"@container": "@set", "@protected": true} + }, { + "@version": 1.1, + "id": "http://example.com/id" + }], + "id": "http://example.com/1", + "type": ["http://example.org/ns/Foo"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr32-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr32-in.jsonld new file mode 100644 index 00000000..3f287c01 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr32-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": [{ + "@version": 1.1, + "id": {"@id": "@id", "@protected": true}, + "type": {"@id" : "@type", "@container": "@set", "@protected" : true}, + "@type": {"@container": "@set", "@protected": true} + }, { + "@version": 1.1, + "@type": {"@protected": true} + }], + "id": "http://example.com/1", + "type": ["http://example.org/ns/Foo"] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr33-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr33-in.jsonld new file mode 100644 index 00000000..ac9b9e5a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr33-in.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "@version": 1.1, + "foo": { + "@id": "@type", + "@prefix": true + } + }, + "foo:bar": "http://example.org/baz" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr34-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr34-in.jsonld new file mode 100644 index 00000000..18bbf1c7 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr34-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@ignoreMe": "http://example.org/should-ignore" + }, + "@type": "http://example.com/IgnoreTest", + "@ignoreMe": "should not be here" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr34-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr34-out.nq new file mode 100644 index 00000000..13166737 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr34-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr35-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr35-in.jsonld new file mode 100644 index 00000000..0145697e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr35-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "@ignoreMe": "http://example.org/should-ignore" + }, + "@type": "http://example.com/IgnoreTest", + "@ignoreMe": "should not be here" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr35-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr35-out.nq new file mode 100644 index 00000000..13166737 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr35-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr36-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr36-in.jsonld new file mode 100644 index 00000000..bf8fe6cc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr36-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ignoreMe": "@ignoreMe" + }, + "@type": "http://example.com/IgnoreTest", + "ignoreMe": "should not be here" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr36-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr36-out.nq new file mode 100644 index 00000000..13166737 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr36-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr37-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr37-in.jsonld new file mode 100644 index 00000000..b1820a1a --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr37-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "ignoreMe": "@ignoreMe" + }, + "@type": "http://example.com/IgnoreTest", + "ignoreMe": "vocabulary relative" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr37-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr37-out.nq new file mode 100644 index 00000000..6d4162c0 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr37-out.nq @@ -0,0 +1,2 @@ +_:b0 "vocabulary relative" . +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr38-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr38-in.jsonld new file mode 100644 index 00000000..9f4ac1af --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr38-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ignoreMe": {"@reverse": "@ignoreMe"} + }, + "@type": "http://example.com/IgnoreTest", + "ignoreMe": {"http://example.org/text": "should not be here"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr38-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr38-out.nq new file mode 100644 index 00000000..13166737 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr38-out.nq @@ -0,0 +1 @@ +_:b0 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr39-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr39-in.jsonld new file mode 100644 index 00000000..1ea54f7d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr39-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@vocab": "http://example.org/", + "ignoreMe": {"@reverse": "@ignoreMe"} + }, + "@type": "http://example.com/IgnoreTest", + "ignoreMe": {"text": "not reversed"} +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr39-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr39-out.nq new file mode 100644 index 00000000..afdfcf87 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr39-out.nq @@ -0,0 +1,3 @@ +_:b0 . +_:b0 _:b1 . +_:b1 "not reversed" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr40-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/pr40-in.jsonld new file mode 100644 index 00000000..52c7b642 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr40-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@vocab": "http://vocab.org/", + "@protected": true, + "bar": "http://ignored.org/bar", + "foo": { + "@context": { + "bar": "http://example.org/other" + } + } + }, + "@id": "ex:outer", + "foo": { + "@id": "ex:inner", + "bar": "baz" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/pr40-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/pr40-out.nq new file mode 100644 index 00000000..272be077 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/pr40-out.nq @@ -0,0 +1,2 @@ + "baz" . + . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so01-in.jsonld new file mode 100644 index 00000000..7423c425 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so01-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@import": "so01-in.jsonld" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so02-in.jsonld new file mode 100644 index 00000000..a46da56f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so02-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "@import": {} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so03-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so03-in.jsonld new file mode 100644 index 00000000..9b615289 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so03-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@version": 1.1, + "@import": "so03-in.jsonld" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so05-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so05-context.jsonld new file mode 100644 index 00000000..902a3870 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so05-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "baz": {"@id": "http://example.org/baz", "@type": "@vocab"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so05-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so05-in.jsonld new file mode 100644 index 00000000..664c82db --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so05-in.jsonld @@ -0,0 +1,14 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "Foo": { + "@context": { + "@import": "so05-context.jsonld", + "@propagate": true + } + } + }, + "@type": "Foo", + "bar": {"baz": "buzz"} +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so05-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/so05-out.nq new file mode 100644 index 00000000..c72a82cc --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so05-out.nq @@ -0,0 +1,3 @@ +_:b1 . +_:b0 . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so06-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so06-context.jsonld new file mode 100644 index 00000000..5da1e53f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so06-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "baz": {"@id": "http://example.com/baz", "@type": "@id"} + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so06-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so06-in.jsonld new file mode 100644 index 00000000..3b664b9b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so06-in.jsonld @@ -0,0 +1,13 @@ +{ + "@context": { + "@version": 1.1, + "@vocab": "http://example/", + "bar": { + "@context": { + "@import": "so06-context.jsonld", + "@propagate": false + } + } + }, + "bar": {"baz": {"baz": "buzz"}} +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so06-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/so06-out.nq new file mode 100644 index 00000000..69983ed5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so06-out.nq @@ -0,0 +1,3 @@ +_:b2 "buzz" . +_:b1 _:b2 . +_:b0 _:b1 . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so07-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so07-context.jsonld new file mode 100644 index 00000000..7ddb66da --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so07-context.jsonld @@ -0,0 +1,10 @@ +{ + "@context": { + "protected1": { + "@id": "http://example.com/protected1" + }, + "protected2": { + "@id": "http://example.com/protected2" + } + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so07-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so07-in.jsonld new file mode 100644 index 00000000..1d8d5aaa --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so07-in.jsonld @@ -0,0 +1,16 @@ +{ + "@context": { + "@vocab": "http://example.com/", + "@version": 1.1, + "@protected": true, + "@import": "so07-context.jsonld" + }, + "protected1": { + "@context": { + "protected1": "http://example.com/something-else", + "protected2": "http://example.com/something-else" + }, + "protected1": "error / property http://example.com/protected1", + "protected2": "error / property http://example.com/protected2" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so08-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so08-context.jsonld new file mode 100644 index 00000000..3e6660a8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so08-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": "http://example.org/sourced" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so08-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so08-in.jsonld new file mode 100644 index 00000000..bfb50b89 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so08-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@import": "so08-context.jsonld", + "term": "http://example.org/redefined" + }, + "term": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so08-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/so08-out.nq new file mode 100644 index 00000000..7f0e1d3f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so08-out.nq @@ -0,0 +1 @@ +_:b0 "value" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so09-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so09-context.jsonld new file mode 100644 index 00000000..45334dcb --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so09-context.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "http://example.org/source/", + "term": {"@id": "term"} + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so09-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so09-in.jsonld new file mode 100644 index 00000000..f6b52160 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so09-in.jsonld @@ -0,0 +1,8 @@ +{ + "@context": { + "@version": 1.1, + "@import": "so09-context.jsonld", + "@vocab": "http://example.org/redefined/" + }, + "term": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so09-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/so09-out.nq new file mode 100644 index 00000000..73c43c00 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so09-out.nq @@ -0,0 +1 @@ +_:b0 "value" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so10-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so10-context.jsonld new file mode 100644 index 00000000..d36bc5c6 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so10-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": "http://example.org/protected" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so10-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so10-in.jsonld new file mode 100644 index 00000000..ec45ada1 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so10-in.jsonld @@ -0,0 +1,11 @@ +{ + "@context": [{ + "@version": 1.1, + "@protected": true, + "@import": "so10-context.jsonld" + }, { + "term": "http://example.org/unprotected" + }], + "term": "value" +} + \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so11-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so11-context.jsonld new file mode 100644 index 00000000..3e6660a8 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so11-context.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "term": "http://example.org/sourced" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so11-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so11-in.jsonld new file mode 100644 index 00000000..a63f1590 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so11-in.jsonld @@ -0,0 +1,9 @@ +{ + "@context": { + "@version": 1.1, + "@protected": true, + "@import": "so08-context.jsonld", + "term": "http://example.org/redefined" + }, + "term": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so11-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/so11-out.nq new file mode 100644 index 00000000..7f0e1d3f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so11-out.nq @@ -0,0 +1 @@ +_:b0 "value" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so12-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so12-in.jsonld new file mode 100644 index 00000000..00432d2f --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so12-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { + "@import": "so12-in.jsonld" + } +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so13-context.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so13-context.jsonld new file mode 100644 index 00000000..7c984d7c --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so13-context.jsonld @@ -0,0 +1,7 @@ +{ + "@context": [{ + "term": "http://example.org/term" + }, { + "term2": "http://example.org/term2" + }] +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/so13-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/so13-in.jsonld new file mode 100644 index 00000000..ce04701e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/so13-in.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "@version": 1.1, + "@import": "so13-context.jsonld" + }, + "term": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/tn01-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/tn01-in.jsonld new file mode 100644 index 00000000..5e83158e --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/tn01-in.jsonld @@ -0,0 +1,18 @@ +{ + "@context": { + "xsd": "http://www.w3.org/2001/XMLSchema#", + "notype": {"@id": "http://example.com/notype", "@type": "@none"} + }, + "notype": [ + "string", + true, + false, + 1, + 10.0, + {"@value": "plain"}, + {"@value": true, "@type": "xsd:boolean"}, + {"@value": "english", "@language": "en"}, + {"@value": "2018-02-17", "@type": "xsd:date"}, + {"@id": "http://example.com/iri"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/tn02-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/tn02-in.jsonld new file mode 100644 index 00000000..79c40761 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/tn02-in.jsonld @@ -0,0 +1,19 @@ +{ + "@context": { + "@version": 1.1, + "xsd": "http://www.w3.org/2001/XMLSchema#", + "notype": {"@id": "http://example.com/notype", "@type": "@none"} + }, + "notype": [ + "string", + true, + false, + 1, + 10.0, + {"@value": "plain"}, + {"@value": true, "@type": "xsd:boolean"}, + {"@value": "english", "@language": "en"}, + {"@value": "2018-02-17", "@type": "xsd:date"}, + {"@id": "http://example.com/iri"} + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/tn02-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/tn02-out.nq new file mode 100644 index 00000000..72bc2325 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/tn02-out.nq @@ -0,0 +1,9 @@ +_:b0 "string" . +_:b0 "true"^^ . +_:b0 "false"^^ . +_:b0 "10"^^ . +_:b0 "plain" . +_:b0 . +_:b0 "1"^^ . +_:b0 "english"@en . +_:b0 "2018-02-17"^^ . diff --git a/core/src/test/resources/json-ld-api-tests/vocab.html b/core/src/test/resources/json-ld-api-tests/vocab.html index 3a93686b..68d96483 100644 --- a/core/src/test/resources/json-ld-api-tests/vocab.html +++ b/core/src/test/resources/json-ld-api-tests/vocab.html @@ -18,6 +18,11 @@ "dc11:identifier": { "@type": "@id" }, + "requires": { + "@id": "mf:requires", + "@type": "@vocab", + "@container": "@set" + }, "rdfs:subClassOf": { "@type": "@id" }, @@ -30,247 +35,280 @@ }, "@graph": [ { - "@id": "jld:PositiveEvaluationTest", - "rdfs:comment": "A Positive Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) exactly matches the output file specified as `mf:result` (aliased as \"expect\" in test manifest) using the comparison defined in another class. The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class.", - "@type": "rdfs:Class", - "rdfs:label": "Positive Evaluation Test", - "rdfs:subClassOf": "jld:Test" + "@id": "jld:produceGeneralizedRdf", + "rdfs:comment": "Unless the produce generalized RDF flag is set to true, RDF triples containing a blank node predicate are excluded from output.", + "rdfs:range": "xsd:boolean", + "@type": "rdf:Property", + "rdfs:domain": "jld:Option", + "rdfs:label": "produce generalized RDF" }, { - "@id": "jld:Test", - "rdfs:comment": "All JSON-LD tests have an input file referenced using `mf:action` (aliased as \"input\" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using `mf:result` (aliased as \"expect\" in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to \"json-ld-1.1\", unless specified explicitly as a test option.", + "@id": "jld:Option", + "rdfs:comment": "Options passed to the test runner to affect invocation of the appropriate API method.", "@type": "rdfs:Class", - "rdfs:label": "Superclass of all JSON-LD tests" + "rdfs:label": "Processor Options" }, { - "@id": "jld:option", - "rdfs:comment": "Options affecting processing", - "rdfs:range": "jld:Option", - "rdfs:domain": "jld:Test", + "@id": "jld:useRdfType", + "rdfs:comment": "If the _use rdf type_ flag is set to `true`, statements with an `rdf:type` predicate will not use `@type`, but will be transformed as a normal property.", + "rdfs:range": "xsd:boolean", "@type": "rdf:Property", - "rdfs:label": "option" + "rdfs:domain": "jld:Option", + "rdfs:label": "use RDF types" }, { - "@id": "jld:Option", - "rdfs:comment": "Options passed to the test runner to affect invocation of the appropriate API method.", + "@id": "jld:HtmlTest", + "rdfs:comment": "An `HtmlTest` modifies either a `PositiveEvaluationTest` or `NegativeEvaluationTest` indicating that the source is of type text/html, which requires optional _HTML script extraction_ support.", "@type": "rdfs:Class", - "rdfs:label": "Processor Options" + "rdfs:label": "HTML Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:CompactTest", - "rdfs:comment": "A `CompactTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@id": "jld:Test", + "rdfs:comment": "All JSON-LD tests have an input file referenced using `mf:action` (aliased as \"input\" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using `mf:result` (aliased as \"expect\" and \"expectErrorCode\" for respectively Positive and Negative Evaluation Tests in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to \"json-ld-1.1\", unless specified explicitly as a test option.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Compact Evaluation Test" + "rdfs:label": "Superclass of all JSON-LD tests" }, { - "@id": "https://w3c.github.io/json-ld-api/tests/vocab#", - "rdfs:comment": "Manifest vocabulary for JSON-LD test cases", - "dc11:title": "Test case manifest vocabulary extensions", - "dc11:creator": "Gregg Kellogg", - "dc11:publisher": "W3C Linked JSON Community Group", - "dc11:description": "Test case manifest vocabulary extensions", - "dc11:identifier": "https://w3c.github.io/json-ld-api/tests/vocab#", - "dc11:date": "2013-09-23" + "@id": "jld:ExpandTest", + "rdfs:comment": "A `ExpandTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:label": "Expand Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:NegativeEvaluationTest", - "rdfs:comment": "A Negative Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) results in the error identified by the literal value of `mf:result` (aliased as \"expect\" in test manifest). The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class. See the [README](https://w3c.github.io/json-ld-api/tests/) for more details on running tests.", + "@id": "jld:CompactTest", + "rdfs:comment": "A `CompactTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", "@type": "rdfs:Class", - "rdfs:label": "Positive Evaluation Test", + "rdfs:label": "Compact Evaluation Test", "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:useRdfType", - "rdfs:comment": "If the _use rdf type_ flag is set to `true`, statements with an `rdf:type` predicate will not use `@type`, but will be transformed as a normal property.", + "@id": "jld:useJCS", + "rdfs:comment": "Requires the use of JSON Canonicalization Scheme when generating RDF literals from JSON literal values.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "use RDF types" + "rdfs:domain": "jld:Option", + "rdfs:label": "use JCS" }, { - "@id": "jld:ExpandTest", - "rdfs:comment": "A `ExpandTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@id": "jld:PositiveSyntaxTest", + "rdfs:comment": "A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Expand Evaluation Test" + "rdfs:label": "Positive Syntax Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:NegativeSyntaxTest", - "rdfs:comment": "A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error.", + "@id": "jld:NegativeEvaluationTest", + "rdfs:comment": "A Negative Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) results in the error identified by the literal value of `mf:result` (aliased as \"expectErrorCode\" in test manifest). The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class. See the [README](https://w3c.github.io/json-ld-api/tests/) for more details on running tests.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Negative Syntax Test" + "rdfs:label": "Negative Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:compactArrays", - "rdfs:comment": "If set to `true`, the JSON-LD processor replaces arrays with just one element with that element during compaction. If set to false, all arrays will remain arrays even if they have just one element.", - "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", + "@id": "jld:option", + "rdfs:comment": "Options affecting processing", + "rdfs:range": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "compact arrays" + "rdfs:domain": "jld:Test", + "rdfs:label": "option" }, { - "@id": "jld:HttpTest", - "rdfs:comment": "An `HttpTest` modifies either a `PositiveEvaluationTest` or `NegativeEvaluationTest`.", + "@id": "jld:FromRDFTest", + "rdfs:comment": "A `FromRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "HTTP Evaluation Test" + "rdfs:label": "From RDF Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:compactToRelative", - "rdfs:comment": "If set to `false`, the JSON-LD processor will not attempt to compact using document-relative IRIs.", + "@id": "jld:PositiveEvaluationTest", + "rdfs:comment": "A Positive Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) exactly matches the output file specified as `mf:result` (aliased as \"expect\" in test manifest) using the comparison defined in another class. The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class.", + "@type": "rdfs:Class", + "rdfs:label": "Positive Evaluation Test", + "rdfs:subClassOf": "jld:Test" + }, + { + "@id": "https://w3c.github.io/json-ld-api/tests/vocab#", + "dc11:creator": "Gregg Kellogg", + "dc11:title": "Test case manifest vocabulary extensions", + "dc11:identifier": "https://w3c.github.io/json-ld-api/tests/vocab#", + "rdfs:comment": "Manifest vocabulary for JSON-LD test cases", + "dc11:publisher": "W3C Linked JSON Community Group", + "dc11:date": "2013-09-23", + "dc11:description": "Test case manifest vocabulary extensions" + }, + { + "@id": "jld:contentType", + "rdfs:comment": "The HTTP Content-Type used for the input file, in case it is a non-registered type.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "compact to relative" + "rdfs:domain": "jld:Option", + "rdfs:label": "content type" }, { - "@id": "jld:httpStatus", - "rdfs:comment": "The HTTP status code that must be returned when the input file is requested. This is typically used along with the `redirectTo` property.", + "@id": "jld:useNativeTypes", + "rdfs:comment": "If the _use native types_ flag is set to `true`, RDF literals with a datatype IRI that equal `xsd:integer` or `xsd:double` are converted to a JSON numbers and RDF literals with a datatype IRI that equals `xsd:boolean` are converted to `true` or `false` based on their lexical form.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "HTTP status" + "rdfs:domain": "jld:Option", + "rdfs:label": "use native types" }, { - "@id": "jld:FrameTest", - "rdfs:comment": "A `FrameTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@id": "jld:NegativeSyntaxTest", + "rdfs:comment": "A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Frame Evaluation Test" + "rdfs:label": "Negative Syntax Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:PositiveSyntaxTest", - "rdfs:comment": "A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action.", + "@id": "jld:ToRDFTest", + "rdfs:comment": "A `ToRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Positive Syntax Test" + "rdfs:label": "To RDF Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:base", - "rdfs:comment": "The base IRI to use when expanding or compacting the document. If set, this overrides the input document's IRI.", - "rdfs:range": "rdfs:Resource", - "rdfs:domain": "jld:Option", - "@type": "rdf:Property", - "rdfs:label": "base" + "@id": "jld:HttpTest", + "rdfs:comment": "An `HttpTest` modifies either a `PositiveEvaluationTest` or `NegativeEvaluationTest`.", + "@type": "rdfs:Class", + "rdfs:label": "HTTP Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { "@id": "jld:redirectTo", "rdfs:comment": "The location of a URL for redirection. A request made of the input file must be redirected to the designated URL.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", + "rdfs:domain": "jld:Option", "rdfs:label": "redirect to" }, { - "@id": "jld:FlattenTest", - "rdfs:comment": "A `FlattenTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", - "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Flatten Evaluation Test" - }, - { - "@id": "jld:expandContext", - "rdfs:comment": "A context that is used to initialize the active context when expanding a document.", - "rdfs:range": "rdfs:Resource", - "rdfs:domain": "jld:Option", + "@id": "jld:specVersion", + "rdfs:comment": "Indicates the JSON-LD version to which the test applies, rather than the specific processing mode. Values are \"json-ld-1.0\", and \"json-ld-1.1\". If not set, the test is presumed to be valid for all versions of JSON-LD. In cases where results differ between spec versions for the same test, the test will have both a \"1.0\" and \"1.1\" version, for example.", + "rdfs:range": "xsd:string", "@type": "rdf:Property", - "rdfs:label": "expand context" + "rdfs:domain": "jld:Option", + "rdfs:label": "spec version" }, { "@id": "jld:frame", "rdfs:comment": "A frame that is used for transforming the input document.", "rdfs:range": "rdfs:Resource", - "rdfs:domain": "jld:Test", "@type": "rdf:Property", + "rdfs:domain": "jld:Test", "rdfs:label": "input" }, { - "@id": "jld:ToRDFTest", - "rdfs:comment": "A `ToRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", - "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "To RDF Evaluation Test" + "@id": "jld:CompoundLiteral", + "rdfs:comment": "Optional test to serialize text direction using `compound-literal`", + "@type": "mf:Requirement", + "rdfs:label": "CompoundLiteral" }, { - "@id": "jld:httpAccept", - "rdfs:comment": "An HTTP Accept header.", - "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", - "@type": "rdf:Property", - "rdfs:label": "HTTP Accept" + "@id": "jld:GeneralizedRdf", + "rdfs:comment": "Test generates Generalized RDF", + "@type": "mf:Requirement", + "rdfs:label": "GeneralizedRdf" }, { - "@id": "jld:FromRDFTest", - "rdfs:comment": "A `FromRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", - "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "From RDF Evaluation Test" + "@id": "jld:expandContext", + "rdfs:comment": "A context that is used to initialize the active context when expanding a document.", + "rdfs:range": "rdfs:Resource", + "@type": "rdf:Property", + "rdfs:domain": "jld:Option", + "rdfs:label": "expand context" }, { - "@id": "jld:useNativeTypes", - "rdfs:comment": "If the _use native types_ flag is set to `true`, RDF literals with a datatype IRI that equal `xsd:integer` or `xsd:double` are converted to a JSON numbers and RDF literals with a datatype IRI that equals `xsd:boolean` are converted to `true` or `false` based on their lexical form.", + "@id": "jld:httpStatus", + "rdfs:comment": "The HTTP status code that must be returned when the input file is requested. This is typically used along with the `redirectTo` property.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "use native types" + "rdfs:domain": "jld:Option", + "rdfs:label": "HTTP status" }, { - "@id": "jld:context", - "rdfs:comment": "A context that is used for transforming the input document.", + "@id": "jld:FlattenTest", + "rdfs:comment": "A `FlattenTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:label": "Flatten Evaluation Test", + "rdfs:subClassOf": "jld:Test" + }, + { + "@id": "jld:input", + "rdfs:comment": "Secondary input file", "rdfs:range": "rdfs:Resource", - "rdfs:domain": "jld:Test", "@type": "rdf:Property", - "rdfs:label": "context" + "rdfs:domain": "jld:Test", + "rdfs:label": "input" }, { - "@id": "jld:contentType", - "rdfs:comment": "The HTTP Content-Type used for the input file, in case it is a non-registered type.", + "@id": "jld:compactArrays", + "rdfs:comment": "If set to `true`, the JSON-LD processor replaces arrays with just one element with that element during compaction. If set to false, all arrays will remain arrays even if they have just one element.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "content type" + "rdfs:domain": "jld:Option", + "rdfs:label": "compact arrays" }, { - "@id": "jld:produceGeneralizedRdf", - "rdfs:comment": "Unless the produce generalized RDF flag is set to true, RDF triples containing a blank node predicate are excluded from output.", - "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", + "@id": "jld:base", + "rdfs:comment": "The base IRI to use when expanding or compacting the document. If set, this overrides the input document's IRI.", + "rdfs:range": "rdfs:Resource", "@type": "rdf:Property", - "rdfs:label": "produce generalized RDF" + "rdfs:domain": "jld:Option", + "rdfs:label": "base" }, { - "@id": "jld:specVersion", - "rdfs:comment": "Indicates the JSON-LD version to which the test applies, rather than the specific processing mode. Values are \"json-ld-1.0\", and \"json-ld-1.1\". If not set, the test is presumed to be valid for all versions of JSON-LD. In cases where results differ between spec versions for the same test, the test will have both a \"1.0\" and \"1.1\" version, for example.", - "rdfs:range": "xsd:string", - "rdfs:domain": "jld:Option", - "@type": "rdf:Property", - "rdfs:label": "spec version" + "@id": "jld:I18nDatatype", + "rdfs:comment": "Optional test to serialize text direction using `i18n-datatype`", + "@type": "mf:Requirement", + "rdfs:label": "I18nDatatype" }, { - "@id": "jld:input", - "rdfs:comment": "Secondary input file", - "rdfs:range": "rdfs:Resource", - "rdfs:domain": "jld:Test", + "@id": "jld:FrameTest", + "rdfs:comment": "A `FrameTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:label": "Frame Evaluation Test", + "rdfs:subClassOf": "jld:Test" + }, + { + "@id": "jld:compactToRelative", + "rdfs:comment": "If set to `false`, the JSON-LD processor will not attempt to compact using document-relative IRIs.", + "rdfs:range": "xsd:boolean", "@type": "rdf:Property", - "rdfs:label": "input" + "rdfs:domain": "jld:Option", + "rdfs:label": "compact to relative" }, { "@id": "jld:httpLink", "rdfs:comment": "An HTTP Link header to be added to the result of requesting the input file.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", + "rdfs:domain": "jld:Option", "rdfs:label": "HTTP link" }, + { + "@id": "jld:httpAccept", + "rdfs:comment": "An HTTP Accept header.", + "rdfs:range": "xsd:boolean", + "@type": "rdf:Property", + "rdfs:domain": "jld:Option", + "rdfs:label": "HTTP Accept" + }, { "@id": "jld:processingMode", "rdfs:comment": "If set to \"json-ld-1.1\", the JSON-LD processor must produce exactly the same results as the algorithms defined in this specification. If set to another value, the JSON-LD processor is allowed to extend or modify the algorithms defined in this specification to enable application-specific optimizations. The definition of such optimizations is beyond the scope of this specification and thus not defined. Consequently, different implementations may implement different optimizations. Developers must not define modes beginning with json-ld as they are reserved for future versions of this specification.", "rdfs:range": "xsd:string", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", + "rdfs:domain": "jld:Option", "rdfs:label": "processing mode" + }, + { + "@id": "jld:context", + "rdfs:comment": "A context that is used for transforming the input document.", + "rdfs:range": "rdfs:Resource", + "@type": "rdf:Property", + "rdfs:domain": "jld:Test", + "rdfs:label": "context" } ] } @@ -287,43 +325,60 @@

Test case manifest vocabulary extensions

Test Case Classes

-
Compact Evaluation Test
+
Compact Evaluation Test +(jld:CompactTest)

A CompactTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

-
Expand Evaluation Test
+
Expand Evaluation Test +(jld:ExpandTest)

A ExpandTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

-
Flatten Evaluation Test
+
Flatten Evaluation Test +(jld:FlattenTest)

A FlattenTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

-
Frame Evaluation Test
+
Frame Evaluation Test +(jld:FrameTest)

A FrameTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

-
From RDF Evaluation Test
+
From RDF Evaluation Test +(jld:FromRDFTest)

A FromRDFTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

-
HTTP Evaluation Test
+
HTML Evaluation Test +(jld:HtmlTest)
+

An HtmlTest modifies either a PositiveEvaluationTest or NegativeEvaluationTest indicating that the source is of type text/html, which requires optional HTML script extraction support.

+
+
HTTP Evaluation Test +(jld:HttpTest)

An HttpTest modifies either a PositiveEvaluationTest or NegativeEvaluationTest.

-
Negative Syntax Test
+
Negative Evaluation Test +(jld:NegativeEvaluationTest)
+

A Negative Evaluation test is successful when the result of processing the input file specified as mf:action (aliased as "input" in test manifest) results in the error identified by the literal value of mf:result (aliased as "expectErrorCode" in test manifest). The specifics of invoking test, including the interpretation of options (:option) and other input files are specified through another class. See the README for more details on running tests.

+
+
Negative Syntax Test +(jld:NegativeSyntaxTest)

A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error.

-
Positive Evaluation Test
+
Positive Evaluation Test +(jld:PositiveEvaluationTest)

A Positive Evaluation test is successful when the result of processing the input file specified as mf:action (aliased as "input" in test manifest) exactly matches the output file specified as mf:result (aliased as "expect" in test manifest) using the comparison defined in another class. The specifics of invoking test, including the interpretation of options (:option) and other input files are specified through another class.

-
Positive Evaluation Test
-

A Negative Evaluation test is successful when the result of processing the input file specified as mf:action (aliased as "input" in test manifest) results in the error identified by the literal value of mf:result (aliased as "expect" in test manifest). The specifics of invoking test, including the interpretation of options (:option) and other input files are specified through another class. See the README for more details on running tests.

-
-
Positive Syntax Test
+
Positive Syntax Test +(jld:PositiveSyntaxTest)

A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action.

-
Processor Options
+
Processor Options +(jld:Option)

Options passed to the test runner to affect invocation of the appropriate API method.

-
Superclass of all JSON-LD tests
-

All JSON-LD tests have an input file referenced using mf:action (aliased as "input" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using mf:result (aliased as "expect" in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to "json-ld-1.1", unless specified explicitly as a test option.

+
Superclass of all JSON-LD tests +(jld:Test)
+

All JSON-LD tests have an input file referenced using mf:action (aliased as "input" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using mf:result (aliased as "expect" and "expectErrorCode" for respectively Positive and Negative Evaluation Tests in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to "json-ld-1.1", unless specified explicitly as a test option.

-
To RDF Evaluation Test
+
To RDF Evaluation Test +(jld:ToRDFTest)

A ToRDFTest modifies either a PositiveEvaluationTest, NegativeEvaluationTest, PositiveSyntaxTest or NegativeSyntaxTest.

@@ -331,59 +386,212 @@

Test Case Classes

Test Case Properties

-
HTTP Accept
+
HTTP Accept +(jld:httpAccept)

An HTTP Accept header.

-
-
HTTP link
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
HTTP link +(jld:httpLink)

An HTTP Link header to be added to the result of requesting the input file.

-
-
HTTP status
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
HTTP status +(jld:httpStatus)

The HTTP status code that must be returned when the input file is requested. This is typically used along with the redirectTo property.

-
-
base
-

The base IRI to use when expanding or compacting the document. If set, this overrides the input document's IRI.

-
-
compact arrays
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
base +(jld:base)
+

The base IRI to use when expanding or compacting the document. If set, this overrides the input document's IRI.

+ +
+
Domain
+
jld:Option
+
Range
+
rdfs:Resource
+
+
compact arrays +(jld:compactArrays)

If set to true, the JSON-LD processor replaces arrays with just one element with that element during compaction. If set to false, all arrays will remain arrays even if they have just one element.

-
-
compact to relative
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
compact to relative +(jld:compactToRelative)

If set to false, the JSON-LD processor will not attempt to compact using document-relative IRIs.

-
-
content type
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
content type +(jld:contentType)

The HTTP Content-Type used for the input file, in case it is a non-registered type.

-
-
context
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
context +(jld:context)

A context that is used for transforming the input document.

-
-
expand context
+ +
+
Domain
+
jld:Test
+
Range
+
rdfs:Resource
+
+
expand context +(jld:expandContext)

A context that is used to initialize the active context when expanding a document.

-
-
input
+ +
+
Domain
+
jld:Option
+
Range
+
rdfs:Resource
+
+
input +(jld:frame)

A frame that is used for transforming the input document.

-
-
input
+ +
+
Domain
+
jld:Test
+
Range
+
rdfs:Resource
+
+
input +(jld:input)

Secondary input file

-
-
option
+ +
+
Domain
+
jld:Test
+
Range
+
rdfs:Resource
+
+
option +(jld:option)

Options affecting processing

-
-
processing mode
+ +
+
Domain
+
jld:Test
+
Range
+
jld:Option
+
+
processing mode +(jld:processingMode)

If set to "json-ld-1.1", the JSON-LD processor must produce exactly the same results as the algorithms defined in this specification. If set to another value, the JSON-LD processor is allowed to extend or modify the algorithms defined in this specification to enable application-specific optimizations. The definition of such optimizations is beyond the scope of this specification and thus not defined. Consequently, different implementations may implement different optimizations. Developers must not define modes beginning with json-ld as they are reserved for future versions of this specification.

-
-
produce generalized RDF
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:string
+
+
produce generalized RDF +(jld:produceGeneralizedRdf)

Unless the produce generalized RDF flag is set to true, RDF triples containing a blank node predicate are excluded from output.

-
-
redirect to
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
redirect to +(jld:redirectTo)

The location of a URL for redirection. A request made of the input file must be redirected to the designated URL.

-
-
spec version
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
spec version +(jld:specVersion)

Indicates the JSON-LD version to which the test applies, rather than the specific processing mode. Values are "json-ld-1.0", and "json-ld-1.1". If not set, the test is presumed to be valid for all versions of JSON-LD. In cases where results differ between spec versions for the same test, the test will have both a "1.0" and "1.1" version, for example.

-
-
use RDF types
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:string
+
+
use JCS +(jld:useJCS)
+

Requires the use of JSON Canonicalization Scheme when generating RDF literals from JSON literal values.

+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
use RDF types +(jld:useRdfType)

If the use rdf type flag is set to true, statements with an rdf:type predicate will not use @type, but will be transformed as a normal property.

-
-
use native types
+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
use native types +(jld:useNativeTypes)

If the use native types flag is set to true, RDF literals with a datatype IRI that equal xsd:integer or xsd:double are converted to a JSON numbers and RDF literals with a datatype IRI that equals xsd:boolean are converted to true or false based on their lexical form.

+ +
+
Domain
+
jld:Option
+
Range
+
xsd:boolean
+
+
+
+
+

Requirements

+
+
CompoundLiteral +(jld:CompoundLiteral)
+

Optional test to serialize text direction using compound-literal

+
+
GeneralizedRdf +(jld:GeneralizedRdf)
+

Test generates Generalized RDF

+
+
I18nDatatype +(jld:I18nDatatype)
+

Optional test to serialize text direction using i18n-datatype

diff --git a/core/src/test/resources/json-ld-api-tests/vocab.jsonld b/core/src/test/resources/json-ld-api-tests/vocab.jsonld index 425496c5..23362a5a 100644 --- a/core/src/test/resources/json-ld-api-tests/vocab.jsonld +++ b/core/src/test/resources/json-ld-api-tests/vocab.jsonld @@ -12,6 +12,11 @@ "dc11:identifier": { "@type": "@id" }, + "requires": { + "@id": "mf:requires", + "@type": "@vocab", + "@container": "@set" + }, "rdfs:subClassOf": { "@type": "@id" }, @@ -24,247 +29,280 @@ }, "@graph": [ { - "@id": "jld:PositiveEvaluationTest", - "rdfs:comment": "A Positive Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) exactly matches the output file specified as `mf:result` (aliased as \"expect\" in test manifest) using the comparison defined in another class. The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class.", - "@type": "rdfs:Class", - "rdfs:label": "Positive Evaluation Test", - "rdfs:subClassOf": "jld:Test" + "@id": "jld:produceGeneralizedRdf", + "rdfs:comment": "Unless the produce generalized RDF flag is set to true, RDF triples containing a blank node predicate are excluded from output.", + "rdfs:range": "xsd:boolean", + "@type": "rdf:Property", + "rdfs:domain": "jld:Option", + "rdfs:label": "produce generalized RDF" }, { - "@id": "jld:Test", - "rdfs:comment": "All JSON-LD tests have an input file referenced using `mf:action` (aliased as \"input\" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using `mf:result` (aliased as \"expect\" in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to \"json-ld-1.1\", unless specified explicitly as a test option.", + "@id": "jld:Option", + "rdfs:comment": "Options passed to the test runner to affect invocation of the appropriate API method.", "@type": "rdfs:Class", - "rdfs:label": "Superclass of all JSON-LD tests" + "rdfs:label": "Processor Options" }, { - "@id": "jld:option", - "rdfs:comment": "Options affecting processing", - "rdfs:range": "jld:Option", - "rdfs:domain": "jld:Test", + "@id": "jld:useRdfType", + "rdfs:comment": "If the _use rdf type_ flag is set to `true`, statements with an `rdf:type` predicate will not use `@type`, but will be transformed as a normal property.", + "rdfs:range": "xsd:boolean", "@type": "rdf:Property", - "rdfs:label": "option" + "rdfs:domain": "jld:Option", + "rdfs:label": "use RDF types" }, { - "@id": "jld:Option", - "rdfs:comment": "Options passed to the test runner to affect invocation of the appropriate API method.", + "@id": "jld:HtmlTest", + "rdfs:comment": "An `HtmlTest` modifies either a `PositiveEvaluationTest` or `NegativeEvaluationTest` indicating that the source is of type text/html, which requires optional _HTML script extraction_ support.", "@type": "rdfs:Class", - "rdfs:label": "Processor Options" + "rdfs:label": "HTML Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:CompactTest", - "rdfs:comment": "A `CompactTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@id": "jld:Test", + "rdfs:comment": "All JSON-LD tests have an input file referenced using `mf:action` (aliased as \"input\" in test manifest). Positive and Negative Evaluation Tests also have a result file referenced using `mf:result` (aliased as \"expect\" and \"expectErrorCode\" for respectively Positive and Negative Evaluation Tests in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to \"json-ld-1.1\", unless specified explicitly as a test option.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Compact Evaluation Test" + "rdfs:label": "Superclass of all JSON-LD tests" }, { - "@id": "https://w3c.github.io/json-ld-api/tests/vocab#", - "rdfs:comment": "Manifest vocabulary for JSON-LD test cases", - "dc11:title": "Test case manifest vocabulary extensions", - "dc11:creator": "Gregg Kellogg", - "dc11:publisher": "W3C Linked JSON Community Group", - "dc11:description": "Test case manifest vocabulary extensions", - "dc11:identifier": "https://w3c.github.io/json-ld-api/tests/vocab#", - "dc11:date": "2013-09-23" + "@id": "jld:ExpandTest", + "rdfs:comment": "A `ExpandTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:label": "Expand Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:NegativeEvaluationTest", - "rdfs:comment": "A Negative Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) results in the error identified by the literal value of `mf:result` (aliased as \"expect\" in test manifest). The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class. See the [README](https://w3c.github.io/json-ld-api/tests/) for more details on running tests.", + "@id": "jld:CompactTest", + "rdfs:comment": "A `CompactTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", "@type": "rdfs:Class", - "rdfs:label": "Positive Evaluation Test", + "rdfs:label": "Compact Evaluation Test", "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:useRdfType", - "rdfs:comment": "If the _use rdf type_ flag is set to `true`, statements with an `rdf:type` predicate will not use `@type`, but will be transformed as a normal property.", + "@id": "jld:useJCS", + "rdfs:comment": "Requires the use of JSON Canonicalization Scheme when generating RDF literals from JSON literal values.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "use RDF types" + "rdfs:domain": "jld:Option", + "rdfs:label": "use JCS" }, { - "@id": "jld:ExpandTest", - "rdfs:comment": "A `ExpandTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@id": "jld:PositiveSyntaxTest", + "rdfs:comment": "A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Expand Evaluation Test" + "rdfs:label": "Positive Syntax Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:NegativeSyntaxTest", - "rdfs:comment": "A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error.", + "@id": "jld:NegativeEvaluationTest", + "rdfs:comment": "A Negative Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) results in the error identified by the literal value of `mf:result` (aliased as \"expectErrorCode\" in test manifest). The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class. See the [README](https://w3c.github.io/json-ld-api/tests/) for more details on running tests.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Negative Syntax Test" + "rdfs:label": "Negative Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:compactArrays", - "rdfs:comment": "If set to `true`, the JSON-LD processor replaces arrays with just one element with that element during compaction. If set to false, all arrays will remain arrays even if they have just one element.", - "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", + "@id": "jld:option", + "rdfs:comment": "Options affecting processing", + "rdfs:range": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "compact arrays" + "rdfs:domain": "jld:Test", + "rdfs:label": "option" }, { - "@id": "jld:HttpTest", - "rdfs:comment": "An `HttpTest` modifies either a `PositiveEvaluationTest` or `NegativeEvaluationTest`.", + "@id": "jld:FromRDFTest", + "rdfs:comment": "A `FromRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "HTTP Evaluation Test" + "rdfs:label": "From RDF Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:compactToRelative", - "rdfs:comment": "If set to `false`, the JSON-LD processor will not attempt to compact using document-relative IRIs.", + "@id": "jld:PositiveEvaluationTest", + "rdfs:comment": "A Positive Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as \"input\" in test manifest) exactly matches the output file specified as `mf:result` (aliased as \"expect\" in test manifest) using the comparison defined in another class. The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class.", + "@type": "rdfs:Class", + "rdfs:label": "Positive Evaluation Test", + "rdfs:subClassOf": "jld:Test" + }, + { + "@id": "https://w3c.github.io/json-ld-api/tests/vocab#", + "dc11:creator": "Gregg Kellogg", + "dc11:title": "Test case manifest vocabulary extensions", + "dc11:identifier": "https://w3c.github.io/json-ld-api/tests/vocab#", + "rdfs:comment": "Manifest vocabulary for JSON-LD test cases", + "dc11:publisher": "W3C Linked JSON Community Group", + "dc11:date": "2013-09-23", + "dc11:description": "Test case manifest vocabulary extensions" + }, + { + "@id": "jld:contentType", + "rdfs:comment": "The HTTP Content-Type used for the input file, in case it is a non-registered type.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "compact to relative" + "rdfs:domain": "jld:Option", + "rdfs:label": "content type" }, { - "@id": "jld:httpStatus", - "rdfs:comment": "The HTTP status code that must be returned when the input file is requested. This is typically used along with the `redirectTo` property.", + "@id": "jld:useNativeTypes", + "rdfs:comment": "If the _use native types_ flag is set to `true`, RDF literals with a datatype IRI that equal `xsd:integer` or `xsd:double` are converted to a JSON numbers and RDF literals with a datatype IRI that equals `xsd:boolean` are converted to `true` or `false` based on their lexical form.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "HTTP status" + "rdfs:domain": "jld:Option", + "rdfs:label": "use native types" }, { - "@id": "jld:FrameTest", - "rdfs:comment": "A `FrameTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@id": "jld:NegativeSyntaxTest", + "rdfs:comment": "A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action. Negative syntax tests are tests of which the result should be a parser error.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Frame Evaluation Test" + "rdfs:label": "Negative Syntax Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:PositiveSyntaxTest", - "rdfs:comment": "A type of test specifically for syntax testing. Syntax tests are not required to have an associated result, only an action.", + "@id": "jld:ToRDFTest", + "rdfs:comment": "A `ToRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Positive Syntax Test" + "rdfs:label": "To RDF Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { - "@id": "jld:base", - "rdfs:comment": "The base IRI to use when expanding or compacting the document. If set, this overrides the input document's IRI.", - "rdfs:range": "rdfs:Resource", - "rdfs:domain": "jld:Option", - "@type": "rdf:Property", - "rdfs:label": "base" + "@id": "jld:HttpTest", + "rdfs:comment": "An `HttpTest` modifies either a `PositiveEvaluationTest` or `NegativeEvaluationTest`.", + "@type": "rdfs:Class", + "rdfs:label": "HTTP Evaluation Test", + "rdfs:subClassOf": "jld:Test" }, { "@id": "jld:redirectTo", "rdfs:comment": "The location of a URL for redirection. A request made of the input file must be redirected to the designated URL.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", + "rdfs:domain": "jld:Option", "rdfs:label": "redirect to" }, { - "@id": "jld:FlattenTest", - "rdfs:comment": "A `FlattenTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", - "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "Flatten Evaluation Test" - }, - { - "@id": "jld:expandContext", - "rdfs:comment": "A context that is used to initialize the active context when expanding a document.", - "rdfs:range": "rdfs:Resource", - "rdfs:domain": "jld:Option", + "@id": "jld:specVersion", + "rdfs:comment": "Indicates the JSON-LD version to which the test applies, rather than the specific processing mode. Values are \"json-ld-1.0\", and \"json-ld-1.1\". If not set, the test is presumed to be valid for all versions of JSON-LD. In cases where results differ between spec versions for the same test, the test will have both a \"1.0\" and \"1.1\" version, for example.", + "rdfs:range": "xsd:string", "@type": "rdf:Property", - "rdfs:label": "expand context" + "rdfs:domain": "jld:Option", + "rdfs:label": "spec version" }, { "@id": "jld:frame", "rdfs:comment": "A frame that is used for transforming the input document.", "rdfs:range": "rdfs:Resource", - "rdfs:domain": "jld:Test", "@type": "rdf:Property", + "rdfs:domain": "jld:Test", "rdfs:label": "input" }, { - "@id": "jld:ToRDFTest", - "rdfs:comment": "A `ToRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", - "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "To RDF Evaluation Test" + "@id": "jld:CompoundLiteral", + "rdfs:comment": "Optional test to serialize text direction using `compound-literal`", + "@type": "mf:Requirement", + "rdfs:label": "CompoundLiteral" }, { - "@id": "jld:httpAccept", - "rdfs:comment": "An HTTP Accept header.", - "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", - "@type": "rdf:Property", - "rdfs:label": "HTTP Accept" + "@id": "jld:GeneralizedRdf", + "rdfs:comment": "Test generates Generalized RDF", + "@type": "mf:Requirement", + "rdfs:label": "GeneralizedRdf" }, { - "@id": "jld:FromRDFTest", - "rdfs:comment": "A `FromRDFTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", - "@type": "rdfs:Class", - "rdfs:subClassOf": "jld:Test", - "rdfs:label": "From RDF Evaluation Test" + "@id": "jld:expandContext", + "rdfs:comment": "A context that is used to initialize the active context when expanding a document.", + "rdfs:range": "rdfs:Resource", + "@type": "rdf:Property", + "rdfs:domain": "jld:Option", + "rdfs:label": "expand context" }, { - "@id": "jld:useNativeTypes", - "rdfs:comment": "If the _use native types_ flag is set to `true`, RDF literals with a datatype IRI that equal `xsd:integer` or `xsd:double` are converted to a JSON numbers and RDF literals with a datatype IRI that equals `xsd:boolean` are converted to `true` or `false` based on their lexical form.", + "@id": "jld:httpStatus", + "rdfs:comment": "The HTTP status code that must be returned when the input file is requested. This is typically used along with the `redirectTo` property.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "use native types" + "rdfs:domain": "jld:Option", + "rdfs:label": "HTTP status" }, { - "@id": "jld:context", - "rdfs:comment": "A context that is used for transforming the input document.", + "@id": "jld:FlattenTest", + "rdfs:comment": "A `FlattenTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:label": "Flatten Evaluation Test", + "rdfs:subClassOf": "jld:Test" + }, + { + "@id": "jld:input", + "rdfs:comment": "Secondary input file", "rdfs:range": "rdfs:Resource", - "rdfs:domain": "jld:Test", "@type": "rdf:Property", - "rdfs:label": "context" + "rdfs:domain": "jld:Test", + "rdfs:label": "input" }, { - "@id": "jld:contentType", - "rdfs:comment": "The HTTP Content-Type used for the input file, in case it is a non-registered type.", + "@id": "jld:compactArrays", + "rdfs:comment": "If set to `true`, the JSON-LD processor replaces arrays with just one element with that element during compaction. If set to false, all arrays will remain arrays even if they have just one element.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", - "rdfs:label": "content type" + "rdfs:domain": "jld:Option", + "rdfs:label": "compact arrays" }, { - "@id": "jld:produceGeneralizedRdf", - "rdfs:comment": "Unless the produce generalized RDF flag is set to true, RDF triples containing a blank node predicate are excluded from output.", - "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", + "@id": "jld:base", + "rdfs:comment": "The base IRI to use when expanding or compacting the document. If set, this overrides the input document's IRI.", + "rdfs:range": "rdfs:Resource", "@type": "rdf:Property", - "rdfs:label": "produce generalized RDF" + "rdfs:domain": "jld:Option", + "rdfs:label": "base" }, { - "@id": "jld:specVersion", - "rdfs:comment": "Indicates the JSON-LD version to which the test applies, rather than the specific processing mode. Values are \"json-ld-1.0\", and \"json-ld-1.1\". If not set, the test is presumed to be valid for all versions of JSON-LD. In cases where results differ between spec versions for the same test, the test will have both a \"1.0\" and \"1.1\" version, for example.", - "rdfs:range": "xsd:string", - "rdfs:domain": "jld:Option", - "@type": "rdf:Property", - "rdfs:label": "spec version" + "@id": "jld:I18nDatatype", + "rdfs:comment": "Optional test to serialize text direction using `i18n-datatype`", + "@type": "mf:Requirement", + "rdfs:label": "I18nDatatype" }, { - "@id": "jld:input", - "rdfs:comment": "Secondary input file", - "rdfs:range": "rdfs:Resource", - "rdfs:domain": "jld:Test", + "@id": "jld:FrameTest", + "rdfs:comment": "A `FrameTest` modifies either a `PositiveEvaluationTest`, `NegativeEvaluationTest`, `PositiveSyntaxTest` or `NegativeSyntaxTest`.", + "@type": "rdfs:Class", + "rdfs:label": "Frame Evaluation Test", + "rdfs:subClassOf": "jld:Test" + }, + { + "@id": "jld:compactToRelative", + "rdfs:comment": "If set to `false`, the JSON-LD processor will not attempt to compact using document-relative IRIs.", + "rdfs:range": "xsd:boolean", "@type": "rdf:Property", - "rdfs:label": "input" + "rdfs:domain": "jld:Option", + "rdfs:label": "compact to relative" }, { "@id": "jld:httpLink", "rdfs:comment": "An HTTP Link header to be added to the result of requesting the input file.", "rdfs:range": "xsd:boolean", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", + "rdfs:domain": "jld:Option", "rdfs:label": "HTTP link" }, + { + "@id": "jld:httpAccept", + "rdfs:comment": "An HTTP Accept header.", + "rdfs:range": "xsd:boolean", + "@type": "rdf:Property", + "rdfs:domain": "jld:Option", + "rdfs:label": "HTTP Accept" + }, { "@id": "jld:processingMode", "rdfs:comment": "If set to \"json-ld-1.1\", the JSON-LD processor must produce exactly the same results as the algorithms defined in this specification. If set to another value, the JSON-LD processor is allowed to extend or modify the algorithms defined in this specification to enable application-specific optimizations. The definition of such optimizations is beyond the scope of this specification and thus not defined. Consequently, different implementations may implement different optimizations. Developers must not define modes beginning with json-ld as they are reserved for future versions of this specification.", "rdfs:range": "xsd:string", - "rdfs:domain": "jld:Option", "@type": "rdf:Property", + "rdfs:domain": "jld:Option", "rdfs:label": "processing mode" + }, + { + "@id": "jld:context", + "rdfs:comment": "A context that is used for transforming the input document.", + "rdfs:range": "rdfs:Resource", + "@type": "rdf:Property", + "rdfs:domain": "jld:Test", + "rdfs:label": "context" } ] } \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/vocab.ttl b/core/src/test/resources/json-ld-api-tests/vocab.ttl index e81f5492..66a70bf1 100644 --- a/core/src/test/resources/json-ld-api-tests/vocab.ttl +++ b/core/src/test/resources/json-ld-api-tests/vocab.ttl @@ -25,7 +25,8 @@ All JSON-LD tests have an input file referenced using `mf:action` (aliased as "input" in test manifest). Positive and Negative Evaluation Tests also have a result file - referenced using `mf:result` (aliased as "expect" in test manifest). + referenced using `mf:result` (aliased as "expect" and "expectErrorCode" for + respectively Positive and Negative Evaluation Tests in test manifest). Other tests may take different inputs and options as defined for each test class. Tests should be run with the processingMode option set to "json-ld-1.1", unless specified explicitly as a test option. @@ -44,13 +45,13 @@ """ . :NegativeEvaluationTest a rdfs:Class ; - rdfs:label "Positive Evaluation Test" ; + rdfs:label "Negative Evaluation Test" ; rdfs:subClassOf :Test ; rdfs:comment """ A Negative Evaluation test is successful when the result of processing the input file specified as `mf:action` (aliased as "input" in test manifest) results in the error identified by the literal value of - `mf:result` (aliased as "expect" in test manifest). + `mf:result` (aliased as "expectErrorCode" in test manifest). The specifics of invoking test, including the interpretation of options (`:option`) and other input files are specified through another class. @@ -114,6 +115,15 @@ `PositiveSyntaxTest` or `NegativeSyntaxTest`. """ . +:HtmlTest a rdfs:Class ; + rdfs:subClassOf :Test ; + rdfs:label "HTML Evaluation Test" ; + rdfs:comment """ + An `HtmlTest` modifies either a `PositiveEvaluationTest` or `NegativeEvaluationTest` + indicating that the source is of type text/html, which requires optional + _HTML script extraction_ support. + """ . + :HttpTest a rdfs:Class ; rdfs:subClassOf :Test ; rdfs:label "HTTP Evaluation Test" ; @@ -223,6 +233,14 @@ rdfs:domain :Option ; rdfs:range xsd:boolean . +:useJCS a rdf:Property ; + rdfs:label "use JCS"; + rdfs:comment """ + Requires the use of JSON Canonicalization Scheme when generating RDF literals from JSON literal values. + """ ; + rdfs:domain :Option ; + rdfs:range xsd:boolean . + :useRdfType a rdf:Property ; rdfs:label "use RDF types"; rdfs:comment """ @@ -285,3 +303,16 @@ """ ; rdfs:domain :Option ; rdfs:range xsd:string . + +# Test requirements (mf:requires) +:I18nDatatype a mf:Requirement ; + rdfs:label "I18nDatatype" ; + rdfs:comment "Optional test to serialize text direction using `i18n-datatype`" . + +:CompoundLiteral a mf:Requirement ; + rdfs:label "CompoundLiteral" ; + rdfs:comment "Optional test to serialize text direction using `compound-literal`" . + +:GeneralizedRdf a mf:Requirement ; + rdfs:label "GeneralizedRdf" ; + rdfs:comment "Test generates Generalized RDF" . diff --git a/core/src/test/resources/json-ld-api-tests/vocab_context.jsonld b/core/src/test/resources/json-ld-api-tests/vocab_context.jsonld index 3b539af7..9d2aec17 100644 --- a/core/src/test/resources/json-ld-api-tests/vocab_context.jsonld +++ b/core/src/test/resources/json-ld-api-tests/vocab_context.jsonld @@ -8,6 +8,7 @@ "jld": "https://w3c.github.io/json-ld-api/tests/vocab#", "jld:Test": {"@type": "@id"}, "dc11:identifier": {"@type": "@id"}, + "requires": {"@id": "mf:requires", "@type": "@vocab", "@container": "@set"}, "rdfs:subClassOf": {"@type": "@id"}, "rdfs:domain": {"@type": "@id"}, "rdfs:range": {"@type": "@id"} diff --git a/core/src/test/resources/json-ld-api-tests/vocab_template.haml b/core/src/test/resources/json-ld-api-tests/vocab_template.haml index fc81dc15..1b1bd0c1 100644 --- a/core/src/test/resources/json-ld-api-tests/vocab_template.haml +++ b/core/src/test/resources/json-ld-api-tests/vocab_template.haml @@ -23,6 +23,8 @@ - classes.each do |cls| %dt< %strong<~cls["rdfs:label"] + = surround '(', ')' do + %strong<~cls['@id'] %dd< :markdown #{cls["rdfs:comment"].to_s.gsub(/^\s+/, '')} @@ -32,8 +34,32 @@ - properties.each do |prop| %dt< %strong<~prop["rdfs:label"] + = surround '(', ')' do + %strong<~prop['@id'] %dd< :markdown #{prop["rdfs:comment"].to_s.gsub(/^\s+/, '')} + %dl + - if prop['rdfs:domain'] + %dt="Domain" + %dd< + %strong=prop['rdfs:domain'] + - if prop['rdfs:range'] + %dt="Range" + %dd< + %strong=prop['rdfs:range'] + + %section + %h2<="Requirements" + %dl + - requirements.each do |req| + %dt< + %strong<~req["rdfs:label"] + = surround '(', ')' do + %strong<~req['@id'] + %dd< + :markdown + #{req["rdfs:comment"].to_s.gsub(/^\s+/, '')} + %footer %span<= ontology["dc11:publisher"] diff --git a/core/src/test/resources/json-ld-framing-tests/frame-manifest.html b/core/src/test/resources/json-ld-framing-tests/frame-manifest.html index 3bded256..0e160bf4 100644 --- a/core/src/test/resources/json-ld-framing-tests/frame-manifest.html +++ b/core/src/test/resources/json-ld-framing-tests/frame-manifest.html @@ -92,7 +92,7 @@

Disclaimer

COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

baseIri
-
https://w3c.github.io/json-ld-api/tests/
+
https://w3c.github.io/json-ld-framing/tests/

JSON-LD Framing tests.

@@ -1918,6 +1918,8 @@

specVersion
json-ld-1.1
+
omitGraph
+
false
@@ -2118,6 +2120,134 @@

+
+Test t0065 Match on value +
+
+
+
id
+
#t0065
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value matching.
+
input
+
+frame/0065-in.jsonld +
+
frame
+
+frame/0065-frame.jsonld +
+
expect
+
+frame/0065-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0066 Match on value reference +
+
+
+
id
+
#t0066
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
Value reference matching.
+
input
+
+frame/0066-in.jsonld +
+
frame
+
+frame/0066-frame.jsonld +
+
expect
+
+frame/0066-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0067 Match on list value +
+
+
+
id
+
#t0067
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
List value matching.
+
input
+
+frame/0067-in.jsonld +
+
frame
+
+frame/0067-frame.jsonld +
+
expect
+
+frame/0067-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
+
+Test t0068 Merge @type from different graphs +
+
+
+
id
+
#t0068
+
Type
+
jld:PositiveEvaluationTest, jld:FrameTest
+
Purpose
+
When merging nodes, ensure that @type values from each node are retained.
+
input
+
+frame/0068-in.jsonld +
+
frame
+
+frame/0068-frame.jsonld +
+
expect
+
+frame/0068-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
Test teo01 @embed true/false
@@ -2482,7 +2612,7 @@

Type
jld:PositiveEvaluationTest, jld:FrameTest
Purpose
-
Tests included maps.
+
Tests included blocks.
input
frame/in01-in.jsonld @@ -2514,7 +2644,7 @@

Type
jld:PositiveEvaluationTest, jld:FrameTest
Purpose
-
Tests included maps.
+
Tests included blocks.
input
frame/in02-in.jsonld @@ -2546,7 +2676,7 @@

Type
jld:PositiveEvaluationTest, jld:FrameTest
Purpose
-
Tests included maps.
+
Tests included blocks.
input
frame/in03-in.jsonld diff --git a/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld b/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld index 8bf9dd2d..6f4dc755 100644 --- a/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld +++ b/core/src/test/resources/json-ld-framing-tests/frame-manifest.jsonld @@ -517,7 +517,7 @@ "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Frame matching with no matching value in list", "purpose": "Lists match on any matching value.", - "option": {"specVersion": "json-ld-1.1"}, + "option": {"specVersion": "json-ld-1.1", "omitGraph": false}, "input": "frame/0058-in.jsonld", "frame": "frame/0058-frame.jsonld", "expect": "frame/0058-out.jsonld" @@ -575,6 +575,42 @@ "frame": "frame/0064-frame.jsonld", "expect": "frame/0064-out.jsonld", "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0065", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Match on value", + "purpose": "Value matching.", + "input": "frame/0065-in.jsonld", + "frame": "frame/0065-frame.jsonld", + "expect": "frame/0065-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0066", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Match on value reference", + "purpose": "Value reference matching.", + "input": "frame/0066-in.jsonld", + "frame": "frame/0066-frame.jsonld", + "expect": "frame/0066-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0067", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Match on list value", + "purpose": "List value matching.", + "input": "frame/0067-in.jsonld", + "frame": "frame/0067-frame.jsonld", + "expect": "frame/0067-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0068", + "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], + "name": "Merge @type from different graphs", + "purpose": "When merging nodes, ensure that @type values from each node are retained.", + "input": "frame/0068-in.jsonld", + "frame": "frame/0068-frame.jsonld", + "expect": "frame/0068-out.jsonld", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#teo01", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], @@ -678,7 +714,7 @@ "@id": "#tin01", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Basic Included array", - "purpose": "Tests included maps.", + "purpose": "Tests included blocks.", "input": "frame/in01-in.jsonld", "frame": "frame/in01-frame.jsonld", "expect": "frame/in01-out.jsonld", @@ -687,7 +723,7 @@ "@id": "#tin02", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "Basic Included object", - "purpose": "Tests included maps.", + "purpose": "Tests included blocks.", "input": "frame/in02-in.jsonld", "frame": "frame/in02-frame.jsonld", "expect": "frame/in02-out.jsonld", @@ -696,7 +732,7 @@ "@id": "#tin03", "@type": ["jld:PositiveEvaluationTest", "jld:FrameTest"], "name": "json.api example", - "purpose": "Tests included maps.", + "purpose": "Tests included blocks.", "input": "frame/in03-in.jsonld", "frame": "frame/in03-frame.jsonld", "expect": "frame/in03-out.jsonld", diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0065-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0065-frame.jsonld new file mode 100644 index 00000000..866f35d6 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0065-frame.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "givenName": "John" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0065-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0065-in.jsonld new file mode 100644 index 00000000..5610431c --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0065-in.jsonld @@ -0,0 +1,17 @@ +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@graph": [ + { + "@id": "JOHN", + "@type": "Person", + "givenName": "John" + }, + { + "@id": "JANE", + "@type": "Person", + "givenName": "Jane" + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0065-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0065-out.jsonld new file mode 100644 index 00000000..bf889a01 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0065-out.jsonld @@ -0,0 +1,9 @@ + +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@id": "JOHN", + "@type": "Person", + "givenName": "John" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0066-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0066-frame.jsonld new file mode 100644 index 00000000..35b49dde --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0066-frame.jsonld @@ -0,0 +1,7 @@ + +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "follows": { "@id": "https://schema.org/JANE" } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0066-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0066-in.jsonld new file mode 100644 index 00000000..966f3813 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0066-in.jsonld @@ -0,0 +1,20 @@ + +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@graph": [ + { + "@id": "JOHN", + "@type": "Person", + "givenName": "John", + "follows": { "@id": "https://schema.org/JANE" } + }, + { + "@id": "JANE", + "@type": "Person", + "givenName": "Jane", + "follows": { "@id": "https://schema.org/JOHN" } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0066-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0066-out.jsonld new file mode 100644 index 00000000..adbca0d1 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0066-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@id": "JOHN", + "@type": "Person", + "givenName": "John", + "follows": { + "@id": "https://schema.org/JANE" + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0067-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0067-frame.jsonld new file mode 100644 index 00000000..e2f57e96 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0067-frame.jsonld @@ -0,0 +1,11 @@ + +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "follows": { + "@list": [{ + "@id": "https://schema.org/JANE" + }] + } +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0067-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0067-in.jsonld new file mode 100644 index 00000000..300ae89b --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0067-in.jsonld @@ -0,0 +1,40 @@ + +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@graph": [ + { + "@id": "JOHN", + "@type": "Person", + "givenName": "John", + "follows": { + "@list": [{ + "@id": "https://schema.org/JANE" + }] + } + }, + { + "@id": "JANE", + "@type": "Person", + "givenName": "Jane", + "follows": { + "@list": [{ + "@id": "https://schema.org/JOHN" + }] + } + }, + { + "@id": "ALICE", + "@type": "Person", + "givenName": "Alice", + "follows": { + "@list": [{ + "@id": "https://schema.org/JOHN" + }, { + "@id": "https://schema.org/JANE" + }] + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0067-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0067-out.jsonld new file mode 100644 index 00000000..7f7e61ed --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0067-out.jsonld @@ -0,0 +1,32 @@ + +{ + "@context": { + "@vocab": "https://schema.org/" + }, + "@graph": [ + { + "@id": "ALICE", + "@type": "Person", + "givenName": "Alice", + "follows": { + "@list": [ + { + "@id": "https://schema.org/JANE" + } + ] + } + }, + { + "@id": "JOHN", + "@type": "Person", + "givenName": "John", + "follows": { + "@list": [ + { + "@id": "https://schema.org/JANE" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0068-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0068-frame.jsonld new file mode 100644 index 00000000..d09b4533 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0068-frame.jsonld @@ -0,0 +1,7 @@ +{ + "@context": { + "ex": "http://example.com#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#" + }, + "@id": "ex:entity1" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0068-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0068-in.jsonld new file mode 100644 index 00000000..1928fe63 --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0068-in.jsonld @@ -0,0 +1,23 @@ +{ + "@context": { + "ex": "http://example.com#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#" + }, + "@graph": [{ + "@id": "ex:graph1", + "@graph": [{ + "@id": "ex:entity1", + "@type": ["ex:Type1","ex:Type2"], + "ex:title": "some title", + "ex:multipleValues": "ex:One" + }] + }, { + "@id": "ex:graph2", + "@graph": [{ + "@id": "ex:entity1", + "@type": "ex:Type3", + "ex:tags": "tag1 tag2", + "ex:multipleValues": ["ex:Two","ex:Three"] + }] + }] +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/frame/0068-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/0068-out.jsonld new file mode 100644 index 00000000..05b581ab --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/frame/0068-out.jsonld @@ -0,0 +1,11 @@ +{ + "@context": { + "ex": "http://example.com#", + "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#" + }, + "@id": "ex:entity1", + "@type": ["ex:Type1", "ex:Type2", "ex:Type3"], + "ex:multipleValues": ["ex:One", "ex:Two", "ex:Three"], + "ex:tags": "tag1 tag2", + "ex:title": "some title" +} diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in03-frame.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in03-frame.jsonld index 1250990a..03e41cd6 100644 --- a/core/src/test/resources/json-ld-framing-tests/frame/in03-frame.jsonld +++ b/core/src/test/resources/json-ld-framing-tests/frame/in03-frame.jsonld @@ -5,17 +5,12 @@ "@base": "http://example.org/base/", "id": "@id", "type": "@type", - "data": "@nest", - "attributes": "@nest", - "links": "@nest", - "relationships": "@nest", - "included": "@included", + "included": {"@id": "@included", "@container": "@set"}, "author": {"@type": "@id"}, "self": {"@type": "@id"}, - "related": {"@type": "@id"}, - "comments": {"@context": {"data": null}} + "related": {"@type": "@id"} }, - "data": {"type": "articles"}, + "type": "articles", "included": { "@requireAll": true, "type": ["comments", "people"], diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in03-in.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in03-in.jsonld index 73ae7b88..91b8a6aa 100644 --- a/core/src/test/resources/json-ld-framing-tests/frame/in03-in.jsonld +++ b/core/src/test/resources/json-ld-framing-tests/frame/in03-in.jsonld @@ -12,31 +12,12 @@ "http://example.org/vocab#comments": [{ "http://example.org/vocab#self": [{"@id": "http://example.com/articles/1/relationships/comments"}], "http://example.org/vocab#related": [{"@id": "http://example.com/articles/1/comments"}] - }], - "@included": [{ - "@id": "http://example.org/base/9", - "@type": ["http://example.org/vocab#people"], - "http://example.org/vocab#first-name": [{"@value": "Dan"}], - "http://example.org/vocab#last-name": [{"@value": "Gebhardt"}], - "http://example.org/vocab#twitter": [{"@value": "dgeb"}], - "http://example.org/vocab#self": [{"@id": "http://example.com/people/9"}] - }, { - "@id": "http://example.org/base/5", - "@type": ["http://example.org/vocab#comments"], - "http://example.org/vocab#body": [{"@value": "First!"}], - "http://example.org/vocab#author": [{ - "@id": "http://example.org/base/2", - "@type": ["http://example.org/vocab#people"] - }], - "http://example.org/vocab#self": [{"@id": "http://example.com/comments/5"}] - }, { - "@id": "http://example.org/base/12", - "@type": ["http://example.org/vocab#comments"], - "http://example.org/vocab#body": [{"@value": "I like XML better"}], - "http://example.org/vocab#author": [{ - "@id": "http://example.org/base/9", - "@type": ["http://example.org/vocab#people"] - }], - "http://example.org/vocab#self": [{"@id": "http://example.com/comments/12"}] }] -}] \ No newline at end of file +}, { + "@id": "http://example.org/base/9", + "@type": ["http://example.org/vocab#people"], + "http://example.org/vocab#first-name": [{"@value": "Dan"}], + "http://example.org/vocab#last-name": [{"@value": "Gebhardt"}], + "http://example.org/vocab#twitter": [{"@value": "dgeb"}], + "http://example.org/vocab#self": [{"@id": "http://example.com/people/9"}] +}] diff --git a/core/src/test/resources/json-ld-framing-tests/frame/in03-out.jsonld b/core/src/test/resources/json-ld-framing-tests/frame/in03-out.jsonld index d8ca2de3..6fa9948c 100644 --- a/core/src/test/resources/json-ld-framing-tests/frame/in03-out.jsonld +++ b/core/src/test/resources/json-ld-framing-tests/frame/in03-out.jsonld @@ -5,15 +5,10 @@ "@base": "http://example.org/base/", "id": "@id", "type": "@type", - "data": "@nest", - "attributes": "@nest", - "links": "@nest", - "relationships": "@nest", - "included": "@included", + "included": {"@id": "@included", "@container": "@set"}, "author": {"@type": "@id"}, "self": {"@type": "@id"}, - "related": {"@type": "@id"}, - "comments": {"@context": {"data": null}} + "related": {"@type": "@id"} }, "id": "1", "type": "articles", @@ -25,27 +20,15 @@ "related": "http://example.com/articles/1/comments" }, "included": [{ - "id": "5", - "type": "comments", - "body": "First!", - "author": {"id": "2", "type": "people"}, - "self": "http://example.com/comments/5" - }, { "id": "9", "type": "people", "first-name": "Dan", "last-name": "Gebhardt", "twitter": "dgeb", "self": [ - "http://example.com/people/9", - "http://example.com/articles/1/relationships/author" + "http://example.com/articles/1/relationships/author", + "http://example.com/people/9" ], "related": "http://example.com/articles/1/author" - }, { - "id": "12", - "type": "comments", - "body": "I like XML better", - "author": "9", - "self": "http://example.com/comments/12" }] } \ No newline at end of file diff --git a/core/src/test/resources/json-ld-framing-tests/index.html b/core/src/test/resources/json-ld-framing-tests/index.html deleted file mode 100644 index abd06287..00000000 --- a/core/src/test/resources/json-ld-framing-tests/index.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - -JSON-LD Test Suite - - - - - -

- -W3C - -

-

JSON-LD Test Suite

-

This is an HTML version of a test manifest. The JSON-LD version of this manifest may be found at -manifest.jsonld. The manifest vocabulary is described in the JSON-LD Test Vocabulary (JSON-LD, Turtle) and is based on the RDF Test Vocabulary.

- -

The JSON-LD Test Suite is a set of tests that can -be used to verify JSON-LD Processor conformance to the set of specifications -that constitute JSON-LD. The goal of the suite is to provide an easy and -comprehensive JSON-LD testing solution for developers creating JSON-LD Processors.

- -

The JSON-LD API Specification maintains its own -test suite.

- -

General instructions for running the JSON-LD Test suites

- -

frame tests have input, frame and expected documents.

- -

The expected results can be compared using JSON-LD object comparison with the processor output.

- -

Additionally, if the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

- -

For NegativeEvaluationTests, the result is a string associated with the expected error code.

- -

Unless processingMode is set explicitly in a test entry, processingMode is compatible with both json-ld-1.0 and json-ld-1.1.

- -

Test results that include a context input presume that the context is provided locally, and not from the referenced location, thus the results will include the content of the context file, rather than a reference.

- -

Developers are encouraged to make a local copy of the test suite (available on GitHub) and simulate the behavior of fetching test files remotely and setting HTTP headers as described in a particular test entry.

- -

JSON-LD Object comparison

- -

If algorithms are invoked with the ordered flag set to true, simple JSON Object comparison may be used, as the order of all arrays will be preserved (except for fromRdf, unless the input quads are also ordered). If ordered is false, then the following algorithm will ensure arrays other than values of @list are compared without regard to order.

- -

JSON-LD Object comparison compares JSON objects, arrays, and values recursively for equality.

- -
    -
  • JSON objects are compared entry by entry without regard to the ordering of entries within the object. Each entry must have a corresponding entry in the object being compared to. Values are compared recursively.
  • -
  • JSON arrays are generally compared without regard to order (the lone exception being if the referencing key is @list). Each item within the array must be equivalent to an item in the array being compared to by using the comparison algorithm recursively. For values of @list, the order of these items is significant.
  • -
  • JSON values are compared using strict equality.
  • -
  • Values of @language, and other places where language tags may be used are specified in lowercase in the test results. Implementations should either normalize language tags for testing purposes, or compare language tags in a case-independent way.
  • -
- -

Note that some tests require re-expansion and comparison, as list values may exist as values of properties that have @container: @list and the comparison algorithm will not consider ordering significant.

- -

Running tests

- -

The top-level manifest references the specific test manifests, which in turn reference each test associated with a particular type of behavior. -Implementations create their own infrastructure for running the test suite. In particular, the following should be considered:

- -
    -
  • remote-doc tests will likely not return expected HTTP headers, so the options should be used to determine what headers are associated with the input document.
  • -
  • Some algorithms, particularly fromRdf, may not preserve the order of statements listed in the input document, and provision should be taken for performing unordered array comparison, for arrays other than values of @list. (This may be difficult for compacted results, where array value ordering is dependent on the associated term definition).
  • -
  • When comparing documents after flattening, framing or generating RDF, blank node identifiers may not be predictable. Implementations using the JSON-LD 1.0 algorithm, where output is always sorted and blank node identifiers are generated sequentially from _:b0 may continue to use a simple object comparison. Otherwise, implementations should take this into consideration. (One way to do this may be to reduce both results and expected to datsets to extract a bijective mapping of blank node labels between the two datasets as described in RDF Dataset Isomorphism).
  • -
- -

Contributing Tests

- -

If you would like to contribute a new test or a fix to an existing test, -please follow these steps:

- -
    -
  1. Notify the JSON-LD mailing list, public-json-ld-wg@w3.org, -that you will be creating a new test or fix and the purpose of the -change.
  2. -
  3. Clone the git repository: git://github.com/w3c/json-ld-framing.git
  4. -
  5. Make your changes and submit them via github, or via a 'git format-patch' -to the JSON-LD Working Group mailing list.
  6. -
- -

Distribution

- -

Distributed under the W3C Test Suite License. To contribute to a W3C Test Suite, see the policies and contribution forms.

- -

Disclaimer

- -

UNDER THE EXCLUSIVE LICENSE, THIS DOCUMENT AND ALL DOCUMENTS, TESTS AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. - COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.

-

This manifest loads additional manifests for specific behavior tests

-
-

-Test sequence: -

- -
- - diff --git a/core/src/test/resources/json-ld-framing-tests/index.html b/core/src/test/resources/json-ld-framing-tests/index.html new file mode 120000 index 00000000..c6687b4c --- /dev/null +++ b/core/src/test/resources/json-ld-framing-tests/index.html @@ -0,0 +1 @@ +manifest.html \ No newline at end of file From 620053ae567233c0989dcd047aa0ac8115ef9cce Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Mon, 23 Mar 2020 13:24:34 +0100 Subject: [PATCH 10/22] Fix test setup to use correct base for 1.0 and 1.1 tests --- core/reports/json-ld-api-tests-skip | 43 ------------------- .../github/jsonldjava/utils/SuiteUtils.java | 7 ++- 2 files changed, 3 insertions(+), 47 deletions(-) diff --git a/core/reports/json-ld-api-tests-skip b/core/reports/json-ld-api-tests-skip index 7d6dc39f..1400845b 100644 --- a/core/reports/json-ld-api-tests-skip +++ b/core/reports/json-ld-api-tests-skip @@ -1,8 +1,4 @@ -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0037 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ta038 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0045 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0062 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0066 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0074 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0076 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0077 @@ -142,20 +138,6 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ts002 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn01 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn02 https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0005 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0028 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0029 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0038 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0040 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0048 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0050 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0051 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0056 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0057 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0059 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0060 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0066 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0078 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0079 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0080 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0081 @@ -403,12 +385,6 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso12 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso13 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ttn01 https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ttn02 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0005 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0028 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0038 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0040 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0042 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#t0043 https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#te001 https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin01 https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin02 @@ -431,7 +407,6 @@ https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tjs09 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli01 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli02 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli03 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0001 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0002 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0003 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0004 @@ -439,7 +414,6 @@ https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0005 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0006 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0007 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0008 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0009 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0010 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0011 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0012 @@ -448,10 +422,6 @@ https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla01 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla03 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla04 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0016 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0017 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0018 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0118 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0126 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0128 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc001 @@ -491,20 +461,7 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi10 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi12 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te005 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te028 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te029 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te040 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te048 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te050 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te051 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te056 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te057 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te059 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te060 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te066 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te075 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te078 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te079 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te080 https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te081 diff --git a/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java b/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java index 8973e555..c8ec1b38 100644 --- a/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java +++ b/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java @@ -398,10 +398,9 @@ public static void run(String dir, String group, String testId, Map test_opts = (Map) test.get("option"); From c4793a74dc46ef7787acc723efc8288bf0135748 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Wed, 8 Apr 2020 15:15:27 +0200 Subject: [PATCH 11/22] Tweak test IDs for creating reports Run tests with `-Dreport.format=jsonld`, convert to ttl, then: https://github.com/w3c/json-ld-api/blob/master/reports/README.md --- core/reports/json-ld-api-tests-skip | 1474 ++++++++--------- core/reports/json-ld-framing-tests-skip | 126 +- .../github/jsonldjava/utils/SuiteUtils.java | 2 +- 3 files changed, 801 insertions(+), 801 deletions(-) diff --git a/core/reports/json-ld-api-tests-skip b/core/reports/json-ld-api-tests-skip index 1400845b..e7150ff1 100644 --- a/core/reports/json-ld-api-tests-skip +++ b/core/reports/json-ld-api-tests-skip @@ -1,737 +1,737 @@ -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ta038 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0074 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0076 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0077 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0078 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0079 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0080 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0081 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0082 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0083 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0084 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0085 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0086 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0087 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0088 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0090 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0091 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0092 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0093 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0094 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0095 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0096 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0097 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0098 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0099 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0100 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0101 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0102 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0103 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0104 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0105 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0107 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0109 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#t0110 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc001 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc002 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc003 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc004 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc005 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc006 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc007 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc008 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc010 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc011 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc012 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc013 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc015 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc016 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc017 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc018 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc019 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc020 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc021 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc022 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc023 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc024 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc025 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tc026 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tdi02 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tdi03 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tdi04 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tdi05 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tdi07 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#te001 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#te002 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ten01 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep05 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep06 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep07 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep08 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep09 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep10 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep11 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep12 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep13 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep14 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tep15 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tin01 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tin02 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tin03 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tin04 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tin05 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tjs11 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli01 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli02 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli03 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli04 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tli05 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm001 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm002 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm003 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm004 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm005 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm006 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm007 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm008 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm009 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm010 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm011 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm012 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm013 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm014 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm015 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm016 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm017 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm018 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm019 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm020 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm021 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tm022 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn001 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn002 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn003 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn004 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn005 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn006 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn007 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn008 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn009 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn010 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tn011 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tp001 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tp002 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tp008 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi01 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi02 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi03 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi04 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi05 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpi06 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr01 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr02 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr03 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr04 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#tpr05 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ts001 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ts002 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn01 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn02 -https://w3c.github.io/json-ld-api/tests/compact-manifest.html#ttn03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0079 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0080 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0081 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0082 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0083 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0084 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0085 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0086 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0087 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0088 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0092 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0093 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0094 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0095 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0096 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0097 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0098 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0099 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0100 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0101 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0102 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0103 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0104 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0105 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0106 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0107 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0108 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0109 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0110 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0111 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0112 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0114 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0115 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0116 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0117 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0118 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0119 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0120 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0122 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0123 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0124 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0125 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#t0128 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc001 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc002 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc003 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc004 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc005 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc006 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc007 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc008 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc010 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc011 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc012 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc013 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc014 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc015 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc016 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc017 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc018 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc019 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc020 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc021 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc022 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc023 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc024 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc025 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc026 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc028 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc029 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc030 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc031 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc032 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc033 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tc034 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi04 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi05 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi06 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi08 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tdi09 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tec01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tec02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tem01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten04 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten05 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ten06 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tep02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tep03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter04 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter05 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter06 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter07 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter08 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter09 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter10 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter11 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter12 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter13 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter14 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter15 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter17 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter18 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter19 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter20 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter21 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter22 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter23 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter24 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter25 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter26 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter27 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter28 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter29 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter30 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter31 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter32 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter33 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter34 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter35 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter36 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter37 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter38 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter39 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter40 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter41 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter42 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter43 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter44 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter48 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter49 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter50 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter51 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ter52 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tes01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tes02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin04 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin05 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin06 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin07 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin08 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tin09 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tjs16 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tjs19 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tjs22 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli04 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli05 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli06 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli07 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli08 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli09 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tli10 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm001 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm002 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm003 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm004 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm005 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm006 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm007 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm008 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm009 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm010 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm011 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm012 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm013 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm014 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm015 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm016 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm017 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm018 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm019 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tm020 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn001 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn002 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn003 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn004 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn005 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn006 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn007 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tn008 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi04 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi05 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi06 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi07 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi08 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi09 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi10 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpi11 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr04 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr05 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr06 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr08 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr09 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr11 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr12 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr16 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr17 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr18 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr19 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr20 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr21 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr22 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr25 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr26 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr28 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr29 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr30 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr31 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr32 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr33 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr34 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr35 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr36 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr37 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr38 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr39 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tpr40 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso02 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso03 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso05 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso06 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso07 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso10 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso12 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#tso13 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ttn01 -https://w3c.github.io/json-ld-api/tests/expand-manifest.html#ttn02 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#te001 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin01 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin02 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin03 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin04 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin05 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tin06 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tli01 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tli02 -https://w3c.github.io/json-ld-api/tests/flatten-manifest.html#tli03 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#t0020 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#t0021 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#t0026 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tdi05 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tdi06 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tdi11 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tdi12 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tjs08 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tjs09 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli01 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli02 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest.html#tli03 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0002 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0003 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0004 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0005 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0006 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0007 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0008 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0010 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0011 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0012 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#t0013 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla01 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla03 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla04 -https://w3c.github.io/json-ld-api/tests/remote-doc-manifest.html#tla05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0126 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0128 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc001 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc002 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc003 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc004 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc005 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc006 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc007 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc008 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc010 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc011 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc012 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc013 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc014 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc015 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc016 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc017 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc018 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc019 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc020 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc021 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc022 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc023 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc024 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc025 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc026 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc028 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc029 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc030 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc031 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc032 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc033 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tc034 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi08 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi09 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi10 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi11 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tdi12 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te075 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te079 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te080 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te081 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te082 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te083 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te084 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te085 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te086 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te087 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te088 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te092 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te093 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te094 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te095 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te096 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te097 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te098 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te099 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te100 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te101 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te102 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te103 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te104 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te105 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te106 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te107 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te108 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te109 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te110 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te111 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te112 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te114 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te115 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te116 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te117 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te118 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te119 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te120 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te122 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te123 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0124 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#t0125 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#te128 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tec01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tec02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tem01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten03 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten04 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ten06 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tep02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tep03 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter03 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter04 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter06 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter07 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter08 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter09 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter10 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter11 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter12 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter13 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter14 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter15 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter17 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter18 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter19 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter20 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter21 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter22 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter23 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter24 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter25 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter26 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter27 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter28 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter29 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter30 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter31 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter32 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter33 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter34 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter35 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter36 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter37 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter38 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter39 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter40 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter41 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter42 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter43 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter44 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter48 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter49 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter50 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter51 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ter52 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin03 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin04 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin06 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin07 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin08 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tin09 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs03 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs04 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs08 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs10 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs11 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs12 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs13 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs14 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs15 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs16 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs17 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs18 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs19 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs21 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tjs22 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli03 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli04 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli06 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli07 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli08 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli09 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tli10 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm001 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm002 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm003 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm004 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm005 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm006 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm007 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm008 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm009 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm010 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm011 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm012 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm013 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm014 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm015 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm016 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm017 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm018 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm019 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tm020 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn001 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn002 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn003 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn004 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn005 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn006 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn007 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tn008 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi03 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi04 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi06 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi07 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi08 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi09 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi10 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpi11 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr03 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr04 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr06 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr08 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr09 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr11 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr12 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr16 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr17 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr18 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr19 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr20 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr21 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr22 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr25 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr26 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr28 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr29 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr30 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr31 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr32 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr33 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr34 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr35 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr36 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr37 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr38 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr39 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tpr40 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#trt01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso03 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso06 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso07 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso10 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso12 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#tso13 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ttn01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#ttn02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf03 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf04 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest.html#twf07 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te001 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tex01 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te002 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te003 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te004 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te005 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te006 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te010 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te011 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te012 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te013 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te014 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te015 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te016 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te017 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te018 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te019 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te020 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te021 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#te022 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tc001 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tc002 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tc003 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tc004 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tf001 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tf002 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tf003 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tf004 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr001 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr002 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr003 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr004 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr005 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr010 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr011 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr012 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr013 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr014 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr015 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr016 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr017 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr018 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr019 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr020 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr021 -https://w3c.github.io/json-ld-api/tests/html-manifest.html#tr022 +https://w3c.github.io/json-ld-api/tests/compact-manifest#ta038 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0074 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0076 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0077 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0078 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0079 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0080 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0081 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0082 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0083 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0084 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0085 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0086 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0087 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0088 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0090 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0091 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0092 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0093 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0094 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0095 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0096 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0097 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0098 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0099 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0100 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0101 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0102 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0103 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0104 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0105 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0107 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0109 +https://w3c.github.io/json-ld-api/tests/compact-manifest#t0110 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc001 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc002 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc003 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc004 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc005 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc006 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc007 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc008 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc010 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc011 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc012 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc013 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc015 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc016 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc017 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc018 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc019 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc020 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc021 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc022 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc023 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc024 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc025 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc026 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi02 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi03 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi04 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi05 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi07 +https://w3c.github.io/json-ld-api/tests/compact-manifest#te001 +https://w3c.github.io/json-ld-api/tests/compact-manifest#te002 +https://w3c.github.io/json-ld-api/tests/compact-manifest#ten01 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep05 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep06 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep07 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep08 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep09 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep10 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep11 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep12 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep13 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep14 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tep15 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tin01 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tin02 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tin03 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tin04 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tin05 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs11 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tli01 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tli02 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tli03 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tli04 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tli05 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm001 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm002 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm003 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm004 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm005 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm006 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm007 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm008 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm009 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm010 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm011 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm012 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm013 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm014 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm015 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm016 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm017 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm018 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm019 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm020 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm021 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tm022 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn001 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn002 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn003 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn004 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn005 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn006 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn007 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn008 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn009 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn010 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tn011 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tp001 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tp002 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tp008 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpi01 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpi02 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpi03 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpi04 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpi05 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpi06 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpr01 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpr02 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpr03 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpr04 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tpr05 +https://w3c.github.io/json-ld-api/tests/compact-manifest#ts001 +https://w3c.github.io/json-ld-api/tests/compact-manifest#ts002 +https://w3c.github.io/json-ld-api/tests/compact-manifest#ttn01 +https://w3c.github.io/json-ld-api/tests/compact-manifest#ttn02 +https://w3c.github.io/json-ld-api/tests/compact-manifest#ttn03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0079 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0080 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0081 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0082 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0083 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0084 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0085 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0086 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0087 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0088 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0092 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0093 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0094 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0095 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0096 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0097 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0098 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0099 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0100 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0101 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0102 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0103 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0104 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0105 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0106 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0107 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0108 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0109 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0110 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0111 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0112 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0114 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0115 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0116 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0117 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0118 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0119 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0120 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0122 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0123 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0124 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0125 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0128 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc001 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc002 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc003 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc004 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc005 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc006 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc007 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc008 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc010 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc011 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc012 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc013 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc014 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc015 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc016 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc017 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc018 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc019 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc020 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc021 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc022 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc023 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc024 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc025 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc026 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc028 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc029 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc030 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc031 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc032 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc033 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc034 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi04 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi05 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi06 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi08 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi09 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tec01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tec02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tem01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ten01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ten02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ten03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ten04 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ten05 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ten06 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tep02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tep03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter04 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter05 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter06 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter07 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter08 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter09 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter10 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter11 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter12 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter13 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter14 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter15 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter17 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter18 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter19 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter20 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter21 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter22 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter23 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter24 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter25 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter26 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter27 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter28 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter29 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter30 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter31 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter32 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter33 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter34 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter35 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter36 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter37 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter38 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter39 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter40 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter41 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter42 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter43 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter44 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter48 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter49 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter50 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter51 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter52 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tes01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tes02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tin01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tin02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tin03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tin04 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tin05 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tin06 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tin07 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tin08 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tin09 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs16 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs19 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs22 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tli01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tli02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tli03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tli04 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tli05 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tli06 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tli07 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tli08 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tli09 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tli10 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm001 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm002 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm003 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm004 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm005 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm006 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm007 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm008 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm009 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm010 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm011 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm012 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm013 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm014 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm015 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm016 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm017 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm018 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm019 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tm020 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tn001 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tn002 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tn003 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tn004 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tn005 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tn006 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tn007 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tn008 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi04 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi05 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi06 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi07 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi08 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi09 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi10 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi11 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr04 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr05 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr06 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr08 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr09 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr11 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr12 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr16 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr17 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr18 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr19 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr20 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr21 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr22 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr25 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr26 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr28 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr29 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr30 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr31 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr32 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr33 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr34 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr35 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr36 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr37 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr38 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr39 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr40 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso05 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso06 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso07 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso10 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso12 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso13 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ttn01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ttn02 +https://w3c.github.io/json-ld-api/tests/flatten-manifest#te001 +https://w3c.github.io/json-ld-api/tests/flatten-manifest#tin01 +https://w3c.github.io/json-ld-api/tests/flatten-manifest#tin02 +https://w3c.github.io/json-ld-api/tests/flatten-manifest#tin03 +https://w3c.github.io/json-ld-api/tests/flatten-manifest#tin04 +https://w3c.github.io/json-ld-api/tests/flatten-manifest#tin05 +https://w3c.github.io/json-ld-api/tests/flatten-manifest#tin06 +https://w3c.github.io/json-ld-api/tests/flatten-manifest#tli01 +https://w3c.github.io/json-ld-api/tests/flatten-manifest#tli02 +https://w3c.github.io/json-ld-api/tests/flatten-manifest#tli03 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#t0020 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#t0021 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#t0026 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi05 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi06 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi11 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi12 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs08 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs09 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tli01 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tli02 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tli03 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0002 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0003 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0004 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0005 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0006 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0007 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0008 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0010 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0011 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0012 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#t0013 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#tla01 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#tla03 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#tla04 +https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#tla05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0126 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0128 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc001 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc002 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc003 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc004 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc005 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc006 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc007 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc008 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc010 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc011 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc012 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc013 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc014 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc015 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc016 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc017 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc018 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc019 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc020 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc021 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc022 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc023 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc024 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc025 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc026 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc028 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc029 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc030 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc031 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc032 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc033 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc034 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi11 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te075 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te079 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te080 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te081 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te082 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te083 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te084 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te085 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te086 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te087 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te088 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te092 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te093 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te094 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te095 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te096 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te097 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te098 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te099 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te100 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te101 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te102 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te103 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te104 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te105 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te106 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te107 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te108 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te109 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te110 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te111 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te112 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te114 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te115 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te116 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te117 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te118 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te119 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te120 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te122 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te123 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0124 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0125 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te128 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tec01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tec02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tem01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ten01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ten02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ten03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ten04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ten05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ten06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tep02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tep03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter11 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter13 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter14 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter15 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter17 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter18 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter19 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter20 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter21 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter22 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter23 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter24 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter25 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter26 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter27 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter28 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter29 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter30 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter31 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter32 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter33 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter34 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter35 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter36 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter37 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter38 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter39 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter40 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter41 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter42 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter43 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter44 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter48 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter49 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter50 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter51 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter52 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs11 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs13 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs14 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs15 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs16 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs17 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs18 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs19 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs21 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs22 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm001 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm002 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm003 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm004 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm005 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm006 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm007 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm008 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm009 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm010 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm011 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm012 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm013 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm014 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm015 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm016 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm017 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm018 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm019 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tm020 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn001 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn002 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn003 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn004 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn005 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn006 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn007 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn008 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi11 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr11 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr16 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr17 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr18 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr19 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr20 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr21 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr22 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr25 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr26 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr28 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr29 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr30 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr31 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr32 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr33 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr34 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr35 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr36 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr37 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr38 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr39 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr40 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#trt01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso13 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ttn01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ttn02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#twf01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#twf02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#twf03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#twf04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#twf05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#twf07 +https://w3c.github.io/json-ld-api/tests/html-manifest#te001 +https://w3c.github.io/json-ld-api/tests/html-manifest#tex01 +https://w3c.github.io/json-ld-api/tests/html-manifest#te002 +https://w3c.github.io/json-ld-api/tests/html-manifest#te003 +https://w3c.github.io/json-ld-api/tests/html-manifest#te004 +https://w3c.github.io/json-ld-api/tests/html-manifest#te005 +https://w3c.github.io/json-ld-api/tests/html-manifest#te006 +https://w3c.github.io/json-ld-api/tests/html-manifest#te010 +https://w3c.github.io/json-ld-api/tests/html-manifest#te011 +https://w3c.github.io/json-ld-api/tests/html-manifest#te012 +https://w3c.github.io/json-ld-api/tests/html-manifest#te013 +https://w3c.github.io/json-ld-api/tests/html-manifest#te014 +https://w3c.github.io/json-ld-api/tests/html-manifest#te015 +https://w3c.github.io/json-ld-api/tests/html-manifest#te016 +https://w3c.github.io/json-ld-api/tests/html-manifest#te017 +https://w3c.github.io/json-ld-api/tests/html-manifest#te018 +https://w3c.github.io/json-ld-api/tests/html-manifest#te019 +https://w3c.github.io/json-ld-api/tests/html-manifest#te020 +https://w3c.github.io/json-ld-api/tests/html-manifest#te021 +https://w3c.github.io/json-ld-api/tests/html-manifest#te022 +https://w3c.github.io/json-ld-api/tests/html-manifest#tc001 +https://w3c.github.io/json-ld-api/tests/html-manifest#tc002 +https://w3c.github.io/json-ld-api/tests/html-manifest#tc003 +https://w3c.github.io/json-ld-api/tests/html-manifest#tc004 +https://w3c.github.io/json-ld-api/tests/html-manifest#tf001 +https://w3c.github.io/json-ld-api/tests/html-manifest#tf002 +https://w3c.github.io/json-ld-api/tests/html-manifest#tf003 +https://w3c.github.io/json-ld-api/tests/html-manifest#tf004 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr001 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr002 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr003 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr004 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr005 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr010 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr011 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr012 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr013 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr014 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr015 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr016 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr017 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr018 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr019 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr020 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr021 +https://w3c.github.io/json-ld-api/tests/html-manifest#tr022 diff --git a/core/reports/json-ld-framing-tests-skip b/core/reports/json-ld-framing-tests-skip index 2e046363..22aa3832 100644 --- a/core/reports/json-ld-framing-tests-skip +++ b/core/reports/json-ld-framing-tests-skip @@ -1,63 +1,63 @@ -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0011 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0023 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0024 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0026 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0027 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0028 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0029 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0030 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0031 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0032 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0034 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0035 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0036 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0037 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0038 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0039 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0040 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0041 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0042 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0043 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0044 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0045 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0047 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0048 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0049 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0050 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0051 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0052 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0053 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0054 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0055 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0056 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0057 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0058 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0060 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0061 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0062 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0063 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0064 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0065 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0066 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0067 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#t0068 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#teo01 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg002 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg003 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg004 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg005 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg006 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg007 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg008 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg009 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tg010 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tin01 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tin02 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tin03 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tp020 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tp046 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tp049 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tp050 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tra01 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tra02 -https://w3c.github.io/json-ld-framing/tests/frame-manifest.html#tra03 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0011 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0023 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0024 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0026 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0027 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0028 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0029 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0030 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0031 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0032 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0034 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0035 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0036 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0037 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0038 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0039 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0040 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0041 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0042 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0043 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0044 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0045 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0047 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0048 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0049 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0050 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0051 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0052 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0053 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0054 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0055 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0056 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0057 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0058 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0060 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0061 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0062 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0063 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0064 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0065 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0066 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0067 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#t0068 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#teo01 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tg002 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tg003 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tg004 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tg005 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tg006 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tg007 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tg008 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tg009 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tg010 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tin01 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tin02 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tin03 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tp020 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tp046 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tp049 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tp050 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tra01 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tra02 +https://w3c.github.io/json-ld-framing/tests/frame-manifest#tra03 diff --git a/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java b/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java index c8ec1b38..b5a364bf 100644 --- a/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java +++ b/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java @@ -209,7 +209,7 @@ public static Collection getData(String dir) throws URISyntaxException || testType.contains("jld:NormalizeTest")) { // System.out.println("Adding test: " + test.get("name")); rdata.add(new Object[] { - (String) manifest.get("baseIri") + in.getName().replace("jsonld", "html"), + (String) manifest.get("baseIri") + in.getName().replace(".jsonld", ""), test.get("@id"), test }); } else { From 23183764a23da09106fadf837c8556a43bb54c6b Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Thu, 9 Apr 2020 11:58:37 +0200 Subject: [PATCH 12/22] Update spec tests and report setup For integration in https://w3c.github.io/json-ld-api/reports/ convert api and framing jsonld reports to single ttl file and then: https://github.com/w3c/json-ld-api/blob/master/reports/README.md --- .gitignore | 1 + README.md | 6 +- core/reports/json-ld-api-tests-skip | 2 + core/reports/report.jsonld | 10776 ---------------- core/reports/report.nq | 4042 ------ core/reports/report.ttl | 4046 ------ .../github/jsonldjava/utils/SuiteUtils.java | 5 +- .../resources/json-ld-api-tests/README.md | 2 +- .../json-ld-api-tests/compact-manifest.html | 2 +- .../json-ld-api-tests/expand-manifest.html | 93 +- .../json-ld-api-tests/expand-manifest.jsonld | 21 + .../json-ld-api-tests/expand/0129-in.jsonld | 5 + .../json-ld-api-tests/expand/0129-out.jsonld | 4 + .../json-ld-api-tests/expand/0130-in.jsonld | 5 + .../json-ld-api-tests/expand/0130-out.jsonld | 4 + .../json-ld-api-tests/expand/er53-in.jsonld | 6 + .../json-ld-api-tests/flatten-manifest.html | 2 +- .../json-ld-api-tests/html-manifest.html | 8 +- .../resources/json-ld-api-tests/manifest.html | 14 +- .../remote-doc-manifest.html | 4 +- .../resources/json-ld-api-tests/template.haml | 14 +- .../json-ld-api-tests/toRdf-manifest.html | 105 + .../json-ld-api-tests/toRdf-manifest.jsonld | 23 + .../json-ld-api-tests/toRdf/e129-in.jsonld | 5 + .../json-ld-api-tests/toRdf/e129-out.nq | 1 + .../json-ld-api-tests/toRdf/e130-in.jsonld | 5 + .../json-ld-api-tests/toRdf/e130-out.nq | 1 + .../json-ld-api-tests/toRdf/er53-in.jsonld | 6 + 28 files changed, 316 insertions(+), 18892 deletions(-) delete mode 100755 core/reports/report.jsonld delete mode 100755 core/reports/report.nq delete mode 100755 core/reports/report.ttl create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0129-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0129-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0130-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/0130-out.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/expand/er53-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e129-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e129-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e130-in.jsonld create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/e130-out.nq create mode 100644 core/src/test/resources/json-ld-api-tests/toRdf/er53-in.jsonld diff --git a/.gitignore b/.gitignore index 0ca3bf9b..2f923716 100755 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ target/ *~ pom.xml.versionsBackup dependency-reduced-pom.xml +*-report.jsonld diff --git a/README.md b/README.md index 43b7b232..1e07413a 100644 --- a/README.md +++ b/README.md @@ -275,13 +275,13 @@ Copy local `json-ld-api` tests to `jsonld-java`: cp -r ../json-ld-api/tests/* core/src/test/resources/json-ld-api-tests/ ``` -Rerun all local spec tests (second run will pass): +Run all local spec tests, re-generate reports, and update skip files: ```bash -rm core/reports/*-skip ; mvn clean test +rm core/reports/*-skip ; mvn clean test -Dreport.format=jsonld ``` -Commit the new tests and updated skip files so we get a useful diff when rerunning skipped spec tests: +Commit the new tests and skip files so we get a useful diff when rerunning skipped spec tests: ```bash git add . diff --git a/core/reports/json-ld-api-tests-skip b/core/reports/json-ld-api-tests-skip index e7150ff1..e14ee0c2 100644 --- a/core/reports/json-ld-api-tests-skip +++ b/core/reports/json-ld-api-tests-skip @@ -280,6 +280,7 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#ter49 https://w3c.github.io/json-ld-api/tests/expand-manifest#ter50 https://w3c.github.io/json-ld-api/tests/expand-manifest#ter51 https://w3c.github.io/json-ld-api/tests/expand-manifest#ter52 +https://w3c.github.io/json-ld-api/tests/expand-manifest#ter53 https://w3c.github.io/json-ld-api/tests/expand-manifest#tes01 https://w3c.github.io/json-ld-api/tests/expand-manifest#tes02 https://w3c.github.io/json-ld-api/tests/expand-manifest#tin01 @@ -564,6 +565,7 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter49 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter50 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter51 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter52 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ter53 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tin03 diff --git a/core/reports/report.jsonld b/core/reports/report.jsonld deleted file mode 100755 index 53834302..00000000 --- a/core/reports/report.jsonld +++ /dev/null @@ -1,10776 +0,0 @@ -{ - "@context" : { - "@vocab" : "http://www.w3.org/ns/earl#", - "foaf" : "http://xmlns.com/foaf/0.1/", - "earl" : "http://www.w3.org/ns/earl#", - "doap" : "http://usefulinc.com/ns/doap#", - "dc" : "http://purl.org/dc/terms/", - "xsd" : "http://www.w3.org/2001/XMLSchema#", - "foaf:homepage" : { - "@type" : "@id" - }, - "doap:homepage" : { - "@type" : "@id" - } - }, - "@graph" : [ { - "@id" : "http://tristan.github.com/foaf#me", - "@type" : [ "foaf:Person", "earl:Assertor" ], - "foaf:name" : "Tristan King", - "foaf:title" : "Implementor", - "foaf:homepage" : "http://tristan.github.com" - }, { - "@id" : "https://github.com/jsonld-java/jsonld-java", - "@type" : [ "doap:Project", "earl:TestSubject", "earl:Software" ], - "doap:name" : "JSONLD-Java", - "doap:homepage" : "https://github.com/jsonld-java/jsonld-java", - "doap:description" : { - "@value" : "An Implementation of the JSON-LD Specification for Java", - "@language" : "en" - }, - "doap:programming-language" : "Java", - "doap:developer" : [ { - "@id" : "http://tristan.github.com/foaf#me" - }, { - "@id" : "https://github.com/ansell/foaf#me", - "foaf:name" : "Peter Ansell", - "foaf:title" : "Contributor" - } ], - "doap:title" : "JSONLD-Java", - "dc:date" : { - "@type" : "xsd:date", - "@value" : "2013-05-16" - }, - "dc:creator" : { - "@id" : "http://tristan.github.com/foaf#me" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0001" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0002" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0003" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0004" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0005" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0006" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0007" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0008" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0009" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0010" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0011" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0012" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0013" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0014" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0015" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0016" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0017" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0018" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/fromRdf-manifest.jsonld#t0019" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0001" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0002" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0003" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0004" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0005" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0006" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0007" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0008" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0009" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0010" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0011" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0012" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0013" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0014" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0015" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0016" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0017" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0018" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0019" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0020" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0021" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0022" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0023" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0024" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0025" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0026" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0027" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0028" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0029" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0030" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0031" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0032" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0033" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0034" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0035" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0036" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0037" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0038" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0039" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0040" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0041" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0042" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0043" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:53+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0044" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0045" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0046" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0047" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0048" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0049" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0050" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0051" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0052" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0053" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0054" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0055" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0056" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/normalize-manifest.jsonld#t0057" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0001" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0002" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0003" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0004" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0005" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0006" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0007" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0008" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0009" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0010" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0011" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0012" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0013" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0014" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0015" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0016" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0017" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0018" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0019" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0020" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0021" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0022" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0023" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0024" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0025" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0026" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0027" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0028" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0029" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0030" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0031" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0032" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0033" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0034" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0035" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0036" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0037" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0038" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0039" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0040" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0041" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0042" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0043" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0044" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0045" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0046" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0047" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0048" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0049" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0050" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0051" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0052" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0053" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0054" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0055" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0056" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0057" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0058" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0059" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0060" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0061" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0062" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0063" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0064" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0065" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0066" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0067" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0068" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0069" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0070" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0071" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0072" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0073" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0074" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0075" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0076" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/expand-manifest.jsonld#t0077" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0001" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0002" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0003" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0004" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0005" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0006" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0007" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0008" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0009" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0010" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0011" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0012" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0013" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0014" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0015" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0016" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0017" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0018" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0019" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0020" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0021" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0022" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0023" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0024" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0025" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0026" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0027" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0028" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0029" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0030" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0031" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0032" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0033" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0034" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0035" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0036" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0037" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0038" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0039" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0040" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0041" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0042" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0043" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0044" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0045" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0001" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0002" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0003" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0004" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:54+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0005" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0006" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0007" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0008" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0009" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0010" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0011" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0012" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0013" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0014" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0015" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0016" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0017" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0018" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0019" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0020" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0022" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0023" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0024" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0025" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0026" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0027" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0028" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0029" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0030" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0031" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0032" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0033" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0034" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0035" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0036" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0041" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0042" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0043" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0044" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0045" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0046" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0047" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0048" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0049" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0050" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0051" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0052" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0053" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0054" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0055" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0056" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0057" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0058" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0059" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0060" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0061" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0062" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0063" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0064" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0065" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0066" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0067" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0068" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0069" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0070" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0071" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0072" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0073" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0074" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0075" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0076" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0077" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0078" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0079" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0080" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0081" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0082" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0083" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0084" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0085" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0086" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0087" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0088" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0089" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0090" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0091" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0092" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0093" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0094" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0095" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0096" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0097" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0098" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0099" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0100" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0101" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0102" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0103" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0104" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0105" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0106" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0107" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0108" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0109" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0110" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0111" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0112" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0113" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0114" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0115" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0116" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0117" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0118" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/toRdf-manifest.jsonld#t0119" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0001" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0002" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0003" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0004" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0005" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0006" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0007" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0008" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0009" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0010" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0011" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0012" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0013" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0014" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0015" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0016" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0017" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0018" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0019" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0020" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0021" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0022" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0023" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0024" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0025" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0026" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0027" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0028" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0029" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0030" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0031" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0032" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0033" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0034" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0035" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0036" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0037" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0038" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0039" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0040" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0041" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0042" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0043" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0044" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0045" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0046" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0047" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0048" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0049" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0050" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0051" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0052" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0053" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0054" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0055" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0056" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0057" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0058" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0059" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0060" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0061" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0062" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0063" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0064" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0065" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0066" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0067" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0068" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0069" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0070" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/compact-manifest.jsonld#t0071" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0001" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0002" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0003" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0004" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0005" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0006" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0007" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0008" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0009" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0010" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0011" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0012" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0013" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0014" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0015" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0016" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0017" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0018" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0019" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0020" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0021" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0022" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0023" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0024" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0025" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0026" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0027" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0028" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0029" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0030" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0031" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0032" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0033" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0034" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0035" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0036" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0037" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0038" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:55+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0039" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0040" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0041" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0042" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/error-manifest.jsonld#t0043" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0001" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0002" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0003" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0004" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0005" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0006" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0007" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0008" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0009" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0010" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0011" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0012" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0013" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0014" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0015" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0016" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0017" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0018" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0019" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0020" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - }, { - "@type" : "earl:Assertion", - "earl:assertedBy" : { - "@id" : "http://tristan.github.com/foaf#me" - }, - "earl:subject" : { - "@id" : "https://github.com/jsonld-java/jsonld-java" - }, - "earl:test" : { - "@id" : "http://json-ld.org/test-suite/tests/frame-manifest.jsonld#t0021" - }, - "earl:result" : { - "@type" : "earl:TestResult", - "earl:outcome" : { - "@id" : "earl:passed" - }, - "dc:date" : { - "@value" : "2014-02-25T13:04:56+11:00", - "@type" : "xsd:dateTime" - } - }, - "earl:mode" : { - "@id" : "earl:automatic" - } - } ] -} \ No newline at end of file diff --git a/core/reports/report.nq b/core/reports/report.nq deleted file mode 100755 index 1c74dc0a..00000000 --- a/core/reports/report.nq +++ /dev/null @@ -1,4042 +0,0 @@ - . - . - . - "Tristan King" . - "Implementor" . - "Peter Ansell" . - "Contributor" . - . - "2013-05-16"^^ . - "An Implementation of the JSON-LD Specification for Java"@en . - . - . - . - "JSONLD-Java" . - "Java" . - "JSONLD-Java" . - . - . - . -_:b0 . -_:b0 . -_:b0 . -_:b0 _:b1 . -_:b0 . -_:b0 . -_:b1 "2014-02-25T13:04:53+11:00"^^ . -_:b1 . -_:b1 . -_:b10 . -_:b10 . -_:b10 . -_:b10 _:b11 . -_:b10 . -_:b10 . -_:b100 . -_:b100 . -_:b100 . -_:b100 _:b101 . -_:b100 . -_:b100 . -_:b101 "2014-02-25T13:04:53+11:00"^^ . -_:b101 . -_:b101 . -_:b102 . -_:b102 . -_:b102 . -_:b102 _:b103 . -_:b102 . -_:b102 . -_:b103 "2014-02-25T13:04:53+11:00"^^ . -_:b103 . -_:b103 . -_:b104 . -_:b104 . -_:b104 . -_:b104 _:b105 . -_:b104 . -_:b104 . -_:b105 "2014-02-25T13:04:53+11:00"^^ . -_:b105 . -_:b105 . -_:b106 . -_:b106 . -_:b106 . -_:b106 _:b107 . -_:b106 . -_:b106 . -_:b107 "2014-02-25T13:04:53+11:00"^^ . -_:b107 . -_:b107 . -_:b108 . -_:b108 . -_:b108 . -_:b108 _:b109 . -_:b108 . -_:b108 . -_:b109 "2014-02-25T13:04:53+11:00"^^ . -_:b109 . -_:b109 . -_:b11 "2014-02-25T13:04:53+11:00"^^ . -_:b11 . -_:b11 . -_:b110 . -_:b110 . -_:b110 . -_:b110 _:b111 . -_:b110 . -_:b110 . -_:b111 "2014-02-25T13:04:53+11:00"^^ . -_:b111 . -_:b111 . -_:b112 . -_:b112 . -_:b112 . -_:b112 _:b113 . -_:b112 . -_:b112 . -_:b113 "2014-02-25T13:04:53+11:00"^^ . -_:b113 . -_:b113 . -_:b114 . -_:b114 . -_:b114 . -_:b114 _:b115 . -_:b114 . -_:b114 . -_:b115 "2014-02-25T13:04:53+11:00"^^ . -_:b115 . -_:b115 . -_:b116 . -_:b116 . -_:b116 . -_:b116 _:b117 . -_:b116 . -_:b116 . -_:b117 "2014-02-25T13:04:53+11:00"^^ . -_:b117 . -_:b117 . -_:b118 . -_:b118 . -_:b118 . -_:b118 _:b119 . -_:b118 . -_:b118 . -_:b119 "2014-02-25T13:04:53+11:00"^^ . -_:b119 . -_:b119 . -_:b12 . -_:b12 . -_:b12 . -_:b12 _:b13 . -_:b12 . -_:b12 . -_:b120 . -_:b120 . -_:b120 . -_:b120 _:b121 . -_:b120 . -_:b120 . -_:b121 "2014-02-25T13:04:53+11:00"^^ . -_:b121 . -_:b121 . -_:b122 . -_:b122 . -_:b122 . -_:b122 _:b123 . -_:b122 . -_:b122 . -_:b123 "2014-02-25T13:04:53+11:00"^^ . -_:b123 . -_:b123 . -_:b124 . -_:b124 . -_:b124 . -_:b124 _:b125 . -_:b124 . -_:b124 . -_:b125 "2014-02-25T13:04:54+11:00"^^ . -_:b125 . -_:b125 . -_:b126 . -_:b126 . -_:b126 . -_:b126 _:b127 . -_:b126 . -_:b126 . -_:b127 "2014-02-25T13:04:54+11:00"^^ . -_:b127 . -_:b127 . -_:b128 . -_:b128 . -_:b128 . -_:b128 _:b129 . -_:b128 . -_:b128 . -_:b129 "2014-02-25T13:04:54+11:00"^^ . -_:b129 . -_:b129 . -_:b13 "2014-02-25T13:04:53+11:00"^^ . -_:b13 . -_:b13 . -_:b130 . -_:b130 . -_:b130 . -_:b130 _:b131 . -_:b130 . -_:b130 . -_:b131 "2014-02-25T13:04:54+11:00"^^ . -_:b131 . -_:b131 . -_:b132 . -_:b132 . -_:b132 . -_:b132 _:b133 . -_:b132 . -_:b132 . -_:b133 "2014-02-25T13:04:54+11:00"^^ . -_:b133 . -_:b133 . -_:b134 . -_:b134 . -_:b134 . -_:b134 _:b135 . -_:b134 . -_:b134 . -_:b135 "2014-02-25T13:04:54+11:00"^^ . -_:b135 . -_:b135 . -_:b136 . -_:b136 . -_:b136 . -_:b136 _:b137 . -_:b136 . -_:b136 . -_:b137 "2014-02-25T13:04:54+11:00"^^ . -_:b137 . -_:b137 . -_:b138 . -_:b138 . -_:b138 . -_:b138 _:b139 . -_:b138 . -_:b138 . -_:b139 "2014-02-25T13:04:54+11:00"^^ . -_:b139 . -_:b139 . -_:b14 . -_:b14 . -_:b14 . -_:b14 _:b15 . -_:b14 . -_:b14 . -_:b140 . -_:b140 . -_:b140 . -_:b140 _:b141 . -_:b140 . -_:b140 . -_:b141 "2014-02-25T13:04:54+11:00"^^ . -_:b141 . -_:b141 . -_:b142 . -_:b142 . -_:b142 . -_:b142 _:b143 . -_:b142 . -_:b142 . -_:b143 "2014-02-25T13:04:54+11:00"^^ . -_:b143 . -_:b143 . -_:b144 . -_:b144 . -_:b144 . -_:b144 _:b145 . -_:b144 . -_:b144 . -_:b145 "2014-02-25T13:04:54+11:00"^^ . -_:b145 . -_:b145 . -_:b146 . -_:b146 . -_:b146 . -_:b146 _:b147 . -_:b146 . -_:b146 . -_:b147 "2014-02-25T13:04:54+11:00"^^ . -_:b147 . -_:b147 . -_:b148 . -_:b148 . -_:b148 . -_:b148 _:b149 . -_:b148 . -_:b148 . -_:b149 "2014-02-25T13:04:54+11:00"^^ . -_:b149 . -_:b149 . -_:b15 "2014-02-25T13:04:53+11:00"^^ . -_:b15 . -_:b15 . -_:b150 . -_:b150 . -_:b150 . -_:b150 _:b151 . -_:b150 . -_:b150 . -_:b151 "2014-02-25T13:04:54+11:00"^^ . -_:b151 . -_:b151 . -_:b152 . -_:b152 . -_:b152 . -_:b152 _:b153 . -_:b152 . -_:b152 . -_:b153 "2014-02-25T13:04:54+11:00"^^ . -_:b153 . -_:b153 . -_:b154 . -_:b154 . -_:b154 . -_:b154 _:b155 . -_:b154 . -_:b154 . -_:b155 "2014-02-25T13:04:54+11:00"^^ . -_:b155 . -_:b155 . -_:b156 . -_:b156 . -_:b156 . -_:b156 _:b157 . -_:b156 . -_:b156 . -_:b157 "2014-02-25T13:04:54+11:00"^^ . -_:b157 . -_:b157 . -_:b158 . -_:b158 . -_:b158 . -_:b158 _:b159 . -_:b158 . -_:b158 . -_:b159 "2014-02-25T13:04:54+11:00"^^ . -_:b159 . -_:b159 . -_:b16 . -_:b16 . -_:b16 . -_:b16 _:b17 . -_:b16 . -_:b16 . -_:b160 . -_:b160 . -_:b160 . -_:b160 _:b161 . -_:b160 . -_:b160 . -_:b161 "2014-02-25T13:04:54+11:00"^^ . -_:b161 . -_:b161 . -_:b162 . -_:b162 . -_:b162 . -_:b162 _:b163 . -_:b162 . -_:b162 . -_:b163 "2014-02-25T13:04:54+11:00"^^ . -_:b163 . -_:b163 . -_:b164 . -_:b164 . -_:b164 . -_:b164 _:b165 . -_:b164 . -_:b164 . -_:b165 "2014-02-25T13:04:54+11:00"^^ . -_:b165 . -_:b165 . -_:b166 . -_:b166 . -_:b166 . -_:b166 _:b167 . -_:b166 . -_:b166 . -_:b167 "2014-02-25T13:04:54+11:00"^^ . -_:b167 . -_:b167 . -_:b168 . -_:b168 . -_:b168 . -_:b168 _:b169 . -_:b168 . -_:b168 . -_:b169 "2014-02-25T13:04:54+11:00"^^ . -_:b169 . -_:b169 . -_:b17 "2014-02-25T13:04:53+11:00"^^ . -_:b17 . -_:b17 . -_:b170 . -_:b170 . -_:b170 . -_:b170 _:b171 . -_:b170 . -_:b170 . -_:b171 "2014-02-25T13:04:54+11:00"^^ . -_:b171 . -_:b171 . -_:b172 . -_:b172 . -_:b172 . -_:b172 _:b173 . -_:b172 . -_:b172 . -_:b173 "2014-02-25T13:04:54+11:00"^^ . -_:b173 . -_:b173 . -_:b174 . -_:b174 . -_:b174 . -_:b174 _:b175 . -_:b174 . -_:b174 . -_:b175 "2014-02-25T13:04:54+11:00"^^ . -_:b175 . -_:b175 . -_:b176 . -_:b176 . -_:b176 . -_:b176 _:b177 . -_:b176 . -_:b176 . -_:b177 "2014-02-25T13:04:54+11:00"^^ . -_:b177 . -_:b177 . -_:b178 . -_:b178 . -_:b178 . -_:b178 _:b179 . -_:b178 . -_:b178 . -_:b179 "2014-02-25T13:04:54+11:00"^^ . -_:b179 . -_:b179 . -_:b18 . -_:b18 . -_:b18 . -_:b18 _:b19 . -_:b18 . -_:b18 . -_:b180 . -_:b180 . -_:b180 . -_:b180 _:b181 . -_:b180 . -_:b180 . -_:b181 "2014-02-25T13:04:54+11:00"^^ . -_:b181 . -_:b181 . -_:b182 . -_:b182 . -_:b182 . -_:b182 _:b183 . -_:b182 . -_:b182 . -_:b183 "2014-02-25T13:04:54+11:00"^^ . -_:b183 . -_:b183 . -_:b184 . -_:b184 . -_:b184 . -_:b184 _:b185 . -_:b184 . -_:b184 . -_:b185 "2014-02-25T13:04:54+11:00"^^ . -_:b185 . -_:b185 . -_:b186 . -_:b186 . -_:b186 . -_:b186 _:b187 . -_:b186 . -_:b186 . -_:b187 "2014-02-25T13:04:54+11:00"^^ . -_:b187 . -_:b187 . -_:b188 . -_:b188 . -_:b188 . -_:b188 _:b189 . -_:b188 . -_:b188 . -_:b189 "2014-02-25T13:04:54+11:00"^^ . -_:b189 . -_:b189 . -_:b19 "2014-02-25T13:04:53+11:00"^^ . -_:b19 . -_:b19 . -_:b190 . -_:b190 . -_:b190 . -_:b190 _:b191 . -_:b190 . -_:b190 . -_:b191 "2014-02-25T13:04:54+11:00"^^ . -_:b191 . -_:b191 . -_:b192 . -_:b192 . -_:b192 . -_:b192 _:b193 . -_:b192 . -_:b192 . -_:b193 "2014-02-25T13:04:54+11:00"^^ . -_:b193 . -_:b193 . -_:b194 . -_:b194 . -_:b194 . -_:b194 _:b195 . -_:b194 . -_:b194 . -_:b195 "2014-02-25T13:04:54+11:00"^^ . -_:b195 . -_:b195 . -_:b196 . -_:b196 . -_:b196 . -_:b196 _:b197 . -_:b196 . -_:b196 . -_:b197 "2014-02-25T13:04:54+11:00"^^ . -_:b197 . -_:b197 . -_:b198 . -_:b198 . -_:b198 . -_:b198 _:b199 . -_:b198 . -_:b198 . -_:b199 "2014-02-25T13:04:54+11:00"^^ . -_:b199 . -_:b199 . -_:b2 . -_:b2 . -_:b2 . -_:b2 _:b3 . -_:b2 . -_:b2 . -_:b20 . -_:b20 . -_:b20 . -_:b20 _:b21 . -_:b20 . -_:b20 . -_:b200 . -_:b200 . -_:b200 . -_:b200 _:b201 . -_:b200 . -_:b200 . -_:b201 "2014-02-25T13:04:54+11:00"^^ . -_:b201 . -_:b201 . -_:b202 . -_:b202 . -_:b202 . -_:b202 _:b203 . -_:b202 . -_:b202 . -_:b203 "2014-02-25T13:04:54+11:00"^^ . -_:b203 . -_:b203 . -_:b204 . -_:b204 . -_:b204 . -_:b204 _:b205 . -_:b204 . -_:b204 . -_:b205 "2014-02-25T13:04:54+11:00"^^ . -_:b205 . -_:b205 . -_:b206 . -_:b206 . -_:b206 . -_:b206 _:b207 . -_:b206 . -_:b206 . -_:b207 "2014-02-25T13:04:54+11:00"^^ . -_:b207 . -_:b207 . -_:b208 . -_:b208 . -_:b208 . -_:b208 _:b209 . -_:b208 . -_:b208 . -_:b209 "2014-02-25T13:04:54+11:00"^^ . -_:b209 . -_:b209 . -_:b21 "2014-02-25T13:04:53+11:00"^^ . -_:b21 . -_:b21 . -_:b210 . -_:b210 . -_:b210 . -_:b210 _:b211 . -_:b210 . -_:b210 . -_:b211 "2014-02-25T13:04:54+11:00"^^ . -_:b211 . -_:b211 . -_:b212 . -_:b212 . -_:b212 . -_:b212 _:b213 . -_:b212 . -_:b212 . -_:b213 "2014-02-25T13:04:54+11:00"^^ . -_:b213 . -_:b213 . -_:b214 . -_:b214 . -_:b214 . -_:b214 _:b215 . -_:b214 . -_:b214 . -_:b215 "2014-02-25T13:04:54+11:00"^^ . -_:b215 . -_:b215 . -_:b216 . -_:b216 . -_:b216 . -_:b216 _:b217 . -_:b216 . -_:b216 . -_:b217 "2014-02-25T13:04:54+11:00"^^ . -_:b217 . -_:b217 . -_:b218 . -_:b218 . -_:b218 . -_:b218 _:b219 . -_:b218 . -_:b218 . -_:b219 "2014-02-25T13:04:54+11:00"^^ . -_:b219 . -_:b219 . -_:b22 . -_:b22 . -_:b22 . -_:b22 _:b23 . -_:b22 . -_:b22 . -_:b220 . -_:b220 . -_:b220 . -_:b220 _:b221 . -_:b220 . -_:b220 . -_:b221 "2014-02-25T13:04:54+11:00"^^ . -_:b221 . -_:b221 . -_:b222 . -_:b222 . -_:b222 . -_:b222 _:b223 . -_:b222 . -_:b222 . -_:b223 "2014-02-25T13:04:54+11:00"^^ . -_:b223 . -_:b223 . -_:b224 . -_:b224 . -_:b224 . -_:b224 _:b225 . -_:b224 . -_:b224 . -_:b225 "2014-02-25T13:04:54+11:00"^^ . -_:b225 . -_:b225 . -_:b226 . -_:b226 . -_:b226 . -_:b226 _:b227 . -_:b226 . -_:b226 . -_:b227 "2014-02-25T13:04:54+11:00"^^ . -_:b227 . -_:b227 . -_:b228 . -_:b228 . -_:b228 . -_:b228 _:b229 . -_:b228 . -_:b228 . -_:b229 "2014-02-25T13:04:54+11:00"^^ . -_:b229 . -_:b229 . -_:b23 "2014-02-25T13:04:53+11:00"^^ . -_:b23 . -_:b23 . -_:b230 . -_:b230 . -_:b230 . -_:b230 _:b231 . -_:b230 . -_:b230 . -_:b231 "2014-02-25T13:04:54+11:00"^^ . -_:b231 . -_:b231 . -_:b232 . -_:b232 . -_:b232 . -_:b232 _:b233 . -_:b232 . -_:b232 . -_:b233 "2014-02-25T13:04:54+11:00"^^ . -_:b233 . -_:b233 . -_:b234 . -_:b234 . -_:b234 . -_:b234 _:b235 . -_:b234 . -_:b234 . -_:b235 "2014-02-25T13:04:54+11:00"^^ . -_:b235 . -_:b235 . -_:b236 . -_:b236 . -_:b236 . -_:b236 _:b237 . -_:b236 . -_:b236 . -_:b237 "2014-02-25T13:04:54+11:00"^^ . -_:b237 . -_:b237 . -_:b238 . -_:b238 . -_:b238 . -_:b238 _:b239 . -_:b238 . -_:b238 . -_:b239 "2014-02-25T13:04:54+11:00"^^ . -_:b239 . -_:b239 . -_:b24 . -_:b24 . -_:b24 . -_:b24 _:b25 . -_:b24 . -_:b24 . -_:b240 . -_:b240 . -_:b240 . -_:b240 _:b241 . -_:b240 . -_:b240 . -_:b241 "2014-02-25T13:04:54+11:00"^^ . -_:b241 . -_:b241 . -_:b242 . -_:b242 . -_:b242 . -_:b242 _:b243 . -_:b242 . -_:b242 . -_:b243 "2014-02-25T13:04:54+11:00"^^ . -_:b243 . -_:b243 . -_:b244 . -_:b244 . -_:b244 . -_:b244 _:b245 . -_:b244 . -_:b244 . -_:b245 "2014-02-25T13:04:54+11:00"^^ . -_:b245 . -_:b245 . -_:b246 . -_:b246 . -_:b246 . -_:b246 _:b247 . -_:b246 . -_:b246 . -_:b247 "2014-02-25T13:04:54+11:00"^^ . -_:b247 . -_:b247 . -_:b248 . -_:b248 . -_:b248 . -_:b248 _:b249 . -_:b248 . -_:b248 . -_:b249 "2014-02-25T13:04:54+11:00"^^ . -_:b249 . -_:b249 . -_:b25 "2014-02-25T13:04:53+11:00"^^ . -_:b25 . -_:b25 . -_:b250 . -_:b250 . -_:b250 . -_:b250 _:b251 . -_:b250 . -_:b250 . -_:b251 "2014-02-25T13:04:54+11:00"^^ . -_:b251 . -_:b251 . -_:b252 . -_:b252 . -_:b252 . -_:b252 _:b253 . -_:b252 . -_:b252 . -_:b253 "2014-02-25T13:04:54+11:00"^^ . -_:b253 . -_:b253 . -_:b254 . -_:b254 . -_:b254 . -_:b254 _:b255 . -_:b254 . -_:b254 . -_:b255 "2014-02-25T13:04:54+11:00"^^ . -_:b255 . -_:b255 . -_:b256 . -_:b256 . -_:b256 . -_:b256 _:b257 . -_:b256 . -_:b256 . -_:b257 "2014-02-25T13:04:54+11:00"^^ . -_:b257 . -_:b257 . -_:b258 . -_:b258 . -_:b258 . -_:b258 _:b259 . -_:b258 . -_:b258 . -_:b259 "2014-02-25T13:04:54+11:00"^^ . -_:b259 . -_:b259 . -_:b26 . -_:b26 . -_:b26 . -_:b26 _:b27 . -_:b26 . -_:b26 . -_:b260 . -_:b260 . -_:b260 . -_:b260 _:b261 . -_:b260 . -_:b260 . -_:b261 "2014-02-25T13:04:54+11:00"^^ . -_:b261 . -_:b261 . -_:b262 . -_:b262 . -_:b262 . -_:b262 _:b263 . -_:b262 . -_:b262 . -_:b263 "2014-02-25T13:04:54+11:00"^^ . -_:b263 . -_:b263 . -_:b264 . -_:b264 . -_:b264 . -_:b264 _:b265 . -_:b264 . -_:b264 . -_:b265 "2014-02-25T13:04:54+11:00"^^ . -_:b265 . -_:b265 . -_:b266 . -_:b266 . -_:b266 . -_:b266 _:b267 . -_:b266 . -_:b266 . -_:b267 "2014-02-25T13:04:54+11:00"^^ . -_:b267 . -_:b267 . -_:b268 . -_:b268 . -_:b268 . -_:b268 _:b269 . -_:b268 . -_:b268 . -_:b269 "2014-02-25T13:04:54+11:00"^^ . -_:b269 . -_:b269 . -_:b27 "2014-02-25T13:04:53+11:00"^^ . -_:b27 . -_:b27 . -_:b270 . -_:b270 . -_:b270 . -_:b270 _:b271 . -_:b270 . -_:b270 . -_:b271 "2014-02-25T13:04:54+11:00"^^ . -_:b271 . -_:b271 . -_:b272 . -_:b272 . -_:b272 . -_:b272 _:b273 . -_:b272 . -_:b272 . -_:b273 "2014-02-25T13:04:54+11:00"^^ . -_:b273 . -_:b273 . -_:b274 . -_:b274 . -_:b274 . -_:b274 _:b275 . -_:b274 . -_:b274 . -_:b275 "2014-02-25T13:04:54+11:00"^^ . -_:b275 . -_:b275 . -_:b276 . -_:b276 . -_:b276 . -_:b276 _:b277 . -_:b276 . -_:b276 . -_:b277 "2014-02-25T13:04:54+11:00"^^ . -_:b277 . -_:b277 . -_:b278 . -_:b278 . -_:b278 . -_:b278 _:b279 . -_:b278 . -_:b278 . -_:b279 "2014-02-25T13:04:54+11:00"^^ . -_:b279 . -_:b279 . -_:b28 . -_:b28 . -_:b28 . -_:b28 _:b29 . -_:b28 . -_:b28 . -_:b280 . -_:b280 . -_:b280 . -_:b280 _:b281 . -_:b280 . -_:b280 . -_:b281 "2014-02-25T13:04:54+11:00"^^ . -_:b281 . -_:b281 . -_:b282 . -_:b282 . -_:b282 . -_:b282 _:b283 . -_:b282 . -_:b282 . -_:b283 "2014-02-25T13:04:54+11:00"^^ . -_:b283 . -_:b283 . -_:b284 . -_:b284 . -_:b284 . -_:b284 _:b285 . -_:b284 . -_:b284 . -_:b285 "2014-02-25T13:04:54+11:00"^^ . -_:b285 . -_:b285 . -_:b286 . -_:b286 . -_:b286 . -_:b286 _:b287 . -_:b286 . -_:b286 . -_:b287 "2014-02-25T13:04:54+11:00"^^ . -_:b287 . -_:b287 . -_:b288 . -_:b288 . -_:b288 . -_:b288 _:b289 . -_:b288 . -_:b288 . -_:b289 "2014-02-25T13:04:54+11:00"^^ . -_:b289 . -_:b289 . -_:b29 "2014-02-25T13:04:53+11:00"^^ . -_:b29 . -_:b29 . -_:b290 . -_:b290 . -_:b290 . -_:b290 _:b291 . -_:b290 . -_:b290 . -_:b291 "2014-02-25T13:04:54+11:00"^^ . -_:b291 . -_:b291 . -_:b292 . -_:b292 . -_:b292 . -_:b292 _:b293 . -_:b292 . -_:b292 . -_:b293 "2014-02-25T13:04:54+11:00"^^ . -_:b293 . -_:b293 . -_:b294 . -_:b294 . -_:b294 . -_:b294 _:b295 . -_:b294 . -_:b294 . -_:b295 "2014-02-25T13:04:54+11:00"^^ . -_:b295 . -_:b295 . -_:b296 . -_:b296 . -_:b296 . -_:b296 _:b297 . -_:b296 . -_:b296 . -_:b297 "2014-02-25T13:04:54+11:00"^^ . -_:b297 . -_:b297 . -_:b298 . -_:b298 . -_:b298 . -_:b298 _:b299 . -_:b298 . -_:b298 . -_:b299 "2014-02-25T13:04:54+11:00"^^ . -_:b299 . -_:b299 . -_:b3 "2014-02-25T13:04:53+11:00"^^ . -_:b3 . -_:b3 . -_:b30 . -_:b30 . -_:b30 . -_:b30 _:b31 . -_:b30 . -_:b30 . -_:b300 . -_:b300 . -_:b300 . -_:b300 _:b301 . -_:b300 . -_:b300 . -_:b301 "2014-02-25T13:04:54+11:00"^^ . -_:b301 . -_:b301 . -_:b302 . -_:b302 . -_:b302 . -_:b302 _:b303 . -_:b302 . -_:b302 . -_:b303 "2014-02-25T13:04:54+11:00"^^ . -_:b303 . -_:b303 . -_:b304 . -_:b304 . -_:b304 . -_:b304 _:b305 . -_:b304 . -_:b304 . -_:b305 "2014-02-25T13:04:54+11:00"^^ . -_:b305 . -_:b305 . -_:b306 . -_:b306 . -_:b306 . -_:b306 _:b307 . -_:b306 . -_:b306 . -_:b307 "2014-02-25T13:04:54+11:00"^^ . -_:b307 . -_:b307 . -_:b308 . -_:b308 . -_:b308 . -_:b308 _:b309 . -_:b308 . -_:b308 . -_:b309 "2014-02-25T13:04:54+11:00"^^ . -_:b309 . -_:b309 . -_:b31 "2014-02-25T13:04:53+11:00"^^ . -_:b31 . -_:b31 . -_:b310 . -_:b310 . -_:b310 . -_:b310 _:b311 . -_:b310 . -_:b310 . -_:b311 "2014-02-25T13:04:54+11:00"^^ . -_:b311 . -_:b311 . -_:b312 . -_:b312 . -_:b312 . -_:b312 _:b313 . -_:b312 . -_:b312 . -_:b313 "2014-02-25T13:04:54+11:00"^^ . -_:b313 . -_:b313 . -_:b314 . -_:b314 . -_:b314 . -_:b314 _:b315 . -_:b314 . -_:b314 . -_:b315 "2014-02-25T13:04:54+11:00"^^ . -_:b315 . -_:b315 . -_:b316 . -_:b316 . -_:b316 . -_:b316 _:b317 . -_:b316 . -_:b316 . -_:b317 "2014-02-25T13:04:54+11:00"^^ . -_:b317 . -_:b317 . -_:b318 . -_:b318 . -_:b318 . -_:b318 _:b319 . -_:b318 . -_:b318 . -_:b319 "2014-02-25T13:04:54+11:00"^^ . -_:b319 . -_:b319 . -_:b32 . -_:b32 . -_:b32 . -_:b32 _:b33 . -_:b32 . -_:b32 . -_:b320 . -_:b320 . -_:b320 . -_:b320 _:b321 . -_:b320 . -_:b320 . -_:b321 "2014-02-25T13:04:54+11:00"^^ . -_:b321 . -_:b321 . -_:b322 . -_:b322 . -_:b322 . -_:b322 _:b323 . -_:b322 . -_:b322 . -_:b323 "2014-02-25T13:04:54+11:00"^^ . -_:b323 . -_:b323 . -_:b324 . -_:b324 . -_:b324 . -_:b324 _:b325 . -_:b324 . -_:b324 . -_:b325 "2014-02-25T13:04:54+11:00"^^ . -_:b325 . -_:b325 . -_:b326 . -_:b326 . -_:b326 . -_:b326 _:b327 . -_:b326 . -_:b326 . -_:b327 "2014-02-25T13:04:54+11:00"^^ . -_:b327 . -_:b327 . -_:b328 . -_:b328 . -_:b328 . -_:b328 _:b329 . -_:b328 . -_:b328 . -_:b329 "2014-02-25T13:04:54+11:00"^^ . -_:b329 . -_:b329 . -_:b33 "2014-02-25T13:04:53+11:00"^^ . -_:b33 . -_:b33 . -_:b330 . -_:b330 . -_:b330 . -_:b330 _:b331 . -_:b330 . -_:b330 . -_:b331 "2014-02-25T13:04:54+11:00"^^ . -_:b331 . -_:b331 . -_:b332 . -_:b332 . -_:b332 . -_:b332 _:b333 . -_:b332 . -_:b332 . -_:b333 "2014-02-25T13:04:54+11:00"^^ . -_:b333 . -_:b333 . -_:b334 . -_:b334 . -_:b334 . -_:b334 _:b335 . -_:b334 . -_:b334 . -_:b335 "2014-02-25T13:04:54+11:00"^^ . -_:b335 . -_:b335 . -_:b336 . -_:b336 . -_:b336 . -_:b336 _:b337 . -_:b336 . -_:b336 . -_:b337 "2014-02-25T13:04:54+11:00"^^ . -_:b337 . -_:b337 . -_:b338 . -_:b338 . -_:b338 . -_:b338 _:b339 . -_:b338 . -_:b338 . -_:b339 "2014-02-25T13:04:54+11:00"^^ . -_:b339 . -_:b339 . -_:b34 . -_:b34 . -_:b34 . -_:b34 _:b35 . -_:b34 . -_:b34 . -_:b340 . -_:b340 . -_:b340 . -_:b340 _:b341 . -_:b340 . -_:b340 . -_:b341 "2014-02-25T13:04:54+11:00"^^ . -_:b341 . -_:b341 . -_:b342 . -_:b342 . -_:b342 . -_:b342 _:b343 . -_:b342 . -_:b342 . -_:b343 "2014-02-25T13:04:54+11:00"^^ . -_:b343 . -_:b343 . -_:b344 . -_:b344 . -_:b344 . -_:b344 _:b345 . -_:b344 . -_:b344 . -_:b345 "2014-02-25T13:04:54+11:00"^^ . -_:b345 . -_:b345 . -_:b346 . -_:b346 . -_:b346 . -_:b346 _:b347 . -_:b346 . -_:b346 . -_:b347 "2014-02-25T13:04:54+11:00"^^ . -_:b347 . -_:b347 . -_:b348 . -_:b348 . -_:b348 . -_:b348 _:b349 . -_:b348 . -_:b348 . -_:b349 "2014-02-25T13:04:54+11:00"^^ . -_:b349 . -_:b349 . -_:b35 "2014-02-25T13:04:53+11:00"^^ . -_:b35 . -_:b35 . -_:b350 . -_:b350 . -_:b350 . -_:b350 _:b351 . -_:b350 . -_:b350 . -_:b351 "2014-02-25T13:04:54+11:00"^^ . -_:b351 . -_:b351 . -_:b352 . -_:b352 . -_:b352 . -_:b352 _:b353 . -_:b352 . -_:b352 . -_:b353 "2014-02-25T13:04:54+11:00"^^ . -_:b353 . -_:b353 . -_:b354 . -_:b354 . -_:b354 . -_:b354 _:b355 . -_:b354 . -_:b354 . -_:b355 "2014-02-25T13:04:54+11:00"^^ . -_:b355 . -_:b355 . -_:b356 . -_:b356 . -_:b356 . -_:b356 _:b357 . -_:b356 . -_:b356 . -_:b357 "2014-02-25T13:04:54+11:00"^^ . -_:b357 . -_:b357 . -_:b358 . -_:b358 . -_:b358 . -_:b358 _:b359 . -_:b358 . -_:b358 . -_:b359 "2014-02-25T13:04:54+11:00"^^ . -_:b359 . -_:b359 . -_:b36 . -_:b36 . -_:b36 . -_:b36 _:b37 . -_:b36 . -_:b36 . -_:b360 . -_:b360 . -_:b360 . -_:b360 _:b361 . -_:b360 . -_:b360 . -_:b361 "2014-02-25T13:04:54+11:00"^^ . -_:b361 . -_:b361 . -_:b362 . -_:b362 . -_:b362 . -_:b362 _:b363 . -_:b362 . -_:b362 . -_:b363 "2014-02-25T13:04:54+11:00"^^ . -_:b363 . -_:b363 . -_:b364 . -_:b364 . -_:b364 . -_:b364 _:b365 . -_:b364 . -_:b364 . -_:b365 "2014-02-25T13:04:54+11:00"^^ . -_:b365 . -_:b365 . -_:b366 . -_:b366 . -_:b366 . -_:b366 _:b367 . -_:b366 . -_:b366 . -_:b367 "2014-02-25T13:04:54+11:00"^^ . -_:b367 . -_:b367 . -_:b368 . -_:b368 . -_:b368 . -_:b368 _:b369 . -_:b368 . -_:b368 . -_:b369 "2014-02-25T13:04:54+11:00"^^ . -_:b369 . -_:b369 . -_:b37 "2014-02-25T13:04:53+11:00"^^ . -_:b37 . -_:b37 . -_:b370 . -_:b370 . -_:b370 . -_:b370 _:b371 . -_:b370 . -_:b370 . -_:b371 "2014-02-25T13:04:54+11:00"^^ . -_:b371 . -_:b371 . -_:b372 . -_:b372 . -_:b372 . -_:b372 _:b373 . -_:b372 . -_:b372 . -_:b373 "2014-02-25T13:04:54+11:00"^^ . -_:b373 . -_:b373 . -_:b374 . -_:b374 . -_:b374 . -_:b374 _:b375 . -_:b374 . -_:b374 . -_:b375 "2014-02-25T13:04:54+11:00"^^ . -_:b375 . -_:b375 . -_:b376 . -_:b376 . -_:b376 . -_:b376 _:b377 . -_:b376 . -_:b376 . -_:b377 "2014-02-25T13:04:54+11:00"^^ . -_:b377 . -_:b377 . -_:b378 . -_:b378 . -_:b378 . -_:b378 _:b379 . -_:b378 . -_:b378 . -_:b379 "2014-02-25T13:04:54+11:00"^^ . -_:b379 . -_:b379 . -_:b38 . -_:b38 . -_:b38 . -_:b38 _:b39 . -_:b38 . -_:b38 . -_:b380 . -_:b380 . -_:b380 . -_:b380 _:b381 . -_:b380 . -_:b380 . -_:b381 "2014-02-25T13:04:54+11:00"^^ . -_:b381 . -_:b381 . -_:b382 . -_:b382 . -_:b382 . -_:b382 _:b383 . -_:b382 . -_:b382 . -_:b383 "2014-02-25T13:04:54+11:00"^^ . -_:b383 . -_:b383 . -_:b384 . -_:b384 . -_:b384 . -_:b384 _:b385 . -_:b384 . -_:b384 . -_:b385 "2014-02-25T13:04:54+11:00"^^ . -_:b385 . -_:b385 . -_:b386 . -_:b386 . -_:b386 . -_:b386 _:b387 . -_:b386 . -_:b386 . -_:b387 "2014-02-25T13:04:54+11:00"^^ . -_:b387 . -_:b387 . -_:b388 . -_:b388 . -_:b388 . -_:b388 _:b389 . -_:b388 . -_:b388 . -_:b389 "2014-02-25T13:04:54+11:00"^^ . -_:b389 . -_:b389 . -_:b39 "2014-02-25T13:04:53+11:00"^^ . -_:b39 . -_:b39 . -_:b390 . -_:b390 . -_:b390 . -_:b390 _:b391 . -_:b390 . -_:b390 . -_:b391 "2014-02-25T13:04:54+11:00"^^ . -_:b391 . -_:b391 . -_:b392 . -_:b392 . -_:b392 . -_:b392 _:b393 . -_:b392 . -_:b392 . -_:b393 "2014-02-25T13:04:54+11:00"^^ . -_:b393 . -_:b393 . -_:b394 . -_:b394 . -_:b394 . -_:b394 _:b395 . -_:b394 . -_:b394 . -_:b395 "2014-02-25T13:04:54+11:00"^^ . -_:b395 . -_:b395 . -_:b396 . -_:b396 . -_:b396 . -_:b396 _:b397 . -_:b396 . -_:b396 . -_:b397 "2014-02-25T13:04:54+11:00"^^ . -_:b397 . -_:b397 . -_:b398 . -_:b398 . -_:b398 . -_:b398 _:b399 . -_:b398 . -_:b398 . -_:b399 "2014-02-25T13:04:54+11:00"^^ . -_:b399 . -_:b399 . -_:b4 . -_:b4 . -_:b4 . -_:b4 _:b5 . -_:b4 . -_:b4 . -_:b40 . -_:b40 . -_:b40 . -_:b40 _:b41 . -_:b40 . -_:b40 . -_:b400 . -_:b400 . -_:b400 . -_:b400 _:b401 . -_:b400 . -_:b400 . -_:b401 "2014-02-25T13:04:54+11:00"^^ . -_:b401 . -_:b401 . -_:b402 . -_:b402 . -_:b402 . -_:b402 _:b403 . -_:b402 . -_:b402 . -_:b403 "2014-02-25T13:04:54+11:00"^^ . -_:b403 . -_:b403 . -_:b404 . -_:b404 . -_:b404 . -_:b404 _:b405 . -_:b404 . -_:b404 . -_:b405 "2014-02-25T13:04:55+11:00"^^ . -_:b405 . -_:b405 . -_:b406 . -_:b406 . -_:b406 . -_:b406 _:b407 . -_:b406 . -_:b406 . -_:b407 "2014-02-25T13:04:55+11:00"^^ . -_:b407 . -_:b407 . -_:b408 . -_:b408 . -_:b408 . -_:b408 _:b409 . -_:b408 . -_:b408 . -_:b409 "2014-02-25T13:04:55+11:00"^^ . -_:b409 . -_:b409 . -_:b41 "2014-02-25T13:04:53+11:00"^^ . -_:b41 . -_:b41 . -_:b410 . -_:b410 . -_:b410 . -_:b410 _:b411 . -_:b410 . -_:b410 . -_:b411 "2014-02-25T13:04:55+11:00"^^ . -_:b411 . -_:b411 . -_:b412 . -_:b412 . -_:b412 . -_:b412 _:b413 . -_:b412 . -_:b412 . -_:b413 "2014-02-25T13:04:55+11:00"^^ . -_:b413 . -_:b413 . -_:b414 . -_:b414 . -_:b414 . -_:b414 _:b415 . -_:b414 . -_:b414 . -_:b415 "2014-02-25T13:04:55+11:00"^^ . -_:b415 . -_:b415 . -_:b416 . -_:b416 . -_:b416 . -_:b416 _:b417 . -_:b416 . -_:b416 . -_:b417 "2014-02-25T13:04:55+11:00"^^ . -_:b417 . -_:b417 . -_:b418 . -_:b418 . -_:b418 . -_:b418 _:b419 . -_:b418 . -_:b418 . -_:b419 "2014-02-25T13:04:55+11:00"^^ . -_:b419 . -_:b419 . -_:b42 . -_:b42 . -_:b42 . -_:b42 _:b43 . -_:b42 . -_:b42 . -_:b420 . -_:b420 . -_:b420 . -_:b420 _:b421 . -_:b420 . -_:b420 . -_:b421 "2014-02-25T13:04:55+11:00"^^ . -_:b421 . -_:b421 . -_:b422 . -_:b422 . -_:b422 . -_:b422 _:b423 . -_:b422 . -_:b422 . -_:b423 "2014-02-25T13:04:55+11:00"^^ . -_:b423 . -_:b423 . -_:b424 . -_:b424 . -_:b424 . -_:b424 _:b425 . -_:b424 . -_:b424 . -_:b425 "2014-02-25T13:04:55+11:00"^^ . -_:b425 . -_:b425 . -_:b426 . -_:b426 . -_:b426 . -_:b426 _:b427 . -_:b426 . -_:b426 . -_:b427 "2014-02-25T13:04:55+11:00"^^ . -_:b427 . -_:b427 . -_:b428 . -_:b428 . -_:b428 . -_:b428 _:b429 . -_:b428 . -_:b428 . -_:b429 "2014-02-25T13:04:55+11:00"^^ . -_:b429 . -_:b429 . -_:b43 "2014-02-25T13:04:53+11:00"^^ . -_:b43 . -_:b43 . -_:b430 . -_:b430 . -_:b430 . -_:b430 _:b431 . -_:b430 . -_:b430 . -_:b431 "2014-02-25T13:04:55+11:00"^^ . -_:b431 . -_:b431 . -_:b432 . -_:b432 . -_:b432 . -_:b432 _:b433 . -_:b432 . -_:b432 . -_:b433 "2014-02-25T13:04:55+11:00"^^ . -_:b433 . -_:b433 . -_:b434 . -_:b434 . -_:b434 . -_:b434 _:b435 . -_:b434 . -_:b434 . -_:b435 "2014-02-25T13:04:55+11:00"^^ . -_:b435 . -_:b435 . -_:b436 . -_:b436 . -_:b436 . -_:b436 _:b437 . -_:b436 . -_:b436 . -_:b437 "2014-02-25T13:04:55+11:00"^^ . -_:b437 . -_:b437 . -_:b438 . -_:b438 . -_:b438 . -_:b438 _:b439 . -_:b438 . -_:b438 . -_:b439 "2014-02-25T13:04:55+11:00"^^ . -_:b439 . -_:b439 . -_:b44 . -_:b44 . -_:b44 . -_:b44 _:b45 . -_:b44 . -_:b44 . -_:b440 . -_:b440 . -_:b440 . -_:b440 _:b441 . -_:b440 . -_:b440 . -_:b441 "2014-02-25T13:04:55+11:00"^^ . -_:b441 . -_:b441 . -_:b442 . -_:b442 . -_:b442 . -_:b442 _:b443 . -_:b442 . -_:b442 . -_:b443 "2014-02-25T13:04:55+11:00"^^ . -_:b443 . -_:b443 . -_:b444 . -_:b444 . -_:b444 . -_:b444 _:b445 . -_:b444 . -_:b444 . -_:b445 "2014-02-25T13:04:55+11:00"^^ . -_:b445 . -_:b445 . -_:b446 . -_:b446 . -_:b446 . -_:b446 _:b447 . -_:b446 . -_:b446 . -_:b447 "2014-02-25T13:04:55+11:00"^^ . -_:b447 . -_:b447 . -_:b448 . -_:b448 . -_:b448 . -_:b448 _:b449 . -_:b448 . -_:b448 . -_:b449 "2014-02-25T13:04:55+11:00"^^ . -_:b449 . -_:b449 . -_:b45 "2014-02-25T13:04:53+11:00"^^ . -_:b45 . -_:b45 . -_:b450 . -_:b450 . -_:b450 . -_:b450 _:b451 . -_:b450 . -_:b450 . -_:b451 "2014-02-25T13:04:55+11:00"^^ . -_:b451 . -_:b451 . -_:b452 . -_:b452 . -_:b452 . -_:b452 _:b453 . -_:b452 . -_:b452 . -_:b453 "2014-02-25T13:04:55+11:00"^^ . -_:b453 . -_:b453 . -_:b454 . -_:b454 . -_:b454 . -_:b454 _:b455 . -_:b454 . -_:b454 . -_:b455 "2014-02-25T13:04:55+11:00"^^ . -_:b455 . -_:b455 . -_:b456 . -_:b456 . -_:b456 . -_:b456 _:b457 . -_:b456 . -_:b456 . -_:b457 "2014-02-25T13:04:55+11:00"^^ . -_:b457 . -_:b457 . -_:b458 . -_:b458 . -_:b458 . -_:b458 _:b459 . -_:b458 . -_:b458 . -_:b459 "2014-02-25T13:04:55+11:00"^^ . -_:b459 . -_:b459 . -_:b46 . -_:b46 . -_:b46 . -_:b46 _:b47 . -_:b46 . -_:b46 . -_:b460 . -_:b460 . -_:b460 . -_:b460 _:b461 . -_:b460 . -_:b460 . -_:b461 "2014-02-25T13:04:55+11:00"^^ . -_:b461 . -_:b461 . -_:b462 . -_:b462 . -_:b462 . -_:b462 _:b463 . -_:b462 . -_:b462 . -_:b463 "2014-02-25T13:04:55+11:00"^^ . -_:b463 . -_:b463 . -_:b464 . -_:b464 . -_:b464 . -_:b464 _:b465 . -_:b464 . -_:b464 . -_:b465 "2014-02-25T13:04:55+11:00"^^ . -_:b465 . -_:b465 . -_:b466 . -_:b466 . -_:b466 . -_:b466 _:b467 . -_:b466 . -_:b466 . -_:b467 "2014-02-25T13:04:55+11:00"^^ . -_:b467 . -_:b467 . -_:b468 . -_:b468 . -_:b468 . -_:b468 _:b469 . -_:b468 . -_:b468 . -_:b469 "2014-02-25T13:04:55+11:00"^^ . -_:b469 . -_:b469 . -_:b47 "2014-02-25T13:04:53+11:00"^^ . -_:b47 . -_:b47 . -_:b470 . -_:b470 . -_:b470 . -_:b470 _:b471 . -_:b470 . -_:b470 . -_:b471 "2014-02-25T13:04:55+11:00"^^ . -_:b471 . -_:b471 . -_:b472 . -_:b472 . -_:b472 . -_:b472 _:b473 . -_:b472 . -_:b472 . -_:b473 "2014-02-25T13:04:55+11:00"^^ . -_:b473 . -_:b473 . -_:b474 . -_:b474 . -_:b474 . -_:b474 _:b475 . -_:b474 . -_:b474 . -_:b475 "2014-02-25T13:04:55+11:00"^^ . -_:b475 . -_:b475 . -_:b476 . -_:b476 . -_:b476 . -_:b476 _:b477 . -_:b476 . -_:b476 . -_:b477 "2014-02-25T13:04:55+11:00"^^ . -_:b477 . -_:b477 . -_:b478 . -_:b478 . -_:b478 . -_:b478 _:b479 . -_:b478 . -_:b478 . -_:b479 "2014-02-25T13:04:55+11:00"^^ . -_:b479 . -_:b479 . -_:b48 . -_:b48 . -_:b48 . -_:b48 _:b49 . -_:b48 . -_:b48 . -_:b480 . -_:b480 . -_:b480 . -_:b480 _:b481 . -_:b480 . -_:b480 . -_:b481 "2014-02-25T13:04:55+11:00"^^ . -_:b481 . -_:b481 . -_:b482 . -_:b482 . -_:b482 . -_:b482 _:b483 . -_:b482 . -_:b482 . -_:b483 "2014-02-25T13:04:55+11:00"^^ . -_:b483 . -_:b483 . -_:b484 . -_:b484 . -_:b484 . -_:b484 _:b485 . -_:b484 . -_:b484 . -_:b485 "2014-02-25T13:04:55+11:00"^^ . -_:b485 . -_:b485 . -_:b486 . -_:b486 . -_:b486 . -_:b486 _:b487 . -_:b486 . -_:b486 . -_:b487 "2014-02-25T13:04:55+11:00"^^ . -_:b487 . -_:b487 . -_:b488 . -_:b488 . -_:b488 . -_:b488 _:b489 . -_:b488 . -_:b488 . -_:b489 "2014-02-25T13:04:55+11:00"^^ . -_:b489 . -_:b489 . -_:b49 "2014-02-25T13:04:53+11:00"^^ . -_:b49 . -_:b49 . -_:b490 . -_:b490 . -_:b490 . -_:b490 _:b491 . -_:b490 . -_:b490 . -_:b491 "2014-02-25T13:04:55+11:00"^^ . -_:b491 . -_:b491 . -_:b492 . -_:b492 . -_:b492 . -_:b492 _:b493 . -_:b492 . -_:b492 . -_:b493 "2014-02-25T13:04:55+11:00"^^ . -_:b493 . -_:b493 . -_:b494 . -_:b494 . -_:b494 . -_:b494 _:b495 . -_:b494 . -_:b494 . -_:b495 "2014-02-25T13:04:55+11:00"^^ . -_:b495 . -_:b495 . -_:b496 . -_:b496 . -_:b496 . -_:b496 _:b497 . -_:b496 . -_:b496 . -_:b497 "2014-02-25T13:04:55+11:00"^^ . -_:b497 . -_:b497 . -_:b498 . -_:b498 . -_:b498 . -_:b498 _:b499 . -_:b498 . -_:b498 . -_:b499 "2014-02-25T13:04:55+11:00"^^ . -_:b499 . -_:b499 . -_:b5 "2014-02-25T13:04:53+11:00"^^ . -_:b5 . -_:b5 . -_:b50 . -_:b50 . -_:b50 . -_:b50 _:b51 . -_:b50 . -_:b50 . -_:b500 . -_:b500 . -_:b500 . -_:b500 _:b501 . -_:b500 . -_:b500 . -_:b501 "2014-02-25T13:04:55+11:00"^^ . -_:b501 . -_:b501 . -_:b502 . -_:b502 . -_:b502 . -_:b502 _:b503 . -_:b502 . -_:b502 . -_:b503 "2014-02-25T13:04:55+11:00"^^ . -_:b503 . -_:b503 . -_:b504 . -_:b504 . -_:b504 . -_:b504 _:b505 . -_:b504 . -_:b504 . -_:b505 "2014-02-25T13:04:55+11:00"^^ . -_:b505 . -_:b505 . -_:b506 . -_:b506 . -_:b506 . -_:b506 _:b507 . -_:b506 . -_:b506 . -_:b507 "2014-02-25T13:04:55+11:00"^^ . -_:b507 . -_:b507 . -_:b508 . -_:b508 . -_:b508 . -_:b508 _:b509 . -_:b508 . -_:b508 . -_:b509 "2014-02-25T13:04:55+11:00"^^ . -_:b509 . -_:b509 . -_:b51 "2014-02-25T13:04:53+11:00"^^ . -_:b51 . -_:b51 . -_:b510 . -_:b510 . -_:b510 . -_:b510 _:b511 . -_:b510 . -_:b510 . -_:b511 "2014-02-25T13:04:55+11:00"^^ . -_:b511 . -_:b511 . -_:b512 . -_:b512 . -_:b512 . -_:b512 _:b513 . -_:b512 . -_:b512 . -_:b513 "2014-02-25T13:04:55+11:00"^^ . -_:b513 . -_:b513 . -_:b514 . -_:b514 . -_:b514 . -_:b514 _:b515 . -_:b514 . -_:b514 . -_:b515 "2014-02-25T13:04:55+11:00"^^ . -_:b515 . -_:b515 . -_:b516 . -_:b516 . -_:b516 . -_:b516 _:b517 . -_:b516 . -_:b516 . -_:b517 "2014-02-25T13:04:55+11:00"^^ . -_:b517 . -_:b517 . -_:b518 . -_:b518 . -_:b518 . -_:b518 _:b519 . -_:b518 . -_:b518 . -_:b519 "2014-02-25T13:04:55+11:00"^^ . -_:b519 . -_:b519 . -_:b52 . -_:b52 . -_:b52 . -_:b52 _:b53 . -_:b52 . -_:b52 . -_:b520 . -_:b520 . -_:b520 . -_:b520 _:b521 . -_:b520 . -_:b520 . -_:b521 "2014-02-25T13:04:55+11:00"^^ . -_:b521 . -_:b521 . -_:b522 . -_:b522 . -_:b522 . -_:b522 _:b523 . -_:b522 . -_:b522 . -_:b523 "2014-02-25T13:04:55+11:00"^^ . -_:b523 . -_:b523 . -_:b524 . -_:b524 . -_:b524 . -_:b524 _:b525 . -_:b524 . -_:b524 . -_:b525 "2014-02-25T13:04:55+11:00"^^ . -_:b525 . -_:b525 . -_:b526 . -_:b526 . -_:b526 . -_:b526 _:b527 . -_:b526 . -_:b526 . -_:b527 "2014-02-25T13:04:55+11:00"^^ . -_:b527 . -_:b527 . -_:b528 . -_:b528 . -_:b528 . -_:b528 _:b529 . -_:b528 . -_:b528 . -_:b529 "2014-02-25T13:04:55+11:00"^^ . -_:b529 . -_:b529 . -_:b53 "2014-02-25T13:04:53+11:00"^^ . -_:b53 . -_:b53 . -_:b530 . -_:b530 . -_:b530 . -_:b530 _:b531 . -_:b530 . -_:b530 . -_:b531 "2014-02-25T13:04:55+11:00"^^ . -_:b531 . -_:b531 . -_:b532 . -_:b532 . -_:b532 . -_:b532 _:b533 . -_:b532 . -_:b532 . -_:b533 "2014-02-25T13:04:55+11:00"^^ . -_:b533 . -_:b533 . -_:b534 . -_:b534 . -_:b534 . -_:b534 _:b535 . -_:b534 . -_:b534 . -_:b535 "2014-02-25T13:04:55+11:00"^^ . -_:b535 . -_:b535 . -_:b536 . -_:b536 . -_:b536 . -_:b536 _:b537 . -_:b536 . -_:b536 . -_:b537 "2014-02-25T13:04:55+11:00"^^ . -_:b537 . -_:b537 . -_:b538 . -_:b538 . -_:b538 . -_:b538 _:b539 . -_:b538 . -_:b538 . -_:b539 "2014-02-25T13:04:55+11:00"^^ . -_:b539 . -_:b539 . -_:b54 . -_:b54 . -_:b54 . -_:b54 _:b55 . -_:b54 . -_:b54 . -_:b540 . -_:b540 . -_:b540 . -_:b540 _:b541 . -_:b540 . -_:b540 . -_:b541 "2014-02-25T13:04:55+11:00"^^ . -_:b541 . -_:b541 . -_:b542 . -_:b542 . -_:b542 . -_:b542 _:b543 . -_:b542 . -_:b542 . -_:b543 "2014-02-25T13:04:55+11:00"^^ . -_:b543 . -_:b543 . -_:b544 . -_:b544 . -_:b544 . -_:b544 _:b545 . -_:b544 . -_:b544 . -_:b545 "2014-02-25T13:04:55+11:00"^^ . -_:b545 . -_:b545 . -_:b546 . -_:b546 . -_:b546 . -_:b546 _:b547 . -_:b546 . -_:b546 . -_:b547 "2014-02-25T13:04:55+11:00"^^ . -_:b547 . -_:b547 . -_:b548 . -_:b548 . -_:b548 . -_:b548 _:b549 . -_:b548 . -_:b548 . -_:b549 "2014-02-25T13:04:55+11:00"^^ . -_:b549 . -_:b549 . -_:b55 "2014-02-25T13:04:53+11:00"^^ . -_:b55 . -_:b55 . -_:b550 . -_:b550 . -_:b550 . -_:b550 _:b551 . -_:b550 . -_:b550 . -_:b551 "2014-02-25T13:04:55+11:00"^^ . -_:b551 . -_:b551 . -_:b552 . -_:b552 . -_:b552 . -_:b552 _:b553 . -_:b552 . -_:b552 . -_:b553 "2014-02-25T13:04:55+11:00"^^ . -_:b553 . -_:b553 . -_:b554 . -_:b554 . -_:b554 . -_:b554 _:b555 . -_:b554 . -_:b554 . -_:b555 "2014-02-25T13:04:55+11:00"^^ . -_:b555 . -_:b555 . -_:b556 . -_:b556 . -_:b556 . -_:b556 _:b557 . -_:b556 . -_:b556 . -_:b557 "2014-02-25T13:04:55+11:00"^^ . -_:b557 . -_:b557 . -_:b558 . -_:b558 . -_:b558 . -_:b558 _:b559 . -_:b558 . -_:b558 . -_:b559 "2014-02-25T13:04:55+11:00"^^ . -_:b559 . -_:b559 . -_:b56 . -_:b56 . -_:b56 . -_:b56 _:b57 . -_:b56 . -_:b56 . -_:b560 . -_:b560 . -_:b560 . -_:b560 _:b561 . -_:b560 . -_:b560 . -_:b561 "2014-02-25T13:04:55+11:00"^^ . -_:b561 . -_:b561 . -_:b562 . -_:b562 . -_:b562 . -_:b562 _:b563 . -_:b562 . -_:b562 . -_:b563 "2014-02-25T13:04:55+11:00"^^ . -_:b563 . -_:b563 . -_:b564 . -_:b564 . -_:b564 . -_:b564 _:b565 . -_:b564 . -_:b564 . -_:b565 "2014-02-25T13:04:55+11:00"^^ . -_:b565 . -_:b565 . -_:b566 . -_:b566 . -_:b566 . -_:b566 _:b567 . -_:b566 . -_:b566 . -_:b567 "2014-02-25T13:04:55+11:00"^^ . -_:b567 . -_:b567 . -_:b568 . -_:b568 . -_:b568 . -_:b568 _:b569 . -_:b568 . -_:b568 . -_:b569 "2014-02-25T13:04:55+11:00"^^ . -_:b569 . -_:b569 . -_:b57 "2014-02-25T13:04:53+11:00"^^ . -_:b57 . -_:b57 . -_:b570 . -_:b570 . -_:b570 . -_:b570 _:b571 . -_:b570 . -_:b570 . -_:b571 "2014-02-25T13:04:55+11:00"^^ . -_:b571 . -_:b571 . -_:b572 . -_:b572 . -_:b572 . -_:b572 _:b573 . -_:b572 . -_:b572 . -_:b573 "2014-02-25T13:04:55+11:00"^^ . -_:b573 . -_:b573 . -_:b574 . -_:b574 . -_:b574 . -_:b574 _:b575 . -_:b574 . -_:b574 . -_:b575 "2014-02-25T13:04:55+11:00"^^ . -_:b575 . -_:b575 . -_:b576 . -_:b576 . -_:b576 . -_:b576 _:b577 . -_:b576 . -_:b576 . -_:b577 "2014-02-25T13:04:55+11:00"^^ . -_:b577 . -_:b577 . -_:b578 . -_:b578 . -_:b578 . -_:b578 _:b579 . -_:b578 . -_:b578 . -_:b579 "2014-02-25T13:04:55+11:00"^^ . -_:b579 . -_:b579 . -_:b58 . -_:b58 . -_:b58 . -_:b58 _:b59 . -_:b58 . -_:b58 . -_:b580 . -_:b580 . -_:b580 . -_:b580 _:b581 . -_:b580 . -_:b580 . -_:b581 "2014-02-25T13:04:55+11:00"^^ . -_:b581 . -_:b581 . -_:b582 . -_:b582 . -_:b582 . -_:b582 _:b583 . -_:b582 . -_:b582 . -_:b583 "2014-02-25T13:04:55+11:00"^^ . -_:b583 . -_:b583 . -_:b584 . -_:b584 . -_:b584 . -_:b584 _:b585 . -_:b584 . -_:b584 . -_:b585 "2014-02-25T13:04:55+11:00"^^ . -_:b585 . -_:b585 . -_:b586 . -_:b586 . -_:b586 . -_:b586 _:b587 . -_:b586 . -_:b586 . -_:b587 "2014-02-25T13:04:55+11:00"^^ . -_:b587 . -_:b587 . -_:b588 . -_:b588 . -_:b588 . -_:b588 _:b589 . -_:b588 . -_:b588 . -_:b589 "2014-02-25T13:04:55+11:00"^^ . -_:b589 . -_:b589 . -_:b59 "2014-02-25T13:04:53+11:00"^^ . -_:b59 . -_:b59 . -_:b590 . -_:b590 . -_:b590 . -_:b590 _:b591 . -_:b590 . -_:b590 . -_:b591 "2014-02-25T13:04:55+11:00"^^ . -_:b591 . -_:b591 . -_:b592 . -_:b592 . -_:b592 . -_:b592 _:b593 . -_:b592 . -_:b592 . -_:b593 "2014-02-25T13:04:55+11:00"^^ . -_:b593 . -_:b593 . -_:b594 . -_:b594 . -_:b594 . -_:b594 _:b595 . -_:b594 . -_:b594 . -_:b595 "2014-02-25T13:04:55+11:00"^^ . -_:b595 . -_:b595 . -_:b596 . -_:b596 . -_:b596 . -_:b596 _:b597 . -_:b596 . -_:b596 . -_:b597 "2014-02-25T13:04:55+11:00"^^ . -_:b597 . -_:b597 . -_:b598 . -_:b598 . -_:b598 . -_:b598 _:b599 . -_:b598 . -_:b598 . -_:b599 "2014-02-25T13:04:55+11:00"^^ . -_:b599 . -_:b599 . -_:b6 . -_:b6 . -_:b6 . -_:b6 _:b7 . -_:b6 . -_:b6 . -_:b60 . -_:b60 . -_:b60 . -_:b60 _:b61 . -_:b60 . -_:b60 . -_:b600 . -_:b600 . -_:b600 . -_:b600 _:b601 . -_:b600 . -_:b600 . -_:b601 "2014-02-25T13:04:55+11:00"^^ . -_:b601 . -_:b601 . -_:b602 . -_:b602 . -_:b602 . -_:b602 _:b603 . -_:b602 . -_:b602 . -_:b603 "2014-02-25T13:04:55+11:00"^^ . -_:b603 . -_:b603 . -_:b604 . -_:b604 . -_:b604 . -_:b604 _:b605 . -_:b604 . -_:b604 . -_:b605 "2014-02-25T13:04:55+11:00"^^ . -_:b605 . -_:b605 . -_:b606 . -_:b606 . -_:b606 . -_:b606 _:b607 . -_:b606 . -_:b606 . -_:b607 "2014-02-25T13:04:55+11:00"^^ . -_:b607 . -_:b607 . -_:b608 . -_:b608 . -_:b608 . -_:b608 _:b609 . -_:b608 . -_:b608 . -_:b609 "2014-02-25T13:04:55+11:00"^^ . -_:b609 . -_:b609 . -_:b61 "2014-02-25T13:04:53+11:00"^^ . -_:b61 . -_:b61 . -_:b610 . -_:b610 . -_:b610 . -_:b610 _:b611 . -_:b610 . -_:b610 . -_:b611 "2014-02-25T13:04:55+11:00"^^ . -_:b611 . -_:b611 . -_:b612 . -_:b612 . -_:b612 . -_:b612 _:b613 . -_:b612 . -_:b612 . -_:b613 "2014-02-25T13:04:55+11:00"^^ . -_:b613 . -_:b613 . -_:b614 . -_:b614 . -_:b614 . -_:b614 _:b615 . -_:b614 . -_:b614 . -_:b615 "2014-02-25T13:04:55+11:00"^^ . -_:b615 . -_:b615 . -_:b616 . -_:b616 . -_:b616 . -_:b616 _:b617 . -_:b616 . -_:b616 . -_:b617 "2014-02-25T13:04:55+11:00"^^ . -_:b617 . -_:b617 . -_:b618 . -_:b618 . -_:b618 . -_:b618 _:b619 . -_:b618 . -_:b618 . -_:b619 "2014-02-25T13:04:55+11:00"^^ . -_:b619 . -_:b619 . -_:b62 . -_:b62 . -_:b62 . -_:b62 _:b63 . -_:b62 . -_:b62 . -_:b620 . -_:b620 . -_:b620 . -_:b620 _:b621 . -_:b620 . -_:b620 . -_:b621 "2014-02-25T13:04:55+11:00"^^ . -_:b621 . -_:b621 . -_:b622 . -_:b622 . -_:b622 . -_:b622 _:b623 . -_:b622 . -_:b622 . -_:b623 "2014-02-25T13:04:55+11:00"^^ . -_:b623 . -_:b623 . -_:b624 . -_:b624 . -_:b624 . -_:b624 _:b625 . -_:b624 . -_:b624 . -_:b625 "2014-02-25T13:04:55+11:00"^^ . -_:b625 . -_:b625 . -_:b626 . -_:b626 . -_:b626 . -_:b626 _:b627 . -_:b626 . -_:b626 . -_:b627 "2014-02-25T13:04:55+11:00"^^ . -_:b627 . -_:b627 . -_:b628 . -_:b628 . -_:b628 . -_:b628 _:b629 . -_:b628 . -_:b628 . -_:b629 "2014-02-25T13:04:55+11:00"^^ . -_:b629 . -_:b629 . -_:b63 "2014-02-25T13:04:53+11:00"^^ . -_:b63 . -_:b63 . -_:b630 . -_:b630 . -_:b630 . -_:b630 _:b631 . -_:b630 . -_:b630 . -_:b631 "2014-02-25T13:04:55+11:00"^^ . -_:b631 . -_:b631 . -_:b632 . -_:b632 . -_:b632 . -_:b632 _:b633 . -_:b632 . -_:b632 . -_:b633 "2014-02-25T13:04:55+11:00"^^ . -_:b633 . -_:b633 . -_:b634 . -_:b634 . -_:b634 . -_:b634 _:b635 . -_:b634 . -_:b634 . -_:b635 "2014-02-25T13:04:55+11:00"^^ . -_:b635 . -_:b635 . -_:b636 . -_:b636 . -_:b636 . -_:b636 _:b637 . -_:b636 . -_:b636 . -_:b637 "2014-02-25T13:04:55+11:00"^^ . -_:b637 . -_:b637 . -_:b638 . -_:b638 . -_:b638 . -_:b638 _:b639 . -_:b638 . -_:b638 . -_:b639 "2014-02-25T13:04:55+11:00"^^ . -_:b639 . -_:b639 . -_:b64 . -_:b64 . -_:b64 . -_:b64 _:b65 . -_:b64 . -_:b64 . -_:b640 . -_:b640 . -_:b640 . -_:b640 _:b641 . -_:b640 . -_:b640 . -_:b641 "2014-02-25T13:04:55+11:00"^^ . -_:b641 . -_:b641 . -_:b642 . -_:b642 . -_:b642 . -_:b642 _:b643 . -_:b642 . -_:b642 . -_:b643 "2014-02-25T13:04:55+11:00"^^ . -_:b643 . -_:b643 . -_:b644 . -_:b644 . -_:b644 . -_:b644 _:b645 . -_:b644 . -_:b644 . -_:b645 "2014-02-25T13:04:55+11:00"^^ . -_:b645 . -_:b645 . -_:b646 . -_:b646 . -_:b646 . -_:b646 _:b647 . -_:b646 . -_:b646 . -_:b647 "2014-02-25T13:04:55+11:00"^^ . -_:b647 . -_:b647 . -_:b648 . -_:b648 . -_:b648 . -_:b648 _:b649 . -_:b648 . -_:b648 . -_:b649 "2014-02-25T13:04:55+11:00"^^ . -_:b649 . -_:b649 . -_:b65 "2014-02-25T13:04:53+11:00"^^ . -_:b65 . -_:b65 . -_:b650 . -_:b650 . -_:b650 . -_:b650 _:b651 . -_:b650 . -_:b650 . -_:b651 "2014-02-25T13:04:55+11:00"^^ . -_:b651 . -_:b651 . -_:b652 . -_:b652 . -_:b652 . -_:b652 _:b653 . -_:b652 . -_:b652 . -_:b653 "2014-02-25T13:04:55+11:00"^^ . -_:b653 . -_:b653 . -_:b654 . -_:b654 . -_:b654 . -_:b654 _:b655 . -_:b654 . -_:b654 . -_:b655 "2014-02-25T13:04:55+11:00"^^ . -_:b655 . -_:b655 . -_:b656 . -_:b656 . -_:b656 . -_:b656 _:b657 . -_:b656 . -_:b656 . -_:b657 "2014-02-25T13:04:55+11:00"^^ . -_:b657 . -_:b657 . -_:b658 . -_:b658 . -_:b658 . -_:b658 _:b659 . -_:b658 . -_:b658 . -_:b659 "2014-02-25T13:04:55+11:00"^^ . -_:b659 . -_:b659 . -_:b66 . -_:b66 . -_:b66 . -_:b66 _:b67 . -_:b66 . -_:b66 . -_:b660 . -_:b660 . -_:b660 . -_:b660 _:b661 . -_:b660 . -_:b660 . -_:b661 "2014-02-25T13:04:55+11:00"^^ . -_:b661 . -_:b661 . -_:b662 . -_:b662 . -_:b662 . -_:b662 _:b663 . -_:b662 . -_:b662 . -_:b663 "2014-02-25T13:04:55+11:00"^^ . -_:b663 . -_:b663 . -_:b664 . -_:b664 . -_:b664 . -_:b664 _:b665 . -_:b664 . -_:b664 . -_:b665 "2014-02-25T13:04:55+11:00"^^ . -_:b665 . -_:b665 . -_:b666 . -_:b666 . -_:b666 . -_:b666 _:b667 . -_:b666 . -_:b666 . -_:b667 "2014-02-25T13:04:55+11:00"^^ . -_:b667 . -_:b667 . -_:b668 . -_:b668 . -_:b668 . -_:b668 _:b669 . -_:b668 . -_:b668 . -_:b669 "2014-02-25T13:04:55+11:00"^^ . -_:b669 . -_:b669 . -_:b67 "2014-02-25T13:04:53+11:00"^^ . -_:b67 . -_:b67 . -_:b670 . -_:b670 . -_:b670 . -_:b670 _:b671 . -_:b670 . -_:b670 . -_:b671 "2014-02-25T13:04:55+11:00"^^ . -_:b671 . -_:b671 . -_:b672 . -_:b672 . -_:b672 . -_:b672 _:b673 . -_:b672 . -_:b672 . -_:b673 "2014-02-25T13:04:55+11:00"^^ . -_:b673 . -_:b673 . -_:b674 . -_:b674 . -_:b674 . -_:b674 _:b675 . -_:b674 . -_:b674 . -_:b675 "2014-02-25T13:04:55+11:00"^^ . -_:b675 . -_:b675 . -_:b676 . -_:b676 . -_:b676 . -_:b676 _:b677 . -_:b676 . -_:b676 . -_:b677 "2014-02-25T13:04:55+11:00"^^ . -_:b677 . -_:b677 . -_:b678 . -_:b678 . -_:b678 . -_:b678 _:b679 . -_:b678 . -_:b678 . -_:b679 "2014-02-25T13:04:55+11:00"^^ . -_:b679 . -_:b679 . -_:b68 . -_:b68 . -_:b68 . -_:b68 _:b69 . -_:b68 . -_:b68 . -_:b680 . -_:b680 . -_:b680 . -_:b680 _:b681 . -_:b680 . -_:b680 . -_:b681 "2014-02-25T13:04:55+11:00"^^ . -_:b681 . -_:b681 . -_:b682 . -_:b682 . -_:b682 . -_:b682 _:b683 . -_:b682 . -_:b682 . -_:b683 "2014-02-25T13:04:55+11:00"^^ . -_:b683 . -_:b683 . -_:b684 . -_:b684 . -_:b684 . -_:b684 _:b685 . -_:b684 . -_:b684 . -_:b685 "2014-02-25T13:04:55+11:00"^^ . -_:b685 . -_:b685 . -_:b686 . -_:b686 . -_:b686 . -_:b686 _:b687 . -_:b686 . -_:b686 . -_:b687 "2014-02-25T13:04:55+11:00"^^ . -_:b687 . -_:b687 . -_:b688 . -_:b688 . -_:b688 . -_:b688 _:b689 . -_:b688 . -_:b688 . -_:b689 "2014-02-25T13:04:55+11:00"^^ . -_:b689 . -_:b689 . -_:b69 "2014-02-25T13:04:53+11:00"^^ . -_:b69 . -_:b69 . -_:b690 . -_:b690 . -_:b690 . -_:b690 _:b691 . -_:b690 . -_:b690 . -_:b691 "2014-02-25T13:04:55+11:00"^^ . -_:b691 . -_:b691 . -_:b692 . -_:b692 . -_:b692 . -_:b692 _:b693 . -_:b692 . -_:b692 . -_:b693 "2014-02-25T13:04:55+11:00"^^ . -_:b693 . -_:b693 . -_:b694 . -_:b694 . -_:b694 . -_:b694 _:b695 . -_:b694 . -_:b694 . -_:b695 "2014-02-25T13:04:55+11:00"^^ . -_:b695 . -_:b695 . -_:b696 . -_:b696 . -_:b696 . -_:b696 _:b697 . -_:b696 . -_:b696 . -_:b697 "2014-02-25T13:04:55+11:00"^^ . -_:b697 . -_:b697 . -_:b698 . -_:b698 . -_:b698 . -_:b698 _:b699 . -_:b698 . -_:b698 . -_:b699 "2014-02-25T13:04:55+11:00"^^ . -_:b699 . -_:b699 . -_:b7 "2014-02-25T13:04:53+11:00"^^ . -_:b7 . -_:b7 . -_:b70 . -_:b70 . -_:b70 . -_:b70 _:b71 . -_:b70 . -_:b70 . -_:b700 . -_:b700 . -_:b700 . -_:b700 _:b701 . -_:b700 . -_:b700 . -_:b701 "2014-02-25T13:04:55+11:00"^^ . -_:b701 . -_:b701 . -_:b702 . -_:b702 . -_:b702 . -_:b702 _:b703 . -_:b702 . -_:b702 . -_:b703 "2014-02-25T13:04:55+11:00"^^ . -_:b703 . -_:b703 . -_:b704 . -_:b704 . -_:b704 . -_:b704 _:b705 . -_:b704 . -_:b704 . -_:b705 "2014-02-25T13:04:55+11:00"^^ . -_:b705 . -_:b705 . -_:b706 . -_:b706 . -_:b706 . -_:b706 _:b707 . -_:b706 . -_:b706 . -_:b707 "2014-02-25T13:04:55+11:00"^^ . -_:b707 . -_:b707 . -_:b708 . -_:b708 . -_:b708 . -_:b708 _:b709 . -_:b708 . -_:b708 . -_:b709 "2014-02-25T13:04:55+11:00"^^ . -_:b709 . -_:b709 . -_:b71 "2014-02-25T13:04:53+11:00"^^ . -_:b71 . -_:b71 . -_:b710 . -_:b710 . -_:b710 . -_:b710 _:b711 . -_:b710 . -_:b710 . -_:b711 "2014-02-25T13:04:55+11:00"^^ . -_:b711 . -_:b711 . -_:b712 . -_:b712 . -_:b712 . -_:b712 _:b713 . -_:b712 . -_:b712 . -_:b713 "2014-02-25T13:04:55+11:00"^^ . -_:b713 . -_:b713 . -_:b714 . -_:b714 . -_:b714 . -_:b714 _:b715 . -_:b714 . -_:b714 . -_:b715 "2014-02-25T13:04:55+11:00"^^ . -_:b715 . -_:b715 . -_:b716 . -_:b716 . -_:b716 . -_:b716 _:b717 . -_:b716 . -_:b716 . -_:b717 "2014-02-25T13:04:55+11:00"^^ . -_:b717 . -_:b717 . -_:b718 . -_:b718 . -_:b718 . -_:b718 _:b719 . -_:b718 . -_:b718 . -_:b719 "2014-02-25T13:04:55+11:00"^^ . -_:b719 . -_:b719 . -_:b72 . -_:b72 . -_:b72 . -_:b72 _:b73 . -_:b72 . -_:b72 . -_:b720 . -_:b720 . -_:b720 . -_:b720 _:b721 . -_:b720 . -_:b720 . -_:b721 "2014-02-25T13:04:55+11:00"^^ . -_:b721 . -_:b721 . -_:b722 . -_:b722 . -_:b722 . -_:b722 _:b723 . -_:b722 . -_:b722 . -_:b723 "2014-02-25T13:04:55+11:00"^^ . -_:b723 . -_:b723 . -_:b724 . -_:b724 . -_:b724 . -_:b724 _:b725 . -_:b724 . -_:b724 . -_:b725 "2014-02-25T13:04:55+11:00"^^ . -_:b725 . -_:b725 . -_:b726 . -_:b726 . -_:b726 . -_:b726 _:b727 . -_:b726 . -_:b726 . -_:b727 "2014-02-25T13:04:55+11:00"^^ . -_:b727 . -_:b727 . -_:b728 . -_:b728 . -_:b728 . -_:b728 _:b729 . -_:b728 . -_:b728 . -_:b729 "2014-02-25T13:04:55+11:00"^^ . -_:b729 . -_:b729 . -_:b73 "2014-02-25T13:04:53+11:00"^^ . -_:b73 . -_:b73 . -_:b730 . -_:b730 . -_:b730 . -_:b730 _:b731 . -_:b730 . -_:b730 . -_:b731 "2014-02-25T13:04:55+11:00"^^ . -_:b731 . -_:b731 . -_:b732 . -_:b732 . -_:b732 . -_:b732 _:b733 . -_:b732 . -_:b732 . -_:b733 "2014-02-25T13:04:55+11:00"^^ . -_:b733 . -_:b733 . -_:b734 . -_:b734 . -_:b734 . -_:b734 _:b735 . -_:b734 . -_:b734 . -_:b735 "2014-02-25T13:04:55+11:00"^^ . -_:b735 . -_:b735 . -_:b736 . -_:b736 . -_:b736 . -_:b736 _:b737 . -_:b736 . -_:b736 . -_:b737 "2014-02-25T13:04:55+11:00"^^ . -_:b737 . -_:b737 . -_:b738 . -_:b738 . -_:b738 . -_:b738 _:b739 . -_:b738 . -_:b738 . -_:b739 "2014-02-25T13:04:55+11:00"^^ . -_:b739 . -_:b739 . -_:b74 . -_:b74 . -_:b74 . -_:b74 _:b75 . -_:b74 . -_:b74 . -_:b740 . -_:b740 . -_:b740 . -_:b740 _:b741 . -_:b740 . -_:b740 . -_:b741 "2014-02-25T13:04:55+11:00"^^ . -_:b741 . -_:b741 . -_:b742 . -_:b742 . -_:b742 . -_:b742 _:b743 . -_:b742 . -_:b742 . -_:b743 "2014-02-25T13:04:55+11:00"^^ . -_:b743 . -_:b743 . -_:b744 . -_:b744 . -_:b744 . -_:b744 _:b745 . -_:b744 . -_:b744 . -_:b745 "2014-02-25T13:04:55+11:00"^^ . -_:b745 . -_:b745 . -_:b746 . -_:b746 . -_:b746 . -_:b746 _:b747 . -_:b746 . -_:b746 . -_:b747 "2014-02-25T13:04:55+11:00"^^ . -_:b747 . -_:b747 . -_:b748 . -_:b748 . -_:b748 . -_:b748 _:b749 . -_:b748 . -_:b748 . -_:b749 "2014-02-25T13:04:55+11:00"^^ . -_:b749 . -_:b749 . -_:b75 "2014-02-25T13:04:53+11:00"^^ . -_:b75 . -_:b75 . -_:b750 . -_:b750 . -_:b750 . -_:b750 _:b751 . -_:b750 . -_:b750 . -_:b751 "2014-02-25T13:04:55+11:00"^^ . -_:b751 . -_:b751 . -_:b752 . -_:b752 . -_:b752 . -_:b752 _:b753 . -_:b752 . -_:b752 . -_:b753 "2014-02-25T13:04:55+11:00"^^ . -_:b753 . -_:b753 . -_:b754 . -_:b754 . -_:b754 . -_:b754 _:b755 . -_:b754 . -_:b754 . -_:b755 "2014-02-25T13:04:55+11:00"^^ . -_:b755 . -_:b755 . -_:b756 . -_:b756 . -_:b756 . -_:b756 _:b757 . -_:b756 . -_:b756 . -_:b757 "2014-02-25T13:04:55+11:00"^^ . -_:b757 . -_:b757 . -_:b758 . -_:b758 . -_:b758 . -_:b758 _:b759 . -_:b758 . -_:b758 . -_:b759 "2014-02-25T13:04:55+11:00"^^ . -_:b759 . -_:b759 . -_:b76 . -_:b76 . -_:b76 . -_:b76 _:b77 . -_:b76 . -_:b76 . -_:b760 . -_:b760 . -_:b760 . -_:b760 _:b761 . -_:b760 . -_:b760 . -_:b761 "2014-02-25T13:04:55+11:00"^^ . -_:b761 . -_:b761 . -_:b762 . -_:b762 . -_:b762 . -_:b762 _:b763 . -_:b762 . -_:b762 . -_:b763 "2014-02-25T13:04:55+11:00"^^ . -_:b763 . -_:b763 . -_:b764 . -_:b764 . -_:b764 . -_:b764 _:b765 . -_:b764 . -_:b764 . -_:b765 "2014-02-25T13:04:55+11:00"^^ . -_:b765 . -_:b765 . -_:b766 . -_:b766 . -_:b766 . -_:b766 _:b767 . -_:b766 . -_:b766 . -_:b767 "2014-02-25T13:04:55+11:00"^^ . -_:b767 . -_:b767 . -_:b768 . -_:b768 . -_:b768 . -_:b768 _:b769 . -_:b768 . -_:b768 . -_:b769 "2014-02-25T13:04:55+11:00"^^ . -_:b769 . -_:b769 . -_:b77 "2014-02-25T13:04:53+11:00"^^ . -_:b77 . -_:b77 . -_:b770 . -_:b770 . -_:b770 . -_:b770 _:b771 . -_:b770 . -_:b770 . -_:b771 "2014-02-25T13:04:55+11:00"^^ . -_:b771 . -_:b771 . -_:b772 . -_:b772 . -_:b772 . -_:b772 _:b773 . -_:b772 . -_:b772 . -_:b773 "2014-02-25T13:04:55+11:00"^^ . -_:b773 . -_:b773 . -_:b774 . -_:b774 . -_:b774 . -_:b774 _:b775 . -_:b774 . -_:b774 . -_:b775 "2014-02-25T13:04:55+11:00"^^ . -_:b775 . -_:b775 . -_:b776 . -_:b776 . -_:b776 . -_:b776 _:b777 . -_:b776 . -_:b776 . -_:b777 "2014-02-25T13:04:55+11:00"^^ . -_:b777 . -_:b777 . -_:b778 . -_:b778 . -_:b778 . -_:b778 _:b779 . -_:b778 . -_:b778 . -_:b779 "2014-02-25T13:04:55+11:00"^^ . -_:b779 . -_:b779 . -_:b78 . -_:b78 . -_:b78 . -_:b78 _:b79 . -_:b78 . -_:b78 . -_:b780 . -_:b780 . -_:b780 . -_:b780 _:b781 . -_:b780 . -_:b780 . -_:b781 "2014-02-25T13:04:55+11:00"^^ . -_:b781 . -_:b781 . -_:b782 . -_:b782 . -_:b782 . -_:b782 _:b783 . -_:b782 . -_:b782 . -_:b783 "2014-02-25T13:04:55+11:00"^^ . -_:b783 . -_:b783 . -_:b784 . -_:b784 . -_:b784 . -_:b784 _:b785 . -_:b784 . -_:b784 . -_:b785 "2014-02-25T13:04:55+11:00"^^ . -_:b785 . -_:b785 . -_:b786 . -_:b786 . -_:b786 . -_:b786 _:b787 . -_:b786 . -_:b786 . -_:b787 "2014-02-25T13:04:55+11:00"^^ . -_:b787 . -_:b787 . -_:b788 . -_:b788 . -_:b788 . -_:b788 _:b789 . -_:b788 . -_:b788 . -_:b789 "2014-02-25T13:04:55+11:00"^^ . -_:b789 . -_:b789 . -_:b79 "2014-02-25T13:04:53+11:00"^^ . -_:b79 . -_:b79 . -_:b790 . -_:b790 . -_:b790 . -_:b790 _:b791 . -_:b790 . -_:b790 . -_:b791 "2014-02-25T13:04:55+11:00"^^ . -_:b791 . -_:b791 . -_:b792 . -_:b792 . -_:b792 . -_:b792 _:b793 . -_:b792 . -_:b792 . -_:b793 "2014-02-25T13:04:55+11:00"^^ . -_:b793 . -_:b793 . -_:b794 . -_:b794 . -_:b794 . -_:b794 _:b795 . -_:b794 . -_:b794 . -_:b795 "2014-02-25T13:04:55+11:00"^^ . -_:b795 . -_:b795 . -_:b796 . -_:b796 . -_:b796 . -_:b796 _:b797 . -_:b796 . -_:b796 . -_:b797 "2014-02-25T13:04:55+11:00"^^ . -_:b797 . -_:b797 . -_:b798 . -_:b798 . -_:b798 . -_:b798 _:b799 . -_:b798 . -_:b798 . -_:b799 "2014-02-25T13:04:55+11:00"^^ . -_:b799 . -_:b799 . -_:b8 . -_:b8 . -_:b8 . -_:b8 _:b9 . -_:b8 . -_:b8 . -_:b80 . -_:b80 . -_:b80 . -_:b80 _:b81 . -_:b80 . -_:b80 . -_:b800 . -_:b800 . -_:b800 . -_:b800 _:b801 . -_:b800 . -_:b800 . -_:b801 "2014-02-25T13:04:55+11:00"^^ . -_:b801 . -_:b801 . -_:b802 . -_:b802 . -_:b802 . -_:b802 _:b803 . -_:b802 . -_:b802 . -_:b803 "2014-02-25T13:04:55+11:00"^^ . -_:b803 . -_:b803 . -_:b804 . -_:b804 . -_:b804 . -_:b804 _:b805 . -_:b804 . -_:b804 . -_:b805 "2014-02-25T13:04:55+11:00"^^ . -_:b805 . -_:b805 . -_:b806 . -_:b806 . -_:b806 . -_:b806 _:b807 . -_:b806 . -_:b806 . -_:b807 "2014-02-25T13:04:55+11:00"^^ . -_:b807 . -_:b807 . -_:b808 . -_:b808 . -_:b808 . -_:b808 _:b809 . -_:b808 . -_:b808 . -_:b809 "2014-02-25T13:04:55+11:00"^^ . -_:b809 . -_:b809 . -_:b81 "2014-02-25T13:04:53+11:00"^^ . -_:b81 . -_:b81 . -_:b810 . -_:b810 . -_:b810 . -_:b810 _:b811 . -_:b810 . -_:b810 . -_:b811 "2014-02-25T13:04:55+11:00"^^ . -_:b811 . -_:b811 . -_:b812 . -_:b812 . -_:b812 . -_:b812 _:b813 . -_:b812 . -_:b812 . -_:b813 "2014-02-25T13:04:55+11:00"^^ . -_:b813 . -_:b813 . -_:b814 . -_:b814 . -_:b814 . -_:b814 _:b815 . -_:b814 . -_:b814 . -_:b815 "2014-02-25T13:04:55+11:00"^^ . -_:b815 . -_:b815 . -_:b816 . -_:b816 . -_:b816 . -_:b816 _:b817 . -_:b816 . -_:b816 . -_:b817 "2014-02-25T13:04:55+11:00"^^ . -_:b817 . -_:b817 . -_:b818 . -_:b818 . -_:b818 . -_:b818 _:b819 . -_:b818 . -_:b818 . -_:b819 "2014-02-25T13:04:55+11:00"^^ . -_:b819 . -_:b819 . -_:b82 . -_:b82 . -_:b82 . -_:b82 _:b83 . -_:b82 . -_:b82 . -_:b820 . -_:b820 . -_:b820 . -_:b820 _:b821 . -_:b820 . -_:b820 . -_:b821 "2014-02-25T13:04:55+11:00"^^ . -_:b821 . -_:b821 . -_:b822 . -_:b822 . -_:b822 . -_:b822 _:b823 . -_:b822 . -_:b822 . -_:b823 "2014-02-25T13:04:55+11:00"^^ . -_:b823 . -_:b823 . -_:b824 . -_:b824 . -_:b824 . -_:b824 _:b825 . -_:b824 . -_:b824 . -_:b825 "2014-02-25T13:04:55+11:00"^^ . -_:b825 . -_:b825 . -_:b826 . -_:b826 . -_:b826 . -_:b826 _:b827 . -_:b826 . -_:b826 . -_:b827 "2014-02-25T13:04:55+11:00"^^ . -_:b827 . -_:b827 . -_:b828 . -_:b828 . -_:b828 . -_:b828 _:b829 . -_:b828 . -_:b828 . -_:b829 "2014-02-25T13:04:55+11:00"^^ . -_:b829 . -_:b829 . -_:b83 "2014-02-25T13:04:53+11:00"^^ . -_:b83 . -_:b83 . -_:b830 . -_:b830 . -_:b830 . -_:b830 _:b831 . -_:b830 . -_:b830 . -_:b831 "2014-02-25T13:04:55+11:00"^^ . -_:b831 . -_:b831 . -_:b832 . -_:b832 . -_:b832 . -_:b832 _:b833 . -_:b832 . -_:b832 . -_:b833 "2014-02-25T13:04:55+11:00"^^ . -_:b833 . -_:b833 . -_:b834 . -_:b834 . -_:b834 . -_:b834 _:b835 . -_:b834 . -_:b834 . -_:b835 "2014-02-25T13:04:55+11:00"^^ . -_:b835 . -_:b835 . -_:b836 . -_:b836 . -_:b836 . -_:b836 _:b837 . -_:b836 . -_:b836 . -_:b837 "2014-02-25T13:04:55+11:00"^^ . -_:b837 . -_:b837 . -_:b838 . -_:b838 . -_:b838 . -_:b838 _:b839 . -_:b838 . -_:b838 . -_:b839 "2014-02-25T13:04:55+11:00"^^ . -_:b839 . -_:b839 . -_:b84 . -_:b84 . -_:b84 . -_:b84 _:b85 . -_:b84 . -_:b84 . -_:b840 . -_:b840 . -_:b840 . -_:b840 _:b841 . -_:b840 . -_:b840 . -_:b841 "2014-02-25T13:04:55+11:00"^^ . -_:b841 . -_:b841 . -_:b842 . -_:b842 . -_:b842 . -_:b842 _:b843 . -_:b842 . -_:b842 . -_:b843 "2014-02-25T13:04:56+11:00"^^ . -_:b843 . -_:b843 . -_:b844 . -_:b844 . -_:b844 . -_:b844 _:b845 . -_:b844 . -_:b844 . -_:b845 "2014-02-25T13:04:56+11:00"^^ . -_:b845 . -_:b845 . -_:b846 . -_:b846 . -_:b846 . -_:b846 _:b847 . -_:b846 . -_:b846 . -_:b847 "2014-02-25T13:04:56+11:00"^^ . -_:b847 . -_:b847 . -_:b848 . -_:b848 . -_:b848 . -_:b848 _:b849 . -_:b848 . -_:b848 . -_:b849 "2014-02-25T13:04:56+11:00"^^ . -_:b849 . -_:b849 . -_:b85 "2014-02-25T13:04:53+11:00"^^ . -_:b85 . -_:b85 . -_:b850 . -_:b850 . -_:b850 . -_:b850 _:b851 . -_:b850 . -_:b850 . -_:b851 "2014-02-25T13:04:56+11:00"^^ . -_:b851 . -_:b851 . -_:b852 . -_:b852 . -_:b852 . -_:b852 _:b853 . -_:b852 . -_:b852 . -_:b853 "2014-02-25T13:04:56+11:00"^^ . -_:b853 . -_:b853 . -_:b854 . -_:b854 . -_:b854 . -_:b854 _:b855 . -_:b854 . -_:b854 . -_:b855 "2014-02-25T13:04:56+11:00"^^ . -_:b855 . -_:b855 . -_:b856 . -_:b856 . -_:b856 . -_:b856 _:b857 . -_:b856 . -_:b856 . -_:b857 "2014-02-25T13:04:56+11:00"^^ . -_:b857 . -_:b857 . -_:b858 . -_:b858 . -_:b858 . -_:b858 _:b859 . -_:b858 . -_:b858 . -_:b859 "2014-02-25T13:04:56+11:00"^^ . -_:b859 . -_:b859 . -_:b86 . -_:b86 . -_:b86 . -_:b86 _:b87 . -_:b86 . -_:b86 . -_:b860 . -_:b860 . -_:b860 . -_:b860 _:b861 . -_:b860 . -_:b860 . -_:b861 "2014-02-25T13:04:56+11:00"^^ . -_:b861 . -_:b861 . -_:b862 . -_:b862 . -_:b862 . -_:b862 _:b863 . -_:b862 . -_:b862 . -_:b863 "2014-02-25T13:04:56+11:00"^^ . -_:b863 . -_:b863 . -_:b864 . -_:b864 . -_:b864 . -_:b864 _:b865 . -_:b864 . -_:b864 . -_:b865 "2014-02-25T13:04:56+11:00"^^ . -_:b865 . -_:b865 . -_:b866 . -_:b866 . -_:b866 . -_:b866 _:b867 . -_:b866 . -_:b866 . -_:b867 "2014-02-25T13:04:56+11:00"^^ . -_:b867 . -_:b867 . -_:b868 . -_:b868 . -_:b868 . -_:b868 _:b869 . -_:b868 . -_:b868 . -_:b869 "2014-02-25T13:04:56+11:00"^^ . -_:b869 . -_:b869 . -_:b87 "2014-02-25T13:04:53+11:00"^^ . -_:b87 . -_:b87 . -_:b870 . -_:b870 . -_:b870 . -_:b870 _:b871 . -_:b870 . -_:b870 . -_:b871 "2014-02-25T13:04:56+11:00"^^ . -_:b871 . -_:b871 . -_:b872 . -_:b872 . -_:b872 . -_:b872 _:b873 . -_:b872 . -_:b872 . -_:b873 "2014-02-25T13:04:56+11:00"^^ . -_:b873 . -_:b873 . -_:b874 . -_:b874 . -_:b874 . -_:b874 _:b875 . -_:b874 . -_:b874 . -_:b875 "2014-02-25T13:04:56+11:00"^^ . -_:b875 . -_:b875 . -_:b876 . -_:b876 . -_:b876 . -_:b876 _:b877 . -_:b876 . -_:b876 . -_:b877 "2014-02-25T13:04:56+11:00"^^ . -_:b877 . -_:b877 . -_:b878 . -_:b878 . -_:b878 . -_:b878 _:b879 . -_:b878 . -_:b878 . -_:b879 "2014-02-25T13:04:56+11:00"^^ . -_:b879 . -_:b879 . -_:b88 . -_:b88 . -_:b88 . -_:b88 _:b89 . -_:b88 . -_:b88 . -_:b880 . -_:b880 . -_:b880 . -_:b880 _:b881 . -_:b880 . -_:b880 . -_:b881 "2014-02-25T13:04:56+11:00"^^ . -_:b881 . -_:b881 . -_:b882 . -_:b882 . -_:b882 . -_:b882 _:b883 . -_:b882 . -_:b882 . -_:b883 "2014-02-25T13:04:56+11:00"^^ . -_:b883 . -_:b883 . -_:b884 . -_:b884 . -_:b884 . -_:b884 _:b885 . -_:b884 . -_:b884 . -_:b885 "2014-02-25T13:04:56+11:00"^^ . -_:b885 . -_:b885 . -_:b886 . -_:b886 . -_:b886 . -_:b886 _:b887 . -_:b886 . -_:b886 . -_:b887 "2014-02-25T13:04:56+11:00"^^ . -_:b887 . -_:b887 . -_:b888 . -_:b888 . -_:b888 . -_:b888 _:b889 . -_:b888 . -_:b888 . -_:b889 "2014-02-25T13:04:56+11:00"^^ . -_:b889 . -_:b889 . -_:b89 "2014-02-25T13:04:53+11:00"^^ . -_:b89 . -_:b89 . -_:b890 . -_:b890 . -_:b890 . -_:b890 _:b891 . -_:b890 . -_:b890 . -_:b891 "2014-02-25T13:04:56+11:00"^^ . -_:b891 . -_:b891 . -_:b892 . -_:b892 . -_:b892 . -_:b892 _:b893 . -_:b892 . -_:b892 . -_:b893 "2014-02-25T13:04:56+11:00"^^ . -_:b893 . -_:b893 . -_:b9 "2014-02-25T13:04:53+11:00"^^ . -_:b9 . -_:b9 . -_:b90 . -_:b90 . -_:b90 . -_:b90 _:b91 . -_:b90 . -_:b90 . -_:b91 "2014-02-25T13:04:53+11:00"^^ . -_:b91 . -_:b91 . -_:b92 . -_:b92 . -_:b92 . -_:b92 _:b93 . -_:b92 . -_:b92 . -_:b93 "2014-02-25T13:04:53+11:00"^^ . -_:b93 . -_:b93 . -_:b94 . -_:b94 . -_:b94 . -_:b94 _:b95 . -_:b94 . -_:b94 . -_:b95 "2014-02-25T13:04:53+11:00"^^ . -_:b95 . -_:b95 . -_:b96 . -_:b96 . -_:b96 . -_:b96 _:b97 . -_:b96 . -_:b96 . -_:b97 "2014-02-25T13:04:53+11:00"^^ . -_:b97 . -_:b97 . -_:b98 . -_:b98 . -_:b98 . -_:b98 _:b99 . -_:b98 . -_:b98 . -_:b99 "2014-02-25T13:04:53+11:00"^^ . -_:b99 . -_:b99 . diff --git a/core/reports/report.ttl b/core/reports/report.ttl deleted file mode 100755 index 57562e01..00000000 --- a/core/reports/report.ttl +++ /dev/null @@ -1,4046 +0,0 @@ -@prefix foaf: . -@prefix earl: . -@prefix doap: . -@prefix dc: . -@prefix xsd: . - - foaf:Person, earl:Assertor ; - foaf:homepage ; - foaf:name "Tristan King" ; - foaf:title "Implementor" . - - doap:Project, earl:TestSubject, earl:Software ; - dc:creator ; - dc:date "2013-05-16"^^xsd:date ; - doap:description "An Implementation of the JSON-LD Specification for Java"@en ; - doap:developer , ; - doap:homepage ; - doap:name "JSONLD-Java" ; - doap:programming-language "Java" ; - doap:title "JSONLD-Java" . - - foaf:name "Peter Ansell" ; - foaf:title "Contributor" . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:53+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:54+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:55+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . - -[ earl:Assertion ; - earl:assertedBy ; - earl:mode earl:automatic ; - earl:result [ earl:TestResult ; - dc:date "2014-02-25T13:04:56+11:00"^^xsd:dateTime ; - earl:outcome earl:passed ] ; - earl:subject ; - earl:test ] . diff --git a/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java b/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java index b5a364bf..a444f20d 100644 --- a/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java +++ b/core/src/test/java/com/github/jsonldjava/utils/SuiteUtils.java @@ -208,8 +208,11 @@ public static Collection getData(String dir) throws URISyntaxException || testType.contains("jld:ToRDFTest") || testType.contains("jld:NormalizeTest")) { // System.out.println("Adding test: " + test.get("name")); + final String id = (String) manifest.get("baseIri") + in.getName(); rdata.add(new Object[] { - (String) manifest.get("baseIri") + in.getName().replace(".jsonld", ""), + // e.g. http://json-ld.org/test-suite/tests/flatten-manifest.jsonld#t0003 + // vs https://w3c.github.io/json-ld-api/tests/flatten-manifest#t0003 + dir.contains("json-ld-1.0") ? id : id.replace(".jsonld", ""), test.get("@id"), test }); } else { diff --git a/core/src/test/resources/json-ld-api-tests/README.md b/core/src/test/resources/json-ld-api-tests/README.md index 770c48ac..8fae7b2d 100644 --- a/core/src/test/resources/json-ld-api-tests/README.md +++ b/core/src/test/resources/json-ld-api-tests/README.md @@ -22,7 +22,7 @@ Tests driven from a top-level [manifest](manifest.jsonld) and are defined into [ as an IRI relative to the manifest. For *NegativeEvaluationTests*, the result is a string associated with the expected error code. -* [html](html.jsonld) tests have _input_ and _expected_ documents and an optional _context_ document. +* [html](html-manifest.jsonld) tests have _input_ and _expected_ documents and an optional _context_ document. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). diff --git a/core/src/test/resources/json-ld-api-tests/compact-manifest.html b/core/src/test/resources/json-ld-api-tests/compact-manifest.html index f7c3b59c..37037d18 100644 --- a/core/src/test/resources/json-ld-api-tests/compact-manifest.html +++ b/core/src/test/resources/json-ld-api-tests/compact-manifest.html @@ -28,7 +28,7 @@

Compaction

General instructions for running the JSON-LD Test suites

-

compact tests have input, expected and context documents.

+

compact tests have input, expected and context documents.

The expected results can be compared using JSON-LD object comparison with the processor output. Additionally, if the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

diff --git a/core/src/test/resources/json-ld-api-tests/expand-manifest.html b/core/src/test/resources/json-ld-api-tests/expand-manifest.html index 90d634f9..3837a2ac 100644 --- a/core/src/test/resources/json-ld-api-tests/expand-manifest.html +++ b/core/src/test/resources/json-ld-api-tests/expand-manifest.html @@ -28,7 +28,7 @@

Expansion

General instructions for running the JSON-LD Test suites

-

expand tests have input and expected documents.

+

expand tests have input and expected documents.

The expected results can be compared using JSON-LD object comparison with the processor output.

@@ -3170,6 +3170,48 @@

+
+Test t0129 Base without trailing slash, without path +
+
+
+
id
+
#t0129
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Verify URI resolution relative to base (without trailing slash, without path) according to RFC 3986
+
input
+
+expand/0129-in.jsonld +
+
expect
+
+expand/0129-out.jsonld +
+
+
+
+Test t0130 Base without trailing slash, with path +
+
+
+
id
+
#t0130
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Verify URI resolution relative to base (without trailing slash, with path) according to RFC 3986
+
input
+
+expand/0130-in.jsonld +
+
expect
+
+expand/0130-out.jsonld +
+
+
Test tc001 adding new term
@@ -4124,6 +4166,34 @@

+
+Test tc035 Term scoping with embedded contexts. +
+
+
+
id
+
#tc035
+
Type
+
jld:PositiveEvaluationTest, jld:ExpandTest
+
Purpose
+
Terms should make use of @vocab relative to the scope in which the term was defined.
+
input
+
+expand/c035-in.jsonld +
+
expect
+
+expand/c035-out.jsonld +
+
Options
+
+
+
specVersion
+
json-ld-1.1
+
+
+
+
Test tdi01 Expand string using default and term directions
@@ -5775,6 +5845,27 @@

+
+Test ter53 Invalid prefix value +
+
+
+
id
+
#ter53
+
Type
+
jld:NegativeEvaluationTest, jld:ExpandTest
+
Purpose
+
Verifies that an exception is raised on expansion when a context contains an invalid @prefix value
+
input
+
+expand/er53-in.jsonld +
+
expect
+
+invalid @prefix value +
+
+
Test tes01 Using an array value for @context is illegal in JSON-LD 1.0
diff --git a/core/src/test/resources/json-ld-api-tests/expand-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/expand-manifest.jsonld index 7f19c5bd..de0cfeb4 100644 --- a/core/src/test/resources/json-ld-api-tests/expand-manifest.jsonld +++ b/core/src/test/resources/json-ld-api-tests/expand-manifest.jsonld @@ -964,6 +964,20 @@ "input": "expand/0128-in.jsonld", "expect": "expand/0128-out.jsonld", "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#t0129", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Base without trailing slash, without path", + "purpose": "Verify URI resolution relative to base (without trailing slash, without path) according to RFC 3986", + "input": "expand/0129-in.jsonld", + "expect": "expand/0129-out.jsonld" + }, { + "@id": "#t0130", + "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], + "name": "Base without trailing slash, with path", + "purpose": "Verify URI resolution relative to base (without trailing slash, with path) according to RFC 3986", + "input": "expand/0130-in.jsonld", + "expect": "expand/0130-out.jsonld" }, { "@id": "#tc001", "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"], @@ -1751,6 +1765,13 @@ "purpose": "Verifies that an exception is raised on expansion when a context contains a definition for the empty term", "input": "expand/er52-in.jsonld", "expectErrorCode": "invalid term definition" + }, { + "@id": "#ter53", + "@type": [ "jld:NegativeEvaluationTest", "jld:ExpandTest" ], + "name": "Invalid prefix value", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @prefix value", + "input": "expand/er53-in.jsonld", + "expectErrorCode": "invalid @prefix value" }, { "@id": "#tes01", "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"], diff --git a/core/src/test/resources/json-ld-api-tests/expand/0129-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0129-in.jsonld new file mode 100644 index 00000000..f051010b --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0129-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context" : {"@base": "http://example"}, + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0129-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0129-out.jsonld new file mode 100644 index 00000000..29938598 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0129-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example/relative-iri", + "http://prop": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/0130-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0130-in.jsonld new file mode 100644 index 00000000..4c966040 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0130-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context" : {"@base": "http://example/base"}, + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/expand/0130-out.jsonld b/core/src/test/resources/json-ld-api-tests/expand/0130-out.jsonld new file mode 100644 index 00000000..29938598 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/0130-out.jsonld @@ -0,0 +1,4 @@ +[{ + "@id": "http://example/relative-iri", + "http://prop": [{"@value": "value"}] +}] diff --git a/core/src/test/resources/json-ld-api-tests/expand/er53-in.jsonld b/core/src/test/resources/json-ld-api-tests/expand/er53-in.jsonld new file mode 100644 index 00000000..e8ad3ff5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/expand/er53-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@prefix": 10} + }, + "@id": "http://example/test#example" +} \ No newline at end of file diff --git a/core/src/test/resources/json-ld-api-tests/flatten-manifest.html b/core/src/test/resources/json-ld-api-tests/flatten-manifest.html index e89b6488..b07c3a09 100644 --- a/core/src/test/resources/json-ld-api-tests/flatten-manifest.html +++ b/core/src/test/resources/json-ld-api-tests/flatten-manifest.html @@ -28,7 +28,7 @@

Flattening

General instructions for running the JSON-LD Test suites

-

flatten tests have input and expected documents and an optional context document.

+

flatten tests have input and expected documents and an optional context document.

The expected results can be compared using JSON-LD object comparison with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

diff --git a/core/src/test/resources/json-ld-api-tests/html-manifest.html b/core/src/test/resources/json-ld-api-tests/html-manifest.html index 09811919..b6385cee 100644 --- a/core/src/test/resources/json-ld-api-tests/html-manifest.html +++ b/core/src/test/resources/json-ld-api-tests/html-manifest.html @@ -28,12 +28,12 @@

HTML

General instructions for running the JSON-LD Test suites

-

compact tests have input, expected and context documents.

+

compact tests have input, expected and context documents.

The expected results can be compared using JSON-LD object comparison with the processor output. Additionally, if the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

For NegativeEvaluationTests, the result is a string associated with the expected error code.

-

expand tests have input and expected documents.

+

expand tests have input and expected documents.

The expected results can be compared using JSON-LD object comparison with the processor output.

@@ -41,12 +41,12 @@

expand tests have input and

For NegativeEvaluationTests, the result is a string associated with the expected error code.

-

html tests have input and expected documents and an optional context document.

+

html tests have input and expected documents and an optional context document.

The expected results can be compared using JSON-LD object comparison with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

For NegativeEvaluationTests, the result is a string associated with the expected error code.

-

flatten tests have input and expected documents and an optional context document.

+

flatten tests have input and expected documents and an optional context document.

The expected results can be compared using JSON-LD object comparison with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

diff --git a/core/src/test/resources/json-ld-api-tests/manifest.html b/core/src/test/resources/json-ld-api-tests/manifest.html index fb7f792c..9e405fff 100644 --- a/core/src/test/resources/json-ld-api-tests/manifest.html +++ b/core/src/test/resources/json-ld-api-tests/manifest.html @@ -28,12 +28,12 @@

JSON-LD Test Suite

General instructions for running the JSON-LD Test suites

-

compact tests have input, expected and context documents.

+

compact tests have input, expected and context documents.

The expected results can be compared using JSON-LD object comparison with the processor output. Additionally, if the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

For NegativeEvaluationTests, the result is a string associated with the expected error code.

-

expand tests have input and expected documents.

+

expand tests have input and expected documents.

The expected results can be compared using JSON-LD object comparison with the processor output.

@@ -41,17 +41,17 @@

expand tests have input and

For NegativeEvaluationTests, the result is a string associated with the expected error code.

-

html tests have input and expected documents and an optional context document.

+

html tests have input and expected documents and an optional context document.

The expected results can be compared using JSON-LD object comparison with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

For NegativeEvaluationTests, the result is a string associated with the expected error code.

-

flatten tests have input and expected documents and an optional context document.

+

flatten tests have input and expected documents and an optional context document.

The expected results can be compared using JSON-LD object comparison with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the ordered option is not set, result should be expanded and compared with the expanded expected document also using JSON-LD object comparison.

For NegativeEvaluationTests, the result is a string associated with the expected error code.

-

remote-doc tests have input and expected documents.

+

remote-doc tests have input and expected documents.

The expected results can be compared using JSON-LD object comparison with the processor output.

@@ -65,10 +65,10 @@

remote-doc tests have inputredirectTo: The HTTP Content-Location header value.
  • httpLink: The HTTP Link header value.
  • -

    fromRdf tests have input and expected documents.

    +

    fromRdf tests have input and expected documents.

    The expected results can be compared using JSON-LD object comparison with the processor output.

    -

    toRdf tests have input and expected documents.

    +

    toRdf tests have input and expected documents.

    Some tests require the use of JSON Canonicalization Scheme to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results. These tests are marked using the useJCS option.

    diff --git a/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.html b/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.html index 3306022e..ef1bd770 100644 --- a/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.html +++ b/core/src/test/resources/json-ld-api-tests/remote-doc-manifest.html @@ -28,7 +28,7 @@

    Remote document

    General instructions for running the JSON-LD Test suites

    -

    expand tests have input and expected documents.

    +

    expand tests have input and expected documents.

    The expected results can be compared using JSON-LD object comparison with the processor output.

    @@ -36,7 +36,7 @@

    expand tests have input and

    For NegativeEvaluationTests, the result is a string associated with the expected error code.

    -

    remote-doc tests have input and expected documents.

    +

    remote-doc tests have input and expected documents.

    The expected results can be compared using JSON-LD object comparison with the processor output.

    diff --git a/core/src/test/resources/json-ld-api-tests/template.haml b/core/src/test/resources/json-ld-api-tests/template.haml index 4d50a1df..6ea891f1 100644 --- a/core/src/test/resources/json-ld-api-tests/template.haml +++ b/core/src/test/resources/json-ld-api-tests/template.haml @@ -30,7 +30,7 @@ - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:CompactTest')} :markdown - ### [compact](compact-manifest.jsonld) tests have _input_, _expected_ and _context_ documents. + ### [compact](compact-manifest.html) tests have _input_, _expected_ and _context_ documents. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. Additionally, if the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). @@ -38,7 +38,7 @@ - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:ExpandTest')} :markdown - ### [expand](expand-manifest.jsonld) tests have _input_ and _expected_ documents. + ### [expand](expand-manifest.html) tests have _input_ and _expected_ documents. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. @@ -49,7 +49,7 @@ - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:HtmlTest')} :markdown - ### [html](html.jsonld) tests have _input_ and _expected_ documents and an optional _context_ document. + ### [html](html-manifest.html) tests have _input_ and _expected_ documents and an optional _context_ document. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). @@ -57,7 +57,7 @@ - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:FlattenTest')} :markdown - ### [flatten](flatten-manifest.jsonld) tests have _input_ and _expected_ documents and an optional _context_ document. + ### [flatten](flatten-manifest.html) tests have _input_ and _expected_ documents and an optional _context_ document. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output after potentially remapping blank node identifiers (see below). Additionally, if the result is compacted and the `ordered` option is not set, result should be expanded and compared with the expanded _expected_ document also using [JSON-LD object comparison](#json-ld-object-comparison). @@ -65,7 +65,7 @@ - if manifest['sequence'].first.is_a?(String) || manifest['name'].include?('Remote') :markdown - ### [remote-doc](remote-doc-manifest.jsonld) tests have _input_ and _expected_ documents. + ### [remote-doc](remote-doc-manifest.html) tests have _input_ and _expected_ documents. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. @@ -80,13 +80,13 @@ - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:FromRdfTest')} :markdown - ### [fromRdf](fromRdf-manifest.jsonld) tests have _input_ and _expected_ documents. + ### [fromRdf](fromRdf-manifest.html) tests have _input_ and _expected_ documents. The _expected_ results can be compared using [JSON-LD object comparison](#json-ld-object-comparison) with the processor output. - if manifest['sequence'].first.is_a?(String) || manifest['sequence'].any? {|te| te['@type'].include?('jld:ToRdfTest')} :markdown - ### [toRdf](toRdf-manifest.jsonld) tests have _input_ and _expected_ documents. + ### [toRdf](toRdf-manifest.html) tests have _input_ and _expected_ documents. Some tests require the use of [JSON Canonicalization Scheme](https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-05) to properly generate RDF Literals from JSON literal values. This algorithm is non-normative, but is assumed to be used to properly compare results. These tests are marked using the `useJCS` option. diff --git a/core/src/test/resources/json-ld-api-tests/toRdf-manifest.html b/core/src/test/resources/json-ld-api-tests/toRdf-manifest.html index 08e54e57..29e36b20 100644 --- a/core/src/test/resources/json-ld-api-tests/toRdf-manifest.html +++ b/core/src/test/resources/json-ld-api-tests/toRdf-manifest.html @@ -2223,6 +2223,34 @@

    +
    +Test tc035 Term scoping with embedded contexts. +
    +
    +
    +
    id
    +
    #tc035
    +
    Type
    +
    jld:PositiveEvaluationTest, jld:ToRDFTest
    +
    Purpose
    +
    Terms should make use of @vocab relative to the scope in which the term was defined.
    +
    input
    +
    +toRdf/c035-in.jsonld +
    +
    expect
    +
    +toRdf/c035-out.nq +
    +
    Options
    +
    +
    +
    specVersion
    +
    json-ld-1.1
    +
    +
    +
    +
    Test tdi01 Expand string using default and term directions
    @@ -5645,6 +5673,62 @@

    +
    +Test te129 Base without trailing slash, without path +
    +
    +
    +
    id
    +
    #te129
    +
    Type
    +
    jld:PositiveEvaluationTest, jld:ToRDFTest
    +
    Purpose
    +
    Verify URI resolution relative to base (without trailing slash, without path) according to RFC 3986
    +
    input
    +
    +toRdf/e129-in.jsonld +
    +
    expect
    +
    +toRdf/e129-out.nq +
    +
    Options
    +
    +
    +
    specVersion
    +
    json-ld-1.1
    +
    +
    +
    +
    +
    +Test te130 Base without trailing slash, with path +
    +
    +
    +
    id
    +
    #te130
    +
    Type
    +
    jld:PositiveEvaluationTest, jld:ToRDFTest
    +
    Purpose
    +
    Verify URI resolution relative to base (without trailing slash, with path) according to RFC 3986
    +
    input
    +
    +toRdf/e130-in.jsonld +
    +
    expect
    +
    +toRdf/e130-out.nq +
    +
    Options
    +
    +
    +
    specVersion
    +
    json-ld-1.1
    +
    +
    +
    +
    Test tec01 Invalid keyword in term definition
    @@ -7044,6 +7128,27 @@

    +
    +Test ter53 Invalid prefix value +
    +
    +
    +
    id
    +
    #ter53
    +
    Type
    +
    jld:NegativeEvaluationTest, jld:ToRDFTest
    +
    Purpose
    +
    Verifies that an exception is raised on expansion when a context contains an invalid @prefix value
    +
    input
    +
    +toRdf/er53-in.jsonld +
    +
    expect
    +
    +invalid @prefix value +
    +
    +
    Test tin01 Basic Included array
    diff --git a/core/src/test/resources/json-ld-api-tests/toRdf-manifest.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf-manifest.jsonld index bea5d3b6..a2c79147 100644 --- a/core/src/test/resources/json-ld-api-tests/toRdf-manifest.jsonld +++ b/core/src/test/resources/json-ld-api-tests/toRdf-manifest.jsonld @@ -1740,6 +1740,22 @@ "input": "toRdf/e128-in.jsonld", "expect": "toRdf/e128-out.nq", "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te129", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "Base without trailing slash, without path", + "purpose": "Verify URI resolution relative to base (without trailing slash, without path) according to RFC 3986", + "input": "toRdf/e129-in.jsonld", + "expect": "toRdf/e129-out.nq", + "option": {"specVersion": "json-ld-1.1"} + }, { + "@id": "#te130", + "@type": [ "jld:PositiveEvaluationTest", "jld:ToRDFTest" ], + "name": "Base without trailing slash, with path", + "purpose": "Verify URI resolution relative to base (without trailing slash, with path) according to RFC 3986", + "input": "toRdf/e130-in.jsonld", + "expect": "toRdf/e130-out.nq", + "option": {"specVersion": "json-ld-1.1"} }, { "@id": "#tec01", "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], @@ -2175,6 +2191,13 @@ "purpose": "Verifies that an exception is raised on expansion when a context contains a definition for the empty term", "input": "toRdf/er52-in.jsonld", "expectErrorCode": "invalid term definition" + }, { + "@id": "#ter53", + "@type": [ "jld:NegativeEvaluationTest", "jld:ToRDFTest" ], + "name": "Invalid prefix value", + "purpose": "Verifies that an exception is raised on expansion when a context contains an invalid @prefix value", + "input": "toRdf/er53-in.jsonld", + "expectErrorCode": "invalid @prefix value" }, { "@id": "#tin01", "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest"], diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e129-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e129-in.jsonld new file mode 100644 index 00000000..7724ee9d --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e129-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { "@base": "http://example" }, + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e129-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e129-out.nq new file mode 100644 index 00000000..673e9067 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e129-out.nq @@ -0,0 +1 @@ + "value" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e130-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/e130-in.jsonld new file mode 100644 index 00000000..ea3f1778 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e130-in.jsonld @@ -0,0 +1,5 @@ +{ + "@context": { "@base": "http://example/base" }, + "@id": "relative-iri", + "http://prop": "value" +} diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/e130-out.nq b/core/src/test/resources/json-ld-api-tests/toRdf/e130-out.nq new file mode 100644 index 00000000..673e9067 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/e130-out.nq @@ -0,0 +1 @@ + "value" . diff --git a/core/src/test/resources/json-ld-api-tests/toRdf/er53-in.jsonld b/core/src/test/resources/json-ld-api-tests/toRdf/er53-in.jsonld new file mode 100644 index 00000000..e8ad3ff5 --- /dev/null +++ b/core/src/test/resources/json-ld-api-tests/toRdf/er53-in.jsonld @@ -0,0 +1,6 @@ +{ + "@context": { + "term": {"@id": "http://example.org/term", "@prefix": 10} + }, + "@id": "http://example/test#example" +} \ No newline at end of file From cfc5d5edfb645d6fb90a7868d008a25edb54eb3f Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Fri, 24 Apr 2020 11:13:21 +0200 Subject: [PATCH 13/22] Rerun tests without functional 1.1 commits from #277 --- core/reports/json-ld-api-tests-skip | 102 ++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/core/reports/json-ld-api-tests-skip b/core/reports/json-ld-api-tests-skip index e14ee0c2..fccccfda 100644 --- a/core/reports/json-ld-api-tests-skip +++ b/core/reports/json-ld-api-tests-skip @@ -56,10 +56,13 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest#tc023 https://w3c.github.io/json-ld-api/tests/compact-manifest#tc024 https://w3c.github.io/json-ld-api/tests/compact-manifest#tc025 https://w3c.github.io/json-ld-api/tests/compact-manifest#tc026 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tc027 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi01 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi02 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi03 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi04 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi05 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi06 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi07 https://w3c.github.io/json-ld-api/tests/compact-manifest#te001 https://w3c.github.io/json-ld-api/tests/compact-manifest#te002 @@ -80,6 +83,16 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest#tin02 https://w3c.github.io/json-ld-api/tests/compact-manifest#tin03 https://w3c.github.io/json-ld-api/tests/compact-manifest#tin04 https://w3c.github.io/json-ld-api/tests/compact-manifest#tin05 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs01 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs02 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs03 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs04 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs05 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs06 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs07 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs08 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs09 +https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs10 https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs11 https://w3c.github.io/json-ld-api/tests/compact-manifest#tli01 https://w3c.github.io/json-ld-api/tests/compact-manifest#tli02 @@ -180,7 +193,10 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#t0122 https://w3c.github.io/json-ld-api/tests/expand-manifest#t0123 https://w3c.github.io/json-ld-api/tests/expand-manifest#t0124 https://w3c.github.io/json-ld-api/tests/expand-manifest#t0125 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0126 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0127 https://w3c.github.io/json-ld-api/tests/expand-manifest#t0128 +https://w3c.github.io/json-ld-api/tests/expand-manifest#t0129 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc001 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc002 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc003 @@ -206,6 +222,7 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tc023 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc024 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc025 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc026 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tc027 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc028 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc029 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc030 @@ -219,6 +236,7 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi03 https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi04 https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi05 https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi06 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi07 https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi08 https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi09 https://w3c.github.io/json-ld-api/tests/expand-manifest#tec01 @@ -292,9 +310,30 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tin06 https://w3c.github.io/json-ld-api/tests/expand-manifest#tin07 https://w3c.github.io/json-ld-api/tests/expand-manifest#tin08 https://w3c.github.io/json-ld-api/tests/expand-manifest#tin09 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs02 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs03 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs04 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs05 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs06 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs07 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs08 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs09 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs10 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs11 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs12 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs13 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs14 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs15 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs16 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs17 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs18 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs19 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs20 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs21 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs22 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs23 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tl001 https://w3c.github.io/json-ld-api/tests/expand-manifest#tli01 https://w3c.github.io/json-ld-api/tests/expand-manifest#tli02 https://w3c.github.io/json-ld-api/tests/expand-manifest#tli03 @@ -333,6 +372,10 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tn005 https://w3c.github.io/json-ld-api/tests/expand-manifest#tn006 https://w3c.github.io/json-ld-api/tests/expand-manifest#tn007 https://w3c.github.io/json-ld-api/tests/expand-manifest#tn008 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tp001 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tp002 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tp003 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tp004 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi01 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi02 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi03 @@ -345,14 +388,19 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi09 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi10 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi11 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr01 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr02 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr03 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr04 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr05 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr06 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr08 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr09 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr10 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr11 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr12 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr13 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr14 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr15 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr16 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr17 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr18 @@ -360,8 +408,11 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr19 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr20 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr21 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr22 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr23 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr24 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr25 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr26 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr27 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr28 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr29 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr30 @@ -381,7 +432,10 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tso03 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso05 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso06 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso07 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso08 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso09 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso10 +https://w3c.github.io/json-ld-api/tests/expand-manifest#tso11 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso12 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso13 https://w3c.github.io/json-ld-api/tests/expand-manifest#ttn01 @@ -403,8 +457,17 @@ https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi05 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi06 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi11 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi12 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs01 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs02 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs03 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs04 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs05 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs06 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs07 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs08 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs09 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs10 +https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs11 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tli01 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tli02 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tli03 @@ -423,8 +486,16 @@ https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#tla01 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#tla03 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#tla04 https://w3c.github.io/json-ld-api/tests/remote-doc-manifest#tla05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0120 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0122 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0123 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0124 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0125 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0126 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0128 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0130 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0131 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0132 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc001 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc002 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc003 @@ -450,6 +521,7 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc023 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc024 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc025 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc026 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc027 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc028 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc029 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc030 @@ -457,6 +529,13 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc031 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc032 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc033 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc034 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi02 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi03 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi04 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi07 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi08 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi10 @@ -505,7 +584,10 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te122 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te123 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0124 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0125 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te126 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te127 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te128 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te129 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tec01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tec02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tem01 @@ -580,7 +662,10 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs03 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs04 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs05 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs06 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs07 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs10 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs12 @@ -591,8 +676,10 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs16 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs17 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs18 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs19 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs20 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs21 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs22 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs23 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli03 @@ -631,6 +718,10 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn005 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn006 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn007 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn008 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tp001 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tp002 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tp003 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tp004 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi03 @@ -643,14 +734,19 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi10 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr01 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr03 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr04 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr05 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr06 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr08 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr09 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr10 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr12 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr13 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr14 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr15 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr16 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr17 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr18 @@ -658,8 +754,11 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr19 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr20 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr21 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr22 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr23 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr24 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr25 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr26 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr27 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr28 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr29 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr30 @@ -680,7 +779,10 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso03 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso05 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso06 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso07 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso08 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso10 +https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso12 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso13 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ttn01 From 3a63d911734ecc4b6ec0e01f3757f022791c9816 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Fri, 25 Oct 2019 13:59:19 +0200 Subject: [PATCH 14/22] Handle `@version` context entries --- core/reports/json-ld-api-tests-skip | 24 ------------------- .../com/github/jsonldjava/core/Context.java | 14 ++++++++++- .../github/jsonldjava/core/JsonLdConsts.java | 1 + .../github/jsonldjava/core/JsonLdError.java | 4 ++++ .../github/jsonldjava/core/JsonLdOptions.java | 2 +- 5 files changed, 19 insertions(+), 26 deletions(-) diff --git a/core/reports/json-ld-api-tests-skip b/core/reports/json-ld-api-tests-skip index 911bf5a6..127fc0db 100644 --- a/core/reports/json-ld-api-tests-skip +++ b/core/reports/json-ld-api-tests-skip @@ -56,11 +56,9 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest#tc023 https://w3c.github.io/json-ld-api/tests/compact-manifest#tc024 https://w3c.github.io/json-ld-api/tests/compact-manifest#tc025 https://w3c.github.io/json-ld-api/tests/compact-manifest#tc026 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tc027 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi01 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi02 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi03 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi04 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi05 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi06 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi07 @@ -193,8 +191,6 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#t0122 https://w3c.github.io/json-ld-api/tests/expand-manifest#t0123 https://w3c.github.io/json-ld-api/tests/expand-manifest#t0124 https://w3c.github.io/json-ld-api/tests/expand-manifest#t0125 -https://w3c.github.io/json-ld-api/tests/expand-manifest#t0126 -https://w3c.github.io/json-ld-api/tests/expand-manifest#t0127 https://w3c.github.io/json-ld-api/tests/expand-manifest#t0128 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc001 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc002 @@ -221,7 +217,6 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tc023 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc024 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc025 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc026 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tc027 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc028 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc029 https://w3c.github.io/json-ld-api/tests/expand-manifest#tc030 @@ -371,10 +366,6 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tn005 https://w3c.github.io/json-ld-api/tests/expand-manifest#tn006 https://w3c.github.io/json-ld-api/tests/expand-manifest#tn007 https://w3c.github.io/json-ld-api/tests/expand-manifest#tn008 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tp001 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tp002 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tp003 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tp004 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi01 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi02 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi03 @@ -387,14 +378,12 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi09 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi10 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpi11 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr01 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr02 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr03 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr04 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr05 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr06 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr08 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr09 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr10 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr11 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr12 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr13 @@ -432,7 +421,6 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tso05 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso06 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso07 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso08 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tso09 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso10 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso11 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso12 @@ -512,7 +500,6 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc023 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc024 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc025 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc026 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc027 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc028 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc029 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc030 @@ -522,9 +509,7 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc033 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc034 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi03 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi04 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi05 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi06 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi07 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi08 @@ -575,8 +560,6 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te122 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te123 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0124 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#t0125 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te126 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te127 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te128 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tec01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tec02 @@ -708,10 +691,6 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn005 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn006 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn007 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tn008 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tp001 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tp002 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tp003 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tp004 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi03 @@ -724,14 +703,12 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi10 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpi11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr03 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr04 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr05 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr06 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr08 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr09 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr10 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr12 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr13 @@ -770,7 +747,6 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso05 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso06 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso07 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso08 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso10 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso12 diff --git a/core/src/main/java/com/github/jsonldjava/core/Context.java b/core/src/main/java/com/github/jsonldjava/core/Context.java index 8c149b08..979afe66 100644 --- a/core/src/main/java/com/github/jsonldjava/core/Context.java +++ b/core/src/main/java/com/github/jsonldjava/core/Context.java @@ -215,6 +215,18 @@ else if (context instanceof String) { // 3.3 throw new JsonLdError(Error.INVALID_LOCAL_CONTEXT, context); } + // 5.5 in 1.1 (https://w3c.github.io/json-ld-api/#context-processing-algorithm) + if (((Map) context).containsKey(JsonLdConsts.VERSION)) { + final Object version = ((Map) context).get(JsonLdConsts.VERSION); + // 5.5.1 + if(!version.equals(Double.valueOf(1.1))) { + throw new JsonLdError(Error.INVALID_VERSION_VALUE, context); + } + // 5.5.2 + if(options.getProcessingMode().equals(JsonLdOptions.JSON_LD_1_0)) { + throw new JsonLdError(Error.PROCESSING_MODE_CONFLICT, context); + } + } checkEmptyKey((Map) context); // 3.4 if (!parsingARemoteContext @@ -277,7 +289,7 @@ else if (context instanceof String) { final Map defined = new LinkedHashMap(); for (final String key : ((Map) context).keySet()) { if (JsonLdConsts.BASE.equals(key) || JsonLdConsts.VOCAB.equals(key) - || JsonLdConsts.LANGUAGE.equals(key)) { + || JsonLdConsts.LANGUAGE.equals(key) || JsonLdConsts.VERSION.equals(key)) { continue; } result.createTermDefinition((Map) context, key, defined); diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java index 9de5b76b..c16bba09 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java @@ -58,6 +58,7 @@ public final class JsonLdConsts { public static final String VOCAB = "@vocab"; public static final String BASE = "@base"; public static final String REQUIRE_ALL = "@requireAll"; + public static final String VERSION = "@version"; public enum Embed { ALWAYS, NEVER, LAST, LINK; diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java index 21ab5772..2e98bb90 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java @@ -102,6 +102,10 @@ public enum Error { INVALID_EMBED_VALUE("invalid @embed value"), + INVALID_VERSION_VALUE("invalid @version value"), + + PROCESSING_MODE_CONFLICT("processing mode conflict"), + // non spec related errors SYNTAX_ERROR("syntax error"), diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdOptions.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdOptions.java index dc139917..1786aae7 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdOptions.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdOptions.java @@ -87,7 +87,7 @@ public JsonLdOptions copy() { * http://www.w3.org/TR/json-ld-api/#widl-JsonLdOptions-processingMode * jsonld 1.1: https://www.w3.org/TR/json-ld11/#dfn-processing-mode */ - private String processingMode = JSON_LD_1_0; + private String processingMode = JSON_LD_1_1; /** * http://www.w3.org/TR/json-ld-api/#widl-JsonLdOptions-documentLoader */ From 5623b2826032086a6b58db3603a6285a5c771cca Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Tue, 29 Oct 2019 10:26:09 +0100 Subject: [PATCH 15/22] Include new keywords when skipping createTermDefinition --- core/reports/json-ld-api-tests-skip | 25 ------------------- .../com/github/jsonldjava/core/Context.java | 9 +++++-- .../github/jsonldjava/core/JsonLdConsts.java | 4 +++ 3 files changed, 11 insertions(+), 27 deletions(-) diff --git a/core/reports/json-ld-api-tests-skip b/core/reports/json-ld-api-tests-skip index 127fc0db..a3a2ad86 100644 --- a/core/reports/json-ld-api-tests-skip +++ b/core/reports/json-ld-api-tests-skip @@ -56,11 +56,8 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest#tc023 https://w3c.github.io/json-ld-api/tests/compact-manifest#tc024 https://w3c.github.io/json-ld-api/tests/compact-manifest#tc025 https://w3c.github.io/json-ld-api/tests/compact-manifest#tc026 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi01 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi02 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi03 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi05 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi06 https://w3c.github.io/json-ld-api/tests/compact-manifest#tdi07 https://w3c.github.io/json-ld-api/tests/compact-manifest#te001 https://w3c.github.io/json-ld-api/tests/compact-manifest#te002 @@ -230,7 +227,6 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi03 https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi04 https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi05 https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi06 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi07 https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi08 https://w3c.github.io/json-ld-api/tests/expand-manifest#tdi09 https://w3c.github.io/json-ld-api/tests/expand-manifest#tec01 @@ -386,9 +382,6 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr08 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr09 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr11 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr12 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr13 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr14 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr15 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr16 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr17 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr18 @@ -396,11 +389,8 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr19 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr20 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr21 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr22 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr23 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr24 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr25 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr26 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr27 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr28 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr29 https://w3c.github.io/json-ld-api/tests/expand-manifest#tpr30 @@ -420,9 +410,7 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tso03 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso05 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso06 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso07 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tso08 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso10 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tso11 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso12 https://w3c.github.io/json-ld-api/tests/expand-manifest#tso13 https://w3c.github.io/json-ld-api/tests/expand-manifest#ttn01 @@ -507,11 +495,6 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc031 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc032 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc033 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc034 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi01 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi02 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi04 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi06 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi07 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi08 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tdi10 @@ -711,9 +694,6 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr08 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr12 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr13 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr14 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr15 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr16 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr17 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr18 @@ -721,11 +701,8 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr19 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr20 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr21 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr22 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr23 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr24 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr25 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr26 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr27 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr28 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr29 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tpr30 @@ -746,9 +723,7 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso03 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso05 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso06 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso07 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso08 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso10 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso12 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso13 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#ttn01 diff --git a/core/src/main/java/com/github/jsonldjava/core/Context.java b/core/src/main/java/com/github/jsonldjava/core/Context.java index 979afe66..863fa5f0 100644 --- a/core/src/main/java/com/github/jsonldjava/core/Context.java +++ b/core/src/main/java/com/github/jsonldjava/core/Context.java @@ -4,6 +4,7 @@ import static com.github.jsonldjava.utils.Obj.newMap; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.LinkedHashMap; @@ -288,8 +289,12 @@ else if (context instanceof String) { // 3.7 final Map defined = new LinkedHashMap(); for (final String key : ((Map) context).keySet()) { - if (JsonLdConsts.BASE.equals(key) || JsonLdConsts.VOCAB.equals(key) - || JsonLdConsts.LANGUAGE.equals(key) || JsonLdConsts.VERSION.equals(key)) { + // jsonld 1.1: 5.13 in https://w3c.github.io/json-ld-api/#algorithm + if (Arrays + .asList(JsonLdConsts.BASE, JsonLdConsts.DIRECTION, JsonLdConsts.IMPORT, + JsonLdConsts.LANGUAGE, JsonLdConsts.PROPAGATE, + JsonLdConsts.PROTECTED, JsonLdConsts.VERSION, JsonLdConsts.VOCAB) + .contains(key)) { continue; } result.createTermDefinition((Map) context, key, defined); diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java index c16bba09..7773607c 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java @@ -59,6 +59,10 @@ public final class JsonLdConsts { public static final String BASE = "@base"; public static final String REQUIRE_ALL = "@requireAll"; public static final String VERSION = "@version"; + public static final String PROTECTED = "@protected"; + public static final String PROPAGATE = "@propagate"; + public static final String IMPORT = "@import"; + public static final String DIRECTION = "@direction"; public enum Embed { ALWAYS, NEVER, LAST, LINK; From d953a4fb787643e2a69762527fe7ef7bdf3c228e Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Tue, 29 Oct 2019 15:56:37 +0100 Subject: [PATCH 16/22] Support `@container` array syntax --- .../com/github/jsonldjava/core/Context.java | 51 ++++++++++++++++--- .../github/jsonldjava/core/JsonLdError.java | 2 +- 2 files changed, 45 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/com/github/jsonldjava/core/Context.java b/core/src/main/java/com/github/jsonldjava/core/Context.java index 863fa5f0..1f6fc5ac 100644 --- a/core/src/main/java/com/github/jsonldjava/core/Context.java +++ b/core/src/main/java/com/github/jsonldjava/core/Context.java @@ -10,6 +10,7 @@ import java.util.LinkedHashMap; import java.util.List; import java.util.Map; +import java.util.Optional; import com.github.jsonldjava.core.JsonLdError.Error; import com.github.jsonldjava.utils.JsonLdUrl; @@ -413,13 +414,15 @@ private void createTermDefinition(Map context, String term, } definition.put(JsonLdConsts.ID, reverse); if (val.containsKey(JsonLdConsts.CONTAINER)) { - final String container = (String) val.get(JsonLdConsts.CONTAINER); + final Object containerObject = val.get(JsonLdConsts.CONTAINER); + final String container = selectContainer(checkValidContainerEntry(containerObject)); if (container == null || JsonLdConsts.SET.equals(container) || JsonLdConsts.INDEX.equals(container)) { definition.put(JsonLdConsts.CONTAINER, container); } else { throw new JsonLdError(Error.INVALID_REVERSE_PROPERTY, - "reverse properties only support set- and index-containers"); + "reverse properties only support set- and index-containers, but was: " + + containerObject); } } definition.put(JsonLdConsts.REVERSE, true); @@ -476,12 +479,16 @@ else if (term.indexOf(":") >= 0) { // 16) if (val.containsKey(JsonLdConsts.CONTAINER)) { - final String container = (String) val.get(JsonLdConsts.CONTAINER); - if (!JsonLdConsts.LIST.equals(container) && !JsonLdConsts.SET.equals(container) - && !JsonLdConsts.INDEX.equals(container) - && !JsonLdConsts.LANGUAGE.equals(container)) { + Object containerObject = val.get(JsonLdConsts.CONTAINER); + final List allContainers = checkValidContainerEntry(containerObject); + if (allContainers.isEmpty()) { + throw new JsonLdError(Error.INVALID_CONTAINER_MAPPING, containerObject); + } + String container = selectContainer(allContainers); + if (container == null) { throw new JsonLdError(Error.INVALID_CONTAINER_MAPPING, - "@container must be either @list, @set, @index, or @language"); + "@container must be either @list, @set, @index, or @language, but was: " + + allContainers); } definition.put(JsonLdConsts.CONTAINER, container); if (JsonLdConsts.TYPE.equals(term)) { @@ -507,6 +514,36 @@ else if (term.indexOf(":") >= 0) { defined.put(term, true); } + private String selectContainer(final List allContainers) { + Optional supportedContainer = allContainers.stream() + .filter(c -> Arrays.asList(JsonLdConsts.LIST, JsonLdConsts.SET, JsonLdConsts.INDEX, + JsonLdConsts.LANGUAGE, JsonLdConsts.GRAPH).contains(c)) + .findFirst(); + return (String) supportedContainer.orElse(null); + } + + // jsonld 1.1: 22.1 in + // https://w3c.github.io/json-ld-api/#create-term-definition + private List checkValidContainerEntry(final Object containerObject) { + List container = (List) (containerObject instanceof List ? containerObject + : Arrays.asList(containerObject)); + boolean anyOneOf = Arrays.asList(JsonLdConsts.GRAPH, JsonLdConsts.ID, JsonLdConsts.INDEX, + JsonLdConsts.LANGUAGE, JsonLdConsts.LIST, JsonLdConsts.SET, JsonLdConsts.TYPE) + .stream().anyMatch(v -> container.contains(v)) && container.size() == 1; + boolean graphWithOthers = container.contains(JsonLdConsts.GRAPH) + && (container.contains(JsonLdConsts.ID) || container.contains(JsonLdConsts.INDEX) + || container.contains(JsonLdConsts.SET)); + boolean setWithOthers = container.contains(JsonLdConsts.SET) + && Arrays + .asList(JsonLdConsts.INDEX, JsonLdConsts.ID, JsonLdConsts.TYPE, + JsonLdConsts.LANGUAGE) + .stream().anyMatch(v -> container.contains(v)); + if (anyOneOf || graphWithOthers || setWithOthers) { + return container; + } else + return Collections.emptyList(); + } + /** * IRI Expansion Algorithm * diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java index 2e98bb90..4ce6d681 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java @@ -109,7 +109,7 @@ public enum Error { // non spec related errors SYNTAX_ERROR("syntax error"), - NOT_IMPLEMENTED("not implemnted"), + NOT_IMPLEMENTED("not implemented"), UNKNOWN_FORMAT("unknown format"), From e316b1c2b5dd678287dbcbfea6ddc39e3d7c5b8f Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Fri, 29 Nov 2019 15:13:06 +0100 Subject: [PATCH 17/22] Support JSON literals --- core/reports/json-ld-api-tests-skip | 35 ------------------ .../com/github/jsonldjava/core/Context.java | 12 ++++--- .../com/github/jsonldjava/core/JsonLdApi.java | 36 +++++++++++++++++-- .../github/jsonldjava/core/JsonLdConsts.java | 2 ++ .../github/jsonldjava/core/JsonLdError.java | 2 ++ .../github/jsonldjava/core/JsonLdUtils.java | 4 ++- .../github/jsonldjava/core/RDFDataset.java | 29 +++++++++++++-- 7 files changed, 74 insertions(+), 46 deletions(-) diff --git a/core/reports/json-ld-api-tests-skip b/core/reports/json-ld-api-tests-skip index a3a2ad86..ffa4f259 100644 --- a/core/reports/json-ld-api-tests-skip +++ b/core/reports/json-ld-api-tests-skip @@ -78,16 +78,10 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest#tin02 https://w3c.github.io/json-ld-api/tests/compact-manifest#tin03 https://w3c.github.io/json-ld-api/tests/compact-manifest#tin04 https://w3c.github.io/json-ld-api/tests/compact-manifest#tin05 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs01 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs02 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs03 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs04 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs05 https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs06 https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs07 https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs08 https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs09 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs10 https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs11 https://w3c.github.io/json-ld-api/tests/compact-manifest#tli01 https://w3c.github.io/json-ld-api/tests/compact-manifest#tli02 @@ -300,27 +294,10 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tin06 https://w3c.github.io/json-ld-api/tests/expand-manifest#tin07 https://w3c.github.io/json-ld-api/tests/expand-manifest#tin08 https://w3c.github.io/json-ld-api/tests/expand-manifest#tin09 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs01 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs02 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs03 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs04 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs05 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs06 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs07 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs08 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs09 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs10 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs11 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs12 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs13 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs14 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs15 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs16 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs17 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs18 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs19 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs20 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs21 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs22 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs23 https://w3c.github.io/json-ld-api/tests/expand-manifest#tl001 @@ -432,17 +409,8 @@ https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi05 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi06 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi11 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tdi12 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs01 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs02 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs03 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs04 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs05 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs06 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs07 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs08 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs09 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs10 -https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tjs11 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tli01 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tli02 https://w3c.github.io/json-ld-api/tests/fromRdf-manifest#tli03 @@ -618,10 +586,7 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs03 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs04 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs05 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs06 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs07 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs08 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs09 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs10 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs11 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs12 diff --git a/core/src/main/java/com/github/jsonldjava/core/Context.java b/core/src/main/java/com/github/jsonldjava/core/Context.java index 1f6fc5ac..cf0fcaa8 100644 --- a/core/src/main/java/com/github/jsonldjava/core/Context.java +++ b/core/src/main/java/com/github/jsonldjava/core/Context.java @@ -384,9 +384,14 @@ private void createTermDefinition(Map context, String term, } throw new JsonLdError(Error.INVALID_TYPE_MAPPING, type, error); } + // jsonld 1.1: 13.3 in https://w3c.github.io/json-ld-api/#algorithm-0 + if (JsonLdOptions.JSON_LD_1_0.equals(options.getProcessingMode()) + && (JsonLdConsts.NONE.equals(type) || JsonLdConsts.JSON.equals(type))) { + throw new JsonLdError(Error.INVALID_TYPE_MAPPING, type); + } // TODO: fix check for absoluteIri (blank nodes shouldn't count, at // least not here!) - if (JsonLdConsts.ID.equals(type) || JsonLdConsts.VOCAB.equals(type) + if (JsonLdConsts.ID.equals(type) || JsonLdConsts.VOCAB.equals(type) || JsonLdConsts.JSON.equals(type) || (!type.startsWith(JsonLdConsts.BLANK_NODE_PREFIX) && JsonLdUtils.isAbsoluteIri(type))) { definition.put(JsonLdConsts.TYPE, type); @@ -522,8 +527,7 @@ private String selectContainer(final List allContainers) { return (String) supportedContainer.orElse(null); } - // jsonld 1.1: 22.1 in - // https://w3c.github.io/json-ld-api/#create-term-definition + // jsonld 1.1: 22.1 in https://w3c.github.io/json-ld-api/#create-term-definition private List checkValidContainerEntry(final Object containerObject) { List container = (List) (containerObject instanceof List ? containerObject : Arrays.asList(containerObject)); @@ -607,8 +611,6 @@ String expandIri(String value, boolean relative, boolean vocab, Map newMap = newMap(); + newMap.put(JsonLdConsts.VALUE, value); + newMap.put(JsonLdConsts.TYPE, JsonLdConsts.JSON); + expandedValue = newMap; + } // 7.5 - else if (JsonLdConsts.LANGUAGE.equals(activeCtx.getContainer(key)) + else if (JsonLdConsts.LANGUAGE.equals(containerMapping) && value instanceof Map) { // 7.5.1) expandedValue = new ArrayList(); @@ -937,8 +964,11 @@ else if (JsonLdConsts.INDEX.equals(activeCtx.getContainer(key)) // null, so simply return it return null; } + else if (result.getOrDefault(JsonLdConsts.TYPE,"").equals(JsonLdConsts.JSON)) { + // jsonld 1.1: 14.3 in https://w3c.github.io/json-ld-api/#algorithm-3 + } // 8.3) - if (!(rval instanceof String) && result.containsKey(JsonLdConsts.LANGUAGE)) { + else if (!(rval instanceof String) && result.containsKey(JsonLdConsts.LANGUAGE)) { throw new JsonLdError(Error.INVALID_LANGUAGE_TAGGED_VALUE, "when @language is used, @value must be a string"); } diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java index 7773607c..34188dc5 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java @@ -27,6 +27,7 @@ public final class JsonLdConsts { public static final String RDF_OBJECT = RDF_SYNTAX_NS + "object"; public static final String RDF_LANGSTRING = RDF_SYNTAX_NS + "langString"; public static final String RDF_LIST = RDF_SYNTAX_NS + "List"; + public static final String RDF_JSON = RDF_SYNTAX_NS + "JSON"; public static final String TEXT_TURTLE = "text/turtle"; public static final String APPLICATION_NQUADS = "application/n-quads"; // https://www.w3.org/TR/n-quads/#sec-mediatype @@ -63,6 +64,7 @@ public final class JsonLdConsts { public static final String PROPAGATE = "@propagate"; public static final String IMPORT = "@import"; public static final String DIRECTION = "@direction"; + public static final String JSON = "@json"; public enum Embed { ALWAYS, NEVER, LAST, LINK; diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java index 4ce6d681..e5a82ad3 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdError.java @@ -117,6 +117,8 @@ public enum Error { PARSE_ERROR("parse error"), + INVALID_JSON_LITERAL("invalid JSON literal"), + UNKNOWN_ERROR("unknown error"); private final String error; diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java index e0accff7..3a624387 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java @@ -32,7 +32,9 @@ static boolean isKeyword(Object key) { || "@language".equals(key) || "@list".equals(key) || "@omitDefault".equals(key) || "@reverse".equals(key) || "@preserve".equals(key) || "@set".equals(key) || "@type".equals(key) || "@value".equals(key) || "@vocab".equals(key) - || "@requireAll".equals(key); + || "@requireAll".equals(key) || "@version".equals(key)|| "@protected".equals(key) + || "@propagate".equals(key)|| "@import".equals(key)|| "@direction".equals(key) + || "@json".equals(key); } public static Boolean deepCompare(Object v1, Object v2, Boolean listOrderMatters) { diff --git a/core/src/main/java/com/github/jsonldjava/core/RDFDataset.java b/core/src/main/java/com/github/jsonldjava/core/RDFDataset.java index 8f8e18c2..6226f45c 100644 --- a/core/src/main/java/com/github/jsonldjava/core/RDFDataset.java +++ b/core/src/main/java/com/github/jsonldjava/core/RDFDataset.java @@ -5,6 +5,7 @@ import static com.github.jsonldjava.core.JsonLdConsts.RDF_NIL; import static com.github.jsonldjava.core.JsonLdConsts.RDF_REST; import static com.github.jsonldjava.core.JsonLdConsts.RDF_TYPE; +import static com.github.jsonldjava.core.JsonLdConsts.RDF_JSON; import static com.github.jsonldjava.core.JsonLdConsts.XSD_BOOLEAN; import static com.github.jsonldjava.core.JsonLdConsts.XSD_DECIMAL; import static com.github.jsonldjava.core.JsonLdConsts.XSD_DOUBLE; @@ -17,6 +18,7 @@ import static com.github.jsonldjava.core.JsonLdUtils.isValue; import static com.github.jsonldjava.utils.Obj.newMap; +import java.io.IOException; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.ArrayList; @@ -28,6 +30,8 @@ import java.util.Set; import java.util.regex.Pattern; +import com.github.jsonldjava.utils.JsonUtils; + /** * Starting to migrate away from using plain java Maps as the internal RDF * dataset store. Currently each item just wraps a Map based on the old format @@ -240,7 +244,18 @@ Map toObject(Boolean useNativeTypes) throws JsonLdError { else { rval.put("@type", type); } - } else if (!XSD_STRING.equals(type)) { + } + // jsonld 1.1: 2.5 in https://w3c.github.io/json-ld-api/#algorithm-16 + else if(RDF_JSON.equals(type)) { + rval.put("@type", "@json"); + try { + rval.put("@value", JsonUtils.fromString(value)); + } catch (IOException e) { + e.printStackTrace(); + throw new JsonLdError(JsonLdError.Error.INVALID_JSON_LITERAL, value, e); + } + } + else if (!XSD_STRING.equals(type)) { rval.put("@type", type); } } @@ -684,7 +699,17 @@ private Node objectToRDF(Object item) { return new Literal((String) value, datatype == null ? RDF_LANGSTRING : (String) datatype, (String) ((Map) item).get("@language")); - } else { + } + // jsonld 1.1: 8 in https://w3c.github.io/json-ld-api/#algorithm-13 + else if(JsonLdConsts.JSON.equals(datatype)) { + try { + return new Literal(JsonUtils.toString(value), RDF_JSON, null); + } catch (IOException e) { + e.printStackTrace(); + return null; + } + } + else { return new Literal((String) value, datatype == null ? XSD_STRING : (String) datatype, null); } From 036d7dba584336804ea18ef64025b523afb2d4c8 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Tue, 10 Dec 2019 12:52:40 +0100 Subject: [PATCH 18/22] Some 1.1 tweaks --- core/reports/json-ld-api-tests-skip | 10 ---- .../com/github/jsonldjava/core/Context.java | 51 +++++++++++-------- .../com/github/jsonldjava/core/JsonLdApi.java | 19 +++++-- .../github/jsonldjava/core/JsonLdConsts.java | 1 + .../github/jsonldjava/core/JsonLdUtils.java | 3 +- 5 files changed, 48 insertions(+), 36 deletions(-) diff --git a/core/reports/json-ld-api-tests-skip b/core/reports/json-ld-api-tests-skip index ffa4f259..9216301e 100644 --- a/core/reports/json-ld-api-tests-skip +++ b/core/reports/json-ld-api-tests-skip @@ -78,10 +78,6 @@ https://w3c.github.io/json-ld-api/tests/compact-manifest#tin02 https://w3c.github.io/json-ld-api/tests/compact-manifest#tin03 https://w3c.github.io/json-ld-api/tests/compact-manifest#tin04 https://w3c.github.io/json-ld-api/tests/compact-manifest#tin05 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs06 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs07 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs08 -https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs09 https://w3c.github.io/json-ld-api/tests/compact-manifest#tjs11 https://w3c.github.io/json-ld-api/tests/compact-manifest#tli01 https://w3c.github.io/json-ld-api/tests/compact-manifest#tli02 @@ -294,13 +290,9 @@ https://w3c.github.io/json-ld-api/tests/expand-manifest#tin06 https://w3c.github.io/json-ld-api/tests/expand-manifest#tin07 https://w3c.github.io/json-ld-api/tests/expand-manifest#tin08 https://w3c.github.io/json-ld-api/tests/expand-manifest#tin09 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs15 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs16 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs19 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs20 https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs22 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tjs23 -https://w3c.github.io/json-ld-api/tests/expand-manifest#tl001 https://w3c.github.io/json-ld-api/tests/expand-manifest#tli01 https://w3c.github.io/json-ld-api/tests/expand-manifest#tli02 https://w3c.github.io/json-ld-api/tests/expand-manifest#tli03 @@ -597,10 +589,8 @@ https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs16 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs17 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs18 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs19 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs20 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs21 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs22 -https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tjs23 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli01 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli02 https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tli03 diff --git a/core/src/main/java/com/github/jsonldjava/core/Context.java b/core/src/main/java/com/github/jsonldjava/core/Context.java index cf0fcaa8..69f9c9a7 100644 --- a/core/src/main/java/com/github/jsonldjava/core/Context.java +++ b/core/src/main/java/com/github/jsonldjava/core/Context.java @@ -262,12 +262,15 @@ else if (context instanceof String) { final Object value = ((Map) context).get(JsonLdConsts.VOCAB); if (value == null) { result.remove(JsonLdConsts.VOCAB); - } else if (value instanceof String) { - if (JsonLdUtils.isAbsoluteIri((String) value)) { - result.put(JsonLdConsts.VOCAB, value); + } + // jsonld 1.1: 5.8.3 in https://w3c.github.io/json-ld-api/#algorithm + else if (value instanceof String) { + if (((String) value).startsWith(JsonLdConsts.BLANK_NODE_PREFIX) + || JsonLdUtils.isAbsoluteIri((String) value) || JsonLdUtils.isRelativeIri((String) value)) { + result.put(JsonLdConsts.VOCAB, + expandIri((String) value, true, true, ((Map) result), null)); } else { - throw new JsonLdError(Error.INVALID_VOCAB_MAPPING, - "@value must be an absolute IRI"); + throw new JsonLdError(Error.INVALID_VOCAB_MAPPING, value); } } else { throw new JsonLdError(Error.INVALID_VOCAB_MAPPING, @@ -391,13 +394,12 @@ private void createTermDefinition(Map context, String term, } // TODO: fix check for absoluteIri (blank nodes shouldn't count, at // least not here!) - if (JsonLdConsts.ID.equals(type) || JsonLdConsts.VOCAB.equals(type) || JsonLdConsts.JSON.equals(type) - || (!type.startsWith(JsonLdConsts.BLANK_NODE_PREFIX) - && JsonLdUtils.isAbsoluteIri(type))) { - definition.put(JsonLdConsts.TYPE, type); - } else { + else if (!JsonLdConsts.ID.equals(type) && !JsonLdConsts.VOCAB.equals(type) + && !JsonLdConsts.JSON.equals(type) && !JsonLdConsts.NONE.equals(type) + && (!JsonLdUtils.isAbsoluteIri(type) || type.startsWith(JsonLdConsts.BLANK_NODE_PREFIX))) { throw new JsonLdError(Error.INVALID_TYPE_MAPPING, type); } + definition.put(JsonLdConsts.TYPE, type); } // 11) @@ -455,7 +457,7 @@ private void createTermDefinition(Map context, String term, definition.put(JsonLdConsts.ID, res); } else { throw new JsonLdError(Error.INVALID_IRI_MAPPING, - "resulting IRI mapping should be a keyword, absolute IRI or blank node"); + "resulting IRI mapping should be a keyword, absolute IRI or blank node, but was: " + res); } } @@ -1015,18 +1017,28 @@ public int compare(String a, String b) { typeLanguageMap.put(JsonLdConsts.TYPE, newMap()); containerMap.put(container, typeLanguageMap); } - + // jsonld 1.1: 3.8 in https://w3c.github.io/json-ld-api/#inverse-context-creation + final Map typeMap = (Map) typeLanguageMap + .get(JsonLdConsts.TYPE); // 3.8) if (Boolean.TRUE.equals(definition.get(JsonLdConsts.REVERSE))) { - final Map typeMap = (Map) typeLanguageMap - .get(JsonLdConsts.TYPE); if (!typeMap.containsKey(JsonLdConsts.REVERSE)) { typeMap.put(JsonLdConsts.REVERSE, term); } - // 3.9) - } else if (definition.containsKey(JsonLdConsts.TYPE)) { - final Map typeMap = (Map) typeLanguageMap - .get(JsonLdConsts.TYPE); + } + // jsonld 1.1: 3.10 in https://w3c.github.io/json-ld-api/#inverse-context-creation + else if(JsonLdConsts.NONE.equals(definition.get(JsonLdConsts.TYPE))) { + final Map languageMap = (Map) typeLanguageMap + .get(JsonLdConsts.LANGUAGE); + if(!languageMap.containsKey(JsonLdConsts.ANY)) { + languageMap.put(JsonLdConsts.ANY, term); + } + if(!typeMap.containsKey(JsonLdConsts.ANY)) { + typeMap.put(JsonLdConsts.ANY, term); + } + } + // 3.9) + else if (definition.containsKey(JsonLdConsts.TYPE)) { if (!typeMap.containsKey(definition.get(JsonLdConsts.TYPE))) { typeMap.put((String) definition.get(JsonLdConsts.TYPE), term); } @@ -1054,9 +1066,6 @@ public int compare(String a, String b) { if (!languageMap.containsKey(JsonLdConsts.NONE)) { languageMap.put(JsonLdConsts.NONE, term); } - // 3.11.4) - final Map typeMap = (Map) typeLanguageMap - .get(JsonLdConsts.TYPE); // 3.11.5) if (!typeMap.containsKey(JsonLdConsts.NONE)) { typeMap.put(JsonLdConsts.NONE, term); diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java index 802a5797..85873add 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java @@ -317,7 +317,9 @@ else if (JsonLdConsts.INDEX.equals(expandedProperty) // NOTE: expanded value must be an array due to expansion // algorithm. - + if (!(expandedValue instanceof List)) { + throw new JsonLdError(Error.NOT_IMPLEMENTED, "no array: " + expandedValue); + } // 7.5) if (((List) expandedValue).size() == 0) { // 7.5.1) @@ -659,11 +661,16 @@ else if (JsonLdConsts.VALUE.equals(expandedProperty)) { throw new JsonLdError(Error.INVALID_VALUE_OBJECT_VALUE, value); } } - if (value != null && (value instanceof Map || value instanceof List)) { + // jsonld 1.1: 13.4.7.2 in https://w3c.github.io/json-ld-api/#algorithm-3 + else if (value != null && (value instanceof Map || value instanceof List)) { throw new JsonLdError(Error.INVALID_VALUE_OBJECT_VALUE, - "value of " + expandedProperty + " must be a scalar or null"); + "value of " + expandedProperty + " must be a scalar or null, but was: " + value); } - expandedValue = value; + // jsonld 1.1: 13.4.7.3 in https://w3c.github.io/json-ld-api/#algorithm-3 + else { + expandedValue = value; + } + // jsonld 1.1: 13.4.7.4 in https://w3c.github.io/json-ld-api/#algorithm-3 if (expandedValue == null) { result.put(JsonLdConsts.VALUE, null); continue; @@ -828,6 +835,10 @@ else if (JsonLdConsts.LANGUAGE.equals(containerMapping) } // 7.5.2.2) for (final Object item : (List) languageValue) { + // jsonld 1.1: 13.7.4.2.1 in https://w3c.github.io/json-ld-api/#expansion-algorithm + if(item == null) { + continue; + } // 7.5.2.2.1) if (!(item instanceof String)) { throw new JsonLdError(Error.INVALID_LANGUAGE_MAP_VALUE, diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java index 34188dc5..f88be694 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdConsts.java @@ -65,6 +65,7 @@ public final class JsonLdConsts { public static final String IMPORT = "@import"; public static final String DIRECTION = "@direction"; public static final String JSON = "@json"; + public static final String ANY = "@any"; public enum Embed { ALWAYS, NEVER, LAST, LINK; diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java index 3a624387..a70ac560 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java @@ -34,7 +34,8 @@ static boolean isKeyword(Object key) { || "@type".equals(key) || "@value".equals(key) || "@vocab".equals(key) || "@requireAll".equals(key) || "@version".equals(key)|| "@protected".equals(key) || "@propagate".equals(key)|| "@import".equals(key)|| "@direction".equals(key) - || "@json".equals(key); + || "@json".equals(key) || "@none".equals(key) || "@included".equals(key) + || "@nest".equals(key) || "@prefix".equals(key); } public static Boolean deepCompare(Object v1, Object v2, Boolean listOrderMatters) { From a22f97e62b3ab1131218a989c3915a8ae0d1177d Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Fri, 13 Dec 2019 15:54:03 +0100 Subject: [PATCH 19/22] Minor additions - be more verbose in some error messages - add some more comments pointing to the specs - add a blank node condition according to spec 16.4 --- .../java/com/github/jsonldjava/core/Context.java | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/com/github/jsonldjava/core/Context.java b/core/src/main/java/com/github/jsonldjava/core/Context.java index 69f9c9a7..0f2cfbfc 100644 --- a/core/src/main/java/com/github/jsonldjava/core/Context.java +++ b/core/src/main/java/com/github/jsonldjava/core/Context.java @@ -265,12 +265,13 @@ else if (context instanceof String) { } // jsonld 1.1: 5.8.3 in https://w3c.github.io/json-ld-api/#algorithm else if (value instanceof String) { - if (((String) value).startsWith(JsonLdConsts.BLANK_NODE_PREFIX) + if (JsonLdUtils.isBlankNode((String) value) || JsonLdUtils.isAbsoluteIri((String) value) || JsonLdUtils.isRelativeIri((String) value)) { result.put(JsonLdConsts.VOCAB, expandIri((String) value, true, true, ((Map) result), null)); } else { - throw new JsonLdError(Error.INVALID_VOCAB_MAPPING, value); + throw new JsonLdError(Error.INVALID_VOCAB_MAPPING, + "@value must be an IRI or a blank node, but was: "+value); } } else { throw new JsonLdError(Error.INVALID_VOCAB_MAPPING, @@ -301,6 +302,7 @@ else if (value instanceof String) { .contains(key)) { continue; } + // TODO: passing result for active context and the value of the @protected entry from context, if any result.createTermDefinition((Map) context, key, defined); } } @@ -420,6 +422,7 @@ else if (!JsonLdConsts.ID.equals(type) && !JsonLdConsts.VOCAB.equals(type) "Non-absolute @reverse IRI: " + reverse); } definition.put(JsonLdConsts.ID, reverse); + // jsonld 1.1: 14.5 in https://w3c.github.io/json-ld-api/#algorithm-0 if (val.containsKey(JsonLdConsts.CONTAINER)) { final Object containerObject = val.get(JsonLdConsts.CONTAINER); final String container = selectContainer(checkValidContainerEntry(containerObject)); @@ -447,10 +450,10 @@ else if (!JsonLdConsts.ID.equals(type) && !JsonLdConsts.VOCAB.equals(type) throw new JsonLdError(Error.INVALID_IRI_MAPPING, "expected value of @id to be a string"); } - + // jsonld 1.1: 16.4 in https://w3c.github.io/json-ld-api/#algorithm-0 final String res = this.expandIri((String) val.get(JsonLdConsts.ID), false, true, context, defined); - if (JsonLdUtils.isKeyword(res) || JsonLdUtils.isAbsoluteIri(res)) { + if (JsonLdUtils.isKeyword(res) || JsonLdUtils.isAbsoluteIri(res) || JsonLdUtils.isBlankNode(res)) { if (JsonLdConsts.CONTEXT.equals(res)) { throw new JsonLdError(Error.INVALID_KEYWORD_ALIAS, "cannot alias @context"); } @@ -485,6 +488,7 @@ else if (term.indexOf(":") >= 0) { } // 16) + // jsonld 1.1: 21 in https://w3c.github.io/json-ld-api/#algorithm-0 if (val.containsKey(JsonLdConsts.CONTAINER)) { Object containerObject = val.get(JsonLdConsts.CONTAINER); final List allContainers = checkValidContainerEntry(containerObject); @@ -494,7 +498,7 @@ else if (term.indexOf(":") >= 0) { String container = selectContainer(allContainers); if (container == null) { throw new JsonLdError(Error.INVALID_CONTAINER_MAPPING, - "@container must be either @list, @set, @index, or @language, but was: " + "@container must be either @graph, @id, @index, @language, @list, @set or @type, but was: " + allContainers); } definition.put(JsonLdConsts.CONTAINER, container); @@ -1264,4 +1268,4 @@ public Map serialize() { return rval; } -} +} \ No newline at end of file From b6ba9e84aaf5548e7afff12d3b47bf4c368cae17 Mon Sep 17 00:00:00 2001 From: Gregg Kellogg Date: Thu, 9 Apr 2020 10:43:47 -0700 Subject: [PATCH 20/22] Some inline comments on areas that can use improvement for 1.1 Focusing on expansion and context/term processing --- .../java/com/github/jsonldjava/core/Context.java | 14 ++++++++++++++ .../java/com/github/jsonldjava/core/JsonLdApi.java | 11 +++++++++++ .../com/github/jsonldjava/core/JsonLdUtils.java | 1 + 3 files changed, 26 insertions(+) diff --git a/core/src/main/java/com/github/jsonldjava/core/Context.java b/core/src/main/java/com/github/jsonldjava/core/Context.java index 0f2cfbfc..252d083d 100644 --- a/core/src/main/java/com/github/jsonldjava/core/Context.java +++ b/core/src/main/java/com/github/jsonldjava/core/Context.java @@ -165,6 +165,7 @@ public Context parse(Object localContext, List remoteContexts) throws Js * @throws JsonLdError * If there is an error parsing the contexts. */ + // GK: Note that parsing may also depend on some options: `override protected and `propagate` private Context parse(Object localContext, List remoteContexts, boolean parsingARemoteContext) throws JsonLdError { if (remoteContexts == null) { @@ -172,6 +173,7 @@ private Context parse(Object localContext, List remoteContexts, } // 1. Initialize result to the result of cloning active context. Context result = this.clone(); // TODO: clone? + // GK: note if localContext is a Map containing `@propagate` that value overrides the `propagate` option. // 2) if (!(localContext instanceof List)) { final Object temp = localContext; @@ -182,6 +184,8 @@ private Context parse(Object localContext, List remoteContexts, for (final Object context : ((List) localContext)) { // 3.1) if (context == null) { + // GK: Note, if active context has any protected terms, and `override protected` is not true, this should fail with 'invalid context nullification'. + // GK: Note, if `propagate` is false, the previous context should be associated with this new (null) context for potential rollback. result = new Context(this.options); continue; } else if (context instanceof Context) { @@ -190,6 +194,7 @@ private Context parse(Object localContext, List remoteContexts, // 3.2) else if (context instanceof String) { String uri = (String) result.get(JsonLdConsts.BASE); + // GK: Note, the context needs to be resolved against the location of the file containing the reference, not the base association from the context. The spec defines a `context base` for this purpose. uri = JsonLdUrl.resolve(uri, (String) context); // 3.2.2 if (remoteContexts.contains(uri)) { @@ -291,6 +296,8 @@ else if (value instanceof String) { } } + // GK: There are more keys to be checked: `@import`, `@direction`, `@propagate` and `@version`. + // GK: You'll want some `processingMode` method to use when doing conditional checks; default value is `json-ld-1.1`, but can be overridden using an API option. // 3.7 final Map defined = new LinkedHashMap(); for (final String key : ((Map) context).keySet()) { @@ -344,12 +351,14 @@ private void createTermDefinition(Map context, String term, defined.put(term, false); + // GK: Note, `@type` can also contain `@protected` in addition to `@container`. If `@container` is there, its value can only be `@set` (or `['@set']`). if (JsonLdUtils.isKeyword(term) && !(options.getAllowContainerSetOnType() && JsonLdConsts.TYPE.equals(term) && !(context.get(term)).toString().contains(JsonLdConsts.ID))) { throw new JsonLdError(Error.KEYWORD_REDEFINITION, term); } + // GK: Note, you'll need to retain any previous definition to make sure, if protected, that any new definition is compatible with it before ending this method. this.termDefinitions.remove(term); Object value = context.get(term); if (value == null || (value instanceof Map @@ -445,6 +454,7 @@ else if (!JsonLdConsts.ID.equals(type) && !JsonLdConsts.VOCAB.equals(type) definition.put(JsonLdConsts.REVERSE, false); // 13) + // GK: Note, there are some required checks to be sure that if the associated term expands to an IRI, it is compatible with `@id` and some other checks. if (val.get(JsonLdConsts.ID) != null && !term.equals(val.get(JsonLdConsts.ID))) { if (!(val.get(JsonLdConsts.ID) instanceof String)) { throw new JsonLdError(Error.INVALID_IRI_MAPPING, @@ -489,6 +499,7 @@ else if (term.indexOf(":") >= 0) { // 16) // jsonld 1.1: 21 in https://w3c.github.io/json-ld-api/#algorithm-0 + // GK: Note, `@container` can take on many more values, and be an array. Best always cast to an array and check to see if the container includes any useful value. There are also some checks to make sure that the content of `@context` is consistent. if (val.containsKey(JsonLdConsts.CONTAINER)) { Object containerObject = val.get(JsonLdConsts.CONTAINER); final List allContainers = checkValidContainerEntry(containerObject); @@ -520,6 +531,8 @@ else if (term.indexOf(":") >= 0) { } } + // GK: Note, other keys to check for are `@index`, `@context` (which requires a recursive call to Context.parse to make sure it's valid), `@direction`, `@nest`, and `@prefix`. + // GK: Note, this is where to check if the previous definition exists and is protected, and we're not overriding protected, that the two definitions are essentially compatible. // 18) this.termDefinitions.put(term, definition); defined.put(term, true); @@ -650,6 +663,7 @@ String compactIri(String iri, Object value, boolean relativeToVocab, boolean rev // 2) if (relativeToVocab && getInverse().containsKey(iri)) { + // GK: Sadly, term selection has become much more involved in 1.1. // 2.1) String defaultLanguage = (String) this.get(JsonLdConsts.LANGUAGE); if (defaultLanguage == null) { diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java index 85873add..1f7091ed 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdApi.java @@ -521,6 +521,7 @@ public Object expand(Context activeCtx, String activeProperty, Object element) return null; } + // GK: This would be the point to set `propertyScopedContext` to the `@context` entry for any term definition associated with `activeProperty`. // 3) if (element instanceof List) { // 3.1) @@ -553,14 +554,19 @@ else if (element instanceof Map) { // access helper final Map elem = (Map) element; // 5) + // This would be the place to revert the active context from any previous type-scoped context if the active context has a `previousContext` entry (with some exceptions when called from a map, or if it's a value object or a subject reference). + // GK: If we found a `propertyScopedContext` above, we can parse it to create a new activeCtx using the `override protected` option if (elem.containsKey(JsonLdConsts.CONTEXT)) { activeCtx = activeCtx.parse(elem.get(JsonLdConsts.CONTEXT)); } + // GK: This would be the place to remember this version of activeCtx as `typeScopedContext`. // 6) Map result = newMap(); // 7) final List keys = new ArrayList(elem.keySet()); Collections.sort(keys); + // GK: This is the place to check for a type-scoped context by checking any key that expands to `@type` to see the current context has a term that equals that key where the term definition includes `@context`, updating the activeCtx as you go (but using termScopedContext when checking the keys). + // GK: 1.1 made the following loop somewhat recursive, due to nesting, so might want to extract into a method. for (final String key : keys) { final Object value = elem.get(key); // 7.1) @@ -787,6 +793,7 @@ else if (JsonLdConsts.REVERSE.equals(expandedProperty)) { } } } + // GK: Also, `@included`, `@graph`, and `@direction` // 7.4.11.4) continue; } @@ -853,9 +860,12 @@ else if (JsonLdConsts.LANGUAGE.equals(containerMapping) } } // 7.6) + // GK: Also a place to see if key is `@json` for JSON literals. else if (JsonLdConsts.INDEX.equals(activeCtx.getContainer(key)) && value instanceof Map) { // 7.6.1) + // GK: `@index` also supports property indexing, if the term definition includes `@index`. + // GK: A map can also include `@none`. expandedValue = new ArrayList(); // 7.6.2) final List indexKeys = new ArrayList( @@ -903,6 +913,7 @@ else if (JsonLdConsts.INDEX.equals(activeCtx.getContainer(key)) ((Map) expandedValue).put(JsonLdConsts.LIST, tmp); } } + // GK: Other container possibilities including `@graph`, `@id`, and `@type` along with variations. // 7.10) if (activeCtx.isReverseProperty(key)) { // 7.10.1) diff --git a/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java b/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java index a70ac560..4d3591ae 100644 --- a/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java +++ b/core/src/main/java/com/github/jsonldjava/core/JsonLdUtils.java @@ -26,6 +26,7 @@ static boolean isKeyword(Object key) { if (!isString(key)) { return false; } + // GK: Note that this set is somewhat dependent on the processing mode. return "@base".equals(key) || "@context".equals(key) || "@container".equals(key) || "@default".equals(key) || "@embed".equals(key) || "@explicit".equals(key) || "@graph".equals(key) || "@id".equals(key) || "@index".equals(key) From 6faa8282d2d28f612081837334d086e2db2dc148 Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Tue, 28 Apr 2020 11:53:44 +0200 Subject: [PATCH 21/22] Add source of README into the README --- core/src/test/resources/json-ld-api-tests/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/test/resources/json-ld-api-tests/README.md b/core/src/test/resources/json-ld-api-tests/README.md index 8fae7b2d..27c4a306 100644 --- a/core/src/test/resources/json-ld-api-tests/README.md +++ b/core/src/test/resources/json-ld-api-tests/README.md @@ -1,3 +1,4 @@ +(this is a copy of https://github.com/w3c/json-ld-api/blob/master/tests/README.md made 2020-04-09 ) # Introduction The JSON-LD Test Suite is a set of tests that can From e94efdfcac0b9241f8ef1ae54632982b5254cbb3 Mon Sep 17 00:00:00 2001 From: Peter Ansell Date: Sun, 3 May 2020 12:52:09 +1000 Subject: [PATCH 22/22] Bump to next development version Signed-off-by: Peter Ansell --- core/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/pom.xml b/core/pom.xml index 25431acb..111f5087 100755 --- a/core/pom.xml +++ b/core/pom.xml @@ -4,7 +4,7 @@ jsonld-java-parent com.github.jsonld-java - 0.13.1-SNAPSHOT + 0.14.0-SNAPSHOT 4.0.0 jsonld-java diff --git a/pom.xml b/pom.xml index a1bd056b..53e1e73f 100755 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.github.jsonld-java jsonld-java-parent - 0.13.1-SNAPSHOT + 0.14.0-SNAPSHOT JSONLD Java :: Parent Json-LD Java Parent POM pom