W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2004

Re: Illustratation of prefix interaction details

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Mon, 01 Nov 2004 12:20:59 +0000
Message-ID: <41862A2B.3090400@hp.com>
To: Dave Beckett <dave.beckett@bristol.ac.uk>
Cc: RDF Data Access Working Group <public-rdf-dawg@w3.org>

Dave Beckett wrote:
> On Mon, 25 Oct 2004 11:51:10 +0100, Dave Beckett <dave.beckett@bristol.ac.uk> wrote:
>>Here's a pathological example of when prefixes and QNames can be confusing.
> I should have said what I'd propose.
> 1. Remove the second PrefixDecl term from the Query term, so there
> is only one place prefixes are defined; before the ReportFormat term.


> 2. Change FromSelector to only allow URIs. Edit to be ::= QuotedURI
> or alternatively, put it inside FromClause, delete FromSelector.

-0 (this is something I have had some requests for - it means that changing one 
prefix declaration changes the input graph and the query).

> 3. Define prefix/URI expansion to happen in the order they are given
> in the syntax, with later prefixes overriding earlier ones.

+1 because this is a common programming paradigm.

One alternative is to make it illegal to redefine an explictly defined prefix.

This is acceptable to me but I'd note some systems have builtin definitions of 
things like rdf: and so implicitly defined prefixes will be necessary for such 

Another alternative is to just leaving it up to implementations as to the 
handling of redefinition is also possible.

Note to protocol - predefined prefixes greatly shortens URL for query requests.


> Dave
Received on Monday, 1 November 2004 12:21:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:00:45 UTC