├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── README.md ├── examples ├── compact.go ├── expand.go ├── flatten.go ├── frame.go ├── from_rdf.go ├── normalize.go └── to_rdf.go └── ld ├── api.go ├── api_compact.go ├── api_expand.go ├── api_frame.go ├── api_frame_test.go ├── api_from_rdf.go ├── api_generate_node_map.go ├── api_normalize.go ├── api_to_rdf.go ├── context.go ├── document_loader.go ├── document_loader_test.go ├── errors.go ├── id_issuer.go ├── node.go ├── options.go ├── processor.go ├── processor_test.go ├── rdf_constants.go ├── rdf_dataset.go ├── rdf_dataset_test.go ├── serialize_nquads.go ├── serialize_turtle.go ├── testdata ├── README.md ├── compact-0001-context.jsonld ├── compact-0001-in.jsonld ├── compact-0001-out.jsonld ├── compact-0002-context.jsonld ├── compact-0002-in.jsonld ├── compact-0002-out.jsonld ├── compact-0003-context.jsonld ├── compact-0003-in.jsonld ├── compact-0003-out.jsonld ├── compact-0004-context.jsonld ├── compact-0004-in.jsonld ├── compact-0004-out.jsonld ├── compact-0005-context.jsonld ├── compact-0005-in.jsonld ├── compact-0005-out.jsonld ├── compact-0006-context.jsonld ├── compact-0006-in.jsonld ├── compact-0006-out.jsonld ├── compact-0007-context.jsonld ├── compact-0007-in.jsonld ├── compact-0007-out.jsonld ├── compact-0008-context.jsonld ├── compact-0008-in.jsonld ├── compact-0008-out.jsonld ├── compact-0009-context.jsonld ├── compact-0009-in.jsonld ├── compact-0009-out.jsonld ├── compact-0010-context.jsonld ├── compact-0010-in.jsonld ├── compact-0010-out.jsonld ├── compact-0011-context.jsonld ├── compact-0011-in.jsonld ├── compact-0011-out.jsonld ├── compact-0012-context.jsonld ├── compact-0012-in.jsonld ├── compact-0012-out.jsonld ├── compact-0013-context.jsonld ├── compact-0013-in.jsonld ├── compact-0013-out.jsonld ├── compact-0014-context.jsonld ├── compact-0014-in.jsonld ├── compact-0014-out.jsonld ├── compact-0015-context.jsonld ├── compact-0015-in.jsonld ├── compact-0015-out.jsonld ├── compact-0016-context.jsonld ├── compact-0016-in.jsonld ├── compact-0016-out.jsonld ├── compact-0017-context.jsonld ├── compact-0017-in.jsonld ├── compact-0017-out.jsonld ├── compact-0018-context.jsonld ├── compact-0018-in.jsonld ├── compact-0018-out.jsonld ├── compact-0019-context.jsonld ├── compact-0019-in.jsonld ├── compact-0019-out.jsonld ├── compact-0020-context.jsonld ├── compact-0020-in.jsonld ├── compact-0020-out.jsonld ├── compact-0021-context.jsonld ├── compact-0021-in.jsonld ├── compact-0021-out.jsonld ├── compact-0022-context.jsonld ├── compact-0022-in.jsonld ├── compact-0022-out.jsonld ├── compact-0023-context.jsonld ├── compact-0023-in.jsonld ├── compact-0023-out.jsonld ├── compact-0024-context.jsonld ├── compact-0024-in.jsonld ├── compact-0024-out.jsonld ├── compact-0025-context.jsonld ├── compact-0025-in.jsonld ├── compact-0025-out.jsonld ├── compact-0026-context.jsonld ├── compact-0026-in.jsonld ├── compact-0026-out.jsonld ├── compact-0027-context.jsonld ├── compact-0027-in.jsonld ├── compact-0027-out.jsonld ├── compact-0028-context.jsonld ├── compact-0028-in.jsonld ├── compact-0028-out.jsonld ├── compact-0029-context.jsonld ├── compact-0029-in.jsonld ├── compact-0029-out.jsonld ├── compact-0030-context.jsonld ├── compact-0030-in.jsonld ├── compact-0030-out.jsonld ├── compact-0031-context.jsonld ├── compact-0031-in.jsonld ├── compact-0031-out.jsonld ├── compact-0032-context.jsonld ├── compact-0032-in.jsonld ├── compact-0032-out.jsonld ├── compact-0033-context.jsonld ├── compact-0033-in.jsonld ├── compact-0033-out.jsonld ├── compact-0034-context.jsonld ├── compact-0034-in.jsonld ├── compact-0034-out.jsonld ├── compact-0035-context.jsonld ├── compact-0035-in.jsonld ├── compact-0035-out.jsonld ├── compact-0036-context.jsonld ├── compact-0036-in.jsonld ├── compact-0036-out.jsonld ├── compact-0037-context.jsonld ├── compact-0037-in.jsonld ├── compact-0037-out.jsonld ├── compact-0038-context.jsonld ├── compact-0038-in.jsonld ├── compact-0038-out.jsonld ├── compact-0038a-out.jsonld ├── compact-0039-context.jsonld ├── compact-0039-in.jsonld ├── compact-0039-out.jsonld ├── compact-0040-context.jsonld ├── compact-0040-in.jsonld ├── compact-0040-out.jsonld ├── compact-0041-context.jsonld ├── compact-0041-in.jsonld ├── compact-0041-out.jsonld ├── compact-0042-context.jsonld ├── compact-0042-in.jsonld ├── compact-0042-out.jsonld ├── compact-0043-context.jsonld ├── compact-0043-in.jsonld ├── compact-0043-out.jsonld ├── compact-0044-context.jsonld ├── compact-0044-in.jsonld ├── compact-0044-out.jsonld ├── compact-0045-context.jsonld ├── compact-0045-in.jsonld ├── compact-0045-out.jsonld ├── compact-0046-context.jsonld ├── compact-0046-in.jsonld ├── compact-0046-out.jsonld ├── compact-0047-context.jsonld ├── compact-0047-in.jsonld ├── compact-0047-out.jsonld ├── compact-0048-context.jsonld ├── compact-0048-in.jsonld ├── compact-0048-out.jsonld ├── compact-0049-context.jsonld ├── compact-0049-in.jsonld ├── compact-0049-out.jsonld ├── compact-0050-context.jsonld ├── compact-0050-in.jsonld ├── compact-0050-out.jsonld ├── compact-0051-context.jsonld ├── compact-0051-in.jsonld ├── compact-0051-out.jsonld ├── compact-0052-context.jsonld ├── compact-0052-in.jsonld ├── compact-0052-out.jsonld ├── compact-0053-context.jsonld ├── compact-0053-in.jsonld ├── compact-0053-out.jsonld ├── compact-0054-context.jsonld ├── compact-0054-in.jsonld ├── compact-0054-out.jsonld ├── compact-0055-context.jsonld ├── compact-0055-in.jsonld ├── compact-0055-out.jsonld ├── compact-0056-context.jsonld ├── compact-0056-in.jsonld ├── compact-0056-out.jsonld ├── compact-0057-context.jsonld ├── compact-0057-in.jsonld ├── compact-0057-out.jsonld ├── compact-0058-context.jsonld ├── compact-0058-in.jsonld ├── compact-0058-out.jsonld ├── compact-0059-context.jsonld ├── compact-0059-in.jsonld ├── compact-0059-out.jsonld ├── compact-0060-context.jsonld ├── compact-0060-in.jsonld ├── compact-0060-out.jsonld ├── compact-0061-context.jsonld ├── compact-0061-in.jsonld ├── compact-0061-out.jsonld ├── compact-0062-context.jsonld ├── compact-0062-in.jsonld ├── compact-0062-out.jsonld ├── compact-0063-context.jsonld ├── compact-0063-in.jsonld ├── compact-0063-out.jsonld ├── compact-0064-context.jsonld ├── compact-0064-in.jsonld ├── compact-0064-out.jsonld ├── compact-0065-context.jsonld ├── compact-0065-in.jsonld ├── compact-0065-out.jsonld ├── compact-0066-context.jsonld ├── compact-0066-in.jsonld ├── compact-0066-out.jsonld ├── compact-0067-context.jsonld ├── compact-0067-in.jsonld ├── compact-0067-out.jsonld ├── compact-0068-context.jsonld ├── compact-0068-in.jsonld ├── compact-0068-out.jsonld ├── compact-0069-context.jsonld ├── compact-0069-in.jsonld ├── compact-0069-out.jsonld ├── compact-0070-context.jsonld ├── compact-0070-in.jsonld ├── compact-0070-out.jsonld ├── compact-0071-context.jsonld ├── compact-0071-in.jsonld ├── compact-0071-out.jsonld ├── compact-0072-context.jsonld ├── compact-0072-in.jsonld ├── compact-0072-out.jsonld ├── compact-0073-context.jsonld ├── compact-0073-in.jsonld ├── compact-0073-out.jsonld ├── compact-0074-context.jsonld ├── compact-0074-in.jsonld ├── compact-0074-out.jsonld ├── compact-0075-context.jsonld ├── compact-0075-in.jsonld ├── compact-0075-out.jsonld ├── compact-0076-context.jsonld ├── compact-0076-in.jsonld ├── compact-0076-out.jsonld ├── compact-c001-context.jsonld ├── compact-c001-in.jsonld ├── compact-c001-out.jsonld ├── compact-c002-context.jsonld ├── compact-c002-in.jsonld ├── compact-c002-out.jsonld ├── compact-c003-context.jsonld ├── compact-c003-in.jsonld ├── compact-c003-out.jsonld ├── compact-c004-context.jsonld ├── compact-c004-in.jsonld ├── compact-c004-out.jsonld ├── compact-c005-context.jsonld ├── compact-c005-in.jsonld ├── compact-c005-out.jsonld ├── compact-m001-context.jsonld ├── compact-m001-in.jsonld ├── compact-m001-out.jsonld ├── compact-m002-context.jsonld ├── compact-m002-in.jsonld ├── compact-m002-out.jsonld ├── compact-m003-context.jsonld ├── compact-m003-in.jsonld ├── compact-m003-out.jsonld ├── compact-m004-context.jsonld ├── compact-m004-in.jsonld ├── compact-m004-out.jsonld ├── compact-m005-context.jsonld ├── compact-m005-in.jsonld ├── compact-m005-out.jsonld ├── compact-m006-context.jsonld ├── compact-m006-in.jsonld ├── compact-m006-out.jsonld ├── compact-m007-context.jsonld ├── compact-m007-in.jsonld ├── compact-m007-out.jsonld ├── compact-m008-context.jsonld ├── compact-m008-in.jsonld ├── compact-m008-out.jsonld ├── compact-m009-context.jsonld ├── compact-m009-in.jsonld ├── compact-m009-out.jsonld ├── compact-m010-context.jsonld ├── compact-m010-in.jsonld ├── compact-m010-out.jsonld ├── compact-m011-context.jsonld ├── compact-m011-in.jsonld ├── compact-m011-out.jsonld ├── compact-m012-context.jsonld ├── compact-m012-in.jsonld ├── compact-m012-out.jsonld ├── compact-manifest.jsonld ├── compact-n001-context.jsonld ├── compact-n001-in.jsonld ├── compact-n001-out.jsonld ├── compact-n002-context.jsonld ├── compact-n002-in.jsonld ├── compact-n002-out.jsonld ├── compact-n003-context.jsonld ├── compact-n003-in.jsonld ├── compact-n003-out.jsonld ├── compact-n004-context.jsonld ├── compact-n004-in.jsonld ├── compact-n004-out.jsonld ├── compact-n005-context.jsonld ├── compact-n005-in.jsonld ├── compact-n005-out.jsonld ├── compact-n006-context.jsonld ├── compact-n006-in.jsonld ├── compact-n006-out.jsonld ├── compact-n007-context.jsonld ├── compact-n007-in.jsonld ├── compact-n007-out.jsonld ├── compact-n008-context.jsonld ├── compact-n008-in.jsonld ├── compact-n008-out.jsonld ├── compact-n009-context.jsonld ├── compact-n009-in.jsonld ├── compact-n009-out.jsonld ├── compact-n010-context.jsonld ├── compact-n010-in.jsonld ├── compact-n010-out.jsonld ├── compact-p001-context.jsonld ├── compact-p001-in.jsonld ├── compact-p001-out.jsonld ├── compact-p002-context.jsonld ├── compact-p002-in.jsonld ├── compact-p002-out.jsonld ├── compact-p003-context.jsonld ├── compact-p003-in.jsonld ├── compact-p003-out.jsonld ├── compact-p004-context.jsonld ├── compact-p004-in.jsonld ├── compact-p004-out.jsonld ├── compact-p005-context.jsonld ├── compact-p005-in.jsonld ├── compact-p005-out.jsonld ├── compact-p006-context.jsonld ├── compact-p006-in.jsonld ├── compact-p006-out.jsonld ├── compact-p007-context.jsonld ├── compact-p007-in.jsonld ├── compact-p007-out.jsonld ├── compact-r001-context.jsonld ├── compact-r001-in.jsonld ├── compact-r001-out.jsonld ├── compact-r002-context.jsonld ├── compact-r002-in.jsonld ├── compact-r002-out.jsonld ├── compact-s001-context.jsonld ├── compact-s001-in.jsonld ├── compact-s001-out.jsonld ├── compact-s002-context.jsonld ├── compact-s002-in.jsonld ├── compact-s002-out.jsonld ├── composer.json ├── error-0001-in.jsonld ├── error-0002-in.jsonld ├── error-0003-ctx.jsonld ├── error-0003-in.jsonld ├── error-0004-in.jsonld ├── error-0005-in.jsonld ├── error-0006-in.jsonld ├── error-0007-in.jsonld ├── error-0008-in.jsonld ├── error-0009-in.jsonld ├── error-0010-in.jsonld ├── error-0011-in.jsonld ├── error-0012-in.jsonld ├── error-0013-in.jsonld ├── error-0014-in.jsonld ├── error-0015-in.jsonld ├── error-0016-in.jsonld ├── error-0017-in.jsonld ├── error-0018-in.jsonld ├── error-0019-in.jsonld ├── error-0020-in.jsonld ├── error-0021-in.jsonld ├── error-0022-in.jsonld ├── error-0023-in.jsonld ├── error-0024-in.jsonld ├── error-0025-in.jsonld ├── error-0026-in.jsonld ├── error-0027-in.jsonld ├── error-0028-in.jsonld ├── error-0029-in.jsonld ├── error-0030-in.jsonld ├── error-0031-in.jsonld ├── error-0032-in.jsonld ├── error-0033-in.jsonld ├── error-0034-in.jsonld ├── error-0035-in.jsonld ├── error-0036-in.jsonld ├── error-0037-in.jsonld ├── error-0038-in.jsonld ├── error-0039-in.jsonld ├── error-0040-in.jsonld ├── error-0041-in.jsonld ├── error-0042-context.jsonld ├── error-0042-in.jsonld ├── error-0043-in.jsonld ├── error-c001-in.jsonld ├── error-m021-in.jsonld ├── error-manifest.jsonld ├── error-n001-in.jsonld ├── error-n002-in.jsonld ├── error-n003-in.jsonld ├── error-n004-in.jsonld ├── error-n005-in.jsonld ├── error-n006-in.jsonld ├── error-n007-context.jsonld ├── error-n007-in.jsonld ├── error-p001-in.jsonld ├── error-p002-in.jsonld ├── error-p003-in.jsonld ├── error-p004-context.jsonld ├── error-p004-in.jsonld ├── error-p005-context.jsonld ├── error-p005-in.jsonld ├── error-p006-context.jsonld ├── error-p006-in.jsonld ├── error-p007-context.jsonld ├── error-p007-in.jsonld ├── error-p008-context.jsonld ├── error-p008-in.jsonld ├── error-p009-context.jsonld ├── error-p009-in.jsonld ├── error-s001-in.jsonld ├── error-s002-in.jsonld ├── expand-0001-in.jsonld ├── expand-0001-out.jsonld ├── expand-0002-in.jsonld ├── expand-0002-out.jsonld ├── expand-0003-in.jsonld ├── expand-0003-out.jsonld ├── expand-0004-in.jsonld ├── expand-0004-out.jsonld ├── expand-0005-in.jsonld ├── expand-0005-out.jsonld ├── expand-0006-in.jsonld ├── expand-0006-out.jsonld ├── expand-0007-in.jsonld ├── expand-0007-out.jsonld ├── expand-0008-in.jsonld ├── expand-0008-out.jsonld ├── expand-0009-in.jsonld ├── expand-0009-out.jsonld ├── expand-0010-in.jsonld ├── expand-0010-out.jsonld ├── expand-0011-in.jsonld ├── expand-0011-out.jsonld ├── expand-0012-in.jsonld ├── expand-0012-out.jsonld ├── expand-0013-in.jsonld ├── expand-0013-out.jsonld ├── expand-0014-in.jsonld ├── expand-0014-out.jsonld ├── expand-0015-in.jsonld ├── expand-0015-out.jsonld ├── expand-0016-in.jsonld ├── expand-0016-out.jsonld ├── expand-0017-in.jsonld ├── expand-0017-out.jsonld ├── expand-0018-in.jsonld ├── expand-0018-out.jsonld ├── expand-0019-in.jsonld ├── expand-0019-out.jsonld ├── expand-0020-in.jsonld ├── expand-0020-out.jsonld ├── expand-0021-in.jsonld ├── expand-0021-out.jsonld ├── expand-0022-in.jsonld ├── expand-0022-out.jsonld ├── expand-0023-in.jsonld ├── expand-0023-out.jsonld ├── expand-0024-in.jsonld ├── expand-0024-out.jsonld ├── expand-0025-in.jsonld ├── expand-0025-out.jsonld ├── expand-0026-in.jsonld ├── expand-0026-out.jsonld ├── expand-0027-in.jsonld ├── expand-0027-out.jsonld ├── expand-0028-in.jsonld ├── expand-0028-out.jsonld ├── expand-0029-in.jsonld ├── expand-0029-out.jsonld ├── expand-0030-in.jsonld ├── expand-0030-out.jsonld ├── expand-0031-in.jsonld ├── expand-0031-out.jsonld ├── expand-0032-in.jsonld ├── expand-0032-out.jsonld ├── expand-0033-in.jsonld ├── expand-0033-out.jsonld ├── expand-0034-in.jsonld ├── expand-0034-out.jsonld ├── expand-0035-in.jsonld ├── expand-0035-out.jsonld ├── expand-0036-in.jsonld ├── expand-0036-out.jsonld ├── expand-0037-in.jsonld ├── expand-0037-out.jsonld ├── expand-0038-in.jsonld ├── expand-0038-out.jsonld ├── expand-0039-in.jsonld ├── expand-0039-out.jsonld ├── expand-0040-in.jsonld ├── expand-0040-out.jsonld ├── expand-0041-in.jsonld ├── expand-0041-out.jsonld ├── expand-0042-in.jsonld ├── expand-0042-out.jsonld ├── expand-0043-in.jsonld ├── expand-0043-out.jsonld ├── expand-0044-in.jsonld ├── expand-0044-out.jsonld ├── expand-0045-in.jsonld ├── expand-0045-out.jsonld ├── expand-0046-in.jsonld ├── expand-0046-out.jsonld ├── expand-0047-in.jsonld ├── expand-0047-out.jsonld ├── expand-0048-in.jsonld ├── expand-0048-out.jsonld ├── expand-0049-in.jsonld ├── expand-0049-out.jsonld ├── expand-0050-in.jsonld ├── expand-0050-out.jsonld ├── expand-0051-in.jsonld ├── expand-0051-out.jsonld ├── expand-0052-in.jsonld ├── expand-0052-out.jsonld ├── expand-0053-in.jsonld ├── expand-0053-out.jsonld ├── expand-0054-in.jsonld ├── expand-0054-out.jsonld ├── expand-0055-in.jsonld ├── expand-0055-out.jsonld ├── expand-0056-in.jsonld ├── expand-0056-out.jsonld ├── expand-0057-in.jsonld ├── expand-0057-out.jsonld ├── expand-0058-in.jsonld ├── expand-0058-out.jsonld ├── expand-0059-in.jsonld ├── expand-0059-out.jsonld ├── expand-0060-in.jsonld ├── expand-0060-out.jsonld ├── expand-0061-in.jsonld ├── expand-0061-out.jsonld ├── expand-0062-in.jsonld ├── expand-0062-out.jsonld ├── expand-0063-in.jsonld ├── expand-0063-out.jsonld ├── expand-0064-in.jsonld ├── expand-0064-out.jsonld ├── expand-0065-in.jsonld ├── expand-0065-out.jsonld ├── expand-0066-in.jsonld ├── expand-0066-out.jsonld ├── expand-0067-in.jsonld ├── expand-0067-out.jsonld ├── expand-0068-in.jsonld ├── expand-0068-out.jsonld ├── expand-0069-in.jsonld ├── expand-0069-out.jsonld ├── expand-0070-in.jsonld ├── expand-0070-out.jsonld ├── expand-0071-in.jsonld ├── expand-0071-out.jsonld ├── expand-0072-in.jsonld ├── expand-0072-out.jsonld ├── expand-0073-in.jsonld ├── expand-0073-out.jsonld ├── expand-0074-in.jsonld ├── expand-0074-out.jsonld ├── expand-0075-in.jsonld ├── expand-0075-out.jsonld ├── expand-0076-in.jsonld ├── expand-0076-out.jsonld ├── expand-0077-context.jsonld ├── expand-0077-in.jsonld ├── expand-0077-out.jsonld ├── expand-0078-in.jsonld ├── expand-0078-out.jsonld ├── expand-c001-in.jsonld ├── expand-c001-out.jsonld ├── expand-c002-in.jsonld ├── expand-c002-out.jsonld ├── expand-c003-in.jsonld ├── expand-c003-out.jsonld ├── expand-c004-in.jsonld ├── expand-c004-out.jsonld ├── expand-c005-in.jsonld ├── expand-c005-out.jsonld ├── expand-l001-in.jsonld ├── expand-l001-out.jsonld ├── expand-m001-in.jsonld ├── expand-m001-out.jsonld ├── expand-m002-in.jsonld ├── expand-m002-out.jsonld ├── expand-m003-in.jsonld ├── expand-m003-out.jsonld ├── expand-m004-in.jsonld ├── expand-m004-out.jsonld ├── expand-m005-in.jsonld ├── expand-m005-out.jsonld ├── expand-m006-in.jsonld ├── expand-m006-out.jsonld ├── expand-m007-in.jsonld ├── expand-m007-out.jsonld ├── expand-m008-in.jsonld ├── expand-m008-out.jsonld ├── expand-m009-in.jsonld ├── expand-m009-out.jsonld ├── expand-m010-in.jsonld ├── expand-m010-out.jsonld ├── expand-m011-in.jsonld ├── expand-m011-out.jsonld ├── expand-m012-in.jsonld ├── expand-m012-out.jsonld ├── expand-m013-in.jsonld ├── expand-m013-out.jsonld ├── expand-manifest.jsonld ├── expand-n001-in.jsonld ├── expand-n001-out.jsonld ├── expand-n002-in.jsonld ├── expand-n002-out.jsonld ├── expand-n003-in.jsonld ├── expand-n003-out.jsonld ├── expand-n004-in.jsonld ├── expand-n004-out.jsonld ├── expand-n005-in.jsonld ├── expand-n005-out.jsonld ├── expand-n006-in.jsonld ├── expand-n006-out.jsonld ├── expand-n007-in.jsonld ├── expand-n007-out.jsonld ├── flatten-0001-in.jsonld ├── flatten-0001-out.jsonld ├── flatten-0002-in.jsonld ├── flatten-0002-out.jsonld ├── flatten-0003-in.jsonld ├── flatten-0003-out.jsonld ├── flatten-0004-in.jsonld ├── flatten-0004-out.jsonld ├── flatten-0005-in.jsonld ├── flatten-0005-out.jsonld ├── flatten-0006-in.jsonld ├── flatten-0006-out.jsonld ├── flatten-0007-in.jsonld ├── flatten-0007-out.jsonld ├── flatten-0008-in.jsonld ├── flatten-0008-out.jsonld ├── flatten-0009-in.jsonld ├── flatten-0009-out.jsonld ├── flatten-0010-in.jsonld ├── flatten-0010-out.jsonld ├── flatten-0011-in.jsonld ├── flatten-0011-out.jsonld ├── flatten-0012-in.jsonld ├── flatten-0012-out.jsonld ├── flatten-0013-in.jsonld ├── flatten-0013-out.jsonld ├── flatten-0014-in.jsonld ├── flatten-0014-out.jsonld ├── flatten-0015-in.jsonld ├── flatten-0015-out.jsonld ├── flatten-0016-in.jsonld ├── flatten-0016-out.jsonld ├── flatten-0017-in.jsonld ├── flatten-0017-out.jsonld ├── flatten-0018-in.jsonld ├── flatten-0018-out.jsonld ├── flatten-0019-in.jsonld ├── flatten-0019-out.jsonld ├── flatten-0020-in.jsonld ├── flatten-0020-out.jsonld ├── flatten-0021-in.jsonld ├── flatten-0021-out.jsonld ├── flatten-0022-in.jsonld ├── flatten-0022-out.jsonld ├── flatten-0023-in.jsonld ├── flatten-0023-out.jsonld ├── flatten-0024-in.jsonld ├── flatten-0024-out.jsonld ├── flatten-0025-in.jsonld ├── flatten-0025-out.jsonld ├── flatten-0026-in.jsonld ├── flatten-0026-out.jsonld ├── flatten-0027-in.jsonld ├── flatten-0027-out.jsonld ├── flatten-0028-in.jsonld ├── flatten-0028-out.jsonld ├── flatten-0029-in.jsonld ├── flatten-0029-out.jsonld ├── flatten-0030-in.jsonld ├── flatten-0030-out.jsonld ├── flatten-0031-in.jsonld ├── flatten-0031-out.jsonld ├── flatten-0032-in.jsonld ├── flatten-0032-out.jsonld ├── flatten-0033-in.jsonld ├── flatten-0033-out.jsonld ├── flatten-0034-in.jsonld ├── flatten-0034-out.jsonld ├── flatten-0035-in.jsonld ├── flatten-0035-out.jsonld ├── flatten-0036-in.jsonld ├── flatten-0036-out.jsonld ├── flatten-0037-in.jsonld ├── flatten-0037-out.jsonld ├── flatten-0038-in.jsonld ├── flatten-0038-out.jsonld ├── flatten-0039-in.jsonld ├── flatten-0039-out.jsonld ├── flatten-0040-in.jsonld ├── flatten-0040-out.jsonld ├── flatten-0041-in.jsonld ├── flatten-0041-out.jsonld ├── flatten-0042-in.jsonld ├── flatten-0042-out.jsonld ├── flatten-0043-in.jsonld ├── flatten-0043-out.jsonld ├── flatten-0044-context.jsonld ├── flatten-0044-in.jsonld ├── flatten-0044-out.jsonld ├── flatten-0045-in.jsonld ├── flatten-0045-out.jsonld ├── flatten-0046-in.jsonld ├── flatten-0046-out.jsonld ├── flatten-0047-in.jsonld ├── flatten-0047-out.jsonld ├── flatten-manifest.jsonld ├── frame-0001-frame.jsonld ├── frame-0001-in.jsonld ├── frame-0001-out.jsonld ├── frame-0002-frame.jsonld ├── frame-0002-in.jsonld ├── frame-0002-out.jsonld ├── frame-0003-frame.jsonld ├── frame-0003-in.jsonld ├── frame-0003-out.jsonld ├── frame-0004-frame.jsonld ├── frame-0004-in.jsonld ├── frame-0004-out.jsonld ├── frame-0005-frame.jsonld ├── frame-0005-in.jsonld ├── frame-0005-out.jsonld ├── frame-0006-frame.jsonld ├── frame-0006-in.jsonld ├── frame-0006-out.jsonld ├── frame-0007-frame.jsonld ├── frame-0007-in.jsonld ├── frame-0007-out.jsonld ├── frame-0008-frame.jsonld ├── frame-0008-in.jsonld ├── frame-0008-out.jsonld ├── frame-0009-frame.jsonld ├── frame-0009-in.jsonld ├── frame-0009-out.jsonld ├── frame-0010-frame.jsonld ├── frame-0010-in.jsonld ├── frame-0010-out.jsonld ├── frame-0011-frame.jsonld ├── frame-0011-in.jsonld ├── frame-0011-out.jsonld ├── frame-0012-frame.jsonld ├── frame-0012-in.jsonld ├── frame-0012-out.jsonld ├── frame-0013-frame.jsonld ├── frame-0013-in.jsonld ├── frame-0013-out.jsonld ├── frame-0014-frame.jsonld ├── frame-0014-in.jsonld ├── frame-0014-out.jsonld ├── frame-0015-frame.jsonld ├── frame-0015-in.jsonld ├── frame-0015-out.jsonld ├── frame-0016-frame.jsonld ├── frame-0016-in.jsonld ├── frame-0016-out.jsonld ├── frame-0017-frame.jsonld ├── frame-0017-in.jsonld ├── frame-0017-out.jsonld ├── frame-0018-frame.jsonld ├── frame-0018-in.jsonld ├── frame-0018-out.jsonld ├── frame-0019-frame.jsonld ├── frame-0019-in.jsonld ├── frame-0019-out.jsonld ├── frame-0020-frame.jsonld ├── frame-0020-in.jsonld ├── frame-0020-out.jsonld ├── frame-0021-frame.jsonld ├── frame-0021-in.jsonld ├── frame-0021-out.jsonld ├── frame-0022-frame.jsonld ├── frame-0022-in.jsonld ├── frame-0022-out.jsonld ├── frame-0023-frame.jsonld ├── frame-0023-in.jsonld ├── frame-0023-out.jsonld ├── frame-0024-frame.jsonld ├── frame-0024-in.jsonld ├── frame-0024-out.jsonld ├── frame-0025-frame.jsonld ├── frame-0025-in.jsonld ├── frame-0025-out.jsonld ├── frame-0026-frame.jsonld ├── frame-0026-in.jsonld ├── frame-0026-out.jsonld ├── frame-0027-frame.jsonld ├── frame-0027-in.jsonld ├── frame-0027-out.jsonld ├── frame-0028-frame.jsonld ├── frame-0028-in.jsonld ├── frame-0028-out.jsonld ├── frame-0029-frame.jsonld ├── frame-0029-in.jsonld ├── frame-0029-out.jsonld ├── frame-0030-frame.jsonld ├── frame-0030-in.jsonld ├── frame-0030-out.jsonld ├── frame-0031-frame.jsonld ├── frame-0031-in.jsonld ├── frame-0031-out.jsonld ├── frame-0032-frame.jsonld ├── frame-0032-in.jsonld ├── frame-0032-out.jsonld ├── frame-0033-frame.jsonld ├── frame-0033-in.jsonld ├── frame-0033-out.jsonld ├── frame-0034-frame.jsonld ├── frame-0034-in.jsonld ├── frame-0034-out.jsonld ├── frame-0035-frame.jsonld ├── frame-0035-in.jsonld ├── frame-0035-out.jsonld ├── frame-0036-frame.jsonld ├── frame-0036-in.jsonld ├── frame-0036-out.jsonld ├── frame-0037-frame.jsonld ├── frame-0037-in.jsonld ├── frame-0037-out.jsonld ├── frame-0038-frame.jsonld ├── frame-0038-in.jsonld ├── frame-0038-out.jsonld ├── frame-0039-frame.jsonld ├── frame-0039-in.jsonld ├── frame-0039-out.jsonld ├── frame-0040-frame.jsonld ├── frame-0040-in.jsonld ├── frame-0040-out.jsonld ├── frame-0041-frame.jsonld ├── frame-0041-in.jsonld ├── frame-0041-out.jsonld ├── frame-0042-frame.jsonld ├── frame-0042-in.jsonld ├── frame-0042-out.jsonld ├── frame-0043-frame.jsonld ├── frame-0043-in.jsonld ├── frame-0043-out.jsonld ├── frame-0044-frame.jsonld ├── frame-0044-in.jsonld ├── frame-0044-out.jsonld ├── frame-0045-frame.jsonld ├── frame-0045-in.jsonld ├── frame-0045-out.jsonld ├── frame-0046-frame.jsonld ├── frame-0046-in.jsonld ├── frame-0046-out.jsonld ├── frame-0047-frame.jsonld ├── frame-0047-in.jsonld ├── frame-0047-out.jsonld ├── frame-0048-frame.jsonld ├── frame-0048-in.jsonld ├── frame-0048-out.jsonld ├── frame-0049-frame.jsonld ├── frame-0049-in.jsonld ├── frame-0049-out.jsonld ├── frame-0050-frame.jsonld ├── frame-0050-in.jsonld ├── frame-0050-out.jsonld ├── frame-0051-frame.jsonld ├── frame-0051-in.jsonld ├── frame-0051-out.jsonld ├── frame-manifest.jsonld ├── frame-p010-out.jsonld ├── frame-p020-out.jsonld ├── frame-p021-out.jsonld ├── frame-p046-out.jsonld ├── frame-p049-out.jsonld ├── fromRdf-0001-in.nq ├── fromRdf-0001-out.jsonld ├── fromRdf-0002-in.nq ├── fromRdf-0002-out.jsonld ├── fromRdf-0003-in.nq ├── fromRdf-0003-out.jsonld ├── fromRdf-0004-in.nq ├── fromRdf-0004-out.jsonld ├── fromRdf-0005-in.nq ├── fromRdf-0005-out.jsonld ├── fromRdf-0006-in.nq ├── fromRdf-0006-out.jsonld ├── fromRdf-0007-in.nq ├── fromRdf-0007-out.jsonld ├── fromRdf-0008-in.nq ├── fromRdf-0008-out.jsonld ├── fromRdf-0009-in.nq ├── fromRdf-0009-out.jsonld ├── fromRdf-0010-in.nq ├── fromRdf-0010-out.jsonld ├── fromRdf-0011-in.nq ├── fromRdf-0011-out.jsonld ├── fromRdf-0012-in.nq ├── fromRdf-0012-out.jsonld ├── fromRdf-0013-in.nq ├── fromRdf-0013-out.jsonld ├── fromRdf-0014-in.nq ├── fromRdf-0014-out.jsonld ├── fromRdf-0015-in.nq ├── fromRdf-0015-out.jsonld ├── fromRdf-0016-in.nq ├── fromRdf-0016-out.jsonld ├── fromRdf-0017-in.nq ├── fromRdf-0017-out.jsonld ├── fromRdf-0018-in.nq ├── fromRdf-0018-out.jsonld ├── fromRdf-0019-in.nq ├── fromRdf-0019-out.jsonld ├── fromRdf-0020-in.nq ├── fromRdf-0020-out.jsonld ├── fromRdf-0021-in.nq ├── fromRdf-0021-out.jsonld ├── fromRdf-0022-in.nq ├── fromRdf-0022-out.jsonld ├── fromRdf-manifest.jsonld ├── remote-doc-0001-in.jsonld ├── remote-doc-0001-out.jsonld ├── remote-doc-0002-in.json ├── remote-doc-0002-out.jsonld ├── remote-doc-0003-in.jldt ├── remote-doc-0003-out.jsonld ├── remote-doc-0004-in.jldte ├── remote-doc-0009-context.jsonld ├── remote-doc-0009-in.jsonld ├── remote-doc-0009-out.jsonld ├── remote-doc-0010-context.jsonld ├── remote-doc-0010-in.json ├── remote-doc-0010-out.jsonld ├── remote-doc-0011-context.jsonld ├── remote-doc-0011-in.jldt ├── remote-doc-0011-out.jsonld ├── remote-doc-0012-context1.jsonld ├── remote-doc-0012-context2.jsonld ├── remote-doc-0012-in.json ├── remote-doc-manifest.jsonld ├── test001-in.nq ├── test001-urdna2015.nq ├── test001-urgna2012.nq ├── test002-in.nq ├── test002-urdna2015.nq ├── test002-urgna2012.nq ├── test003-in.nq ├── test003-urdna2015.nq ├── test003-urgna2012.nq ├── test004-in.nq ├── test004-urdna2015.nq ├── test004-urgna2012.nq ├── test005-in.nq ├── test005-urdna2015.nq ├── test005-urgna2012.nq ├── test006-in.nq ├── test006-urdna2015.nq ├── test006-urgna2012.nq ├── test007-in.nq ├── test007-urdna2015.nq ├── test007-urgna2012.nq ├── test008-in.nq ├── test008-urdna2015.nq ├── test008-urgna2012.nq ├── test009-in.nq ├── test009-urdna2015.nq ├── test009-urgna2012.nq ├── test010-in.nq ├── test010-urdna2015.nq ├── test010-urgna2012.nq ├── test011-in.nq ├── test011-urdna2015.nq ├── test011-urgna2012.nq ├── test012-in.nq ├── test012-urdna2015.nq ├── test012-urgna2012.nq ├── test013-in.nq ├── test013-urdna2015.nq ├── test013-urgna2012.nq ├── test014-in.nq ├── test014-urdna2015.nq ├── test014-urgna2012.nq ├── test015-in.nq ├── test015-urdna2015.nq ├── test015-urgna2012.nq ├── test016-in.nq ├── test016-urdna2015.nq ├── test016-urgna2012.nq ├── test017-in.nq ├── test017-urdna2015.nq ├── test017-urgna2012.nq ├── test018-in.nq ├── test018-urdna2015.nq ├── test018-urgna2012.nq ├── test019-in.nq ├── test019-urdna2015.nq ├── test019-urgna2012.nq ├── test020-in.nq ├── test020-urdna2015.nq ├── test020-urgna2012.nq ├── test021-in.nq ├── test021-urdna2015.nq ├── test021-urgna2012.nq ├── test022-in.nq ├── test022-urdna2015.nq ├── test022-urgna2012.nq ├── test023-in.nq ├── test023-urdna2015.nq ├── test023-urgna2012.nq ├── test024-in.nq ├── test024-urdna2015.nq ├── test024-urgna2012.nq ├── test025-in.nq ├── test025-urdna2015.nq ├── test025-urgna2012.nq ├── test026-in.nq ├── test026-urdna2015.nq ├── test026-urgna2012.nq ├── test027-in.nq ├── test027-urdna2015.nq ├── test027-urgna2012.nq ├── test028-in.nq ├── test028-urdna2015.nq ├── test028-urgna2012.nq ├── test029-in.nq ├── test029-urdna2015.nq ├── test029-urgna2012.nq ├── test030-in.nq ├── test030-urdna2015.nq ├── test030-urgna2012.nq ├── test031-in.nq ├── test031-urdna2015.nq ├── test031-urgna2012.nq ├── test032-in.nq ├── test032-urdna2015.nq ├── test032-urgna2012.nq ├── test033-in.nq ├── test033-urdna2015.nq ├── test033-urgna2012.nq ├── test034-in.nq ├── test034-urdna2015.nq ├── test034-urgna2012.nq ├── test035-in.nq ├── test035-urdna2015.nq ├── test035-urgna2012.nq ├── test036-in.nq ├── test036-urdna2015.nq ├── test036-urgna2012.nq ├── test037-in.nq ├── test037-urdna2015.nq ├── test037-urgna2012.nq ├── test038-in.nq ├── test038-urdna2015.nq ├── test038-urgna2012.nq ├── test039-in.nq ├── test039-urdna2015.nq ├── test039-urgna2012.nq ├── test040-in.nq ├── test040-urdna2015.nq ├── test040-urgna2012.nq ├── test041-in.nq ├── test041-urdna2015.nq ├── test041-urgna2012.nq ├── test042-in.nq ├── test042-urdna2015.nq ├── test042-urgna2012.nq ├── test043-in.nq ├── test043-urdna2015.nq ├── test043-urgna2012.nq ├── test044-in.nq ├── test044-urdna2015.nq ├── test044-urgna2012.nq ├── test045-in.nq ├── test045-urdna2015.nq ├── test045-urgna2012.nq ├── test046-in.nq ├── test046-urdna2015.nq ├── test046-urgna2012.nq ├── test047-in.nq ├── test047-urdna2015.nq ├── test047-urgna2012.nq ├── test048-in.nq ├── test048-urdna2015.nq ├── test048-urgna2012.nq ├── test049-in.nq ├── test049-urdna2015.nq ├── test049-urgna2012.nq ├── test050-in.nq ├── test050-urdna2015.nq ├── test050-urgna2012.nq ├── test051-in.nq ├── test051-urdna2015.nq ├── test051-urgna2012.nq ├── test052-in.nq ├── test052-urdna2015.nq ├── test052-urgna2012.nq ├── test053-in.nq ├── test053-urdna2015.nq ├── test053-urgna2012.nq ├── test054-in.nq ├── test054-urdna2015.nq ├── test054-urgna2012.nq ├── test055-in.nq ├── test055-urdna2015.nq ├── test055-urgna2012.nq ├── test056-in.nq ├── test056-urdna2015.nq ├── test056-urgna2012.nq ├── test057-in.nq ├── test057-urdna2015.nq ├── test057-urgna2012.nq ├── test058-in.nq ├── test058-urdna2015.nq ├── toRdf-0001-in.jsonld ├── toRdf-0001-out.nq ├── toRdf-0002-in.jsonld ├── toRdf-0002-out.nq ├── toRdf-0003-in.jsonld ├── toRdf-0003-out.nq ├── toRdf-0004-in.jsonld ├── toRdf-0004-out.nq ├── toRdf-0005-in.jsonld ├── toRdf-0005-out.nq ├── toRdf-0006-in.jsonld ├── toRdf-0006-out.nq ├── toRdf-0007-in.jsonld ├── toRdf-0007-out.nq ├── toRdf-0008-in.jsonld ├── toRdf-0008-out.nq ├── toRdf-0009-in.jsonld ├── toRdf-0009-out.nq ├── toRdf-0010-in.jsonld ├── toRdf-0010-out.nq ├── toRdf-0011-in.jsonld ├── toRdf-0011-out.nq ├── toRdf-0012-in.jsonld ├── toRdf-0012-out.nq ├── toRdf-0013-in.jsonld ├── toRdf-0013-out.nq ├── toRdf-0014-in.jsonld ├── toRdf-0014-out.nq ├── toRdf-0015-in.jsonld ├── toRdf-0015-out.nq ├── toRdf-0016-in.jsonld ├── toRdf-0016-out.nq ├── toRdf-0017-in.jsonld ├── toRdf-0017-out.nq ├── toRdf-0018-in.jsonld ├── toRdf-0018-out.nq ├── toRdf-0019-in.jsonld ├── toRdf-0019-out.nq ├── toRdf-0020-in.jsonld ├── toRdf-0020-out.nq ├── toRdf-0022-in.jsonld ├── toRdf-0022-out.nq ├── toRdf-0023-in.jsonld ├── toRdf-0023-out.nq ├── toRdf-0024-in.jsonld ├── toRdf-0024-out.nq ├── toRdf-0025-in.jsonld ├── toRdf-0025-out.nq ├── toRdf-0026-in.jsonld ├── toRdf-0026-out.nq ├── toRdf-0027-in.jsonld ├── toRdf-0027-out.nq ├── toRdf-0028-in.jsonld ├── toRdf-0028-out.nq ├── toRdf-0029-in.jsonld ├── toRdf-0029-out.nq ├── toRdf-0030-in.jsonld ├── toRdf-0030-out.nq ├── toRdf-0031-in.jsonld ├── toRdf-0031-out.nq ├── toRdf-0032-in.jsonld ├── toRdf-0032-out.nq ├── toRdf-0033-in.jsonld ├── toRdf-0033-out.nq ├── toRdf-0034-in.jsonld ├── toRdf-0034-out.nq ├── toRdf-0035-in.jsonld ├── toRdf-0035-out.nq ├── toRdf-0036-in.jsonld ├── toRdf-0036-out.nq ├── toRdf-0041-in.jsonld ├── toRdf-0041-out.nq ├── toRdf-0042-in.jsonld ├── toRdf-0042-out.nq ├── toRdf-0043-in.jsonld ├── toRdf-0043-out.nq ├── toRdf-0044-in.jsonld ├── toRdf-0044-out.nq ├── toRdf-0045-in.jsonld ├── toRdf-0045-out.nq ├── toRdf-0046-in.jsonld ├── toRdf-0046-out.nq ├── toRdf-0047-in.jsonld ├── toRdf-0047-out.nq ├── toRdf-0048-in.jsonld ├── toRdf-0048-out.nq ├── toRdf-0049-in.jsonld ├── toRdf-0049-out.nq ├── toRdf-0050-in.jsonld ├── toRdf-0050-out.nq ├── toRdf-0051-in.jsonld ├── toRdf-0051-out.nq ├── toRdf-0052-in.jsonld ├── toRdf-0052-out.nq ├── toRdf-0053-in.jsonld ├── toRdf-0053-out.nq ├── toRdf-0054-in.jsonld ├── toRdf-0054-out.nq ├── toRdf-0055-in.jsonld ├── toRdf-0055-out.nq ├── toRdf-0056-in.jsonld ├── toRdf-0056-out.nq ├── toRdf-0057-in.jsonld ├── toRdf-0057-out.nq ├── toRdf-0058-in.jsonld ├── toRdf-0058-out.nq ├── toRdf-0059-in.jsonld ├── toRdf-0059-out.nq ├── toRdf-0060-in.jsonld ├── toRdf-0060-out.nq ├── toRdf-0061-in.jsonld ├── toRdf-0061-out.nq ├── toRdf-0062-in.jsonld ├── toRdf-0062-out.nq ├── toRdf-0063-in.jsonld ├── toRdf-0063-out.nq ├── toRdf-0064-in.jsonld ├── toRdf-0064-out.nq ├── toRdf-0065-in.jsonld ├── toRdf-0065-out.nq ├── toRdf-0066-in.jsonld ├── toRdf-0066-out.nq ├── toRdf-0067-in.jsonld ├── toRdf-0067-out.nq ├── toRdf-0068-in.jsonld ├── toRdf-0068-out.nq ├── toRdf-0069-in.jsonld ├── toRdf-0069-out.nq ├── toRdf-0070-in.jsonld ├── toRdf-0070-out.nq ├── toRdf-0071-in.jsonld ├── toRdf-0071-out.nq ├── toRdf-0072-in.jsonld ├── toRdf-0072-out.nq ├── toRdf-0073-in.jsonld ├── toRdf-0073-out.nq ├── toRdf-0074-in.jsonld ├── toRdf-0074-out.nq ├── toRdf-0075-in.jsonld ├── toRdf-0075-out.nq ├── toRdf-0076-in.jsonld ├── toRdf-0076-out.nq ├── toRdf-0077-in.jsonld ├── toRdf-0077-out.nq ├── toRdf-0078-in.jsonld ├── toRdf-0078-out.nq ├── toRdf-0079-in.jsonld ├── toRdf-0079-out.nq ├── toRdf-0080-in.jsonld ├── toRdf-0080-out.nq ├── toRdf-0081-in.jsonld ├── toRdf-0081-out.nq ├── toRdf-0082-in.jsonld ├── toRdf-0082-out.nq ├── toRdf-0083-in.jsonld ├── toRdf-0083-out.nq ├── toRdf-0084-in.jsonld ├── toRdf-0084-out.nq ├── toRdf-0085-in.jsonld ├── toRdf-0085-out.nq ├── toRdf-0086-in.jsonld ├── toRdf-0086-out.nq ├── toRdf-0087-in.jsonld ├── toRdf-0087-out.nq ├── toRdf-0088-in.jsonld ├── toRdf-0088-out.nq ├── toRdf-0089-in.jsonld ├── toRdf-0089-out.nq ├── toRdf-0090-in.jsonld ├── toRdf-0090-out.nq ├── toRdf-0091-in.jsonld ├── toRdf-0091-out.nq ├── toRdf-0092-in.jsonld ├── toRdf-0092-out.nq ├── toRdf-0093-in.jsonld ├── toRdf-0093-out.nq ├── toRdf-0094-in.jsonld ├── toRdf-0094-out.nq ├── toRdf-0095-in.jsonld ├── toRdf-0095-out.nq ├── toRdf-0096-in.jsonld ├── toRdf-0096-out.nq ├── toRdf-0097-in.jsonld ├── toRdf-0097-out.nq ├── toRdf-0098-in.jsonld ├── toRdf-0098-out.nq ├── toRdf-0099-in.jsonld ├── toRdf-0099-out.nq ├── toRdf-0100-in.jsonld ├── toRdf-0100-out.nq ├── toRdf-0101-in.jsonld ├── toRdf-0101-out.nq ├── toRdf-0102-in.jsonld ├── toRdf-0102-out.nq ├── toRdf-0103-in.jsonld ├── toRdf-0103-out.nq ├── toRdf-0104-in.jsonld ├── toRdf-0104-out.nq ├── toRdf-0105-in.jsonld ├── toRdf-0105-out.nq ├── toRdf-0106-in.jsonld ├── toRdf-0106-out.nq ├── toRdf-0107-in.jsonld ├── toRdf-0107-out.nq ├── toRdf-0108-in.jsonld ├── toRdf-0108-out.nq ├── toRdf-0109-in.jsonld ├── toRdf-0109-out.nq ├── toRdf-0110-in.jsonld ├── toRdf-0110-out.nq ├── toRdf-0111-in.jsonld ├── toRdf-0111-out.nq ├── toRdf-0112-in.jsonld ├── toRdf-0112-out.nq ├── toRdf-0113-in.jsonld ├── toRdf-0113-out.nq ├── toRdf-0114-in.jsonld ├── toRdf-0114-out.nq ├── toRdf-0115-in.jsonld ├── toRdf-0115-out.nq ├── toRdf-0116-in.jsonld ├── toRdf-0116-out.nq ├── toRdf-0117-in.jsonld ├── toRdf-0117-out.nq ├── toRdf-0118-in.jsonld ├── toRdf-0118-out.nq ├── toRdf-0119-in.jsonld ├── toRdf-0119-out.nq ├── toRdf-0120-in.jsonld ├── toRdf-0120-out.nq ├── toRdf-0121-in.jsonld ├── toRdf-0121-out.nq ├── toRdf-0122-in.jsonld ├── toRdf-0122-out.nq ├── toRdf-0123-in.jsonld ├── toRdf-0123-out.nq ├── toRdf-0124-in.jsonld ├── toRdf-0124-out.nq ├── toRdf-0125-in.jsonld ├── toRdf-0125-out.nq ├── toRdf-0126-in.jsonld ├── toRdf-0126-out.nq ├── toRdf-0127-in.jsonld ├── toRdf-0127-out.nq ├── toRdf-0128-in.jsonld ├── toRdf-0128-out.nq ├── toRdf-0129-in.jsonld ├── toRdf-0129-out.nq ├── toRdf-manifest.jsonld ├── urdna2015-manifest.jsonld └── urgna2012-manifest.jsonld ├── url.go ├── url_test.go └── utils.go /ld/rdf_dataset_test.go: -------------------------------------------------------------------------------- 1 | package ld_test 2 | 3 | import ( 4 | . "github.com/kazarena/json-gold/ld" 5 | "github.com/stretchr/testify/assert" 6 | "testing" 7 | ) 8 | 9 | func TestGetCanonicalDouble(t *testing.T) { 10 | assert.Equal(t, "5.3E0", GetCanonicalDouble(5.3)) 11 | } 12 | -------------------------------------------------------------------------------- /ld/testdata/compact-0001-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {} 3 | } 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0001-in.jsonld: -------------------------------------------------------------------------------- 1 | {"@id": "http://example.org/test#example"} -------------------------------------------------------------------------------- /ld/testdata/compact-0001-out.jsonld: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /ld/testdata/compact-0003-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {} 3 | } 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0003-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/id", 3 | "http://example.org/property": null, 4 | "regularJson": { 5 | "nonJsonLd": "property", 6 | "deep": [{ 7 | "foo": "bar" 8 | }, { 9 | "bar": "foo" 10 | }] 11 | } 12 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0003-out.jsonld: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /ld/testdata/compact-0005-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/", 4 | "term1": {"@id": "ex:term1", "@type": "ex:datatype"}, 5 | "term2": {"@id": "ex:term2", "@type": "@id"} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0006-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/", 4 | "term1": { "@id": "ex:term1", "@type": "ex:datatype" }, 5 | "term2": "ex:term2" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0007-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "dc": "http://purl.org/dc/elements/1.1/", 4 | "ex": "http://example.org/vocab#", 5 | "ex:authored": {"@type": "@id"}, 6 | "ex:contains": {"@type": "@id"}, 7 | "foaf": "http://xmlns.com/foaf/0.1/" 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0008-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "http://example.org/test#property1": {"@type": "@id"}, 4 | "http://example.org/test#property2": {"@type": "@id"}, 5 | "http://example.org/test#property3": {"@type": "@id"}, 6 | "uri": "@id" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-0009-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "dc": "http://purl.org/dc/elements/1.1/", 4 | "ex": "http://example.org/vocab#", 5 | "ex:contains": {"@type": "@id"} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0009-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/test#book", 3 | "http://example.org/vocab#contains": { 4 | "@id": "http://example.org/test#chapter" 5 | }, 6 | "http://purl.org/dc/elements/1.1/title": "Title" 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0010-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id"}, 4 | "name": "http://xmlns.com/foaf/0.1/name" 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0011-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/vocab#", 4 | "ex:date": {"@type": "xsd:dateTime"}, 5 | "ex:parent": {"@type": "@id"}, 6 | "xsd": "http://www.w3.org/2001/XMLSchema#" 7 | } 8 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0012-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/vocab#" 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0012-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/test", 3 | "http://example.org/vocab#bool": true, 4 | "http://example.org/vocab#int": 123 5 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0012-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/vocab#" 4 | }, 5 | "@id": "http://example.org/test", 6 | "ex:bool": true, 7 | "ex:int": 123 8 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0013-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/vocab#" 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0013-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/test", 3 | "http://example.org/vocab#test": {"@value": "test", "@language": "en"} 4 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0013-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/vocab#" 4 | }, 5 | "@id": "http://example.org/test", 6 | "ex:test": {"@value": "test", "@language": "en"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0014-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "homepage": {"@id": "http://xmlns.com/foaf/0.1/homepage", "@type": "@id"}, 4 | "name": "http://xmlns.com/foaf/0.1/name", 5 | "data": "@graph" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0016-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "wd": "http://data.wikipedia.org/vocab#", 4 | "ws": "http://data.wikipedia.org/snaks/", 5 | "wp": "http://en.wikipedia.org/wiki/" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0017-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://www.w3.org/2000/01/rdf-schema#comment": [ 3 | { "@value": "Kommentar auf Deutsch.", "@language": "de" }, 4 | { "@value": "Comment in English.", "@language": "en" } 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0019-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "mylist": {"@id": "http://example.com/mylist", "@container": "@list"}, 4 | "myset": {"@id": "http://example.com/myset", "@container": "@set"} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0020-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/ns#", 4 | "ex:property": {"@container": "@list"} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0020-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/ns#" 4 | }, 5 | "@id": "ex:property", 6 | "ex:property": { 7 | "@list": [1, 2] 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0020-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/ns#", 4 | "ex:property": { 5 | "@container": "@list" 6 | } 7 | }, 8 | "@id": "ex:property", 9 | "ex:property": [1, 2] 10 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0021-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.com/subdir/", 4 | "vocab/date": { "@type": "vocab/types/dateTime" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0023-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.com/", 4 | "ex": "http://example.com/subdir/", 5 | "ex:vocab/date": { "@type": "ex:vocab/types/dateTime" } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0025-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "vocab": "http://example.com/vocab/", 4 | "label": { 5 | "@id": "vocab:label", 6 | "@container": "@language" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/compact-0026-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.com/vocab/", 4 | "@language": "it", 5 | "s": { "@id": "label", "@language": "en" }, 6 | "label": { 7 | "@container": "@language" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /ld/testdata/compact-0027-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "label": "http://example.com/vocab/label", 4 | "container": { "@id": "label", "@container": "@set" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0028-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://xmlns.com/foaf/0.1/", 4 | "homepage": { 5 | "@type": "@id" 6 | }, 7 | "uri": "@id" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/compact-0029-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "author": {"@id": "http://example.com/vocab/author", "@container": "@index" } 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0030-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "property": "http://example.com/property", 4 | "indexContainer": { "@id": "http://example.com/container", "@container": "@index" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0031-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0032-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name", 4 | "knows": "http://xmlns.com/foaf/0.1/knows" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0033-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name", 4 | "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0034-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name", 4 | "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0035-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name", 4 | "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@type": "@id" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0036-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name", 4 | "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@index" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0037-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name", 4 | "knows": "http://xmlns.com/foaf/0.1/knows", 5 | "@vocab": "http://example.com/vocab/" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0039-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {} 3 | } 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0039-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://example.com/graph/1", 4 | "@graph": [ 5 | { 6 | "@id": "http://example.com/node/1", 7 | "http://example.com/property": [ { "@value": "property" } ] 8 | } 9 | ] 10 | } 11 | ] 12 | -------------------------------------------------------------------------------- /ld/testdata/compact-0039-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.com/graph/1", 3 | "@graph": [ 4 | { 5 | "@id": "http://example.com/node/1", 6 | "http://example.com/property": "property" 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/compact-0040-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {} 3 | } 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0040-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://me.markus-lanthaler.com/", 4 | "http://example.com/list": { 5 | "@list": [ 6 | "one item" 7 | ] 8 | } 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /ld/testdata/compact-0040-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://me.markus-lanthaler.com/", 3 | "http://example.com/list": { 4 | "@list": [ 5 | "one item" 6 | ] 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-0041-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": { "@id": "http://example.com/property", "@container": "@list" } 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0042-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "listAlias": "@list", 4 | "indexAlias": "@index" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0043-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.com/", 4 | "name": "http://xmlns.com/foaf/0.1/name" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0043-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://example.com/node", 4 | "http://example.com/name": [ 5 | { "@value": "Markus Lanthaler" } 6 | ] 7 | } 8 | ] 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-0043-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.com/", 4 | "name": "http://xmlns.com/foaf/0.1/name" 5 | }, 6 | "@id": "http://example.com/node", 7 | "http://example.com/name": "Markus Lanthaler" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-0046-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {} 3 | } 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0047-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@base": "http://example.com/", 4 | "link": { "@id": "http://example.com/link", "@type": "@id" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0047-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@base": "http://example.com/", 4 | "link": { "@id": "http://example.com/link", "@type": "@id" } 5 | }, 6 | "link": "relative-url" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0047-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@base": "http://example.com/", 4 | "link": { "@id": "http://example.com/link", "@type": "@id" } 5 | }, 6 | "link": "relative-url" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0048-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.com/propertyA": 5, 3 | "http://example.com/propertyB": 5 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/compact-0049-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "property": { "@id": "http://example.org", "@type": "@id" } 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0049-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "property": { "@id": "http://example.org", "@type": "@id" } 4 | }, 5 | "property": { "@list": [ "http://example.com/node/a", "http://example.com/node/b", "http://example.com/node/c" ] } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0049-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "property": { "@id": "http://example.org", "@type": "@id" } 4 | }, 5 | "property": { "@list": [ "http://example.com/node/a", "http://example.com/node/b", "http://example.com/node/c" ] } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0050-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name", 4 | "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0051-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {} 3 | } 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0051-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.org/term": { 3 | "@list": [1] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0051-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.org/term": { 3 | "@list": [1] 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0052-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "graph": "@graph", 4 | "term": "http://example.org/term" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0053-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0053-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/term": [{"@id": "http://example.org/enum"}] 3 | }] 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0053-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"} 4 | }, 5 | "term": "http://example.org/enum" 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0054-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "enum": {"@id": "http://example.org/enum"} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0054-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/term": [{"@id": "http://example.org/enum"}] 3 | }] 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0054-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "enum": {"@id": "http://example.org/enum"} 5 | }, 6 | "term": "enum" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0055-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "enum": {"@id": "http://example.org/enum"} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0055-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "enum": {"@id": "http://example.org/enum"} 5 | }, 6 | "term": "enum" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0055-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "enum": {"@id": "http://example.org/enum"} 5 | }, 6 | "term": "enum" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0056-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "doNotSelect": {"@id": "http://example.org/term"}, 5 | "enum": {"@id": "http://example.org/enum"} 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0056-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/term": [{"@id": "http://example.org/enum"}] 3 | }] 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0056-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "doNotSelect": {"@id": "http://example.org/term"}, 5 | "enum": {"@id": "http://example.org/enum"} 6 | }, 7 | "term": "enum" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-0058-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "notChosen": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "chosen": {"@id": "http://example.org/term", "@type": "@id"} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0058-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/term": [{"@id": "http://example.org/enum"}] 3 | }] 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0058-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "notChosen": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "chosen": {"@id": "http://example.org/term", "@type": "@id"} 5 | }, 6 | "chosen": "http://example.org/enum" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0059-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "Bar": "http://example.com/vocab#Bar", 4 | "foo": { 5 | "@id": "http://example.com/vocab#foo", 6 | "@type": "@vocab" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/compact-0059-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example.com/vocab#foo": [ 4 | { "@id": "http://example.com/vocab#Bar" }, 5 | { "@id": "http://example.com/vocab#Baz" } 6 | ] 7 | } 8 | ] 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-0060-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "Bar": "http://example.com/vocab#Bar", 4 | "foo": { 5 | "@id": "http://example.com/vocab#foo", 6 | "@type": "@id" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/compact-0060-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example.com/vocab#foo": [ 4 | { "@id": "http://example.com/vocab#Bar" }, 5 | { "@id": "http://example.com/vocab#Baz" } 6 | ] 7 | } 8 | ] 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-0061-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example.com/vocab#foo": [ 4 | { "@id": "http://example.com/vocab#Bar" }, 5 | { "@id": "http://example.com/vocab#Baz" } 6 | ] 7 | } 8 | ] 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-0062-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": { "@id": "http://example.org/term", "@type": "@vocab" } 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0062-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": { "@id": "http://example.org/term", "@type": "@vocab" } 4 | }, 5 | "term": "not-a-term-thus-a-relative-IRI" 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0062-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": { "@id": "http://example.org/term", "@type": "@vocab" } 4 | }, 5 | "term": "https://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI" 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0063-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": { "@id": "http://example.org/term", "@type": "@vocab" }, 4 | "prefix": "http://example.com/vocab#" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0063-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": { "@id": "http://example.org/term", "@type": "@vocab" }, 4 | "prefix": "http://example.com/vocab#" 5 | }, 6 | "term": "prefix:suffix" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0063-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": { "@id": "http://example.org/term", "@type": "@vocab" }, 4 | "prefix": "http://example.com/vocab#" 5 | }, 6 | "term": "prefix:suffix" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0064-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "property": { "@id": "http://example.com/property", "@container": "@index" } 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0065-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "property": { "@id": "http://example.com/property", "@container": "@language" } 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0066-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "links": { "@id": "http://www.example.com/link", "@type": "@id", "@container": "@list" } 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0067-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name", 4 | "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0068-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name", 4 | "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@set" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0069-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": "http://xmlns.com/foaf/0.1/name", 4 | "isKnownBy": { "@reverse": "http://xmlns.com/foaf/0.1/knows", "@container": "@set" } 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0070-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": "http://example/term" 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0070-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "http://example/foo", 3 | "http://example/term": [{"@value": "value"}] 4 | }] 5 | -------------------------------------------------------------------------------- /ld/testdata/compact-0070-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": "http://example/term" 4 | }, 5 | "@graph": [{ 6 | "@id": "http://example/foo", 7 | "term": ["value"] 8 | }] 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/compact-0071-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foo": "http://example.com/foo" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0071-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": [{ 3 | "foo": "http://example.com/foo" 4 | }, { 5 | "bar": "http://example.com/bar" 6 | }], 7 | "foo": "foo-value", 8 | "bar": "bar-value" 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/compact-0071-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foo": "http://example.com/foo" 4 | }, 5 | "foo": "foo-value", 6 | "http://example.com/bar": "bar-value" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/compact-0072-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@language": "en" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-0072-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.com/foo": "foo-value" 3 | } 4 | -------------------------------------------------------------------------------- /ld/testdata/compact-0072-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.com/foo": { 3 | "@value": "foo-value" 4 | }, 5 | "@context": { 6 | "@language": "en" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-0073-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "id": {"@type": "@id", "@id": "@id"}, 4 | "type": {"@type": "@id", "@id": "@type"} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-0073-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "id": {"@type": "@id", "@id": "@id"}, 4 | "type": {"@type": "@id", "@id": "@type"} 5 | }, 6 | "id": "http://example.org/anno9", 7 | "type": "http://example.org/Annotation" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-0074-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": { 4 | "@type": "@id", 5 | "@container": "@list", 6 | "@id": "https://schema.org/name" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/compact-0074-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": { 4 | "@type": "@id", 5 | "@container": "@list", 6 | "@id": "https://schema.org/name" 7 | } 8 | }, 9 | "name": [] 10 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0074-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "name": { 4 | "@type": "@id", 5 | "@container": "@list", 6 | "@id": "https://schema.org/name" 7 | } 8 | }, 9 | "name": [] 10 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0075-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ns": "http://example.com/core#" 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0075-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.com/core#associated": { "@id": "#Light"} 3 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0075-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ns": "http://example.com/core#" 4 | }, 5 | "ns:associated": { 6 | "@id": "#Light" 7 | } 8 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0076-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@base": "http://example.com/api/things/1"} 3 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0076-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.com/api/things/1", 3 | "http://example.com": "" 4 | } -------------------------------------------------------------------------------- /ld/testdata/compact-0076-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@base": "http://example.com/api/things/1"}, 3 | "@id": "1", 4 | "http://example.com": "" 5 | } -------------------------------------------------------------------------------- /ld/testdata/compact-c001-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"bar": "http://example.org/bar"}} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-c001-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/foo": [{"http://example.org/bar": [{"@value": "baz"}]}] 3 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-c001-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"bar": "http://example.org/bar"}} 5 | }, 6 | "foo": { 7 | "bar": "baz" 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/compact-c002-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"bar": {"@type": "@id"}}}, 5 | "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-c002-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/foo": [{"http://example/bar": [{"@id": "http://example/baz"}]}] 4 | } 5 | ] -------------------------------------------------------------------------------- /ld/testdata/compact-c002-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"bar": {"@type": "@id"}}}, 5 | "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} 6 | }, 7 | "foo": { 8 | "bar": "http://example/baz" 9 | } 10 | } -------------------------------------------------------------------------------- /ld/testdata/compact-c003-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"Bar": {"@id": "bar"}}} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-c003-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/foo": [{ 4 | "http://example/bar": [ 5 | {"@value": "baz"} 6 | ]} 7 | ] 8 | } 9 | ] -------------------------------------------------------------------------------- /ld/testdata/compact-c003-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"Bar": {"@id": "bar"}}} 5 | }, 6 | "foo": { 7 | "Bar": "baz" 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/compact-c004-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"baz": {"@type": "@id"}}} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-c004-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/foo": [{ 4 | "http://example/bar": [{ 5 | "http://example/baz": [{"@id": "buzz"}] 6 | }] 7 | }] 8 | } 9 | ] -------------------------------------------------------------------------------- /ld/testdata/compact-c004-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"baz": {"@type": "@id"}}} 5 | }, 6 | "foo": { 7 | "bar": { 8 | "baz": "buzz" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /ld/testdata/compact-c005-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "b": {"@context": {"c": "http://example.org/c"}} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-m001-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "idmap": {"@container": "@id"} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m001-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/idmap": [ 3 | {"http://example/label": [{"@value": "Object with @id _:bar"}], "@id": "_:bar"}, 4 | {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} 5 | ] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-m002-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "idmap": {"@container": "@id"} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m002-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/idmap": [ 3 | {"@id": "_:foo", "http://example/label": [{"@value": "Object with @id _:bar"}]}, 4 | {"@id": "http://example.org/bar", "http://example/label": [{"@value": "Object with @id "}]} 5 | ] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-m003-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "typemap": {"@container": "@type"} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m003-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/typemap": [ 3 | {"http://example/label": [{"@value": "Object with @type _:bar"}], "@type": ["_:bar"]}, 4 | {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example.org/foo"]} 5 | ] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-m004-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "typemap": {"@container": "@type"} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m005-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "ex": "http://example.org/", 5 | "idmap": {"@container": "@id"} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m005-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/idmap": [ 3 | {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} 4 | ] 5 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-m005-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "ex": "http://example.org/", 5 | "idmap": {"@container": "@id"} 6 | }, 7 | "idmap": { 8 | "ex:foo": {"label": "Object with @id "} 9 | } 10 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m006-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "typemap": {"@container": "@type"} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m006-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/typemap": [ 3 | {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example/Foo"]} 4 | ] 5 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-m006-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "typemap": {"@container": "@type"} 5 | }, 6 | "typemap": { 7 | "Foo": {"label": "Object with @type "} 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m007-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "Foo": {"@context": {"bar": "http://example.org/bar"}} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m007-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/a": [{ 4 | "@type": ["http://example/Foo"], 5 | "http://example.org/bar": [{"@value": "baz"}] 6 | }] 7 | } 8 | ] -------------------------------------------------------------------------------- /ld/testdata/compact-m007-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "Foo": {"@context": {"bar": "http://example.org/bar"}} 5 | }, 6 | "a": {"@type": "Foo", "bar": "baz"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m008-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "Foo": {"@context": {"bar": {"@type": "@id"}}}, 5 | "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m008-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/a": [{ 4 | "@type": ["http://example/Foo"], 5 | "http://example/bar": [{"@id": "http://example/baz"}] 6 | }] 7 | } 8 | ] -------------------------------------------------------------------------------- /ld/testdata/compact-m008-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "Foo": {"@context": {"bar": {"@type": "@id"}}}, 5 | "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} 6 | }, 7 | "a": {"@type": "Foo", "bar": "http://example/baz"} 8 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m009-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "type": "@type", 5 | "Foo": {"@context": {"bar": "http://example.org/bar"}} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m009-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/a": [{ 4 | "@type": ["http://example/Foo"], 5 | "http://example.org/bar": [{"@value": "baz"}] 6 | }] 7 | } 8 | ] -------------------------------------------------------------------------------- /ld/testdata/compact-m009-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "type": "@type", 5 | "Foo": {"@context": {"bar": "http://example.org/bar"}} 6 | }, 7 | "a": {"type": "Foo", "bar": "baz"} 8 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m010-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "Foo": {"@context": {"baz": {"@type": "@vocab"}}} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m010-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@type": ["http://example/Foo"], 4 | "http://example/bar": [{ 5 | "http://example/baz": [{"@id": "http://example/buzz"}] 6 | }] 7 | } 8 | ] -------------------------------------------------------------------------------- /ld/testdata/compact-m010-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "Foo": {"@context": {"baz": {"@type": "@vocab"}}} 5 | }, 6 | "@type": "Foo", 7 | "bar": {"baz": "buzz"} 8 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m011-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "B": {"@context": {"c": "http://example.org/c"}} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m012-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "typemap": {"@container": "@type"}, 5 | "Type": {"@context": {"a": "http://example.org/a"}} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-m012-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/typemap": [ 3 | {"http://example.org/a": [{"@value": "Object with @type "}], "@type": ["http://example/Type"]} 4 | ] 5 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-n001-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "p2": {"@nest": "@nest"} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n001-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [{"@value": "v2"}] 4 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-n001-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "p2": {"@nest": "@nest"} 5 | }, 6 | "p1": "v1", 7 | "@nest": { 8 | "p2": "v2" 9 | } 10 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n002-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "p1": {"@nest": "@nest"}, 5 | "p2": {"@nest": "@nest"} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n002-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [{"@value": "v2"}] 4 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-n002-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "p1": {"@nest": "@nest"}, 5 | "p2": {"@nest": "@nest"} 6 | }, 7 | "@nest": { 8 | "p1": "v1", 9 | "p2": "v2" 10 | } 11 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n003-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "nest": "@nest", 5 | "p2": {"@nest": "nest"} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n003-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [{"@value": "v2"}] 4 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-n003-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "nest": "@nest", 5 | "p2": {"@nest": "nest"} 6 | }, 7 | "p1": "v1", 8 | "nest": { 9 | "p2": "v2" 10 | } 11 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n004-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "p2": {"@nest": "@nest"} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n004-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [{"@value": "v2"}, {"@value": "v3"}] 4 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-n004-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "p2": {"@nest": "@nest"} 5 | }, 6 | "p1": "v1", 7 | "@nest": { 8 | "p2": ["v2", "v3"] 9 | } 10 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n005-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "list": {"@container": "@list", "@nest": "nestedlist"}, 5 | "nestedlist": "@nest" 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n005-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/list": [{"@list": [ 3 | {"@value": "a"}, 4 | {"@value": "b"} 5 | ]}] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-n005-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "list": {"@container": "@list", "@nest": "nestedlist"}, 5 | "nestedlist": "@nest" 6 | }, 7 | "nestedlist": { 8 | "list": ["a", "b"] 9 | } 10 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n006-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "index": {"@container": "@index", "@nest": "nestedindex"}, 5 | "nestedindex": "@nest" 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n006-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/index": [ 3 | {"@value": "a", "@index": "A"}, 4 | {"@value": "b", "@index": "B"} 5 | ] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-n007-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "container": {"@container": "@language", "@nest": "nestedlanguage"}, 5 | "nestedlanguage": "@nest" 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n007-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/container": [ 3 | {"@value": "Die Königin", "@language": "de"}, 4 | {"@value": "The Queen", "@language": "en"} 5 | ] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-n008-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "typemap": {"@container": "@type", "@nest": "nestedtypemap"}, 5 | "nestedtypemap": "@nest" 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n008-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/typemap": [ 3 | {"http://example/label": [{"@value": "Object with @type _:bar"}], "@type": ["_:bar"]}, 4 | {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example.org/foo"]} 5 | ] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-n009-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "idmap": {"@container": "@id", "@nest": "nestedidmap"}, 5 | "nestedidmap": "@nest" 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n009-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/idmap": [ 3 | {"http://example/label": [{"@value": "Object with @id _:bar"}], "@id": "_:bar"}, 4 | {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} 5 | ] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/compact-n010-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "foonest": "@nest", 5 | "barnest": "@nest", 6 | "foo": {"@nest": "foonest"}, 7 | "bar": {"@nest": "barnest"} 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/compact-n010-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.org/foo": "bar", 3 | "http://example.org/bar": "foo" 4 | } -------------------------------------------------------------------------------- /ld/testdata/compact-p001-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": {"@id": "http://example.org/"} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-p001-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/id1", 3 | "@type": ["http://example.org/Type1", "http://example.org/Type2"], 4 | "http://example.org/term": {"@id": "http://example.org/id2"} 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-p001-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": {"@id": "http://example.org/"} 4 | }, 5 | "@id": "ex:id1", 6 | "@type": ["ex:Type1", "ex:Type2"], 7 | "ex:term": {"@id": "ex:id2"} 8 | } -------------------------------------------------------------------------------- /ld/testdata/compact-p002-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": {"@id": "http://example.org/"} 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-p002-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/id1", 3 | "@type": ["http://example.org/Type1", "http://example.org/Type2"], 4 | "http://example.org/term": {"@id": "http://example.org/id2"} 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/compact-p002-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": {"@id": "http://example.org/"} 4 | }, 5 | "@id": "http://example.org/id1", 6 | "@type": ["http://example.org/Type1", "http://example.org/Type2"], 7 | "http://example.org/term": {"@id": "http://example.org/id2"} 8 | } -------------------------------------------------------------------------------- /ld/testdata/compact-p003-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "compact-iris:": "http://example.com/compact-iris-", 4 | "property": "http://example.com/property" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-p003-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.com/property": { 3 | "@id": "http://example.com/compact-iris-are-considered", 4 | "http://example.com/property": "Prefix terms must end in a gen-delim" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-p005-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "compact-iris": {"@id": "http://example.com/compact-iris-", "@prefix": true}, 4 | "property": "http://example.com/property" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-p005-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.com/property": { 3 | "@id": "http://example.com/compact-iris-are-considered", 4 | "http://example.com/property": "@prefix does not require a gen-delim" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-p006-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "compact-iris": {"@id": "http://example.com/compact-iris-", "@prefix": true}, 4 | "property": "http://example.com/property" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-p006-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.com/property": { 3 | "@id": "http://example.com/compact-iris-are-considered", 4 | "http://example.com/property": "@prefix does not require a gen-delim" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-p007-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foo": "http://example.org/", 4 | "foo:bar": "foo:baz/" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/compact-p007-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/baz/a", 3 | "http://example.org/baz/b": "c" 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/compact-p007-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foo": "http://example.org/", 4 | "foo:bar": "foo:baz/" 5 | }, 6 | "@id": "foo:baz/a", 7 | "foo:baz/b": "c" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/compact-r001-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"b": "http://example.com/b"} 3 | } -------------------------------------------------------------------------------- /ld/testdata/compact-r001-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "a", 3 | "http://example.com/b": {"@id": "c"} 4 | } -------------------------------------------------------------------------------- /ld/testdata/compact-r001-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"b": "http://example.com/b"}, 3 | "@id": "a", 4 | "b": {"@id": "c"} 5 | } -------------------------------------------------------------------------------- /ld/testdata/compact-r002-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"b": "http://example.com/b"} 3 | } -------------------------------------------------------------------------------- /ld/testdata/compact-r002-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/a", 3 | "http://example.com/b": {"@id": "http://example.org/c"} 4 | } -------------------------------------------------------------------------------- /ld/testdata/compact-r002-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"b": "http://example.com/b"}, 3 | "@id": "http://example.org/a", 4 | "b": {"@id": "http://example.org/c"} 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-0001-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@type": "@id" 4 | }, 5 | "@type": "http://example.org/type" 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/error-0002-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": "error-0002-in.jsonld", 3 | "@id": "http://example/test#example" 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/error-0003-ctx.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": "error-0003-in.jsonld" 3 | } 4 | -------------------------------------------------------------------------------- /ld/testdata/error-0003-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": "error-0003-ctx.jsonld", 3 | "@id": "http://example/test#example" 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/error-0004-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": "tag:non-dereferencable-iri", 3 | "@id": "http://example/test#example" 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/error-0005-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@context": "error-0005-in.jsonld", 3 | "@id": "http://example/test#example" 4 | }] 5 | -------------------------------------------------------------------------------- /ld/testdata/error-0006-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": true, 3 | "@id": "http://example/test#example" 4 | } -------------------------------------------------------------------------------- /ld/testdata/error-0007-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@base": true}, 3 | "@id": "http://example/test#example" 4 | } -------------------------------------------------------------------------------- /ld/testdata/error-0008-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": true}, 3 | "@id": "http://example/test#example" 4 | } -------------------------------------------------------------------------------- /ld/testdata/error-0009-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@language": true}, 3 | "@id": "http://example/test#example" 4 | } -------------------------------------------------------------------------------- /ld/testdata/error-0010-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "term:term"} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0011-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": true 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0012-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/term", "@type": true} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0013-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/term", "@type": "_:not-an-iri"} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0014-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/term", "@reverse": "http://example/reverse"} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0015-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@reverse": true} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0016-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@reverse": "@reverse"} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0017-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@reverse": "http://example/reverse", "@container": "@list"} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0018-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": true} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0019-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "@context"} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0020-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@container": "@set"} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0021-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/term", "@container": "@id"} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0022-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/term", "@language": true} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0023-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/term", "@type": "relative/iri"} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0024-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}, 3 | "foo": [{"@list": ["baz"]}] 4 | } -------------------------------------------------------------------------------- /ld/testdata/error-0025-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example/foo", 3 | "@reverse": { 4 | "@id": "http://example/bar" 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-0026-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "id": "@id", 4 | "ID": "@id" 5 | }, 6 | "id": "http://example/foo", 7 | "ID": "http://example/bar" 8 | } -------------------------------------------------------------------------------- /ld/testdata/error-0027-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": true 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0028-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@type": true 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0029-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/prop": {"@value": ["foo"]} 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0030-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/prop": {"@value": "foo", "@language": true} 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0031-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.com/vocab/indexMap": { 3 | "@value": "simple string", 4 | "@language": "en", 5 | "@index": true 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/error-0032-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example.com/foo": {"@list": [{"@list": ["baz"]}]} 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0033-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/prop": { 3 | "@reverse": true 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-0036-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@reverse": "http://example/reverse"} 4 | }, 5 | "@id": "http://example/foo", 6 | "term": {"@list": ["http://example/bar"]} 7 | } -------------------------------------------------------------------------------- /ld/testdata/error-0037-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/foo": {"@value": "bar", "@id": "http://example/baz"} 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0038-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/foo": {"@value": "bar", "@language": "en", "@type": "http://example/type"} 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0039-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/foo": {"@value": true, "@language": "en"} 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0040-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/foo": {"@value": "bar", "@type": "_:dt"} 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0041-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/prop": {"@list": ["foo"], "@id": "http://example/bar"} 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0042-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "list": {"@id": "http://example/list", "@container": "@list"} 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-0042-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/list": [{"@list": ["foo"]}, {"@list": ["bar"]}] 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-0043-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://example/foo", 4 | "@index": "bar" 5 | }, 6 | { 7 | "@id": "http://example/foo", 8 | "@index": "baz" 9 | } 10 | ] -------------------------------------------------------------------------------- /ld/testdata/error-c001-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/", "@index": true} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-m021-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/term", "@container": "@context"} 4 | }, 5 | "@id": "http://example/test#example" 6 | } -------------------------------------------------------------------------------- /ld/testdata/error-n001-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "http://example.org/"}, 3 | "@nest": "This should generate an error" 4 | } -------------------------------------------------------------------------------- /ld/testdata/error-n002-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "http://example.org/"}, 3 | "@nest": true 4 | } -------------------------------------------------------------------------------- /ld/testdata/error-n003-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "http://example.org/"}, 3 | "@nest": 1 4 | } -------------------------------------------------------------------------------- /ld/testdata/error-n004-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "http://example.org/"}, 3 | "@nest": {"@value": "This should generate an error"} 4 | } -------------------------------------------------------------------------------- /ld/testdata/error-n005-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/term", "@nest": "@id"} 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-n006-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@reverse": "http://example/term", "@nest": "@nest"} 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-n007-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/foo", "@nest": "unknown"} 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-n007-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/foo": "bar" 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-p002-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@version": 1.1 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-p003-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@version": 1.0 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-p004-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "ex": "http://example.org/", 5 | "idmap": {"@container": "@id"} 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/error-p004-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/idmap": [ 3 | {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} 4 | ] 5 | }] -------------------------------------------------------------------------------- /ld/testdata/error-p005-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@version": 1.1 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-p005-in.jsonld: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /ld/testdata/error-p006-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@version": 1.0 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-p006-in.jsonld: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /ld/testdata/error-p007-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foo": {"@id": "http://example/foo", "@prefix": true} 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-p007-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/foo": "bar" 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-p008-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foo": {"@id": "http://example/foo", "@prefix": "string"} 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-p008-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/foo": "bar" 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-p009-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foo:bar": {"@id": "http://example/foo/bar/", "@prefix": true} 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/error-p009-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/foo/bar/": "bar" 3 | } -------------------------------------------------------------------------------- /ld/testdata/error-s001-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/term", "@container": ["@set"]} 4 | }, 5 | "@id": "http://example/test#example", 6 | "term": "foo" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/error-s002-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example/term", "@container": ["@list", "@set"]} 4 | }, 5 | "@id": "http://example/test#example", 6 | "term": "foo" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/expand-0001-in.jsonld: -------------------------------------------------------------------------------- 1 | {"@id": "http://example.org/test#example"} -------------------------------------------------------------------------------- /ld/testdata/expand-0001-out.jsonld: -------------------------------------------------------------------------------- 1 | [ ] 2 | -------------------------------------------------------------------------------- /ld/testdata/expand-0003-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/id", 3 | "http://example.org/property": null, 4 | "regularJson": { 5 | "nonJsonLd": "property", 6 | "deep": [{ 7 | "foo": "bar" 8 | }, { 9 | "bar": "foo" 10 | }] 11 | } 12 | } -------------------------------------------------------------------------------- /ld/testdata/expand-0003-out.jsonld: -------------------------------------------------------------------------------- 1 | [ ] 2 | -------------------------------------------------------------------------------- /ld/testdata/expand-0008-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://example.org/test", 4 | "http://example.org/vocab#test": [ { "@value": "test", "@language": "en" } ], 5 | "http://example.org/vocab#keep-full-value": [ {"@value": "only value"} ] 6 | } 7 | ] 8 | -------------------------------------------------------------------------------- /ld/testdata/expand-0010-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "http://example.org/test", 3 | "http://example.org/vocab#bool": [{"@value": true}], 4 | "http://example.org/vocab#int": [{"@value": 123}] 5 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-0011-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "http://example.org/test#book", 3 | "http://example.org/vocab#contains": [{ 4 | "@id": "http://example.org/test#chapter" 5 | }], 6 | "http://purl.org/dc/elements/1.1/title": [{"@value": "Title"}] 7 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-0019-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "myproperty": "http://example.com/myproperty" 4 | }, 5 | "myproperty": { "@value" : null } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/expand-0019-out.jsonld: -------------------------------------------------------------------------------- 1 | [ ] 2 | -------------------------------------------------------------------------------- /ld/testdata/expand-0022-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": "http://example.com/term", 4 | "@language": "en" 5 | }, 6 | "term": "v" 7 | } -------------------------------------------------------------------------------- /ld/testdata/expand-0022-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.com/term": [{"@value": "v", "@language": "en"}] 3 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-0025-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@type": [ 3 | "http://example.com/foo/", 4 | "http://example.com/bar", 5 | "http://example.com/underscore/" 6 | ] 7 | }] 8 | -------------------------------------------------------------------------------- /ld/testdata/expand-0032-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://me.markus-lanthaler.com/", 4 | "http://xmlns.com/foaf/0.1/name": [ 5 | { 6 | "@value": "Markus Lanthaler" 7 | } 8 | ] 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /ld/testdata/expand-0045-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@value": "free-floating value" 3 | } 4 | -------------------------------------------------------------------------------- /ld/testdata/expand-0045-out.jsonld: -------------------------------------------------------------------------------- 1 | [ ] 2 | -------------------------------------------------------------------------------- /ld/testdata/expand-0046-out.jsonld: -------------------------------------------------------------------------------- 1 | [ ] 2 | -------------------------------------------------------------------------------- /ld/testdata/expand-0047-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://example.com/node", 4 | "http://example.com/property": [ 5 | { 6 | "@value": "nodes with properties are not removed" 7 | } 8 | ] 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /ld/testdata/expand-0050-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "issue": { "@id": "http://example.com/issue/", "@type": "@id" }, 4 | "issue:raisedBy": { "@container": "@set" } 5 | }, 6 | "issue": "/issue/1", 7 | "issue:raisedBy": "Markus" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/expand-0050-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example.com/issue/": [ { "@id": "https://json-ld.org/issue/1" } ], 4 | "http://example.com/issue/raisedBy": [ { "@value": "Markus" } ] 5 | } 6 | ] 7 | -------------------------------------------------------------------------------- /ld/testdata/expand-0051-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": [ 3 | { "id": "@id" }, 4 | { "url": "id" } 5 | ], 6 | "url": "/issue/1", 7 | "http://example.com/property": "ok" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/expand-0051-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.com/property": [{ 3 | "@value": "ok" 4 | }], 5 | "@id": "https://json-ld.org/issue/1" 6 | }] 7 | -------------------------------------------------------------------------------- /ld/testdata/expand-0052-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "property": "vocabRelativeProperty" 5 | }, 6 | "property": "must expand to http://example.org/vocabRelativeProperty", 7 | "http://example.org/property": "ok" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/expand-0052-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example.org/property": [ { "@value": "ok" } ], 4 | "http://example.org/vocabRelativeProperty": [ { "@value": "must expand to http://example.org/vocabRelativeProperty" } ] 5 | } 6 | ] 7 | -------------------------------------------------------------------------------- /ld/testdata/expand-0053-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"} 4 | }, 5 | "term": "http://example.org/enum" 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/expand-0053-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/term": [{"@id": "http://example.org/enum"}] 3 | }] 4 | -------------------------------------------------------------------------------- /ld/testdata/expand-0054-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "enum": {"@id": "http://example.org/enum"} 5 | }, 6 | "term": "enum" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/expand-0054-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/term": [{"@id": "http://example.org/enum"}] 3 | }] 4 | -------------------------------------------------------------------------------- /ld/testdata/expand-0055-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "term": {"@id": "http://example.org/term", "@type": "@vocab"} 5 | }, 6 | "term": "enum" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/expand-0055-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/term": [{"@id": "http://example.org/enum"}] 3 | }] 4 | -------------------------------------------------------------------------------- /ld/testdata/expand-0057-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": { "@id": "http://example.org/term", "@type": "@vocab" } 4 | }, 5 | "term": "not-a-term-thus-a-relative-IRI" 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/expand-0057-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example.org/term": [ { "@id": "https://json-ld.org/test-suite/tests/not-a-term-thus-a-relative-IRI" } ] 4 | } 5 | ] 6 | -------------------------------------------------------------------------------- /ld/testdata/expand-0058-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": { "@id": "http://example.org/term", "@type": "@vocab" }, 4 | "prefix": "http://example.com/vocab#" 5 | }, 6 | "term": "prefix:suffix" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/expand-0058-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example.org/term": [ { "@id": "http://example.com/vocab#suffix" } ] 4 | } 5 | ] 6 | -------------------------------------------------------------------------------- /ld/testdata/expand-0061-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "property": { 4 | "@id": "http://example.com/property", 5 | "@type": "http://example.com/datatype" 6 | } 7 | }, 8 | "property": [ 1, true, false, 5.1 ] 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/expand-0068-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "_:node1", 4 | "@type": [ "_:type" ], 5 | "_:property": [ 6 | { "@value": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" } 7 | ] 8 | } 9 | ] 10 | -------------------------------------------------------------------------------- /ld/testdata/expand-0070-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "prefix": "http://www.example.org/vocab#", 4 | "prefix:foo": "prefix:foo" 5 | }, 6 | "@id": "http://example.com/vocab#id", 7 | "@type": "prefix:Class", 8 | "prefix:foo": "bar" 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/expand-0070-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://example.com/vocab#id", 4 | "@type": [ "http://www.example.org/vocab#Class" ], 5 | "http://www.example.org/vocab#foo": [ 6 | { "@value": "bar"} 7 | ] 8 | } 9 | ] 10 | -------------------------------------------------------------------------------- /ld/testdata/expand-0071-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example.com/vocab#term": [ 4 | { "@value": "value of v:term" } 5 | ], 6 | "http://example.com/vocab#termId": [ 7 | { "@value": "value of v:termId" } 8 | ] 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /ld/testdata/expand-0072-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example.com/anotherVocab#term": [ 4 | { "@value": "value of term" } 5 | ] 6 | } 7 | ] 8 | -------------------------------------------------------------------------------- /ld/testdata/expand-0075-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "_:" 4 | }, 5 | "@id": "ex:node1", 6 | "b1": "blank node property 1", 7 | "b2": "blank node property 1" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/expand-0075-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "ex:node1", 4 | "_:b1": [ { "@value": "blank node property 1" } ], 5 | "_:b2": [ { "@value": "blank node property 1" } ] 6 | } 7 | ] 8 | -------------------------------------------------------------------------------- /ld/testdata/expand-0076-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "relative-iri", 3 | "http://prop": "value" 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/expand-0076-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "http://example/base/relative-iri", 3 | "http://prop": [{"@value": "value"}] 4 | }] 5 | -------------------------------------------------------------------------------- /ld/testdata/expand-0077-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.com/id1", 3 | "@type": "t1", 4 | "term1": "v1", 5 | "term2": {"@value": "v2", "@type": "t2"}, 6 | "term3": {"@value": "v3", "@language": "en"}, 7 | "term4": 4, 8 | "term5": [50, 51] 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/expand-c001-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"bar": "http://example.org/bar"}} 5 | }, 6 | "foo": { 7 | "bar": "baz" 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/expand-c001-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/foo": [{"http://example.org/bar": [{"@value": "baz"}]}] 4 | } 5 | ] -------------------------------------------------------------------------------- /ld/testdata/expand-c002-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/foo": [{"http://example/bar": [{"@id": "http://example/baz"}]}] 4 | } 5 | ] -------------------------------------------------------------------------------- /ld/testdata/expand-c003-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"Bar": {"@id": "bar"}}} 5 | }, 6 | "foo": { 7 | "Bar": "baz" 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/expand-c003-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/foo": [{ 4 | "http://example/bar": [ 5 | {"@value": "baz"} 6 | ]} 7 | ] 8 | } 9 | ] -------------------------------------------------------------------------------- /ld/testdata/expand-c004-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "foo": {"@context": {"baz": {"@type": "@vocab"}}} 5 | }, 6 | "foo": { 7 | "bar": { 8 | "baz": "buzz" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /ld/testdata/expand-c004-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/foo": [{ 4 | "http://example/bar": [{ 5 | "http://example/baz": [{"@id": "http://example/buzz"}] 6 | }] 7 | }] 8 | } 9 | ] -------------------------------------------------------------------------------- /ld/testdata/expand-l001-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://example.com/queen", 4 | "http://example.com/vocab/label": 5 | [ 6 | { 7 | "@value": "Die Königin", 8 | "@language": "de" 9 | } 10 | ] 11 | } 12 | ] 13 | -------------------------------------------------------------------------------- /ld/testdata/expand-m001-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/idmap": [ 3 | {"http://example/label": [{"@value": "Object with @id _:bar"}], "@id": "_:bar"}, 4 | {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} 5 | ] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-m002-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/idmap": [ 3 | {"@id": "_:foo", "http://example/label": [{"@value": "Object with @id _:bar"}]}, 4 | {"@id": "http://example.org/bar", "http://example/label": [{"@value": "Object with @id "}]} 5 | ] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-m003-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/typemap": [ 3 | {"http://example/label": [{"@value": "Object with @type _:bar"}], "@type": ["_:bar"]}, 4 | {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example.org/foo"]} 5 | ] 6 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-m005-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "idmap": {"@container": "@id"} 5 | }, 6 | "idmap": { 7 | "foo": {"label": "Object with @id "} 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/expand-m005-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/idmap": [ 3 | {"http://example/label": [{"@value": "Object with @id "}], "@id": "http://example.org/foo"} 4 | ] 5 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-m006-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "typemap": {"@container": "@type"} 5 | }, 6 | "typemap": { 7 | "Foo": {"label": "Object with @type "} 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/expand-m006-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/typemap": [ 3 | {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example/Foo"]} 4 | ] 5 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-m007-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "typemap": {"@id": "http://example/typemap", "@container": "@type"}, 4 | "label": "http://example/label" 5 | }, 6 | "typemap": { 7 | "Foo": {"label": "Object with @type "} 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/expand-m007-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/typemap": [ 3 | {"http://example/label": [{"@value": "Object with @type "}], "@type": ["http://example.org/Foo"]} 4 | ] 5 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-m008-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "Foo": {"@context": {"bar": "http://example.org/bar"}} 5 | }, 6 | "a": {"@type": "Foo", "bar": "baz"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/expand-m008-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/a": [{ 4 | "@type": ["http://example/Foo"], 5 | "http://example.org/bar": [{"@value": "baz"}] 6 | }] 7 | } 8 | ] -------------------------------------------------------------------------------- /ld/testdata/expand-m009-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "Foo": {"@context": {"bar": {"@type": "@id"}}}, 5 | "bar": {"@type": "http://www.w3.org/2001/XMLSchema#string"} 6 | }, 7 | "a": {"@type": "Foo", "bar": "http://example/baz"} 8 | } -------------------------------------------------------------------------------- /ld/testdata/expand-m009-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/a": [{ 4 | "@type": ["http://example/Foo"], 5 | "http://example/bar": [{"@id": "http://example/baz"}] 6 | }] 7 | } 8 | ] -------------------------------------------------------------------------------- /ld/testdata/expand-m010-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "type": "@type", 5 | "Foo": {"@context": {"bar": "http://example.org/bar"}} 6 | }, 7 | "a": {"type": "Foo", "bar": "baz"} 8 | } -------------------------------------------------------------------------------- /ld/testdata/expand-m010-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "http://example/a": [{ 4 | "@type": ["http://example/Foo"], 5 | "http://example.org/bar": [{"@value": "baz"}] 6 | }] 7 | } 8 | ] -------------------------------------------------------------------------------- /ld/testdata/expand-m011-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "Foo": {"@context": {"baz": {"@type": "@vocab"}}} 5 | }, 6 | "@type": "Foo", 7 | "bar": {"baz": "buzz"} 8 | } -------------------------------------------------------------------------------- /ld/testdata/expand-m011-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@type": ["http://example/Foo"], 4 | "http://example/bar": [{ 5 | "http://example/baz": [{"@id": "http://example/buzz"}] 6 | }] 7 | } 8 | ] -------------------------------------------------------------------------------- /ld/testdata/expand-m013-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/", 4 | "typemap": {"@container": "@type"}, 5 | "Type": {"@context": {"a": "http://example.org/a"}} 6 | }, 7 | "typemap": { 8 | "Type": {"a": "Object with @type "} 9 | } 10 | } -------------------------------------------------------------------------------- /ld/testdata/expand-m013-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example/typemap": [ 3 | {"http://example.org/a": [{"@value": "Object with @type "}], "@type": ["http://example/Type"]} 4 | ] 5 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-n001-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "http://example.org/"}, 3 | "p1": "v1", 4 | "@nest": { 5 | "p2": "v2" 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/expand-n001-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [{"@value": "v2"}] 4 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-n002-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "nest": "@nest" 5 | }, 6 | "p1": "v1", 7 | "nest": { 8 | "p2": "v2" 9 | } 10 | } -------------------------------------------------------------------------------- /ld/testdata/expand-n002-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [{"@value": "v2"}] 4 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-n003-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "nest": "@nest" 5 | }, 6 | "p1": "v1", 7 | "nest": { 8 | "p2": "v3" 9 | }, 10 | "p2": "v2" 11 | } -------------------------------------------------------------------------------- /ld/testdata/expand-n003-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [ 4 | {"@value": "v2"}, 5 | {"@value": "v3"} 6 | ] 7 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-n004-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [ 4 | {"@value": "v2"}, 5 | {"@value": "v3"}, 6 | {"@value": "v4"} 7 | ] 8 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-n005-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/" 4 | }, 5 | "p1": "v1", 6 | "@nest": { 7 | "p2": "v3", 8 | "@nest": { 9 | "p2": "v4" 10 | } 11 | }, 12 | "p2": "v2" 13 | } -------------------------------------------------------------------------------- /ld/testdata/expand-n005-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [ 4 | {"@value": "v2"}, 5 | {"@value": "v3"}, 6 | {"@value": "v4"} 7 | ] 8 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-n006-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "nest": "@nest" 5 | }, 6 | "p1": "v1", 7 | "nest": { 8 | "p2": ["v4", "v5"] 9 | }, 10 | "p2": ["v2", "v3"] 11 | } -------------------------------------------------------------------------------- /ld/testdata/expand-n006-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [ 4 | {"@value": "v2"}, 5 | {"@value": "v3"}, 6 | {"@value": "v4"}, 7 | {"@value": "v5"} 8 | ] 9 | }] -------------------------------------------------------------------------------- /ld/testdata/expand-n007-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "nest": "@nest" 5 | }, 6 | "p1": "v1", 7 | "nest": [{ 8 | "p2": "v4" 9 | }, { 10 | "p2": "v5" 11 | }], 12 | "p2": ["v2", "v3"] 13 | } -------------------------------------------------------------------------------- /ld/testdata/expand-n007-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "http://example.org/p1": [{"@value": "v1"}], 3 | "http://example.org/p2": [ 4 | {"@value": "v2"}, 5 | {"@value": "v3"}, 6 | {"@value": "v4"}, 7 | {"@value": "v5"} 8 | ] 9 | }] -------------------------------------------------------------------------------- /ld/testdata/flatten-0001-in.jsonld: -------------------------------------------------------------------------------- 1 | {"@id": "http://example.org/test#example"} -------------------------------------------------------------------------------- /ld/testdata/flatten-0001-out.jsonld: -------------------------------------------------------------------------------- 1 | [ ] 2 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0003-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/id", 3 | "http://example.org/property": null, 4 | "regularJson": { 5 | "nonJsonLd": "property", 6 | "deep": [{ 7 | "foo": "bar" 8 | }, { 9 | "bar": "foo" 10 | }] 11 | } 12 | } -------------------------------------------------------------------------------- /ld/testdata/flatten-0003-out.jsonld: -------------------------------------------------------------------------------- 1 | [ ] 2 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0019-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "myproperty": "http://example.com/myproperty" 4 | }, 5 | "myproperty": { "@value" : null } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0019-out.jsonld: -------------------------------------------------------------------------------- 1 | [ ] 2 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0022-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": "http://example.com/term", 4 | "@language": "en" 5 | }, 6 | "term": "v" 7 | } -------------------------------------------------------------------------------- /ld/testdata/flatten-0022-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "_:b0", 4 | "http://example.com/term": [ 5 | { 6 | "@value": "v", 7 | "@language": "en" 8 | } 9 | ] 10 | } 11 | ] 12 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0025-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "_:b0", 4 | "@type": [ 5 | "http://example.com/foo/", 6 | "http://example.com/bar", 7 | "http://example.com/underscore/" 8 | ] 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0032-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://me.markus-lanthaler.com/", 4 | "http://xmlns.com/foaf/0.1/name": [ 5 | { 6 | "@value": "Markus Lanthaler" 7 | } 8 | ] 9 | } 10 | ] -------------------------------------------------------------------------------- /ld/testdata/flatten-0041-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "http://example.com/node", 4 | "http://example.com/property": [ 5 | { 6 | "@value": "nodes with properties are not removed" 7 | } 8 | ] 9 | } 10 | ] 11 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0042-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "test": "http://example.com/list" 4 | }, 5 | "@id": "list-equivalence-test", 6 | "test": [ 7 | { "@list": [ "1", "2" ] }, 8 | { "@list": [ "1", "2" ] } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0044-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": "http://example/term" 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/flatten-0044-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "http://example/foo", 3 | "http://example/term": [{"@value": "value"}] 4 | }] 5 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0044-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": "http://example/term" 4 | }, 5 | "@graph": [{ 6 | "@id": "http://example/foo", 7 | "term": ["value"] 8 | }] 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0045-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foo": "http://example.org/foo", 4 | "bar": { "@reverse": "http://example.org/bar", "@type": "@id" } 5 | }, 6 | "foo": "Foo", 7 | "bar": [ "http://example.org/origin", "_:b0" ] 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/flatten-0047-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@base": "http://example.com/", 4 | "iot": "http://example.com/core/#" 5 | }, 6 | "iot:associated": { "@id": "#Light" } 7 | } -------------------------------------------------------------------------------- /ld/testdata/flatten-0047-out.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@id": "_:b0", 4 | "http://example.com/core/#associated": [ 5 | { 6 | "@id": "http://example.com/#Light" 7 | } 8 | ] 9 | } 10 | ] -------------------------------------------------------------------------------- /ld/testdata/frame-0003-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "dc": "http://purl.org/dc/elements/1.1/", 4 | "ex": "http://example.org/vocab#" 5 | }, 6 | "@type": "ex:DoesNotExist" 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0003-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "dc": "http://purl.org/dc/elements/1.1/", 4 | "ex": "http://example.org/vocab#" 5 | }, 6 | "@graph": [] 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0004-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "dc": "http://purl.org/dc/elements/1.1/", 4 | "ex": "http://example.org/vocab#", 5 | "ex:contains": {"@type": "@id"} 6 | }, 7 | "@type": "ex:Library" 8 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0011-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://www.example.com/#" 4 | }, 5 | "@type": "ex:Thing", 6 | "ex:embed": { 7 | "@embed": true 8 | }, 9 | "ex:noembed": { 10 | "@embed": false 11 | } 12 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0013-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/" 4 | } 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0014-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/" 4 | }, 5 | "@type": ["ex:Node"] 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/frame-0016-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "dc": "http://purl.org/dc/elements/1.1/", 4 | "ex": "http://example.org/vocab#" 5 | }, 6 | "@type": {}, 7 | "ex:contains": {} 8 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0018-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@type": ["http://example.org/vocab#Library"], 3 | "http://example.org/vocab#contains": [{}] 4 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0018-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@graph": [{ 3 | "@id": "http://example.org/test/#library", 4 | "@type": "http://example.org/vocab#Library", 5 | "http://example.org/vocab#contains": {"@id": "http://example.org/test#book"} 6 | }] 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0019-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/terms#" 4 | }, 5 | "@type": "ex:Node" 6 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0020-frame.jsonld: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /ld/testdata/frame-0021-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "dc": "http://purl.org/dc/elements/1.1/", 4 | "ex": "http://example.org/vocab#", 5 | "ex:list": {"@container": "@list"} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0022-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1" 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/frame-0022-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "@type": "ex:Type1" 6 | }, { 7 | "@id": "ex:Sub2", 8 | "@type": "ex:Type2" 9 | }] 10 | } 11 | -------------------------------------------------------------------------------- /ld/testdata/frame-0022-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "@type": "ex:Type1" 6 | }] 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0023-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "ex:p": [], 4 | "ex:q": {} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0023-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:q": "bar" 6 | }, { 7 | "@id": "ex:Sub2", 8 | "ex:p": ["foo"], 9 | "ex:q": ["bar"] 10 | }] 11 | } 12 | -------------------------------------------------------------------------------- /ld/testdata/frame-0023-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:p": null, 6 | "ex:q": "bar" 7 | }] 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/frame-0024-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@requireAll": false, 4 | "ex:p": {}, 5 | "ex:q": {} 6 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0024-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:p": "foo" 6 | }, { 7 | "@id": "ex:Sub2", 8 | "ex:q": "bar" 9 | }] 10 | } 11 | -------------------------------------------------------------------------------- /ld/testdata/frame-0024-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:p": "foo", 6 | "ex:q": null 7 | }, { 8 | "@id": "ex:Sub2", 9 | "ex:p": null, 10 | "ex:q": "bar" 11 | }] 12 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0025-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@requireAll": true, 4 | "ex:p": {"@default": "Foo"}, 5 | "ex:q": {"@default": "Bar"} 6 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0026-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@explicit": true, 4 | "@type": "ex:Type1" 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0026-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "@type": "ex:Type1", 5 | "ex:prop1": "Property 1", 6 | "ex:prop2": {"@id": "ex:Obj1"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0026-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "@type": "ex:Type1" 6 | }] 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0027-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@type": "ex:Type1", 4 | "ex:null": [] 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0027-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "@type": "ex:Type1", 5 | "ex:prop1": "Property 1", 6 | "ex:prop2": {"@id": "ex:Obj1"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0028-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@type": "ex:Type1", 4 | "@reverse": {"ex:includes": {}} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0028-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "@type": "ex:Type1" 6 | }, { 7 | "@id": "ex:Sub2", 8 | "@type": "ex:Type2", 9 | "ex:includes": {"@id": "ex:Sub1"} 10 | }] 11 | } 12 | -------------------------------------------------------------------------------- /ld/testdata/frame-0029-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://example.org/", 4 | "excludes": {"@reverse": "ex:includes"} 5 | }, 6 | "@type": "ex:Type1", 7 | "excludes": {} 8 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0029-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "@type": "ex:Type1" 6 | }, { 7 | "@id": "ex:Sub2", 8 | "@type": "ex:Type2", 9 | "ex:includes": {"@id": "ex:Sub1"} 10 | }] 11 | } 12 | -------------------------------------------------------------------------------- /ld/testdata/frame-0030-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "ex": "http://www.example.com/#" 4 | }, 5 | "@type": "ex:Thing", 6 | "ex:embed": { 7 | "@embed": "@always" 8 | }, 9 | "ex:noembed": { 10 | "@embed": "@never" 11 | } 12 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0031-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@type": [] 4 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0031-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub2", 5 | "ex:p": "Bar" 6 | }] 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/frame-0032-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1" 4 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0032-in.jsonld: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "@context": {"ex": "http://example.org/"}, 4 | "@id": "ex:Sub1", 5 | "@type": "ex:Type1" 6 | }, { 7 | "@context": { "ex":"http://example.org/"}, 8 | "@id": "ex:Sub2", 9 | "@type": "ex:Type2" 10 | } 11 | ] -------------------------------------------------------------------------------- /ld/testdata/frame-0032-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "@type": "ex:Type1" 6 | }] 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0033-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": ["ex:Sub1", "ex:Sub2"] 4 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0033-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "@type": "ex:Type1" 6 | }, { 7 | "@id": "ex:Sub2", 8 | "@type": "ex:Type2" 9 | }] 10 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0034-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "ex:p": [], 4 | "ex:q": {} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0034-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:p": null, 6 | "ex:q": "bar" 7 | }] 8 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0035-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "ex:p": { 4 | "ex:q": {} 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0035-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "@type": "ex:Type1", 6 | "ex:p": { 7 | "@id": "ex:Sub2", 8 | "@type": "ex:Type2", 9 | "ex:q": "foo" 10 | } 11 | }] 12 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0036-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": "P", 5 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 6 | "ex:r": {"@value": "R", "@language": "r"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0036-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": "P", 5 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 6 | "ex:r": {"@value": "R", "@language": "r"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0036-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:p": "P", 6 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 7 | "ex:r": {"@value": "R", "@language": "r"} 8 | }] 9 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0037-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": {"@value": {}}, 5 | "ex:q": {"@value": {}, "@type": "ex:q"}, 6 | "ex:r": {"@value": {}, "@language": "r"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0037-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": "P", 5 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 6 | "ex:r": {"@value": "R", "@language": "r"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0037-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:p": "P", 6 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 7 | "ex:r": {"@value": "R", "@language": "r"} 8 | }] 9 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0038-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:q": {"@value": "Q", "@type": {}} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0038-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:q": {"@value": "Q", "@type": "ex:q"} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0038-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:q": {"@value": "Q", "@type": "ex:q"} 6 | }] 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0039-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:r": {"@value": "R", "@language": {}} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0039-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:r": {"@value": "R", "@language": "r"} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0039-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:r": {"@value": "R", "@language": "r"} 6 | }] 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0040-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": {"@value": {}, "@type": []}, 5 | "ex:q": {"@value": {}, "@type": "ex:q"}, 6 | "ex:r": {"@value": {}, "@language": "r"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0040-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": "P", 5 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 6 | "ex:r": {"@value": "R", "@language": "r"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0040-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:p": "P", 6 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 7 | "ex:r": {"@value": "R", "@language": "r"} 8 | }] 9 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0041-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": {"@value": {}, "@language": []}, 5 | "ex:q": {"@value": {}, "@type": "ex:q"}, 6 | "ex:r": {"@value": {}, "@language": "r"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0041-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": "P", 5 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 6 | "ex:r": {"@value": "R", "@language": "r"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0041-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:p": "P", 6 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 7 | "ex:r": {"@value": "R", "@language": "r"} 8 | }] 9 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0042-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": {"@value": ["P", "Q", "R"]}, 5 | "ex:q": {"@value": ["P", "Q", "R"], "@type": "ex:q"}, 6 | "ex:r": {"@value": ["P", "Q", "R"], "@language": "r"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0042-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": "P", 5 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 6 | "ex:r": {"@value": "R", "@language": "r"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0042-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:p": "P", 6 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 7 | "ex:r": {"@value": "R", "@language": "r"} 8 | }] 9 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0043-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:q": {"@value": "Q", "@type": ["ex:q", "ex:Q"]} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0043-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:q": {"@value": "Q", "@type": "ex:q"} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0043-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:q": {"@value": "Q", "@type": "ex:q"} 6 | }] 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0044-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:r": {"@value": "R", "@language": ["p", "q", "r"]} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0044-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:r": {"@value": "R", "@language": "r"} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0044-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:r": {"@value": "R", "@language": "r"} 6 | }] 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0045-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@id": "ex:Sub1", 4 | "ex:p": {"@value": {}}, 5 | "ex:q": {"@value": {}, "@type": "ex:q"}, 6 | "ex:r": {"@value": {}, "@language": "R"} 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0045-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"ex": "http://example.org/"}, 3 | "@graph": [{ 4 | "@id": "ex:Sub1", 5 | "ex:p": "P", 6 | "ex:q": {"@value": "Q", "@type": "ex:q"}, 7 | "ex:r": {"@value": "R", "@language": "r"} 8 | }] 9 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0046-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "urn:"}, 3 | "@type": "Class" 4 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0046-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "urn:"}, 3 | "@id": "urn:id-1", 4 | "@type": "Class", 5 | "preserve": { 6 | "@graph": { 7 | "@id": "urn:id-2", 8 | "term": "data" 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0046-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "urn:"}, 3 | "@graph": [{ 4 | "@id": "urn:id-1", 5 | "@type": "Class", 6 | "preserve": { 7 | "@id": "_:b0" 8 | } 9 | }] 10 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0047-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "urn:"}, 3 | "@type": "Class", 4 | "@graph": {} 5 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0047-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "urn:"}, 3 | "@id": "urn:id-1", 4 | "@type": "Class", 5 | "preserve": { 6 | "@id": "urn:gr-1", 7 | "@graph": { 8 | "@id": "urn:id-2", 9 | "term": "data" 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0048-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "urn:"}, 3 | "@type": "Class", 4 | "preserve": { 5 | "@graph": {} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0049-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "urn:"}, 3 | "@type": "Class", 4 | "preserve": { 5 | "deep": { 6 | "@graph": {} 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0050-frame.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "http://example.org/"}, 3 | "@type": "Library", 4 | "contains": { 5 | "@id": "http://example.org/graphs/books", 6 | "@graph": {"@type": "Book"} 7 | } 8 | } -------------------------------------------------------------------------------- /ld/testdata/frame-0051-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "schema": "http://schema.org/", 4 | "name": "schema:name", 5 | "url": {"@id": "schema:url", "@type": "schema:URL"} 6 | }, 7 | "name": "Jane Doe" 8 | } -------------------------------------------------------------------------------- /ld/testdata/frame-p046-out.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"@vocab": "urn:"}, 3 | "@graph": [{ 4 | "@id": "urn:id-1", 5 | "@type": "Class", 6 | "preserve": {} 7 | }] 8 | } -------------------------------------------------------------------------------- /ld/testdata/fromRdf-0015-in.nq: -------------------------------------------------------------------------------- 1 | _:a . 2 | _:a "a" . 3 | _:a "b" . 4 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0001-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/vocab#" 4 | }, 5 | "@id": "", 6 | "term": "object" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0001-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "https://json-ld.org/test-suite/tests/remote-doc-0001-in.jsonld", 3 | "http://example/vocab#term": [{"@value": "object"}] 4 | }] 5 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0002-in.json: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/vocab#" 4 | }, 5 | "@id": "", 6 | "term": "object" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0002-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "https://json-ld.org/test-suite/tests/remote-doc-0002-in.json", 3 | "http://example/vocab#term": [{"@value": "object"}] 4 | }] 5 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0003-in.jldt: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/vocab#" 4 | }, 5 | "@id": "", 6 | "term": "object" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0003-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "https://json-ld.org/test-suite/tests/remote-doc-0003-in.jldt", 3 | "http://example/vocab#term": [{"@value": "object"}] 4 | }] 5 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0004-in.jldte: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/remote-doc-0004-in.jldte -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0009-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/vocab#" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0009-in.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "", 3 | "http://example/0009/term": "value1", 4 | "term": "value2" 5 | }] -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0009-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "https://json-ld.org/test-suite/tests/remote-doc-0009-in.jsonld", 3 | "http://example/0009/term": [{"@value": "value1"}] 4 | }] -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0010-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/vocab#" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0010-in.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "", 3 | "term": "value" 4 | }] -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0010-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "https://json-ld.org/test-suite/tests/remote-doc-0010-in.json", 3 | "http://example/vocab#term": [{"@value": "value"}] 4 | }] 5 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0011-context.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/vocab#" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0011-in.jldt: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "", 3 | "term": "value" 4 | }] -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0011-out.jsonld: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "https://json-ld.org/test-suite/tests/remote-doc-0011-in.jldt", 3 | "http://example/vocab#term": [{"@value": "value"}] 4 | }] 5 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0012-context1.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/vocab#" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0012-context2.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example/vocab#" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /ld/testdata/remote-doc-0012-in.json: -------------------------------------------------------------------------------- 1 | [{ 2 | "@id": "", 3 | "term": "value" 4 | }] -------------------------------------------------------------------------------- /ld/testdata/test001-in.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/test001-in.nq -------------------------------------------------------------------------------- /ld/testdata/test001-urdna2015.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/test001-urdna2015.nq -------------------------------------------------------------------------------- /ld/testdata/test001-urgna2012.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/test001-urgna2012.nq -------------------------------------------------------------------------------- /ld/testdata/test002-in.nq: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /ld/testdata/test002-urdna2015.nq: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /ld/testdata/test002-urgna2012.nq: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /ld/testdata/test003-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test003-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test003-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test004-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test004-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | _:c14n0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test004-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | _:c14n0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test006-in.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | -------------------------------------------------------------------------------- /ld/testdata/test006-urdna2015.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | -------------------------------------------------------------------------------- /ld/testdata/test006-urgna2012.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | -------------------------------------------------------------------------------- /ld/testdata/test007-in.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | -------------------------------------------------------------------------------- /ld/testdata/test007-urdna2015.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | -------------------------------------------------------------------------------- /ld/testdata/test007-urgna2012.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | -------------------------------------------------------------------------------- /ld/testdata/test010-in.nq: -------------------------------------------------------------------------------- 1 | "2011-01-25T00:00:00+00:00"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/test010-urdna2015.nq: -------------------------------------------------------------------------------- 1 | "2011-01-25T00:00:00+00:00"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/test010-urgna2012.nq: -------------------------------------------------------------------------------- 1 | "2011-01-25T00:00:00+00:00"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/test011-in.nq: -------------------------------------------------------------------------------- 1 | "2011-01-25T00:00:00Z"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/test011-urdna2015.nq: -------------------------------------------------------------------------------- 1 | "2011-01-25T00:00:00Z"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/test011-urgna2012.nq: -------------------------------------------------------------------------------- 1 | "2011-01-25T00:00:00Z"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/test012-in.nq: -------------------------------------------------------------------------------- 1 | "2011-01-25T00:00:00Z"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/test012-urdna2015.nq: -------------------------------------------------------------------------------- 1 | "2011-01-25T00:00:00Z"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/test012-urgna2012.nq: -------------------------------------------------------------------------------- 1 | "2011-01-25T00:00:00Z"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/test015-in.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/test015-in.nq -------------------------------------------------------------------------------- /ld/testdata/test015-urdna2015.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/test015-urdna2015.nq -------------------------------------------------------------------------------- /ld/testdata/test015-urgna2012.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/test015-urgna2012.nq -------------------------------------------------------------------------------- /ld/testdata/test016-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 . 3 | _:b0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test016-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | _:c14n0 . 3 | _:c14n0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test016-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | _:c14n0 . 3 | _:c14n0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test017-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test017-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | _:c14n0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test017-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | _:c14n0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test018-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test018-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test018-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test019-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b0 . 2 | _:b1 _:b1 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test019-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n0 . 2 | _:c14n1 _:c14n1 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test019-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n0 . 2 | _:c14n1 _:c14n1 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test020-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b1 . 3 | _:b0 _:b2 . 4 | _:b1 _:b2 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test020-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n2 . 2 | _:c14n0 . 3 | _:c14n0 _:c14n1 . 4 | _:c14n2 _:c14n1 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test020-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n2 . 2 | _:c14n1 . 3 | _:c14n1 _:c14n0 . 4 | _:c14n2 _:c14n0 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test021-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b1 _:b0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test021-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 _:c14n0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test021-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 _:c14n0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test022-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b0 _:b1 . 3 | _:b1 _:b0 . 4 | _:b1 _:b0 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test022-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n0 _:c14n1 . 3 | _:c14n1 _:c14n0 . 4 | _:c14n1 _:c14n0 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test022-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n0 _:c14n1 . 3 | _:c14n1 _:c14n0 . 4 | _:c14n1 _:c14n0 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test023-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b1 _:b2 . 3 | _:b2 _:b0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test023-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 _:c14n2 . 3 | _:c14n2 _:c14n0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test023-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n2 . 2 | _:c14n1 _:c14n0 . 3 | _:c14n2 _:c14n1 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test031-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test031-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test031-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test032-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test032-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test032-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/test033-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b2 _:b3 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test033-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n2 _:c14n3 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test033-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n1 _:c14n0 . 2 | _:c14n3 _:c14n2 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test034-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b2 _:b3 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test034-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n2 _:c14n3 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test034-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n1 _:c14n0 . 2 | _:c14n3 _:c14n2 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test035-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b1 "Foo" . 3 | _:b2 _:b3 . 4 | _:b3 "Foo" . 5 | -------------------------------------------------------------------------------- /ld/testdata/test035-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 "Foo" . 3 | _:c14n2 _:c14n3 . 4 | _:c14n3 "Foo" . 5 | -------------------------------------------------------------------------------- /ld/testdata/test035-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 "Foo" . 3 | _:c14n2 _:c14n3 . 4 | _:c14n3 "Foo" . 5 | -------------------------------------------------------------------------------- /ld/testdata/test036-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b1 "Foo" . 3 | _:b2 _:b3 . 4 | _:b3 "Foo" . 5 | -------------------------------------------------------------------------------- /ld/testdata/test036-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 "Foo" . 3 | _:c14n2 _:c14n3 . 4 | _:c14n3 "Foo" . 5 | -------------------------------------------------------------------------------- /ld/testdata/test036-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 "Foo" . 3 | _:c14n2 _:c14n3 . 4 | _:c14n3 "Foo" . 5 | -------------------------------------------------------------------------------- /ld/testdata/test037-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b1 "Foo" . 3 | _:b2 _:b3 . 4 | _:b3 "Foo" . 5 | -------------------------------------------------------------------------------- /ld/testdata/test037-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 "Foo" . 3 | _:c14n2 _:c14n3 . 4 | _:c14n3 "Foo" . 5 | -------------------------------------------------------------------------------- /ld/testdata/test037-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 "Foo" . 3 | _:c14n2 _:c14n3 . 4 | _:c14n3 "Foo" . 5 | -------------------------------------------------------------------------------- /ld/testdata/test038-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b0 _:b2 . 3 | _:b1 _:b3 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test038-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n2 . 2 | _:c14n1 _:c14n0 . 3 | _:c14n1 _:c14n3 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test038-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n0 _:c14n2 . 3 | _:c14n1 _:c14n3 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test039-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b0 _:b2 . 3 | _:b2 _:b3 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test039-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n2 . 2 | _:c14n1 _:c14n0 . 3 | _:c14n1 _:c14n3 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test039-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n0 _:c14n2 . 3 | _:c14n1 _:c14n3 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test040-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b1 _:b2 . 3 | _:b3 _:b4 . 4 | _:b4 _:b5 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test040-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 _:c14n2 . 3 | _:c14n3 _:c14n4 . 4 | _:c14n4 _:c14n5 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test040-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n1 _:c14n0 . 2 | _:c14n2 _:c14n1 . 3 | _:c14n4 _:c14n3 . 4 | _:c14n5 _:c14n4 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test041-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b1 _:b2 . 3 | _:b3 _:b4 . 4 | _:b4 _:b5 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test041-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 _:c14n2 . 3 | _:c14n3 _:c14n4 . 4 | _:c14n4 _:c14n5 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test041-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n1 _:c14n0 . 2 | _:c14n2 _:c14n1 . 3 | _:c14n4 _:c14n3 . 4 | _:c14n5 _:c14n4 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test042-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b1 _:b2 . 3 | _:b3 _:b4 . 4 | _:b4 _:b5 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test042-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 _:c14n1 . 2 | _:c14n1 _:c14n2 . 3 | _:c14n3 _:c14n4 . 4 | _:c14n4 _:c14n5 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test042-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n1 _:c14n0 . 2 | _:c14n2 _:c14n1 . 3 | _:c14n4 _:c14n3 . 4 | _:c14n5 _:c14n4 . 5 | -------------------------------------------------------------------------------- /ld/testdata/test043-in.nq: -------------------------------------------------------------------------------- 1 | "test"@en . 2 | -------------------------------------------------------------------------------- /ld/testdata/test043-urdna2015.nq: -------------------------------------------------------------------------------- 1 | "test"@en . 2 | -------------------------------------------------------------------------------- /ld/testdata/test043-urgna2012.nq: -------------------------------------------------------------------------------- 1 | "test"@en . 2 | -------------------------------------------------------------------------------- /ld/testdata/test049-in.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/test049-in.nq -------------------------------------------------------------------------------- /ld/testdata/test049-urdna2015.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/test049-urdna2015.nq -------------------------------------------------------------------------------- /ld/testdata/test049-urgna2012.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/test049-urgna2012.nq -------------------------------------------------------------------------------- /ld/testdata/test050-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 "value" . 2 | _:b0 "Test 'null' in various locations" . 3 | _:b0 _:b1 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test050-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 "value" . 2 | _:c14n0 "Test 'null' in various locations" . 3 | _:c14n0 _:c14n1 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test050-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n1 "value" . 2 | _:c14n1 "Test 'null' in various locations" . 3 | _:c14n1 _:c14n0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test051-in.nq: -------------------------------------------------------------------------------- 1 | "object1" . 2 | "object2" . 3 | "object3" . 4 | -------------------------------------------------------------------------------- /ld/testdata/test051-urdna2015.nq: -------------------------------------------------------------------------------- 1 | "object1" . 2 | "object2" . 3 | "object3" . 4 | -------------------------------------------------------------------------------- /ld/testdata/test051-urgna2012.nq: -------------------------------------------------------------------------------- 1 | "object1" . 2 | "object2" . 3 | "object3" . 4 | -------------------------------------------------------------------------------- /ld/testdata/test055-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b0 . 3 | _:b1 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test055-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | _:c14n0 _:c14n1 . 3 | _:c14n1 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test055-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | _:c14n0 _:c14n1 . 3 | _:c14n1 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test056-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b1 _:b0 . 3 | _:b1 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test056-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | _:c14n0 _:c14n1 . 3 | _:c14n1 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test056-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n0 . 2 | _:c14n0 _:c14n1 . 3 | _:c14n1 . 4 | -------------------------------------------------------------------------------- /ld/testdata/test057-in.nq: -------------------------------------------------------------------------------- 1 | _:b1 _:g . 2 | _:b1 "Manu Sporny" _:g . 3 | -------------------------------------------------------------------------------- /ld/testdata/test057-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n1 _:c14n0 . 2 | _:c14n1 "Manu Sporny" _:c14n0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test057-urgna2012.nq: -------------------------------------------------------------------------------- 1 | _:c14n1 _:c14n0 . 2 | _:c14n1 "Manu Sporny" _:c14n0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test058-in.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b3 . 2 | _:b1 _:b3 . 3 | -------------------------------------------------------------------------------- /ld/testdata/test058-urdna2015.nq: -------------------------------------------------------------------------------- 1 | _:c14n1 _:c14n0 . 2 | _:c14n2 _:c14n0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0001-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://greggkellogg.net/foaf#me", 3 | "http://xmlns.com/foaf/0.1/name": "Gregg Kellogg" 4 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0001-out.nq: -------------------------------------------------------------------------------- 1 | "Gregg Kellogg" . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0002-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"foaf": "http://xmlns.com/foaf/0.1/"}, 3 | "@id": "http://greggkellogg.net/foaf#me", 4 | "foaf:name": "Gregg Kellogg" 5 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0002-out.nq: -------------------------------------------------------------------------------- 1 | "Gregg Kellogg" . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0003-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"foaf": "http://xmlns.com/foaf/0.1/"}, 3 | "@type": "foaf:Person" 4 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0003-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0004-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://www.w3.org/2000/01/rdf-schema#label": { 3 | "@value": "A plain literal with a lang tag.", 4 | "@language": "en-us" 5 | } 6 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0004-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "A plain literal with a lang tag."@en-us . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0005-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://greggkellogg.net/foaf#me", 3 | "http://xmlns.com/foaf/0.1/knows": { 4 | "http://xmlns.com/foaf/0.1/name": {"@value": "Herman Iván", "@language": "hu"} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0005-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 "Herman Iván"@hu . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0006-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://greggkellogg.net/foaf#me", 3 | "http://purl.org/dc/terms/created": { 4 | "@value": "1957-02-27", 5 | "@type": "http://www.w3.org/2001/XMLSchema#date" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0006-out.nq: -------------------------------------------------------------------------------- 1 | "1957-02-27"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0007-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://greggkellogg.net/foaf#me", 3 | "@type": "http://xmlns.com/foaf/0.1/Person" 4 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0007-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0008-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"d": "http://example.com/default#"}, 3 | "d:foo": "bar" 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0008-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "bar" . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0009-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"foo": "http://example.com/default#"}, 3 | "foo:": "bar" 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0009-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "bar" . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0010-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"foaf": "http://xmlns.com/foaf/0.1/"}, 3 | "@id": "http://greggkellogg.net/foaf#me", 4 | "foaf:knows": { 5 | "@id": "http://manu.sporny.org/#me", 6 | "foaf:name": "Manu Sporny" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0010-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | "Manu Sporny" . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0011-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foaf": "http://xmlns.com/foaf/0.1/" 4 | }, 5 | "@id": "http://greggkellogg.net/foaf#me", 6 | "foaf:knows": { 7 | "foaf:name": "Dave Longley" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0011-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 "Dave Longley" . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0012-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foaf": "http://xmlns.com/foaf/0.1/" 4 | }, 5 | "@id": "http://greggkellogg.net/foaf#me", 6 | "foaf:knows": ["Manu Sporny", "Dave Longley"] 7 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0012-out.nq: -------------------------------------------------------------------------------- 1 | "Dave Longley" . 2 | "Manu Sporny" . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0013-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foaf": "http://xmlns.com/foaf/0.1/" 4 | }, 5 | "@id": "http://greggkellogg.net/foaf#me", 6 | "foaf:knows": {"@list": []} 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0013-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0014-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foaf": "http://xmlns.com/foaf/0.1/" 4 | }, 5 | "@id": "http://greggkellogg.net/foaf#me", 6 | "foaf:knows": {"@list": ["Manu Sporny"]} 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0014-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 "Manu Sporny" . 3 | _:b0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0015-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foaf": "http://xmlns.com/foaf/0.1/" 4 | }, 5 | "@id": "http://greggkellogg.net/foaf#me", 6 | "foaf:knows": {"@list": ["Manu Sporny", "Dave Longley"]} 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0016-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "", 3 | "@type": "http://www.w3.org/2000/01/rdf-schema#Resource" 4 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0016-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0017-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "a/b", 3 | "@type": "http://www.w3.org/2000/01/rdf-schema#Resource" 4 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0017-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0018-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "#frag", 3 | "@type": "http://www.w3.org/2000/01/rdf-schema#Resource" 4 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0018-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0019-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foaf": "http://xmlns.com/foaf/0.1/", 4 | "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@type": "@id"} 5 | }, 6 | "@id": "http://greggkellogg.net/foaf#me", 7 | "knows": "http://manu.sporny.org/#me" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0019-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0020-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "xsd": "http://www.w3.org/2001/XMLSchema#", 4 | "created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:date"} 5 | }, 6 | "@id": "http://greggkellogg.net/foaf#me", 7 | "created": "1957-02-27" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0020-out.nq: -------------------------------------------------------------------------------- 1 | "1957-02-27"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0022-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { "measure": "http://example/measure#"}, 3 | "measure:cups": 5.3 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0022-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "5.3E0"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0023-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { "chem": "http://example/chem#"}, 3 | "chem:protons": 12 4 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0023-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "12"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0024-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { "sensor": "http://example/sensor#"}, 3 | "sensor:active": true 4 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0024-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "true"^^ . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0025-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "knows": {"@id": "http://xmlns.com/foaf/0.1/knows", "@container": "@list"} 4 | }, 5 | "@id": "http://greggkellogg.net/foaf#me", 6 | "knows": ["Manu Sporny"] 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0025-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 "Manu Sporny" . 3 | _:b0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0026-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": {"rdfs": "http://www.w3.org/2000/01/rdf-schema#"}, 3 | "@type": ["rdfs:Resource", "rdfs:Class"] 4 | } 5 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0026-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0036-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.com/", 3 | "ex:prop1": { 4 | "@list": [ { "@id": "_:x1" }, { "@id": "_:x2" } ] 5 | }, 6 | "ex:prop2": { "@id": "_:x3" } 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0041-in.jsonld: -------------------------------------------------------------------------------- 1 | {"@id": "http://example.org/test#example"} -------------------------------------------------------------------------------- /ld/testdata/toRdf-0041-out.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/toRdf-0041-out.nq -------------------------------------------------------------------------------- /ld/testdata/toRdf-0043-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example.org/id", 3 | "http://example.org/property": null, 4 | "regularJson": { 5 | "nonJsonLd": "property", 6 | "deep": [{ 7 | "foo": "bar" 8 | }, { 9 | "bar": "foo" 10 | }] 11 | } 12 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0043-out.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/toRdf-0043-out.nq -------------------------------------------------------------------------------- /ld/testdata/toRdf-0048-out.nq: -------------------------------------------------------------------------------- 1 | "only value" . 2 | "test"@en . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0050-out.nq: -------------------------------------------------------------------------------- 1 | "true"^^ . 2 | "123"^^ . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0051-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | "Title" . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0059-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "myproperty": "http://example.com/myproperty" 4 | }, 5 | "myproperty": { "@value" : null } 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0059-out.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/toRdf-0059-out.nq -------------------------------------------------------------------------------- /ld/testdata/toRdf-0062-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": "http://example.com/term", 4 | "@language": "en" 5 | }, 6 | "term": "v" 7 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0062-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "v"@en . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0065-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 . 3 | _:b0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0070-out.nq: -------------------------------------------------------------------------------- 1 | "Die Königin"@de . 2 | "Ihre Majestät"@de . 3 | "The Queen"@en . 4 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0072-out.nq: -------------------------------------------------------------------------------- 1 | "Markus Lanthaler" . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0073-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "2012-10-28"^^ . 2 | _:b0 . 3 | _:b0 "Markus Lanthaler" . 4 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0078-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0081-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 _:b1 . 2 | _:b0 "this is English"@en . 3 | _:b1 "and this is a plain string" . 4 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0085-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@value": "free-floating value" 3 | } 4 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0085-out.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/toRdf-0085-out.nq -------------------------------------------------------------------------------- /ld/testdata/toRdf-0086-out.nq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kazarena/json-gold/47cccc36c736057664387b88420913b94f6f4cb0/ld/testdata/toRdf-0086-out.nq -------------------------------------------------------------------------------- /ld/testdata/toRdf-0087-out.nq: -------------------------------------------------------------------------------- 1 | "nodes with properties are not removed" . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0090-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "issue": { "@id": "http://example.com/issue/", "@type": "@id" }, 4 | "issue:raisedBy": { "@container": "@set" } 5 | }, 6 | "issue": "/issue/1", 7 | "issue:raisedBy": "Markus" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0090-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 "Markus" . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0091-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": [ 3 | { "id": "@id" }, 4 | { "url": "id" } 5 | ], 6 | "url": "/issue/1", 7 | "http://example.com/property": "ok" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0091-out.nq: -------------------------------------------------------------------------------- 1 | "ok" . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0092-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "property": "vocabRelativeProperty" 5 | }, 6 | "property": "must expand to http://example.org/vocabRelativeProperty", 7 | "http://example.org/property": "ok" 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0092-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "ok" . 2 | _:b0 "must expand to http://example.org/vocabRelativeProperty" . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0093-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"} 4 | }, 5 | "term": "http://example.org/enum" 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0093-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0094-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": {"@id": "http://example.org/term", "@type": "@vocab"}, 4 | "enum": {"@id": "http://example.org/enum"} 5 | }, 6 | "term": "enum" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0094-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0095-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "@vocab": "http://example.org/", 4 | "term": {"@id": "http://example.org/term", "@type": "@vocab"} 5 | }, 6 | "term": "enum" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0095-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0097-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": { "@id": "http://example.org/term", "@type": "@vocab" } 4 | }, 5 | "term": "not-a-term-thus-a-relative-IRI" 6 | } 7 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0097-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0098-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "term": { "@id": "http://example.org/term", "@type": "@vocab" }, 4 | "prefix": "http://example.com/vocab#" 5 | }, 6 | "term": "prefix:suffix" 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0098-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0101-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "property": { 4 | "@id": "http://example.com/property", 5 | "@type": "http://example.com/datatype" 6 | } 7 | }, 8 | "property": [ 1, true, false, 5.1 ] 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0107-out.nq: -------------------------------------------------------------------------------- 1 | "all these IRIs remain unchanged because they are interpreted as absolute IRIs" . 2 | . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0108-out.nq: -------------------------------------------------------------------------------- 1 | _:b1 _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0109-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0110-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "prefix": "http://www.example.org/vocab#", 4 | "prefix:foo": "prefix:foo" 5 | }, 6 | "@id": "http://example.com/vocab#id", 7 | "@type": "prefix:Class", 8 | "prefix:foo": "bar" 9 | } 10 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0110-out.nq: -------------------------------------------------------------------------------- 1 | "bar" . 2 | . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0111-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "value of v:term" . 2 | _:b0 "value of v:termId" . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0112-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 "value of term" . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0113-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example/g", 3 | "@graph": { 4 | "@id": "http://example/s", 5 | "http://example/p": {"@id": "http://example/o"} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0113-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0114-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "_:g", 3 | "@graph": { 4 | "@id": "http://example/s", 5 | "http://example/p": {"@id": "http://example/o"} 6 | } 7 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0114-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0115-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | _:b0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0116-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@id": "http://example/s0", 3 | "http://example/p0": {"@id": "http://example/o0"}, 4 | "@graph": { 5 | "@id": "http://example/s1", 6 | "http://example/p1": {"@id": "http://example/o1"} 7 | } 8 | } -------------------------------------------------------------------------------- /ld/testdata/toRdf-0116-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0117-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "http://example/p0": {"@id": "http://example/o0"}, 3 | "@graph": { 4 | "@id": "http://example/s1", 5 | "http://example/p1": {"@id": "http://example/o1"} 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0117-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 . 3 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0119-in.jsonld: -------------------------------------------------------------------------------- 1 | { 2 | "@context": { 3 | "foo": "http://example.org/foo", 4 | "bar": { "@reverse": "http://example.org/bar", "@type": "@id" } 5 | }, 6 | "foo": "Foo", 7 | "bar": [ "http://example.org/origin", "_:b0" ] 8 | } 9 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0119-out.nq: -------------------------------------------------------------------------------- 1 | _:b0 . 2 | _:b0 "Foo" . 3 | _:b1 _:b0 . 4 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0128-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | . 4 | -------------------------------------------------------------------------------- /ld/testdata/toRdf-0129-out.nq: -------------------------------------------------------------------------------- 1 | . 2 | . 3 | . 4 | --------------------------------------------------------------------------------