Re: RDF's relative IRI resolution is ambiguous

On 27/08/15 19:54, Ruben Verborgh wrote:
> Hi Richard,
>
> I'll share exactly how I came to write this mail thread, hope this helps.

Good idea.

>
...
> 4. I look up Section 5.2 in RFC3986. It contains 3 algorithms: 5.2.2, 5.2.3, 5.2.4.
>      At this point I'm confused: which of these algorithms is the basic algorithm?

I read it as 5.2 contains one algorithm with several parts: it says

[[
5.2. Relative Resolution

This section describes an algorithm for converting a URI reference ...
]]

"an algorithm"

It also says "this algorithm" later on.

	Andy



On 27/08/15 16:55, Ruben Verborgh wrote:
 >     BASE<http://example.org/xxx/yyy/zzz/../../../>
 >     <> <a><http://example.org/xxx/yyy/zzz/../../../a>.

==>

<http://example.org/> <http://example.org/a> <http://example.org/a> .

(and some optional, informational warnings about non-normalized URIs)

all due to Jeremy Carroll's IRI library - now in jena-iri - which is a 
standalone (no Jena APIs stuff) parser of IRIs.

	Andy

Received on Friday, 28 August 2015 09:39:51 UTC