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-0054-in.jsonld | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 tests/JSONLDTests/toRdf-0054-in.jsonld (limited to 'tests/JSONLDTests/toRdf-0054-in.jsonld') diff --git a/tests/JSONLDTests/toRdf-0054-in.jsonld b/tests/JSONLDTests/toRdf-0054-in.jsonld new file mode 100644 index 00000000..ba913ff2 --- /dev/null +++ b/tests/JSONLDTests/toRdf-0054-in.jsonld @@ -0,0 +1,50 @@ +{ + "@context": { + "ex": "http://example.org/test#", + "property1": { + "@id": "http://example.org/test#property1", + "@type": "@id" + }, + "property2": { + "@id": "ex:property2", + "@type": "@id" + }, + "uri": "@id", + "set": "@set", + "value": "@value", + "type": "@type", + "xsd": { "@id": "http://www.w3.org/2001/XMLSchema#" } + }, + "property1": { + "uri": "ex:example2", + "http://example.org/test#property4": "foo" + }, + "property2": "http://example.org/test#example3", + "http://example.org/test#property3": { + "uri": "http://example.org/test#example4" + }, + "ex:property4": { + "uri": "ex:example4", + "ex:property5": [ + { + "set": [ + { + "value": "2012-03-31", + "type": "xsd:date" + } + ] + } + ] + }, + "ex:property6": [ + { + "set": [ + { + "value": null, + "type": "xsd:date" + } + ] + } + ], + "uri": "http://example.org/test#example1" +} -- cgit v1.2.1