diff options
author | David Robillard <d@drobilla.net> | 2017-11-11 14:00:49 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-05-25 11:15:50 +0200 |
commit | 5da18484b9af2406caff5f0daeeb493ead13fc70 (patch) | |
tree | af0d9f683d434c828d14b10b81f33355b1a74fd2 /tests/JSONLDTests/toRdf-0087-in.jsonld | |
parent | d14838cf7217d27e499908fe324ebf4cd7863ed8 (diff) | |
download | serd-5da18484b9af2406caff5f0daeeb493ead13fc70.tar.gz serd-5da18484b9af2406caff5f0daeeb493ead13fc70.tar.bz2 serd-5da18484b9af2406caff5f0daeeb493ead13fc70.zip |
Add JSON-LD test suite
Diffstat (limited to 'tests/JSONLDTests/toRdf-0087-in.jsonld')
-rw-r--r-- | tests/JSONLDTests/toRdf-0087-in.jsonld | 28 |
1 files changed, 28 insertions, 0 deletions
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" + } + ] + } + ] +} |