W3C home > Mailing lists > Public > semantic-web@w3.org > August 2015

Re: Naming Conventions for URIs

From: Austin William Wright <aaa@bzfx.net>
Date: Fri, 21 Aug 2015 14:59:04 -0700
Message-ID: <CANkuk-U-HeHWOVbEuWo-ziKpQkizquQ4xsuRXK_xuh6r1k+cjA@mail.gmail.com>
To: Paul Houle <ontology2@gmail.com>
Cc: "semantic-web@w3.org" <semantic-web@w3.org>, "Discussion list for the Wikidata project." <wikidata-l@lists.wikimedia.org>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:43:02 UTC