W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > July to September 2005

Re: ACTION: ericP to add "don't normalize" to rq23 -- DONE?

From: Dan Connolly <connolly@w3.org>
Date: Wed, 17 Aug 2005 18:03:46 -0500
To: Eric Prud'hommeaux <eric@w3.org>
Cc: RDF Data Access Working Group <public-rdf-dawg@w3.org>
Message-Id: <1124319826.5099.87.camel@dirk>

[this message isn't really finished, but maybe it's better
shared in its present state...]

On Tue, 2005-08-16 at 09:59 -0400, Eric Prud'hommeaux wrote: 
> On Mon, Aug 15, 2005 at 06:12:47PM -0500, Dan Connolly wrote:
> > 8. BASE IRI resolution comment
> > 
> > ACTION: ericP to add "don't normalize" to rq23 (perhaps supplied in
> > 0096)
> 
> [[
> QNames are transformed into IRIs by appending the local name to the
> namespace name. Relative IRIs are combined with base IRIs as per
> Uniform Resource Identifier (URI): Generic Syntax [RFC3986] using only
> the basic algorithm in Section 5.2 . Neither Syntax-Based
> Normalization nor Scheme-Based Normalization (described in sections
> 6.2.2 and 6.2.3 of RFC3986) is performed. The resolution of relative
> IRIs in SPARQL queries with no BASE is not defined.
> ]]
> 
> I defined QName resolution (not happy with it, but I think it's better
> than nothing). Text was stolen from RDF Syntax [SYNTAX].
> 
> Somewhat counter to the advice of the comment [COMMENT], I used RFC
> 3986 to define relative IRI resolution.
> 
> This brought up the question of resolution if no BASE is present. I
> use this feature in Algae a lot. BASE defaults to the URL of the
> query, which means that, be it in a file or a web page, FILE and GRAPH
> and the like can get to relative documents. Defining this would get
> well into execution environment, prohibiting it would prohibit a lot
> of convenient use cases, so I went with don't ask/don't tell.

That's one coherent approach, but I think it's messier than the
alternative, which is to say that there is always a base URI; i.e.
to figure out the abstract form of a SPARQL query string, you're
always given a base URI.

That's the route that XML infoset went, and it works reasonably
well.


> 
> > ACTION: EricP to add test in 0096 to rq23 tests. label "approved" and ref
> > http://www.w3.org/2005/07/26-dawg-minutes
> > ACTION: ericP to send [OK?] message to Bjoern
> 
> waiting to see if this text is OK.
> 
> [SYNTAX] <http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/#section-Identifiers>
> [COMMENT] <http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2005Jul/0042>
-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Wednesday, 17 August 2005 23:03:52 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:24 GMT