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-0126-in.jsonld | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 tests/JSONLDTests/toRdf-0126-in.jsonld (limited to 'tests/JSONLDTests/toRdf-0126-in.jsonld') diff --git a/tests/JSONLDTests/toRdf-0126-in.jsonld b/tests/JSONLDTests/toRdf-0126-in.jsonld new file mode 100644 index 00000000..81a64571 --- /dev/null +++ b/tests/JSONLDTests/toRdf-0126-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "file:///a/bb/ccc/d;p?q", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s253", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s254", "urn:ex:p": "g"}, + {"@id": "urn:ex:s255", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s256", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s257", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s258", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s259", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s260", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s261", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s262", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s263", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s264", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s265", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s266", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s267", "urn:ex:p": ""}, + {"@id": "urn:ex:s268", "urn:ex:p": "."}, + {"@id": "urn:ex:s269", "urn:ex:p": "./"}, + {"@id": "urn:ex:s270", "urn:ex:p": ".."}, + {"@id": "urn:ex:s271", "urn:ex:p": "../"}, + {"@id": "urn:ex:s272", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s273", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s274", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s275", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s276", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s277", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s278", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s279", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s280", "urn:ex:p": "g."}, + {"@id": "urn:ex:s281", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s282", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s283", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s284", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s285", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s286", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s287", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s288", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s289", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s290", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s291", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s292", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s293", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s294", "urn:ex:p": "http:g"} + ] +} -- cgit v1.2.1