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-0123-in.jsonld | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 tests/JSONLDTests/toRdf-0123-in.jsonld (limited to 'tests/JSONLDTests/toRdf-0123-in.jsonld') diff --git a/tests/JSONLDTests/toRdf-0123-in.jsonld b/tests/JSONLDTests/toRdf-0123-in.jsonld new file mode 100644 index 00000000..006fa689 --- /dev/null +++ b/tests/JSONLDTests/toRdf-0123-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/../d;p?q", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s127", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s128", "urn:ex:p": "g"}, + {"@id": "urn:ex:s129", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s130", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s131", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s132", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s133", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s134", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s135", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s136", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s137", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s138", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s139", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s140", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s141", "urn:ex:p": ""}, + {"@id": "urn:ex:s142", "urn:ex:p": "."}, + {"@id": "urn:ex:s143", "urn:ex:p": "./"}, + {"@id": "urn:ex:s144", "urn:ex:p": ".."}, + {"@id": "urn:ex:s145", "urn:ex:p": "../"}, + {"@id": "urn:ex:s146", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s147", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s148", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s149", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s150", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s151", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s152", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s153", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s154", "urn:ex:p": "g."}, + {"@id": "urn:ex:s155", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s156", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s157", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s158", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s159", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s160", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s161", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s162", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s163", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s164", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s165", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s166", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s167", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s168", "urn:ex:p": "http:g"} + ] +} \ No newline at end of file -- cgit v1.2.1