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

Re: project expression tests

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Sat, 21 Aug 2010 16:33:31 +0100
Message-ID: <4C6FF1CB.1040500@epimorphics.com>
To: Gregory Williams <greg@evilfunhouse.com>
CC: SPARQL Working Group <public-rdf-dawg@w3.org>

On 12/08/2010 6:43 PM, Gregory Williams wrote:
> I had a couple of comments about two of the project expression tests in CVS.
> :projexp02:
> I think the second expected query result should be using the plain literal "foobar" instead of "foobar"^^xsd:string, as the literal is untyped in projexp02.ttl.

I agree.

> :projexp03:
> projexp03.rq needs a '.' separating the two triple patterns.

I agree.

> Based on my understanding of XQuery F&O, I believe all the numerics in the query results should be of type xsd:integer. Right now the srx file has ?twice = "6"^^xsd:long, but the F&O document says "each operator is defined to operate on operands of the same type and return the same type" (with op:numeric-divide being the one exception).

I agree.

> thanks,
> .greg

Some synatx problems with the queries.  It uses:

SELECT * (expr AS ?xyz)

but that's not legal.  Only "SELECT *" is legal.  If project expressions 
are used, then you can't have "SELECT *"

It also uses does not bracket the expression as "(expr AS ?xyz)"

Received on Saturday, 21 August 2010 15:34:06 UTC

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