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-0120-in.jsonld | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 tests/JSONLDTests/toRdf-0120-in.jsonld (limited to 'tests/JSONLDTests/toRdf-0120-in.jsonld') diff --git a/tests/JSONLDTests/toRdf-0120-in.jsonld b/tests/JSONLDTests/toRdf-0120-in.jsonld new file mode 100644 index 00000000..ad2884b9 --- /dev/null +++ b/tests/JSONLDTests/toRdf-0120-in.jsonld @@ -0,0 +1,47 @@ +{ + "@context": {"@base": "http://a/bb/ccc/d;p?q", "urn:ex:p": {"@type": "@id"}}, + "@graph": [ + {"@id": "urn:ex:s001", "urn:ex:p": "g:h"}, + {"@id": "urn:ex:s002", "urn:ex:p": "g"}, + {"@id": "urn:ex:s003", "urn:ex:p": "./g"}, + {"@id": "urn:ex:s004", "urn:ex:p": "g/"}, + {"@id": "urn:ex:s005", "urn:ex:p": "/g"}, + {"@id": "urn:ex:s006", "urn:ex:p": "//g"}, + {"@id": "urn:ex:s007", "urn:ex:p": "?y"}, + {"@id": "urn:ex:s008", "urn:ex:p": "g?y"}, + {"@id": "urn:ex:s009", "urn:ex:p": "#s"}, + {"@id": "urn:ex:s010", "urn:ex:p": "g#s"}, + {"@id": "urn:ex:s011", "urn:ex:p": "g?y#s"}, + {"@id": "urn:ex:s012", "urn:ex:p": ";x"}, + {"@id": "urn:ex:s013", "urn:ex:p": "g;x"}, + {"@id": "urn:ex:s014", "urn:ex:p": "g;x?y#s"}, + {"@id": "urn:ex:s015", "urn:ex:p": ""}, + {"@id": "urn:ex:s016", "urn:ex:p": "."}, + {"@id": "urn:ex:s017", "urn:ex:p": "./"}, + {"@id": "urn:ex:s018", "urn:ex:p": ".."}, + {"@id": "urn:ex:s019", "urn:ex:p": "../"}, + {"@id": "urn:ex:s020", "urn:ex:p": "../g"}, + {"@id": "urn:ex:s021", "urn:ex:p": "../.."}, + {"@id": "urn:ex:s022", "urn:ex:p": "../../"}, + {"@id": "urn:ex:s023", "urn:ex:p": "../../g"}, + {"@id": "urn:ex:s024", "urn:ex:p": "../../../g"}, + {"@id": "urn:ex:s025", "urn:ex:p": "../../../../g"}, + {"@id": "urn:ex:s026", "urn:ex:p": "/./g"}, + {"@id": "urn:ex:s027", "urn:ex:p": "/../g"}, + {"@id": "urn:ex:s028", "urn:ex:p": "g."}, + {"@id": "urn:ex:s029", "urn:ex:p": ".g"}, + {"@id": "urn:ex:s030", "urn:ex:p": "g.."}, + {"@id": "urn:ex:s031", "urn:ex:p": "..g"}, + {"@id": "urn:ex:s032", "urn:ex:p": "./../g"}, + {"@id": "urn:ex:s033", "urn:ex:p": "./g/."}, + {"@id": "urn:ex:s034", "urn:ex:p": "g/./h"}, + {"@id": "urn:ex:s035", "urn:ex:p": "g/../h"}, + {"@id": "urn:ex:s036", "urn:ex:p": "g;x=1/./y"}, + {"@id": "urn:ex:s037", "urn:ex:p": "g;x=1/../y"}, + {"@id": "urn:ex:s038", "urn:ex:p": "g?y/./x"}, + {"@id": "urn:ex:s039", "urn:ex:p": "g?y/../x"}, + {"@id": "urn:ex:s040", "urn:ex:p": "g#s/./x"}, + {"@id": "urn:ex:s041", "urn:ex:p": "g#s/../x"}, + {"@id": "urn:ex:s042", "urn:ex:p": "http:g"} + ] +} \ No newline at end of file -- cgit v1.2.1