Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify compact IRIs and add two test cases
This addresses #224.
- Loading branch information
Showing
6 changed files
with
80 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"@context": { | ||
"http": "http://example.com/this-prefix-would-overwrite-all-http-iris" | ||
}, | ||
"@id": "http://example.org/node1", | ||
"@type": "http://example.org/type", | ||
"http://example.org/property": "all these IRIs remain unchanged because they are interpreted as absolute IRIs" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ | ||
{ | ||
"@id": "http://example.org/node1", | ||
"@type": ["http://example.org/type"], | ||
"http://example.org/property": [ | ||
{ "@value": "all these IRIs remain unchanged because they are interpreted as absolute IRIs" } | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"@context": { | ||
"_": "http://example.com/this-prefix-would-overwrite-all-blank-node-identifiers" | ||
}, | ||
"@id": "_:node1", | ||
"@type": "_:type", | ||
"_:property": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ | ||
{ | ||
"@id": "_:b0", | ||
"@type": ["_:b1"], | ||
"_:b2": [ | ||
{ "@value": "all these IRIs remain unchanged because they are interpreted as blank node identifiers" } | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters