From 5da18484b9af2406caff5f0daeeb493ead13fc70 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Nov 2017 14:00:49 +0100 Subject: Add JSON-LD test suite --- tests/JSONLDTests/toRdf-0118-in.jsonld | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 tests/JSONLDTests/toRdf-0118-in.jsonld (limited to 'tests/JSONLDTests/toRdf-0118-in.jsonld') diff --git a/tests/JSONLDTests/toRdf-0118-in.jsonld b/tests/JSONLDTests/toRdf-0118-in.jsonld new file mode 100644 index 00000000..17071294 --- /dev/null +++ b/tests/JSONLDTests/toRdf-0118-in.jsonld @@ -0,0 +1,38 @@ +{ + "@context": { + "term": "_:term", + "termId": { "@id": "term", "@type": "@id" } + }, + "@id": "_:term", + "@type": "_:term", + "term": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Bx", + "term": "term" + }, + "plain value", + { + "@id": "_:term" + } + ], + "termId": [ + { + "@id": "_:term", + "@type": "term" + }, + { + "@id": "_:Cx", + "term": "termId" + }, + "term:AppendedToBlankNode", + "_:termAppendedToBlankNode", + "relativeIri", + { + "@id": "_:term" + } + ] +} -- cgit v1.2.1