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-0087-in.jsonld | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/JSONLDTests/toRdf-0087-in.jsonld (limited to 'tests/JSONLDTests/toRdf-0087-in.jsonld') diff --git a/tests/JSONLDTests/toRdf-0087-in.jsonld b/tests/JSONLDTests/toRdf-0087-in.jsonld new file mode 100644 index 00000000..90d54114 --- /dev/null +++ b/tests/JSONLDTests/toRdf-0087-in.jsonld @@ -0,0 +1,28 @@ +{ + "@context": { + "property": "http://example.com/property" + }, + "@graph": [ + { + "@set": [ + "free-floating strings in set objects are removed", + { + "@id": "http://example.com/free-floating-node" + }, + { + "@id": "http://example.com/node", + "property": "nodes with properties are not removed" + } + ] + }, + { + "@list": [ + "lists are removed even though they represent an invisible linked structure, they have no real meaning", + { + "@id": "http://example.com/node-in-free-floating-list", + "property": "everything inside a free-floating list is removed with the list; also nodes with properties" + } + ] + } + ] +} -- cgit v1.2.1