[OK?] SPARQL: BASE IRI resolution

On Fri, Jul 22, 2005 at 02:09:21AM +0200, Bjoern Hoehrmann wrote:
> 
> Dear RDF Data Access Working Group,
> 
>   http://www.w3.org/TR/2005/WD-rdf-sparql-query-20050721/ does not
> seem to define how the BASE IRI and a relative IRI are combined to
> a IRI. Please change the draft such that this is well-defined. Note
> that the resolution algorithm in RFC 3986 is probably not suited
> for this purpose since there are optional normalization steps that
> would make this feature useless. Depending on the algorithm, BASE
> might not be a good name for the feature.

Thank you for your comment. Please see if
[[
SPARQL provides an abbreviation mechanism for IRIs. Prefixes can be
defined and a QName-like syntax [NAMESPACE] provides shorter
forms. Prefixes may be used anywhere after they are declared;
redefining a prefix causes the new definition to be used from that
point in the query syntax. The base IRI for the resolution of relative
IRIs may be explicitly declared with the BASE keyword. This
specification does not define the value of the base IRI for SPARQL
queries with no BASE directive.

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. Characters additionally
allowed in IRI references are treated in the same way that unreserved
characters are treated in URI references, per section 6.5 of
Internationalized Resource Identifiers (IRIs) [RFC3987].
]]
addresses your comment. If it does, you may respond with [CLOSED] in
the subject so that our issue tracking mechanism will note that the
issue is closed.
-- 
-eric

office: +81.466.49.1170 W3C, Keio Research Institute at SFC,
                        Shonan Fujisawa Campus, Keio University,
                        5322 Endo, Fujisawa, Kanagawa 252-8520
                        JAPAN
        +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA
cell:   +81.90.6533.3882

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.

Received on Tuesday, 6 September 2005 21:38:44 UTC