- From: Thomas Hoppe <thomas.hoppe@n-fuse.de>
- Date: Wed, 13 Nov 2013 11:51:26 +0100
- To: Linked JSON <public-linked-json@w3.org>
Hi,
I have just wrapped my head around a very subtle detail of the spec
regarding IRI resolution.
Say I'd like to have a node like this:
{
"@context": {
"label": "http://www.w3.org/2000/01/rdf-schema#label"
},
"@id": "4711",
"label": "Just a simple document"
}
Which has been retrieved from this URI:
http://api.example.com/docs/4711
Following the statements and definitions in sections "6.1 Base IRI" and
"5.2 IRIs"
one could think that the resulting IRI is:
http://api.example.com/docs/47114711
Most people familiar with URL concepts know or instinctively feel that
this is incorrect
but from what I can see it is not defined in the spec.
I think the relevant reference is
http://tools.ietf.org/html/rfc3986#section-5.2.
This is even more important as
http://tools.ietf.org/html/rfc3986#section-5.1 is referenced
for the base URI resolution.
So I think it would make sense to put a reference to
http://tools.ietf.org/html/rfc3986#section-5.2
in section 5.2 of the spec.
Greets, Thomas
Received on Wednesday, 13 November 2013 10:52:04 UTC