Skip to content

Commit

Permalink
Merge pull request #395 from json-ld/issue-394-IRI-resolution-tests
Browse files Browse the repository at this point in the history
These IRI normalization tests directly correspond to those for
  • Loading branch information
gkellogg committed Oct 4, 2016
2 parents e4ad7f7 + de6927a commit 55377aa
Show file tree
Hide file tree
Showing 21 changed files with 732 additions and 0 deletions.
47 changes: 47 additions & 0 deletions test-suite/tests/toRdf-0120-in.jsonld
Original file line number Diff line number Diff line change
@@ -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"}
]
}
42 changes: 42 additions & 0 deletions test-suite/tests/toRdf-0120-out.nq
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<urn:ex:s001> <urn:ex:p> <g:h> .
<urn:ex:s002> <urn:ex:p> <http://a/bb/ccc/g> .
<urn:ex:s003> <urn:ex:p> <http://a/bb/ccc/g> .
<urn:ex:s004> <urn:ex:p> <http://a/bb/ccc/g/> .
<urn:ex:s005> <urn:ex:p> <http://a/g> .
<urn:ex:s006> <urn:ex:p> <http://g> .
<urn:ex:s007> <urn:ex:p> <http://a/bb/ccc/d;p?y> .
<urn:ex:s008> <urn:ex:p> <http://a/bb/ccc/g?y> .
<urn:ex:s009> <urn:ex:p> <http://a/bb/ccc/d;p?q#s> .
<urn:ex:s010> <urn:ex:p> <http://a/bb/ccc/g#s> .
<urn:ex:s011> <urn:ex:p> <http://a/bb/ccc/g?y#s> .
<urn:ex:s012> <urn:ex:p> <http://a/bb/ccc/;x> .
<urn:ex:s013> <urn:ex:p> <http://a/bb/ccc/g;x> .
<urn:ex:s014> <urn:ex:p> <http://a/bb/ccc/g;x?y#s> .
<urn:ex:s015> <urn:ex:p> <http://a/bb/ccc/d;p?q> .
<urn:ex:s016> <urn:ex:p> <http://a/bb/ccc/> .
<urn:ex:s017> <urn:ex:p> <http://a/bb/ccc/> .
<urn:ex:s018> <urn:ex:p> <http://a/bb/> .
<urn:ex:s019> <urn:ex:p> <http://a/bb/> .
<urn:ex:s020> <urn:ex:p> <http://a/bb/g> .
<urn:ex:s021> <urn:ex:p> <http://a/> .
<urn:ex:s022> <urn:ex:p> <http://a/> .
<urn:ex:s023> <urn:ex:p> <http://a/g> .
<urn:ex:s024> <urn:ex:p> <http://a/g> .
<urn:ex:s025> <urn:ex:p> <http://a/g> .
<urn:ex:s026> <urn:ex:p> <http://a/g> .
<urn:ex:s027> <urn:ex:p> <http://a/g> .
<urn:ex:s028> <urn:ex:p> <http://a/bb/ccc/g.> .
<urn:ex:s029> <urn:ex:p> <http://a/bb/ccc/.g> .
<urn:ex:s030> <urn:ex:p> <http://a/bb/ccc/g..> .
<urn:ex:s031> <urn:ex:p> <http://a/bb/ccc/..g> .
<urn:ex:s032> <urn:ex:p> <http://a/bb/g> .
<urn:ex:s033> <urn:ex:p> <http://a/bb/ccc/g/> .
<urn:ex:s034> <urn:ex:p> <http://a/bb/ccc/g/h> .
<urn:ex:s035> <urn:ex:p> <http://a/bb/ccc/h> .
<urn:ex:s036> <urn:ex:p> <http://a/bb/ccc/g;x=1/y> .
<urn:ex:s037> <urn:ex:p> <http://a/bb/ccc/y> .
<urn:ex:s038> <urn:ex:p> <http://a/bb/ccc/g?y/./x> .
<urn:ex:s039> <urn:ex:p> <http://a/bb/ccc/g?y/../x> .
<urn:ex:s040> <urn:ex:p> <http://a/bb/ccc/g#s/./x> .
<urn:ex:s041> <urn:ex:p> <http://a/bb/ccc/g#s/../x> .
<urn:ex:s042> <urn:ex:p> <http:g> .
47 changes: 47 additions & 0 deletions test-suite/tests/toRdf-0121-in.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"@context": {"@base": "http://a/bb/ccc/d/", "urn:ex:p": {"@type": "@id"}},
"@graph": [
{"@id": "urn:ex:s043", "urn:ex:p": "g:h"},
{"@id": "urn:ex:s044", "urn:ex:p": "g"},
{"@id": "urn:ex:s045", "urn:ex:p": "./g"},
{"@id": "urn:ex:s046", "urn:ex:p": "g/"},
{"@id": "urn:ex:s047", "urn:ex:p": "/g"},
{"@id": "urn:ex:s048", "urn:ex:p": "//g"},
{"@id": "urn:ex:s049", "urn:ex:p": "?y"},
{"@id": "urn:ex:s050", "urn:ex:p": "g?y"},
{"@id": "urn:ex:s051", "urn:ex:p": "#s"},
{"@id": "urn:ex:s052", "urn:ex:p": "g#s"},
{"@id": "urn:ex:s053", "urn:ex:p": "g?y#s"},
{"@id": "urn:ex:s054", "urn:ex:p": ";x"},
{"@id": "urn:ex:s055", "urn:ex:p": "g;x"},
{"@id": "urn:ex:s056", "urn:ex:p": "g;x?y#s"},
{"@id": "urn:ex:s057", "urn:ex:p": ""},
{"@id": "urn:ex:s058", "urn:ex:p": "."},
{"@id": "urn:ex:s059", "urn:ex:p": "./"},
{"@id": "urn:ex:s060", "urn:ex:p": ".."},
{"@id": "urn:ex:s061", "urn:ex:p": "../"},
{"@id": "urn:ex:s062", "urn:ex:p": "../g"},
{"@id": "urn:ex:s063", "urn:ex:p": "../.."},
{"@id": "urn:ex:s064", "urn:ex:p": "../../"},
{"@id": "urn:ex:s065", "urn:ex:p": "../../g"},
{"@id": "urn:ex:s066", "urn:ex:p": "../../../g"},
{"@id": "urn:ex:s067", "urn:ex:p": "../../../../g"},
{"@id": "urn:ex:s068", "urn:ex:p": "/./g"},
{"@id": "urn:ex:s069", "urn:ex:p": "/../g"},
{"@id": "urn:ex:s070", "urn:ex:p": "g."},
{"@id": "urn:ex:s071", "urn:ex:p": ".g"},
{"@id": "urn:ex:s072", "urn:ex:p": "g.."},
{"@id": "urn:ex:s073", "urn:ex:p": "..g"},
{"@id": "urn:ex:s074", "urn:ex:p": "./../g"},
{"@id": "urn:ex:s075", "urn:ex:p": "./g/."},
{"@id": "urn:ex:s076", "urn:ex:p": "g/./h"},
{"@id": "urn:ex:s077", "urn:ex:p": "g/../h"},
{"@id": "urn:ex:s078", "urn:ex:p": "g;x=1/./y"},
{"@id": "urn:ex:s079", "urn:ex:p": "g;x=1/../y"},
{"@id": "urn:ex:s080", "urn:ex:p": "g?y/./x"},
{"@id": "urn:ex:s081", "urn:ex:p": "g?y/../x"},
{"@id": "urn:ex:s082", "urn:ex:p": "g#s/./x"},
{"@id": "urn:ex:s083", "urn:ex:p": "g#s/../x"},
{"@id": "urn:ex:s084", "urn:ex:p": "http:g"}
]
}
42 changes: 42 additions & 0 deletions test-suite/tests/toRdf-0121-out.nq
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<urn:ex:s043> <urn:ex:p> <g:h> .
<urn:ex:s044> <urn:ex:p> <http://a/bb/ccc/d/g> .
<urn:ex:s045> <urn:ex:p> <http://a/bb/ccc/d/g> .
<urn:ex:s046> <urn:ex:p> <http://a/bb/ccc/d/g/> .
<urn:ex:s047> <urn:ex:p> <http://a/g> .
<urn:ex:s048> <urn:ex:p> <http://g> .
<urn:ex:s049> <urn:ex:p> <http://a/bb/ccc/d/?y> .
<urn:ex:s050> <urn:ex:p> <http://a/bb/ccc/d/g?y> .
<urn:ex:s051> <urn:ex:p> <http://a/bb/ccc/d/#s> .
<urn:ex:s052> <urn:ex:p> <http://a/bb/ccc/d/g#s> .
<urn:ex:s053> <urn:ex:p> <http://a/bb/ccc/d/g?y#s> .
<urn:ex:s054> <urn:ex:p> <http://a/bb/ccc/d/;x> .
<urn:ex:s055> <urn:ex:p> <http://a/bb/ccc/d/g;x> .
<urn:ex:s056> <urn:ex:p> <http://a/bb/ccc/d/g;x?y#s> .
<urn:ex:s057> <urn:ex:p> <http://a/bb/ccc/d/> .
<urn:ex:s058> <urn:ex:p> <http://a/bb/ccc/d/> .
<urn:ex:s059> <urn:ex:p> <http://a/bb/ccc/d/> .
<urn:ex:s060> <urn:ex:p> <http://a/bb/ccc/> .
<urn:ex:s061> <urn:ex:p> <http://a/bb/ccc/> .
<urn:ex:s062> <urn:ex:p> <http://a/bb/ccc/g> .
<urn:ex:s063> <urn:ex:p> <http://a/bb/> .
<urn:ex:s064> <urn:ex:p> <http://a/bb/> .
<urn:ex:s065> <urn:ex:p> <http://a/bb/g> .
<urn:ex:s066> <urn:ex:p> <http://a/g> .
<urn:ex:s067> <urn:ex:p> <http://a/g> .
<urn:ex:s068> <urn:ex:p> <http://a/g> .
<urn:ex:s069> <urn:ex:p> <http://a/g> .
<urn:ex:s070> <urn:ex:p> <http://a/bb/ccc/d/g.> .
<urn:ex:s071> <urn:ex:p> <http://a/bb/ccc/d/.g> .
<urn:ex:s072> <urn:ex:p> <http://a/bb/ccc/d/g..> .
<urn:ex:s073> <urn:ex:p> <http://a/bb/ccc/d/..g> .
<urn:ex:s074> <urn:ex:p> <http://a/bb/ccc/g> .
<urn:ex:s075> <urn:ex:p> <http://a/bb/ccc/d/g/> .
<urn:ex:s076> <urn:ex:p> <http://a/bb/ccc/d/g/h> .
<urn:ex:s077> <urn:ex:p> <http://a/bb/ccc/d/h> .
<urn:ex:s078> <urn:ex:p> <http://a/bb/ccc/d/g;x=1/y> .
<urn:ex:s079> <urn:ex:p> <http://a/bb/ccc/d/y> .
<urn:ex:s080> <urn:ex:p> <http://a/bb/ccc/d/g?y/./x> .
<urn:ex:s081> <urn:ex:p> <http://a/bb/ccc/d/g?y/../x> .
<urn:ex:s082> <urn:ex:p> <http://a/bb/ccc/d/g#s/./x> .
<urn:ex:s083> <urn:ex:p> <http://a/bb/ccc/d/g#s/../x> .
<urn:ex:s084> <urn:ex:p> <http:g> .
47 changes: 47 additions & 0 deletions test-suite/tests/toRdf-0122-in.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"@context": {"@base": "http://a/bb/ccc/./d;p?q", "urn:ex:p": {"@type": "@id"}},
"@graph": [
{"@id": "urn:ex:s085", "urn:ex:p": "g:h"},
{"@id": "urn:ex:s086", "urn:ex:p": "g"},
{"@id": "urn:ex:s087", "urn:ex:p": "./g"},
{"@id": "urn:ex:s088", "urn:ex:p": "g/"},
{"@id": "urn:ex:s089", "urn:ex:p": "/g"},
{"@id": "urn:ex:s090", "urn:ex:p": "//g"},
{"@id": "urn:ex:s091", "urn:ex:p": "?y"},
{"@id": "urn:ex:s092", "urn:ex:p": "g?y"},
{"@id": "urn:ex:s093", "urn:ex:p": "#s"},
{"@id": "urn:ex:s094", "urn:ex:p": "g#s"},
{"@id": "urn:ex:s095", "urn:ex:p": "g?y#s"},
{"@id": "urn:ex:s096", "urn:ex:p": ";x"},
{"@id": "urn:ex:s097", "urn:ex:p": "g;x"},
{"@id": "urn:ex:s098", "urn:ex:p": "g;x?y#s"},
{"@id": "urn:ex:s099", "urn:ex:p": ""},
{"@id": "urn:ex:s100", "urn:ex:p": "."},
{"@id": "urn:ex:s101", "urn:ex:p": "./"},
{"@id": "urn:ex:s102", "urn:ex:p": ".."},
{"@id": "urn:ex:s103", "urn:ex:p": "../"},
{"@id": "urn:ex:s104", "urn:ex:p": "../g"},
{"@id": "urn:ex:s105", "urn:ex:p": "../.."},
{"@id": "urn:ex:s106", "urn:ex:p": "../../"},
{"@id": "urn:ex:s107", "urn:ex:p": "../../g"},
{"@id": "urn:ex:s108", "urn:ex:p": "../../../g"},
{"@id": "urn:ex:s109", "urn:ex:p": "../../../../g"},
{"@id": "urn:ex:s110", "urn:ex:p": "/./g"},
{"@id": "urn:ex:s111", "urn:ex:p": "/../g"},
{"@id": "urn:ex:s112", "urn:ex:p": "g."},
{"@id": "urn:ex:s113", "urn:ex:p": ".g"},
{"@id": "urn:ex:s114", "urn:ex:p": "g.."},
{"@id": "urn:ex:s115", "urn:ex:p": "..g"},
{"@id": "urn:ex:s116", "urn:ex:p": "./../g"},
{"@id": "urn:ex:s117", "urn:ex:p": "./g/."},
{"@id": "urn:ex:s118", "urn:ex:p": "g/./h"},
{"@id": "urn:ex:s119", "urn:ex:p": "g/../h"},
{"@id": "urn:ex:s120", "urn:ex:p": "g;x=1/./y"},
{"@id": "urn:ex:s121", "urn:ex:p": "g;x=1/../y"},
{"@id": "urn:ex:s122", "urn:ex:p": "g?y/./x"},
{"@id": "urn:ex:s123", "urn:ex:p": "g?y/../x"},
{"@id": "urn:ex:s124", "urn:ex:p": "g#s/./x"},
{"@id": "urn:ex:s125", "urn:ex:p": "g#s/../x"},
{"@id": "urn:ex:s126", "urn:ex:p": "http:g"}
]
}
42 changes: 42 additions & 0 deletions test-suite/tests/toRdf-0122-out.nq
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<urn:ex:s085> <urn:ex:p> <g:h> .
<urn:ex:s086> <urn:ex:p> <http://a/bb/ccc/g> .
<urn:ex:s087> <urn:ex:p> <http://a/bb/ccc/g> .
<urn:ex:s088> <urn:ex:p> <http://a/bb/ccc/g/> .
<urn:ex:s089> <urn:ex:p> <http://a/g> .
<urn:ex:s090> <urn:ex:p> <http://g> .
<urn:ex:s091> <urn:ex:p> <http://a/bb/ccc/./d;p?y> .
<urn:ex:s092> <urn:ex:p> <http://a/bb/ccc/g?y> .
<urn:ex:s093> <urn:ex:p> <http://a/bb/ccc/./d;p?q#s> .
<urn:ex:s094> <urn:ex:p> <http://a/bb/ccc/g#s> .
<urn:ex:s095> <urn:ex:p> <http://a/bb/ccc/g?y#s> .
<urn:ex:s096> <urn:ex:p> <http://a/bb/ccc/;x> .
<urn:ex:s097> <urn:ex:p> <http://a/bb/ccc/g;x> .
<urn:ex:s098> <urn:ex:p> <http://a/bb/ccc/g;x?y#s> .
<urn:ex:s099> <urn:ex:p> <http://a/bb/ccc/./d;p?q> .
<urn:ex:s100> <urn:ex:p> <http://a/bb/ccc/> .
<urn:ex:s101> <urn:ex:p> <http://a/bb/ccc/> .
<urn:ex:s102> <urn:ex:p> <http://a/bb/> .
<urn:ex:s103> <urn:ex:p> <http://a/bb/> .
<urn:ex:s104> <urn:ex:p> <http://a/bb/g> .
<urn:ex:s105> <urn:ex:p> <http://a/> .
<urn:ex:s106> <urn:ex:p> <http://a/> .
<urn:ex:s107> <urn:ex:p> <http://a/g> .
<urn:ex:s108> <urn:ex:p> <http://a/g> .
<urn:ex:s109> <urn:ex:p> <http://a/g> .
<urn:ex:s110> <urn:ex:p> <http://a/g> .
<urn:ex:s111> <urn:ex:p> <http://a/g> .
<urn:ex:s112> <urn:ex:p> <http://a/bb/ccc/g.> .
<urn:ex:s113> <urn:ex:p> <http://a/bb/ccc/.g> .
<urn:ex:s114> <urn:ex:p> <http://a/bb/ccc/g..> .
<urn:ex:s115> <urn:ex:p> <http://a/bb/ccc/..g> .
<urn:ex:s116> <urn:ex:p> <http://a/bb/g> .
<urn:ex:s117> <urn:ex:p> <http://a/bb/ccc/g/> .
<urn:ex:s118> <urn:ex:p> <http://a/bb/ccc/g/h> .
<urn:ex:s119> <urn:ex:p> <http://a/bb/ccc/h> .
<urn:ex:s120> <urn:ex:p> <http://a/bb/ccc/g;x=1/y> .
<urn:ex:s121> <urn:ex:p> <http://a/bb/ccc/y> .
<urn:ex:s122> <urn:ex:p> <http://a/bb/ccc/g?y/./x> .
<urn:ex:s123> <urn:ex:p> <http://a/bb/ccc/g?y/../x> .
<urn:ex:s124> <urn:ex:p> <http://a/bb/ccc/g#s/./x> .
<urn:ex:s125> <urn:ex:p> <http://a/bb/ccc/g#s/../x> .
<urn:ex:s126> <urn:ex:p> <http:g> .
47 changes: 47 additions & 0 deletions test-suite/tests/toRdf-0123-in.jsonld
Original file line number Diff line number Diff line change
@@ -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"}
]
}
42 changes: 42 additions & 0 deletions test-suite/tests/toRdf-0123-out.nq
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<urn:ex:s127> <urn:ex:p> <g:h> .
<urn:ex:s128> <urn:ex:p> <http://a/bb/g> .
<urn:ex:s129> <urn:ex:p> <http://a/bb/g> .
<urn:ex:s130> <urn:ex:p> <http://a/bb/g/> .
<urn:ex:s131> <urn:ex:p> <http://a/g> .
<urn:ex:s132> <urn:ex:p> <http://g> .
<urn:ex:s133> <urn:ex:p> <http://a/bb/ccc/../d;p?y> .
<urn:ex:s134> <urn:ex:p> <http://a/bb/g?y> .
<urn:ex:s135> <urn:ex:p> <http://a/bb/ccc/../d;p?q#s> .
<urn:ex:s136> <urn:ex:p> <http://a/bb/g#s> .
<urn:ex:s137> <urn:ex:p> <http://a/bb/g?y#s> .
<urn:ex:s138> <urn:ex:p> <http://a/bb/;x> .
<urn:ex:s139> <urn:ex:p> <http://a/bb/g;x> .
<urn:ex:s140> <urn:ex:p> <http://a/bb/g;x?y#s> .
<urn:ex:s141> <urn:ex:p> <http://a/bb/ccc/../d;p?q> .
<urn:ex:s142> <urn:ex:p> <http://a/bb/> .
<urn:ex:s143> <urn:ex:p> <http://a/bb/> .
<urn:ex:s144> <urn:ex:p> <http://a/> .
<urn:ex:s145> <urn:ex:p> <http://a/> .
<urn:ex:s146> <urn:ex:p> <http://a/g> .
<urn:ex:s147> <urn:ex:p> <http://a/> .
<urn:ex:s148> <urn:ex:p> <http://a/> .
<urn:ex:s149> <urn:ex:p> <http://a/g> .
<urn:ex:s150> <urn:ex:p> <http://a/g> .
<urn:ex:s151> <urn:ex:p> <http://a/g> .
<urn:ex:s152> <urn:ex:p> <http://a/g> .
<urn:ex:s153> <urn:ex:p> <http://a/g> .
<urn:ex:s154> <urn:ex:p> <http://a/bb/g.> .
<urn:ex:s155> <urn:ex:p> <http://a/bb/.g> .
<urn:ex:s156> <urn:ex:p> <http://a/bb/g..> .
<urn:ex:s157> <urn:ex:p> <http://a/bb/..g> .
<urn:ex:s158> <urn:ex:p> <http://a/g> .
<urn:ex:s159> <urn:ex:p> <http://a/bb/g/> .
<urn:ex:s160> <urn:ex:p> <http://a/bb/g/h> .
<urn:ex:s161> <urn:ex:p> <http://a/bb/h> .
<urn:ex:s162> <urn:ex:p> <http://a/bb/g;x=1/y> .
<urn:ex:s163> <urn:ex:p> <http://a/bb/y> .
<urn:ex:s164> <urn:ex:p> <http://a/bb/g?y/./x> .
<urn:ex:s165> <urn:ex:p> <http://a/bb/g?y/../x> .
<urn:ex:s166> <urn:ex:p> <http://a/bb/g#s/./x> .
<urn:ex:s167> <urn:ex:p> <http://a/bb/g#s/../x> .
<urn:ex:s168> <urn:ex:p> <http:g> .
Loading

0 comments on commit 55377aa

Please sign in to comment.