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

Re: URI/IRI concrete and abstract syntax

From: Seaborne, Andy <andy.seaborne@hp.com>
Date: Fri, 06 May 2005 13:39:49 +0100
Message-ID: <427B6595.5090003@hp.com>
To: Dan Connolly <connolly@w3.org>
CC: RDF Data Access Working Group <public-rdf-dawg@w3.org>


I have chnaged the grammar to use "IRIref" not "URI" as below.

	Andy

Dan Connolly wrote:
<snip/>

> 
> In the concrete syntax, i.e. the grammar, it's all IRI references.
> So this is pretty good...
> 
> [3]   BaseDecl   ::=   'base' QuotedURIref
> 
> probably better as QuotedIRIref.
> 
> But...
> 
> [12]   SourceSelector   ::=   URI
> 
> should be
> 
> [12]   SourceSelector   ::=   IRIref
> 
> and
> 
> [63]   URI   ::=   QuotedURIref | QName
> 
> should probably be
> 
> [63]   IRIref   ::=   QuotedIRIref | QName
> 
> likewise
> [41]   VarOrURI   ::=   Var | URI 
> should be
> [41]   VarOrIRIref   ::=   Var | IRIref
> 
> Also...
> 
> [69]   <Q_URIref>   ::=   '<' ([^> ])* '>' /* A URI relative reference :
> RFC 3869 */
> 
> should be...
> 
> [69]   <Q_IRIref>   ::=   '<' ([^> ])* '>' /* A IRI reference : RFC 3987
> */
> 
> and let's move that comment into the prose of the spec...
> how about under "Query Term Syntax".
> 
> We should probably be more clear about whether this
> is a sparql query or not:
> 
>   SELECT ?x WHERE { <foo###bar> dc:title ?x }.
> 
> REQUEST FOR TESTCASE.
> 
> I suggest that yes, it's a SPARQL query as defined by the
> grammar, but it's erroneous; i.e. it's in the same category
> as queries that don't obey the limitations on where variables
> can go when using OPTIONAL.
> 
> So we probably need a new kinda of test case.

<snip/>
Received on Friday, 6 May 2005 12:40:24 GMT

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