RE: Turtle syntax: Please align base URI with RFC 3986 & 3987

Gavin,

This is not entirely correct, I think.

On Friday, May 31, 2013 3:48 AM, Gavin Carothers wrote:
> @base <//example.org/> . # Creates a new base with either http or
> https depending on the current document base
> @base <http://example.org/pointless> . # Creates the base
> URI http://example.org/

No, this would create the base http://example.org/pointless, i.e., <#frag> later in that document would be expanded to http://example.org/pointless#frag


> @base <> . # Does nothing.
> @base <b/> . # Adds b/ to the current base

More or less. http://example.com/a would be changed to http://example.com/b/


> @base <#> . # Still does nothing
> @base <http://example.org/a/b#> . # Creates the base URI
> http://example.org/a/ note the lack of a 'b'

Same as above. The new base would be http://example.org/a/b


Cheers,
Markus


--
Markus Lanthaler
@markuslanthaler

Received on Friday, 31 May 2013 10:56:44 UTC