├── VERSION
├── priv
└── plts
│ └── .keep
├── config
├── dev.exs
├── prod.exs
└── config.exs
└── test
├── data
└── json-ld-api-tests
│ ├── html
│ ├── r006-out.nq
│ ├── r007-out.nq
│ ├── e007-out.jsonld
│ ├── e006-in.html
│ ├── e007-in.html
│ ├── r006-in.html
│ ├── r007-in.html
│ ├── r010-out.nq
│ ├── c003-context.jsonld
│ ├── f003-context.jsonld
│ ├── r019-out.nq
│ ├── r020-out.nq
│ ├── r021-out.nq
│ ├── r022-out.nq
│ ├── e010-out.jsonld
│ ├── e001-out.jsonld
│ ├── e002-out.jsonld
│ ├── e008-out.jsonld
│ ├── r003-out.nq
│ ├── r018-out.nq
│ ├── e019-out.jsonld
│ ├── e020-out.jsonld
│ ├── e021-out.jsonld
│ ├── e022-out.jsonld
│ ├── c001-context.jsonld
│ ├── c002-context.jsonld
│ ├── f001-context.jsonld
│ ├── f002-context.jsonld
│ ├── e003-out.jsonld
│ ├── e017-in.html
│ ├── r017-in.html
│ ├── c001-out.jsonld
│ ├── c002-out.jsonld
│ ├── c003-out.jsonld
│ └── e018-out.jsonld
│ ├── toRdf
│ ├── e001-out.nq
│ ├── e003-out.nq
│ ├── e019-out.nq
│ ├── e045-out.nq
│ ├── e046-out.nq
│ ├── wf01-out.nq
│ ├── wf02-out.nq
│ ├── wf03-out.nq
│ ├── wf05-out.nq
│ ├── wf07-out.nq
│ ├── er27-in.jsonld
│ ├── er28-in.jsonld
│ ├── pr41-out.nq
│ ├── 0130-out.nq
│ ├── e125-out.nq
│ ├── 0009-out.nq
│ ├── 0131-out.nq
│ ├── e001-in.jsonld
│ ├── e022-out.nq
│ ├── e124-out.nq
│ ├── pr24-out.nq
│ ├── 0008-out.nq
│ ├── 0132-out.nq
│ ├── pr06-out.nq
│ ├── so08-out.nq
│ ├── so11-out.nq
│ ├── e045-in.jsonld
│ ├── e090-out.nq
│ ├── e126-out.nq
│ ├── e127-out.nq
│ ├── e128-out.nq
│ ├── e129-out.nq
│ ├── e130-out.nq
│ ├── ec02-in.jsonld
│ ├── p001-out.nq
│ ├── so09-out.nq
│ ├── e053-out.nq
│ ├── e054-out.nq
│ ├── e055-out.nq
│ ├── e076-out.nq
│ ├── e079-out.nq
│ ├── e080-out.nq
│ ├── e089-out.nq
│ ├── ep02-in.jsonld
│ ├── ep03-in.jsonld
│ ├── er29-in.jsonld
│ ├── 0114-out.nq
│ ├── c029-in.jsonld
│ ├── c037-out.nq
│ ├── e038-out.nq
│ ├── e068-out.nq
│ ├── e072-out.nq
│ ├── e125-context-2.jsonld
│ ├── e126-context-1.jsonld
│ ├── e126-context-2.jsonld
│ ├── e127-context-2.jsonld
│ ├── e128-context-1.jsonld
│ ├── e128-context-2.jsonld
│ ├── e051-out.nq
│ ├── e058-out.nq
│ ├── e076-in.jsonld
│ ├── e091-out.nq
│ ├── e117-out.nq
│ ├── er40-in.jsonld
│ ├── c003-out.nq
│ ├── c031-out.nq
│ ├── er06-in.jsonld
│ ├── er30-in.jsonld
│ ├── er32-in.jsonld
│ ├── er33-in.jsonld
│ ├── er39-in.jsonld
│ ├── so01-in.jsonld
│ ├── 0113-out.nq
│ ├── c001-out.nq
│ ├── c034-context.jsonld
│ ├── c034-out.nq
│ ├── c036-out.nq
│ ├── di09-in.jsonld
│ ├── di11-in.jsonld
│ ├── en02-in.jsonld
│ ├── en03-in.jsonld
│ ├── js23-in.jsonld
│ ├── n001-out.nq
│ ├── n002-out.nq
│ ├── so12-in.jsonld
│ ├── 0023-in.jsonld
│ ├── di09-out.nq
│ ├── di10-out.nq
│ ├── e109-out.nq
│ ├── er07-in.jsonld
│ ├── er37-in.jsonld
│ ├── er41-in.jsonld
│ ├── js19-out.nq
│ ├── js20-out.nq
│ ├── js22-in.jsonld
│ ├── so02-in.jsonld
│ ├── wf01-in.jsonld
│ ├── wf02-in.jsonld
│ ├── 0001-out.nq
│ ├── 0002-out.nq
│ ├── 0008-in.jsonld
│ ├── 0009-in.jsonld
│ ├── 0016-in.jsonld
│ ├── 0017-in.jsonld
│ ├── 0022-out.nq
│ ├── 0023-out.nq
│ ├── 0024-out.nq
│ ├── c002-out.nq
│ ├── e032-out.nq
│ ├── e075-out.nq
│ ├── e081-out.nq
│ ├── e082-out.nq
│ ├── e083-out.nq
│ ├── e084-out.nq
│ ├── er08-in.jsonld
│ ├── er09-in.jsonld
│ ├── in01-out.nq
│ ├── in02-out.nq
│ ├── in03-out.nq
│ ├── m013-out.nq
│ ├── m014-out.nq
│ ├── m015-out.nq
│ ├── m016-out.nq
│ ├── pr34-out.nq
│ ├── pr35-out.nq
│ ├── pr36-out.nq
│ ├── pr38-out.nq
│ ├── so08-context.jsonld
│ ├── so10-context.jsonld
│ ├── so11-context.jsonld
│ ├── 0003-in.jsonld
│ ├── 0003-out.nq
│ ├── 0004-out.nq
│ ├── 0018-in.jsonld
│ ├── 0024-in.jsonld
│ ├── di10-in.jsonld
│ ├── di12-in.jsonld
│ ├── e113-out.nq
│ ├── er02-in.jsonld
│ ├── er03-in.jsonld
│ ├── er05-in.jsonld
│ ├── er54-in.jsonld
│ ├── js01-out.nq
│ ├── js02-out.nq
│ ├── js03-out.nq
│ ├── js04-out.nq
│ ├── js05-out.nq
│ ├── js15-in.jsonld
│ ├── pr23-out.nq
│ ├── pr27-out.nq
│ ├── 0019-out.nq
│ ├── 0022-in.jsonld
│ ├── c022-out.nq
│ ├── c030-in.jsonld
│ ├── e047-out.nq
│ ├── en05-in.jsonld
│ ├── er11-in.jsonld
│ ├── er51-in.jsonld
│ ├── js18-out.nq
│ ├── js22-out.nq
│ ├── js23-out.nq
│ ├── li02-in.jsonld
│ ├── pr40-out.nq
│ ├── pr43-out.nq
│ ├── so03-in.jsonld
│ ├── 0007-in.jsonld
│ ├── e119-out.nq
│ ├── en06-in.jsonld
│ ├── er01-in.jsonld
│ ├── er04-in.jsonld
│ ├── er38-in.jsonld
│ ├── li01-in.jsonld
│ ├── so06-context.jsonld
│ ├── wf04-out.nq
│ ├── c027-out.nq
│ ├── c028-out.nq
│ ├── en01-in.jsonld
│ ├── er18-in.jsonld
│ ├── er25-in.jsonld
│ ├── js06-out.nq
│ ├── js07-out.nq
│ ├── js17-out.nq
│ ├── li06-in.jsonld
│ ├── p002-out.nq
│ ├── p003-out.nq
│ ├── p004-out.nq
│ ├── so05-context.jsonld
│ ├── wf04-in.jsonld
│ ├── 0001-in.jsonld
│ ├── di08-in.jsonld
│ ├── e057-out.nq
│ ├── er15-in.jsonld
│ ├── er19-in.jsonld
│ ├── js14-out.nq
│ ├── li05-in.jsonld
│ ├── li08-in.jsonld
│ ├── so06-out.nq
│ ├── wf03-in.jsonld
│ ├── 0013-out.nq
│ ├── 0117-out.nq
│ ├── e089-in.jsonld
│ ├── e093-out.nq
│ ├── e094-out.nq
│ ├── e126-in.jsonld
│ ├── e129-in.jsonld
│ ├── en04-in.jsonld
│ ├── er10-in.jsonld
│ ├── er20-in.jsonld
│ ├── js15-out.nq
│ ├── js16-out.nq
│ ├── js21-out.nq
│ ├── li07-in.jsonld
│ ├── li09-in.jsonld
│ ├── li10-in.jsonld
│ ├── n003-out.nq
│ ├── wf05-in.jsonld
│ ├── 0007-out.nq
│ ├── c004-out.nq
│ ├── e022-in.jsonld
│ ├── e050-out.nq
│ ├── e071-out.nq
│ ├── e085-out.nq
│ ├── e086-out.nq
│ ├── e087-out.nq
│ ├── e090-in.jsonld
│ ├── e127-in.jsonld
│ ├── e130-in.jsonld
│ ├── er42-in.jsonld
│ ├── js11-out.nq
│ ├── li04-in.jsonld
│ ├── n001-in.jsonld
│ ├── pr10-out.nq
│ ├── pr29-out.nq
│ ├── so09-context.jsonld
│ ├── 0006-out.nq
│ ├── 0020-out.nq
│ ├── 0026-in.jsonld
│ ├── er24-in.jsonld
│ ├── in07-in.jsonld
│ ├── js08-out.nq
│ ├── li03-in.jsonld
│ ├── pi11-out.nq
│ ├── pr14-out.nq
│ ├── pr15-out.nq
│ ├── so13-in.jsonld
│ ├── 0011-out.nq
│ ├── e019-in.jsonld
│ ├── e102-out.nq
│ ├── e123-in.jsonld
│ ├── in04-out.nq
│ ├── li12-out.nq
│ ├── li14-out.nq
│ ├── m005-out.nq
│ ├── pr13-out.nq
│ ├── rt01-in.jsonld
│ ├── 0005-out.nq
│ ├── e122-out.nq
│ ├── ec01-in.jsonld
│ ├── er48-in.jsonld
│ ├── in08-in.jsonld
│ ├── 0114-in.jsonld
│ ├── 0119-out.nq
│ ├── er12-in.jsonld
│ ├── er22-in.jsonld
│ ├── er26-in.jsonld
│ ├── er31-in.jsonld
│ ├── er53-in.jsonld
│ ├── in09-in.jsonld
│ └── so13-context.jsonld
│ ├── compact
│ ├── 0001-out.jsonld
│ ├── 0003-out.jsonld
│ ├── ep05-in.jsonld
│ ├── ep06-in.jsonld
│ ├── 0001-context.jsonld
│ ├── 0003-context.jsonld
│ ├── 0039-context.jsonld
│ ├── 0040-context.jsonld
│ ├── 0046-context.jsonld
│ ├── 0051-context.jsonld
│ ├── 0001-in.jsonld
│ ├── en01-in.jsonld
│ ├── ep07-in.jsonld
│ ├── ep08-in.jsonld
│ ├── ep10-in.jsonld
│ ├── ep11-in.jsonld
│ ├── ep12-in.jsonld
│ ├── ep09-in.jsonld
│ ├── js08-context.jsonld
│ ├── 0104-in.jsonld
│ ├── 0105-in.jsonld
│ ├── 0106-in.jsonld
│ ├── 0072-in.jsonld
│ ├── di02-context.jsonld
│ ├── r001-context.jsonld
│ ├── r002-context.jsonld
│ ├── ep05-context.jsonld
│ ├── ep06-context.jsonld
│ ├── r001-in.jsonld
│ ├── tn02-in.jsonld
│ ├── tn03-in.jsonld
│ ├── 0072-context.jsonld
│ ├── 0075-in.jsonld
│ ├── e002-in.jsonld
│ ├── li01-in.jsonld
│ ├── pr01-in.jsonld
│ ├── pr02-in.jsonld
│ ├── 0051-in.jsonld
│ ├── 0051-out.jsonld
│ ├── 0070-context.jsonld
│ ├── 0076-context.jsonld
│ ├── c022-in.jsonld
│ ├── di02-in.jsonld
│ ├── ep15-in.jsonld
│ ├── 0012-context.jsonld
│ ├── 0013-context.jsonld
│ ├── 0075-context.jsonld
│ ├── 0104-context.jsonld
│ ├── 0053-in.jsonld
│ ├── 0054-in.jsonld
│ ├── 0056-in.jsonld
│ ├── 0058-in.jsonld
│ ├── 0071-context.jsonld
│ ├── 0076-in.jsonld
│ ├── c001-in.jsonld
│ ├── c028-in.jsonld
│ ├── e001-in.jsonld
│ ├── e002-context.jsonld
│ ├── js01-in.jsonld
│ ├── js02-in.jsonld
│ ├── js03-in.jsonld
│ ├── js04-in.jsonld
│ ├── js05-in.jsonld
│ ├── li02-in.jsonld
│ ├── n010-in.jsonld
│ ├── p001-context.jsonld
│ ├── p002-context.jsonld
│ ├── p007-in.jsonld
│ ├── 0031-context.jsonld
│ ├── 0048-in.jsonld
│ ├── 0105-context.jsonld
│ ├── 0106-context.jsonld
│ ├── ep13-in.jsonld
│ ├── ep14-in.jsonld
│ ├── js06-in.jsonld
│ ├── js07-in.jsonld
│ ├── js08-in.jsonld
│ ├── js09-in.jsonld
│ ├── li01-context.jsonld
│ ├── li02-context.jsonld
│ ├── li03-context.jsonld
│ ├── li04-context.jsonld
│ ├── li05-context.jsonld
│ ├── 0070-in.jsonld
│ ├── 0111-in.jsonld
│ ├── di01-in.jsonld
│ ├── ep07-context.jsonld
│ ├── ep10-context.jsonld
│ ├── ep11-context.jsonld
│ ├── js09-context.jsonld
│ ├── li03-in.jsonld
│ ├── r001-out.jsonld
│ ├── en01-context.jsonld
│ ├── ep08-context.jsonld
│ ├── ep13-context.jsonld
│ ├── ep14-context.jsonld
│ ├── in02-context.jsonld
│ ├── in04-context.jsonld
│ ├── in05-context.jsonld
│ ├── r002-in.jsonld
│ ├── 0042-context.jsonld
│ ├── 0049-context.jsonld
│ ├── 0095-context.jsonld
│ ├── c002-in.jsonld
│ ├── ep12-context.jsonld
│ ├── ep15-context.jsonld
│ ├── js11-in.jsonld
│ ├── li01-out.jsonld
│ ├── n001-in.jsonld
│ ├── n002-in.jsonld
│ ├── n003-in.jsonld
│ ├── n011-in.jsonld
│ ├── 0052-context.jsonld
│ ├── 0053-context.jsonld
│ ├── 0062-context.jsonld
│ ├── 0107-context.jsonld
│ ├── js10-in.jsonld
│ ├── li02-out.jsonld
│ ├── li03-out.jsonld
│ ├── m001-context.jsonld
│ ├── m002-context.jsonld
│ ├── m013-in.jsonld
│ ├── m014-in.jsonld
│ ├── n001-context.jsonld
│ ├── n004-context.jsonld
│ ├── n005-in.jsonld
│ ├── 0076-out.jsonld
│ ├── 0104-out.jsonld
│ ├── 0111-context.jsonld
│ ├── li04-out.jsonld
│ ├── li05-out.jsonld
│ ├── m003-context.jsonld
│ ├── m004-context.jsonld
│ ├── m006-context.jsonld
│ ├── m015-in.jsonld
│ ├── m016-in.jsonld
│ ├── p007-context.jsonld
│ ├── 0013-in.jsonld
│ ├── 0020-context.jsonld
│ ├── 0079-context.jsonld
│ ├── 0080-context.jsonld
│ ├── 0091-context.jsonld
│ ├── di02-out.jsonld
│ ├── li05-in.jsonld
│ ├── n004-in.jsonld
│ ├── 0029-context.jsonld
│ ├── 0041-context.jsonld
│ ├── 0064-context.jsonld
│ ├── 0065-context.jsonld
│ ├── 0084-context.jsonld
│ ├── 0085-context.jsonld
│ ├── 0088-context.jsonld
│ ├── 0090-context.jsonld
│ ├── 0092-context.jsonld
│ ├── 0093-context.jsonld
│ ├── 0094-context.jsonld
│ ├── 0096-context.jsonld
│ ├── 0100-context.jsonld
│ ├── 0103-context.jsonld
│ ├── 0106-out.jsonld
│ ├── 0109-context.jsonld
│ ├── 0109-in.jsonld
│ ├── 0110-in.jsonld
│ ├── js08-out.jsonld
│ ├── m018-context.jsonld
│ ├── n006-in.jsonld
│ ├── 0012-in.jsonld
│ ├── 0043-context.jsonld
│ ├── 0075-out.jsonld
│ ├── 0081-context.jsonld
│ ├── 0083-context.jsonld
│ ├── 0098-context.jsonld
│ ├── 0102-context.jsonld
│ ├── 0105-out.jsonld
│ ├── c003-context.jsonld
│ ├── c004-context.jsonld
│ ├── c009-context.jsonld
│ ├── c010-context.jsonld
│ ├── c012-in.jsonld
│ ├── in03-context.jsonld
│ ├── js01-context.jsonld
│ ├── js02-context.jsonld
│ ├── js11-context.jsonld
│ ├── n003-context.jsonld
│ ├── r002-out.jsonld
│ ├── 0066-context.jsonld
│ ├── 0072-out.jsonld
│ ├── 0082-context.jsonld
│ ├── 0084-in.jsonld
│ ├── 0086-context.jsonld
│ ├── 0086-in.jsonld
│ ├── 0087-context.jsonld
│ ├── 0097-context.jsonld
│ ├── 0101-context.jsonld
│ ├── 0110-context.jsonld
│ ├── c001-context.jsonld
│ ├── c003-in.jsonld
│ ├── c005-context.jsonld
│ ├── c006-context.jsonld
│ ├── c023-in.jsonld
│ ├── c027-in.jsonld
│ ├── di01-context.jsonld
│ ├── js03-context.jsonld
│ ├── js04-context.jsonld
│ ├── js05-context.jsonld
│ ├── js06-context.jsonld
│ ├── js10-context.jsonld
│ ├── li04-in.jsonld
│ ├── m017-context.jsonld
│ ├── m017-in.jsonld
│ ├── m018-in.jsonld
│ ├── m019-in.jsonld
│ ├── 0032-context.jsonld
│ ├── 0073-context.jsonld
│ ├── 0108-context.jsonld
│ ├── ep09-context.jsonld
│ ├── n002-context.jsonld
│ └── n011-context.jsonld
│ ├── index.html
│ ├── remote-doc
│ ├── 0004-in.jldte
│ ├── 0010-in.json
│ ├── 0011-in.jldt
│ ├── 0012-in.json
│ ├── 0013-in.json
│ ├── la01-out.jsonld
│ ├── la02-out.jsonld
│ ├── la03-out.jsonld
│ ├── la04-out.jsonld
│ ├── 0009-context.jsonld
│ ├── 0010-context.jsonld
│ ├── 0011-context.jsonld
│ ├── 0012-context1.jsonld
│ ├── 0012-context2.jsonld
│ ├── 0009-in.jsonld
│ ├── la03-in.json
│ ├── la04-in.json
│ ├── la02-in.jsonld
│ ├── la03-alternate.json
│ ├── la01-alternate.jsonld
│ ├── la02-alternate.jsonld
│ ├── la04-alternate.jsonld
│ ├── 0001-in.jsonld
│ ├── 0002-in.json
│ ├── 0003-in.jldt
│ └── la05-alternate.jsonld
│ ├── expand
│ ├── 0001-out.jsonld
│ ├── 0003-out.jsonld
│ ├── 0019-out.jsonld
│ ├── 0045-out.jsonld
│ ├── 0046-out.jsonld
│ ├── er27-in.jsonld
│ ├── er28-in.jsonld
│ ├── 0001-in.jsonld
│ ├── 0045-in.jsonld
│ ├── e003-context.jsonld
│ ├── e053-context.jsonld
│ ├── ec02-in.jsonld
│ ├── ep02-in.jsonld
│ ├── ep03-in.jsonld
│ ├── er29-in.jsonld
│ ├── pr34-out.jsonld
│ ├── pr35-out.jsonld
│ ├── pr36-out.jsonld
│ ├── pr38-out.jsonld
│ ├── 0127-context-2.jsonld
│ ├── 0128-context-1.jsonld
│ ├── 0128-context-2.jsonld
│ ├── c029-in.jsonld
│ ├── e054-context-1.jsonld
│ ├── e054-context-2.jsonld
│ ├── li02-in.jsonld
│ ├── 0076-in.jsonld
│ ├── er06-in.jsonld
│ ├── er30-in.jsonld
│ ├── er32-in.jsonld
│ ├── er33-in.jsonld
│ ├── er39-in.jsonld
│ ├── er40-in.jsonld
│ ├── li01-in.jsonld
│ ├── li02-out.jsonld
│ ├── li04-out.jsonld
│ ├── li06-out.jsonld
│ ├── p001-out.jsonld
│ ├── so01-in.jsonld
│ ├── so08-out.jsonld
│ ├── so11-out.jsonld
│ ├── c022-out.jsonld
│ ├── en03-in.jsonld
│ ├── js23-in.jsonld
│ ├── pr06-out.jsonld
│ ├── so09-out.jsonld
│ ├── so12-in.jsonld
│ ├── 0022-out.jsonld
│ ├── 0114-out.jsonld
│ ├── c034-context.jsonld
│ ├── en02-in.jsonld
│ ├── er37-in.jsonld
│ ├── er41-in.jsonld
│ ├── js22-in.jsonld
│ ├── li08-out.jsonld
│ ├── so02-in.jsonld
│ ├── 0053-out.jsonld
│ ├── 0054-out.jsonld
│ ├── 0055-out.jsonld
│ ├── 0117-out.jsonld
│ ├── c037-out.jsonld
│ ├── er07-in.jsonld
│ ├── er08-in.jsonld
│ ├── er09-in.jsonld
│ ├── js01-out.jsonld
│ ├── js02-out.jsonld
│ ├── js03-out.jsonld
│ ├── js04-out.jsonld
│ ├── js05-out.jsonld
│ ├── li01-out.jsonld
│ ├── li03-out.jsonld
│ ├── li05-out.jsonld
│ ├── so10-context.jsonld
│ ├── e052-in.jsonld
│ ├── er02-in.jsonld
│ ├── er03-in.jsonld
│ ├── er05-in.jsonld
│ ├── pr41-out.jsonld
│ ├── so08-context.jsonld
│ ├── so11-context.jsonld
│ ├── c030-in.jsonld
│ ├── e053-in.jsonld
│ ├── en05-in.jsonld
│ ├── er51-in.jsonld
│ ├── er54-in.jsonld
│ ├── js06-out.jsonld
│ ├── js07-out.jsonld
│ ├── js14-out.jsonld
│ ├── js15-in.jsonld
│ ├── js15-out.jsonld
│ ├── js16-out.jsonld
│ ├── so03-in.jsonld
│ ├── 0090-out.jsonld
│ ├── 0129-out.jsonld
│ ├── 0130-out.jsonld
│ ├── c001-out.jsonld
│ ├── c034-out.jsonld
│ ├── er04-in.jsonld
│ ├── er11-in.jsonld
│ ├── er38-in.jsonld
│ ├── li07-out.jsonld
│ ├── 0076-out.jsonld
│ ├── 0089-out.jsonld
│ ├── di09-in.jsonld
│ ├── en01-in.jsonld
│ ├── en06-in.jsonld
│ ├── er01-in.jsonld
│ ├── er18-in.jsonld
│ ├── er25-in.jsonld
│ ├── js23-out.jsonld
│ ├── so05-context.jsonld
│ ├── so06-context.jsonld
│ ├── 0058-out.jsonld
│ ├── 0091-out.jsonld
│ ├── c002-out.jsonld
│ ├── er15-in.jsonld
│ ├── js18-out.jsonld
│ ├── js22-out.jsonld
│ ├── li06-in.jsonld
│ ├── li08-in.jsonld
│ ├── n001-out.jsonld
│ ├── n002-out.jsonld
│ ├── pr24-out.jsonld
│ ├── 0089-in.jsonld
│ ├── 0109-out.jsonld
│ ├── 0129-in.jsonld
│ ├── di08-in.jsonld
│ ├── en04-in.jsonld
│ ├── er10-in.jsonld
│ ├── er19-in.jsonld
│ ├── er20-in.jsonld
│ ├── js17-out.jsonld
│ ├── js19-out.jsonld
│ ├── js20-out.jsonld
│ ├── li05-in.jsonld
│ ├── li07-in.jsonld
│ ├── li10-in.jsonld
│ ├── 0022-in.jsonld
│ ├── 0090-in.jsonld
│ ├── 0126-in.jsonld
│ ├── 0127-in.jsonld
│ ├── 0130-in.jsonld
│ ├── er42-in.jsonld
│ ├── li04-in.jsonld
│ ├── li09-in.jsonld
│ ├── n001-in.jsonld
│ ├── 0072-out.jsonld
│ ├── c036-out.jsonld
│ ├── e054-in.jsonld
│ ├── er24-in.jsonld
│ ├── in07-in.jsonld
│ ├── li03-in.jsonld
│ ├── li10-out.jsonld
│ ├── n008-out.jsonld
│ ├── so09-context.jsonld
│ ├── so13-in.jsonld
│ ├── 0123-in.jsonld
│ ├── p002-out.jsonld
│ ├── p003-out.jsonld
│ ├── p004-out.jsonld
│ ├── pr37-out.jsonld
│ ├── 0019-in.jsonld
│ ├── 0051-out.jsonld
│ ├── 0119-out.jsonld
│ ├── 0125-out.jsonld
│ ├── c011-out.jsonld
│ ├── ec01-in.jsonld
│ ├── er48-in.jsonld
│ ├── 0124-out.jsonld
│ ├── c003-out.jsonld
│ ├── c023-out.jsonld
│ ├── c027-out.jsonld
│ ├── c028-out.jsonld
│ ├── er12-in.jsonld
│ ├── er26-in.jsonld
│ ├── in08-in.jsonld
│ ├── in09-in.jsonld
│ ├── li09-out.jsonld
│ ├── m013-out.jsonld
│ ├── m014-out.jsonld
│ ├── m015-out.jsonld
│ ├── m016-out.jsonld
│ ├── pr23-out.jsonld
│ ├── pr27-out.jsonld
│ └── so13-context.jsonld
│ ├── flatten
│ ├── 0001-out.jsonld
│ ├── 0003-out.jsonld
│ ├── 0019-out.jsonld
│ ├── 0001-in.jsonld
│ ├── li02-in.jsonld
│ ├── 0044-context.jsonld
│ ├── li02-out.jsonld
│ ├── 0044-in.jsonld
│ ├── li01-in.jsonld
│ ├── 0022-in.jsonld
│ ├── li01-out.jsonld
│ └── 0019-in.jsonld
│ └── fromRdf
│ ├── 0023-in.nq
│ ├── di01-in.nq
│ ├── di02-in.nq
│ ├── di05-in.nq
│ ├── di06-in.nq
│ ├── di09-in.nq
│ ├── di10-in.nq
│ ├── 0026-in.nq
│ ├── li01-out.jsonld
│ ├── js01-in.nq
│ ├── js02-in.nq
│ ├── js04-in.nq
│ ├── js03-in.nq
│ ├── js05-in.nq
│ ├── js09-in.nq
│ ├── js11-in.nq
│ ├── 0024-in.nq
│ ├── js01-out.jsonld
│ ├── js04-out.jsonld
│ ├── js08-in.nq
│ ├── di05-out.jsonld
│ ├── di11-out.jsonld
│ ├── js02-out.jsonld
│ ├── js03-out.jsonld
│ ├── js05-out.jsonld
│ ├── js06-in.nq
│ ├── js07-in.nq
│ ├── js10-in.nq
│ ├── js06-out.jsonld
│ └── js07-out.jsonld
├── support
└── mocks.ex
├── test_helper.exs
└── unit
└── json_ld_test.exs
/VERSION:
--------------------------------------------------------------------------------
1 | 1.0.0
2 |
--------------------------------------------------------------------------------
/priv/plts/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/config/dev.exs:
--------------------------------------------------------------------------------
1 | import Config
2 |
--------------------------------------------------------------------------------
/config/prod.exs:
--------------------------------------------------------------------------------
1 | import Config
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r006-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r007-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e001-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e003-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e019-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e045-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e046-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/wf01-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/wf02-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/wf03-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/wf05-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/wf07-out.nq:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0001-out.jsonld:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0003-out.jsonld:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep05-in.jsonld:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep06-in.jsonld:
--------------------------------------------------------------------------------
1 | {}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e007-out.jsonld:
--------------------------------------------------------------------------------
1 | []
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/index.html:
--------------------------------------------------------------------------------
1 | manifest.html
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0004-in.jldte:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0001-out.jsonld:
--------------------------------------------------------------------------------
1 | [ ]
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0003-out.jsonld:
--------------------------------------------------------------------------------
1 | [ ]
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0019-out.jsonld:
--------------------------------------------------------------------------------
1 | [ ]
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0045-out.jsonld:
--------------------------------------------------------------------------------
1 | [ ]
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0046-out.jsonld:
--------------------------------------------------------------------------------
1 | [ ]
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/flatten/0001-out.jsonld:
--------------------------------------------------------------------------------
1 | [ ]
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/flatten/0003-out.jsonld:
--------------------------------------------------------------------------------
1 | [ ]
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/flatten/0019-out.jsonld:
--------------------------------------------------------------------------------
1 | [ ]
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e006-in.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e007-in.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r006-in.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r007-in.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er27-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": true
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er27-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": true
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er28-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@type": true
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er28-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@type": true
3 | }
--------------------------------------------------------------------------------
/test/support/mocks.ex:
--------------------------------------------------------------------------------
1 | Mox.defmock(JSON.LD.MockAdapter, for: Tesla.Adapter)
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr41-out.nq:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/test/test_helper.exs:
--------------------------------------------------------------------------------
1 | ExUnit.start()
2 | Application.ensure_all_started(:bypass)
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0001-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {}
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0003-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {}
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0039-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {}
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0040-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {}
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0046-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {}
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0051-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {}
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0130-out.nq:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e125-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "bar" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0001-in.jsonld:
--------------------------------------------------------------------------------
1 | {"@id": "http://example.org/test#example"}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/en01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": "bar"
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep07-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": "bar"
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep08-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": "bar"
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep10-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": "bar"
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep11-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": "bar"
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep12-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": "bar"
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0001-in.jsonld:
--------------------------------------------------------------------------------
1 | {"@id": "http://example.org/test#example"}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/flatten/0001-in.jsonld:
--------------------------------------------------------------------------------
1 | {"@id": "http://example.org/test#example"}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r010-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "<&>" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0009-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "bar" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0131-out.nq:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e001-in.jsonld:
--------------------------------------------------------------------------------
1 | {"@id": "http://example.org/test#example"}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e022-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "v"@en .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e124-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "bar" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr24-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "foobar" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep09-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo/bar/": "bar"
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js08-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@version": 1.1}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0008-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "bar" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0132-out.nq:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr06-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so08-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "value" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so11-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "value" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0104-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@type": "http://example.org/type"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0105-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@type": "http://example.org/type"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0106-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@type": "http://example.org/type"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0045-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@value": "free-floating value"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/e003-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e003-in.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/e053-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e053-in.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0010-in.json:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "",
3 | "term": "value"
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0011-in.jldt:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "",
3 | "term": "value"
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0012-in.json:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "",
3 | "term": "value"
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0013-in.json:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "",
3 | "term": "value"
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e045-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@value": "free-floating value"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e090-out.nq:
--------------------------------------------------------------------------------
1 | "value" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e126-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | _:b0 "v" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e127-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | _:b0 "v" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e128-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | _:b0 "v" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e129-out.nq:
--------------------------------------------------------------------------------
1 | "value" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e130-out.nq:
--------------------------------------------------------------------------------
1 | "value" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/ec02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@type": {}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/p001-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so09-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "value" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0072-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.com/foo": "foo-value"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/di02-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"direction": "@direction"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/ec02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@type": {}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/ep02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/ep03-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.0
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er29-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/prop": {"@value": ["foo"]}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/pr34-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@type": ["http://example.com/IgnoreTest"]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/pr35-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@type": ["http://example.com/IgnoreTest"]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/pr36-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@type": ["http://example.com/IgnoreTest"]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/pr38-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@type": ["http://example.com/IgnoreTest"]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/c003-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"ex": "http://example.com/"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/f003-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"ex": "http://example.com/"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r019-out.nq:
--------------------------------------------------------------------------------
1 | "bar" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e053-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e054-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e055-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e076-out.nq:
--------------------------------------------------------------------------------
1 | "value" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e079-out.nq:
--------------------------------------------------------------------------------
1 | _:b2 "x" _:b1 .
2 | _:b0 _:b1 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e080-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b2 "x" _:b1 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e089-out.nq:
--------------------------------------------------------------------------------
1 | "value" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/ep02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/ep03-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.0
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er29-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/prop": {"@value": ["foo"]}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/r001-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"b": "http://example.com/b"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/r002-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"b": "http://example.com/b"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0127-context-2.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "0127-context-1.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0128-context-1.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "0128-context-3.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0128-context-2.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "0128-context-3.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/c029-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@propagate": true
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/e054-context-1.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e054-context-2.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/e054-context-2.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e054-context-1.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r020-out.nq:
--------------------------------------------------------------------------------
1 | "bar" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r021-out.nq:
--------------------------------------------------------------------------------
1 | "bar" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r022-out.nq:
--------------------------------------------------------------------------------
1 | "foo" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0114-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c029-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@propagate": true
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c037-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "should be in /nest" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e038-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e068-out.nq:
--------------------------------------------------------------------------------
1 | _:b1 _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e072-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "value of term" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e125-context-2.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e125-context-1.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e126-context-1.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e126-context-3.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e126-context-2.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e126-context-3.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e127-context-2.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e127-context-1.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e128-context-1.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e128-context-3.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e128-context-2.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e128-context-3.jsonld"
3 | }
4 |
--------------------------------------------------------------------------------
/test/unit/json_ld_test.exs:
--------------------------------------------------------------------------------
1 | defmodule JSON.LDTest do
2 | use ExUnit.Case
3 |
4 | doctest JSON.LD
5 | end
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep05-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep06-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.0
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/r001-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "a",
3 | "http://example.com/b": {"@id": "c"}
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/tn02-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/notype": [{"@value": "string"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/tn03-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/notype": [{"@value": "string"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.com/foo": {"@list": [{"@list": []}]}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/flatten/li02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.com/foo": {"@list": [{"@list": []}]}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e010-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example/foo": [{"@value": "<&>"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e051-out.nq:
--------------------------------------------------------------------------------
1 | "ok" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e058-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e076-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "relative-iri",
3 | "http://prop": "value"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e091-out.nq:
--------------------------------------------------------------------------------
1 | "value" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e117-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er40-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@value": "bar", "@type": "_:dt"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0072-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@language": "en"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0075-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.com/core#associated": { "@id": "#Light"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/e002-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "tag:champin.net,2019:prop": {"@value": "hello world"}
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/li01-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": []}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/pr01-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example/a": [{"@id": "http://example.org/foo"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/pr02-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example/a": [{"@id": "http://example.org/foo"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0076-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "relative-iri",
3 | "http://prop": "value"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er06-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": true,
3 | "@id": "http://example/test#example"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er30-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/prop": {"@value": "foo", "@language": true}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er32-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.com/foo": {"@list": [{"@list": ["baz"]}]}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er33-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/prop": {
3 | "@reverse": true
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er39-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@value": true, "@language": "en"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er40-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@value": "bar", "@type": "_:dt"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.com/foo": {"@list": [{"@list": ["baz"]}]}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li02-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": []}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li04-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": []}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li06-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": []}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/p001-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example/a": [{"@id": "http://example.org/foo"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@import": "so01-in.jsonld"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so08-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/redefined": [{"@value": "value"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so11-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/redefined": [{"@value": "value"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e001-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@value": "bar"}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e002-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@value": "bar"}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e008-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@value": "bar"}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c003-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b1 "baz" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c031-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b1 "ab" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er06-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": true,
3 | "@id": "http://example/test#example"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er30-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/prop": {"@value": "foo", "@language": true}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er32-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.com/foo": {"@list": [{"@list": ["baz"]}]}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er33-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/prop": {
3 | "@reverse": true
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er39-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@value": true, "@language": "en"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@import": "so01-in.jsonld"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0051-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/term": {
3 | "@list": [1]
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0051-out.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/term": {
3 | "@list": [1]
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0070-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": "http://example/term"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0076-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@base": "http://example.com/api/things/1"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/c022-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@type": ["ex:Type"],
3 | "ex:foo": [{"@id": "ex:Bar"}]
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/di02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/foo": {"@value": "bar", "@direction": "ltr"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep15-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@graph": {"http://example/bar": "bar"}}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/c022-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@type": ["ex:Type"],
3 | "ex:foo": [{"@id": "ex:Bar"}]
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/en03-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@vocab": "http://example.org/"},
3 | "@nest": 1
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js23-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/vocab#null": {"@value": [], "@type": "@json"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/pr06-out.jsonld:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "http://example.com/unprotected": [{}]
4 | }
5 | ]
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so09-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/redefined/term": [{"@value": "value"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so12-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@import": "so12-in.jsonld"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/flatten/0044-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": "http://example/term"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r003-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "foo" .
2 | _:b1 "bar" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/la01-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/content": [{"@value": "alternate"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/la02-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/content": [{"@value": "not skipped"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/la03-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/content": [{"@value": "not skipped"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/la04-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/content": [{"@value": "not skipped"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0113-out.nq:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c001-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b1 "baz" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c034-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "bar": "http://example.org/bar"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c034-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b1 "baz" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c036-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b0 "top" .
3 | _:b1 "sub" .
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/di09-in.jsonld:
--------------------------------------------------------------------------------
1 | {"http://example.org/label": {"@value": "no language", "@direction": "rtl"}}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/di11-in.jsonld:
--------------------------------------------------------------------------------
1 | {"http://example.org/label": {"@value": "no language", "@direction": "rtl"}}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/en02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@vocab": "http://example.org/"},
3 | "@nest": true
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/en03-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@vocab": "http://example.org/"},
3 | "@nest": 1
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js23-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/vocab#null": {"@value": [], "@type": "@json"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/n001-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "v2" .
2 | _:b0 "v1" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/n002-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "v2" .
2 | _:b0 "v1" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so12-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@import": "so12-in.jsonld"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/config/config.exs:
--------------------------------------------------------------------------------
1 | import Config
2 |
3 | import_config "#{Mix.env()}.exs"
4 |
5 | config :tesla, :adapter, Tesla.Adapter.Hackney
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0012-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "ex": "http://example.org/vocab#"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0013-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "ex": "http://example.org/vocab#"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0075-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "ns": "http://example.com/core#"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0104-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@type": {"@container": "@set"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0022-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/term": [{"@value": "v", "@language": "en"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0114-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@type": ["http://example.org/Type1", "http://example.org/Type2"]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/c034-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "bar": "http://example.org/bar"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/en02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@vocab": "http://example.org/"},
3 | "@nest": true
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er37-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@value": "bar", "@id": "http://example/baz"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er41-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/prop": {"@list": ["foo"], "@id": "http://example/bar"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js22-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/vocab#null": {"@value": null, "@type": "@json"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li08-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": [{"@list": []}]}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1,
4 | "@import": {}
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0023-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": { "chem": "http://example/chem#"},
3 | "chem:protons": 12
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/di09-out.nq:
--------------------------------------------------------------------------------
1 | _:a "no language"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/di10-out.nq:
--------------------------------------------------------------------------------
1 | _:a "en-US"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e109-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | _:b0 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er07-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@base": true},
3 | "@id": "http://example/test#example"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er37-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@value": "bar", "@id": "http://example/baz"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er41-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/prop": {"@list": ["foo"], "@id": "http://example/bar"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js19-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "{\"test\":1}"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js20-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "{\"test\":1}"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js22-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/vocab#null": {"@value": null, "@type": "@json"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1,
4 | "@import": {}
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/wf01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://example.com/a b",
3 | "http://example.com/foo": "bar"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/wf02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://example.com/foo",
3 | "http://example.com/a b": "bar"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0053-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/term": [{"@id": "http://example.org/enum"}]
3 | }]
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0054-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/term": [{"@id": "http://example.org/enum"}]
3 | }]
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0056-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/term": [{"@id": "http://example.org/enum"}]
3 | }]
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0058-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/term": [{"@id": "http://example.org/enum"}]
3 | }]
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0071-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "foo": "http://example.com/foo"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0076-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://example.com/api/things/1",
3 | "http://example.com": ""
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/c001-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example/foo": [{"http://example.org/bar": [{"@value": "baz"}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/c028-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "ex:title": "top",
3 | "ex:thing": {
4 | "ex:title": "sub"
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/e001-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/list": {"@list": [{"@list": ["foo"]}, {"@list": ["bar"]}]}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/e002-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "tag": "http://example.org/ns/tag/"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js01-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#bool": [{"@value": true, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js02-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#bool": [{"@value": false, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js03-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#double": [{"@value": 1.23, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js04-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#double": [{"@value": 0.0e0, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js05-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#integer": [{"@value": 123, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/li02-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": [{"@value": "baz"}]}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/n010-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/foo": "bar",
3 | "http://example.org/bar": "foo"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0053-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/term": [{"@id": "http://example.org/enum"}]
3 | }]
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0054-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/term": [{"@id": "http://example.org/enum"}]
3 | }]
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0055-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/term": [{"@id": "http://example.org/enum"}]
3 | }]
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0117-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab:term": [{"@id": "http://example.org/base"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/c037-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/nest/property": [{"@value": "should be in /nest"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er07-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@base": true},
3 | "@id": "http://example/test#example"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er08-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@vocab": true},
3 | "@id": "http://example/test#example"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er09-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@language": true},
3 | "@id": "http://example/test#example"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js01-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#bool": [{"@value": true, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js02-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#bool": [{"@value": false, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js03-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#double": [{"@value": 1.23, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js04-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#double": [{"@value": 0.0e0, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js05-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#integer": [{"@value": 123, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li01-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": [{"@value": "baz"}]}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li03-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": [{"@value": "baz"}]}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li05-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": [{"@value": "baz"}]}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so10-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": "http://example.org/protected"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0001-out.nq:
--------------------------------------------------------------------------------
1 | "Gregg Kellogg" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0002-out.nq:
--------------------------------------------------------------------------------
1 | "Gregg Kellogg" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0008-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"d": "http://example.com/default#"},
3 | "d:foo": "bar"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0009-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foo": "http://example.com/default#"},
3 | "foo:": "bar"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0016-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "",
3 | "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0017-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "a/b",
3 | "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0022-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "5.3E0"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0023-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "12"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0024-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "true"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c002-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b1 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e032-out.nq:
--------------------------------------------------------------------------------
1 | "Markus Lanthaler" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e075-out.nq:
--------------------------------------------------------------------------------
1 | _:b1 "blank node property 1" .
2 | _:b2 "blank node property 1" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e081-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b3 "x" _:b2 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e082-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b2 "x" _:b1 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e083-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b2 "x" _:b1 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e084-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b2 "x" _:b1 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er08-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@vocab": true},
3 | "@id": "http://example/test#example"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er09-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@language": true},
3 | "@id": "http://example/test#example"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/in01-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "value" .
2 | _:b1 "value2" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/in02-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "value" .
2 | _:b1 "value2" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/in03-out.nq:
--------------------------------------------------------------------------------
1 | _:b1 "value1" .
2 | _:b2 "value2" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/m013-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b2 "x" _:b1 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/m014-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b2 "x" _:b1 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/m015-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b2 "x" _:b1 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/m016-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b2 "x" _:b1 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr34-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr35-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr36-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr38-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so08-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": "http://example.org/sourced"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so10-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": "http://example.org/protected"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so11-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": "http://example.org/sourced"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/p001-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "ex": {"@id": "http://example.org/"}
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/p002-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "ex": {"@id": "http://example.org/"}
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/p007-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://example.org/bar/a",
3 | "http://example.org/bar/b": "c"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/e052-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e052-in.jsonld",
3 | "@id": "http://example/test#example"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "er02-in.jsonld",
3 | "@id": "http://example/test#example"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er03-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "er03-in.jsonld",
3 | "@id": "http://example/test#example"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er05-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@context": "er05-in.jsonld",
3 | "@id": "http://example/test#example"
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/pr41-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "ex:outer",
3 | "ex:foo": [{
4 | "@id": "ex:inner"
5 | }]
6 | }]
7 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so08-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": "http://example.org/sourced"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so11-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": "http://example.org/sourced"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/flatten/li02-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "_:b0",
3 | "http://example.com/foo": [{"@list": [{"@list": []}]}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/r018-out.nq:
--------------------------------------------------------------------------------
1 | "bar" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0009-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@vocab": "http://example/vocab#"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0010-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@vocab": "http://example/vocab#"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0011-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@vocab": "http://example/vocab#"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0012-context1.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@vocab": "http://example/vocab#"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0012-context2.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@vocab": "http://example/vocab#"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0003-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foaf": "http://xmlns.com/foaf/0.1/"},
3 | "@type": "foaf:Person"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0003-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0004-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "A plain literal with a lang tag."@en-us .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0018-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "#frag",
3 | "@type": "http://www.w3.org/2000/01/rdf-schema#Resource"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0024-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": { "sensor": "http://example/sensor#"},
3 | "sensor:active": true
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/di10-in.jsonld:
--------------------------------------------------------------------------------
1 | {"http://example.org/label": {"@value": "en-US", "@language": "en-US", "@direction": "rtl"}}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/di12-in.jsonld:
--------------------------------------------------------------------------------
1 | {"http://example.org/label": {"@value": "en-US", "@language": "en-US", "@direction": "rtl"}}
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e113-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "second" .
2 | _:b0 "first" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "er02-in.jsonld",
3 | "@id": "http://example/test#example"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er03-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "er03-in.jsonld",
3 | "@id": "http://example/test#example"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er05-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@context": "er05-in.jsonld",
3 | "@id": "http://example/test#example"
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er54-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "ex:prop": {
3 | "@value": "value",
4 | "@type": ["ex:a", "ex:b"]
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js01-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "true"^^ .
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js02-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "false"^^ .
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js03-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "1.23"^^ .
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js04-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "0"^^ .
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js05-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "123"^^ .
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js15-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}]
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr23-out.nq:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr27-out.nq:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0031-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "name": "http://xmlns.com/foaf/0.1/name"
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0048-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.com/propertyA": 5,
3 | "http://example.com/propertyB": 5
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0105-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "type": {"@id": "@type", "@container": "@set"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0106-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "type": {"@id": "@type", "@container": "@set"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep13-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@id": "http://example/foo", "http://example/bar": "bar"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep14-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@type": "http://example/foo", "http://example/bar": "bar"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js06-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js07-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#array": [{"@value": [{"foo": "bar"}], "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js08-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js09-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/li01-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/li02-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/li03-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/li04-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/li05-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/c030-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1,
4 | "@propagate": "not boolean"
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/e053-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "e053-context.jsonld",
3 | "@id": "http://example/test#example"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/en05-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": {"@id": "http://example/term", "@nest": "@id"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er51-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"value": "@value"},
3 | "http://example/prop": {"value": ["foo"]}
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er54-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "ex:prop": {
3 | "@value": "value",
4 | "@type": ["ex:a", "ex:b"]
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js06-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js07-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#array": [{"@value": [{"foo": "bar"}], "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js14-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#array": [{"@value": [{"e": "bar"}], "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js15-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}]
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js15-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js16-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#object": [{"@value": {"foo": "bar"}, "@type": "@json"}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so03-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1,
4 | "@import": "so03-in.jsonld"
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/0009-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "",
3 | "http://example/0009/term": "value1",
4 | "term": "value2"
5 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0019-out.nq:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0022-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": { "measure": "http://example/measure#"},
3 | "measure:cups": 5.3
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c022-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | _:b0 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c030-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1,
4 | "@propagate": "not boolean"
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e047-out.nq:
--------------------------------------------------------------------------------
1 | "nodes with properties are not removed" .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/en05-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": {"@id": "http://example/term", "@nest": "@id"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er11-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": true
4 | },
5 | "@id": "http://example/test#example"
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er51-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"value": "@value"},
3 | "http://example/prop": {"value": ["foo"]}
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js18-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "null"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js22-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "null"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js23-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "[]"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/li02-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://example/A",
3 | "http://example.com/foo": {"@list": [{"@list": []}]}
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr40-out.nq:
--------------------------------------------------------------------------------
1 | "baz" .
2 | .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/pr43-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | "p === ex:protected2" _:b0 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so03-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1,
4 | "@import": "so03-in.jsonld"
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0070-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://example/foo",
3 | "http://example/term": [{"@value": "value"}]
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0111-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.org/address": {
3 | "@id": "http://localhost/@special"
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/di01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example.com/term": [
3 | "v5",
4 | {"@value": "plain literal"}
5 | ]
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep07-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "foo": {"@id": "http://example/foo", "@prefix": true}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep10-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "foo": {"@id": "http://example/foo", "@nest": "@nest"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep11-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "foo": {"@id": "http://example/foo", "@context": {}}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js09-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@version": 1.1, "value": "@value", "type": "@type", "json": "@json"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/li03-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": [{"@list": [{"@value": "baz"}]}]}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/r001-out.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"b": "http://example.com/b"},
3 | "@id": "a",
4 | "b": {"@id": "c"}
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0090-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://example/relative-iri",
3 | "http://prop": [{"@value": "value"}]
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0129-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://example/relative-iri",
3 | "http://prop": [{"@value": "value"}]
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0130-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://example/relative-iri",
3 | "http://prop": [{"@value": "value"}]
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/c001-out.jsonld:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "http://example/foo": [{"http://example.org/bar": [{"@value": "baz"}]}]
4 | }
5 | ]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/c034-out.jsonld:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "http://example/foo": [{"http://example.org/bar": [{"@value": "baz"}]}]
4 | }
5 | ]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er04-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "tag:non-dereferencable-iri",
3 | "@id": "http://example/test#example"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er11-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": true
4 | },
5 | "@id": "http://example/test#example"
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er38-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@value": "bar", "@language": "en", "@type": "http://example/type"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li07-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": [{"@list": [{"@value": "baz"}]}]}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/flatten/0044-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://example/foo",
3 | "http://example/term": [{"@value": "value"}]
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/flatten/li01-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.com/foo": [{"@list": [{"@list": [{"@list": [{"@value": "baz"}]}]}]}]
3 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/fromRdf/0023-in.nq:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/fromRdf/di01-in.nq:
--------------------------------------------------------------------------------
1 | "no language"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/fromRdf/di02-in.nq:
--------------------------------------------------------------------------------
1 | "en-US"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/fromRdf/di05-in.nq:
--------------------------------------------------------------------------------
1 | "no language"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/fromRdf/di06-in.nq:
--------------------------------------------------------------------------------
1 | "en-US"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/fromRdf/di09-in.nq:
--------------------------------------------------------------------------------
1 | "no language"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/fromRdf/di10-in.nq:
--------------------------------------------------------------------------------
1 | "en-US"^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e019-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://a.example.com/doc",
3 | "http://example.com/foo": [{"@value": "bar"}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e020-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://a.example.com/base",
3 | "http://example.com/foo": [{"@value": "bar"}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e021-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://a.example.com/base",
3 | "http://example.com/foo": [{"@value": "bar"}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/html/e022-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://a.example.com/base",
3 | "http://example.com/bar": [{"@value": "foo"}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/0007-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://greggkellogg.net/foaf#me",
3 | "@type": "http://xmlns.com/foaf/0.1/Person"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/e119-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "allowed" .
2 | _:b0 "allowed" .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/en06-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": {"@reverse": "http://example/term", "@nest": "@nest"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@type": "@id"
4 | },
5 | "@type": "http://example.org/type"
6 | }
7 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er04-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": "tag:non-dereferencable-iri",
3 | "@id": "http://example/test#example"
4 | }
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er38-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "http://example/foo": {"@value": "bar", "@language": "en", "@type": "http://example/type"}
3 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/li01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://example/A",
3 | "http://example.com/foo": {"@list": [{"@list": ["baz"]}]}
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so06-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "baz": {"@id": "http://example.com/baz", "@type": "@id"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/wf04-out.nq:
--------------------------------------------------------------------------------
1 | .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/en01-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": {"@id": "http://example/foo", "@nest": "unknown"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep08-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "foo": {"@id": "http://example/foo", "@prefix": "string"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep13-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "foo": {"@id": "http://example/foo", "@container": "@id"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep14-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "foo": {"@id": "http://example/foo", "@container": "@type"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/in02-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1,
4 | "@vocab": "http://example.org/"
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/in04-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1,
4 | "@vocab": "http://example.org/"
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/in05-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@version": 1.1,
4 | "@vocab": "http://example.org/"
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/r002-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://example.org/a",
3 | "http://example.com/b": {"@id": "http://example.org/c"}
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0076-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://example/base/relative-iri",
3 | "http://prop": [{"@value": "value"}]
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0089-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://example/base/relative-iri",
3 | "http://prop": [{"@value": "value"}]
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/di09-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "ex:p": {
3 | "@value": "v",
4 | "@type": "ex:t",
5 | "@direction": "rtl"
6 | }
7 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/en01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@vocab": "http://example.org/"},
3 | "@nest": "This should generate an error"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/en06-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": {"@reverse": "http://example/term", "@nest": "@nest"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@type": "@id"
4 | },
5 | "@type": "http://example.org/type"
6 | }
7 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er18-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": {"@id": true}
4 | },
5 | "@id": "http://example/test#example"
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er25-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://example/foo",
3 | "@reverse": {
4 | "@id": "http://example/bar"
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js23-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#null": [{
3 | "@value": [],
4 | "@type": "@json"
5 | }]
6 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so05-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "baz": {"@id": "http://example.org/baz", "@type": "@vocab"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/so06-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "baz": {"@id": "http://example.com/baz", "@type": "@id"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/la03-in.json:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@vocab": "http://example.org/"
4 | },
5 | "content": "not skipped"
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/remote-doc/la04-in.json:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@vocab": "http://example.org/"
4 | },
5 | "content": "not skipped"
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c027-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b1 _:b2 .
3 | _:b2 "buzz" .
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/c028-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 _:b1 .
2 | _:b1 _:b2 .
3 | _:b2 "buzz" .
4 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/en01-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"@vocab": "http://example.org/"},
3 | "@nest": "This should generate an error"
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er18-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": {"@id": true}
4 | },
5 | "@id": "http://example/test#example"
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/er25-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://example/foo",
3 | "@reverse": {
4 | "@id": "http://example/bar"
5 | }
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js06-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "{\"foo\":\"bar\"}"^^ .
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js07-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 "[{\"foo\":\"bar\"}]"^^ .
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/js17-out.nq:
--------------------------------------------------------------------------------
1 | _:c14n0 "\"string\""^^ .
2 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/li06-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}},
3 | "foo": [[]]
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/p002-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | _:b0 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/p003-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | _:b0 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/p004-out.nq:
--------------------------------------------------------------------------------
1 | _:b0 .
2 | _:b0 .
3 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/so05-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "baz": {"@id": "http://example.org/baz", "@type": "@vocab"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/toRdf/wf04-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@id": "http://example.com/foo",
3 | "@type": ["http://example.com/bar", "http://in valid"]
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0042-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "listAlias": "@list",
4 | "indexAlias": "@index"
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0049-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "property": { "@id": "http://example.org", "@type": "@id" }
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/0095-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "@base": "http://example.com/some/",
4 | "@vocab": ""
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/c002-in.jsonld:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "http://example/foo": [{"http://example/bar": [{"@id": "http://example/baz"}]}]
4 | }
5 | ]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep12-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "foo": {"@id": "http://example/foo", "@container": ["@set"]}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/ep15-context.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "foo": {"@id": "http://example/foo", "@container": "@graph"}
4 | }
5 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/js11-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#null": [{
3 | "@value": null,
4 | "@type": "@json"
5 | }]
6 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/li01-out.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}},
3 | "foo": [[]]
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/n001-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/p1": [{"@value": "v1"}],
3 | "http://example.org/p2": [{"@value": "v2"}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/n002-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/p1": [{"@value": "v1"}],
3 | "http://example.org/p2": [{"@value": "v2"}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/n003-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/p1": [{"@value": "v1"}],
3 | "http://example.org/p2": [{"@value": "v2"}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/compact/n011-in.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/p1": [{"@value": "v1"}],
3 | "http://example.org/p2": [{"@value": "v2"}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0058-out.jsonld:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "http://example.org/term": [ { "@id": "http://example.com/vocab#suffix" } ]
4 | }
5 | ]
6 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/0091-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "@id": "http://foo.bar/baz/example/relative-iri",
3 | "http://prop": [{"@value": "value"}]
4 | }]
5 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/c002-out.jsonld:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "http://example/foo": [{"http://example/bar": [{"@id": "http://example/baz"}]}]
4 | }
5 | ]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/er15-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {
3 | "term": {"@reverse": true}
4 | },
5 | "@id": "http://example/test#example"
6 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js18-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#null": [{
3 | "@value": null,
4 | "@type": "@json"
5 | }]
6 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/js22-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/vocab#null": [{
3 | "@value": null,
4 | "@type": "@json"
5 | }]
6 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li06-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}},
3 | "foo": [[]]
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/li08-in.jsonld:
--------------------------------------------------------------------------------
1 | {
2 | "@context": {"foo": {"@id": "http://example.com/foo", "@container": "@list"}},
3 | "foo": [[[]]]
4 | }
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/n001-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/p1": [{"@value": "v1"}],
3 | "http://example.org/p2": [{"@value": "v2"}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/n002-out.jsonld:
--------------------------------------------------------------------------------
1 | [{
2 | "http://example.org/p1": [{"@value": "v1"}],
3 | "http://example.org/p2": [{"@value": "v2"}]
4 | }]
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/expand/pr24-out.jsonld:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "http://example/foo#bar": [{
4 | "@value": "foobar"
5 | }]
6 | }
7 | ]
8 |
9 |
--------------------------------------------------------------------------------
/test/data/json-ld-api-tests/fromRdf/0026-in.nq:
--------------------------------------------------------------------------------
1 |