Re: Naming Conventions for URIs

On Thu, Aug 20, 2015 at 8:36 AM, Paul Houle <ontology2@gmail.com> wrote:
>
>
> and have it just work,  but because a number is never valid in the QName,
>  you can encode the URI like this:
>
> http://isbn.example.com/I0884049582
>
> and then write
>
> isbn:I0884049582
> <I0884049582>
>
> which is not too bad.  Note,  however,  if you want to write
>
> <0884049582> you have to encode as
>
> http://isbn.example.com/I0884049582
>
> because,  at least with the Jena framework,  the same thing happens if you
> write
>
> @base <http://isbn.example.com/I>
>
>
>

I don't know if this was intentional or not, but it's worth pointing out,
it doesn't really make any sense to have the trailing "I" on the @base,
since that's going to get wiped out during the URI Reference resolution
process, unless your URI Reference is a <?query> or <#fragment>.

The reference <0884049582> would be resolved to <
http://isbn.example.com/0884049582>, for instance.

Austin Wright.

Received on Friday, 21 August 2015 21:59:32 UTC