W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > March 2008

Re: Another attempt...

From: Andrew Newman <andrewfnewman@gmail.com>
Date: Sun, 23 Mar 2008 20:53:42 +1000
Message-ID: <2db5a5c40803230353q58e8d59ewe9c103281031f28@mail.gmail.com>
To: "Lee Feigenbaum" <lee@thefigtrees.net>
Cc: "Richard Newman" <rnewman@twinql.com>, andy.seaborne@hp.com, "Arjohn Kampman" <arjohn.kampman@aduna-software.com>, "public-rdf-dawg-comments@w3.org" <public-rdf-dawg-comments@w3.org>

On 20/03/2008, Lee Feigenbaum <lee@thefigtrees.net> wrote:
> This part _seems_ to indicate to me that you believe there to be at
>  least one query and RDF dataset for which the SPARQL specification is
>  not sufficient to determine what results an implementation should
>  return. Could you please provide such a query, a dataset for the query,
>  and the point at which you see an ambiguity in the specification as to
>  how to evaluate the query against the dataset? (I understand that you
>  may be saying that this applies to a large class of queries & datasets;
>  I'm only asking for one example, please.)

Yes.  From the test page
(http://www.w3.org/2001/sw/DataAccess/tests/r2.html) - I can't find
any empty group pattern queries.  While we're at it maybe add the one
for unbound variable in the project clause as an error too.

Here are the new tests.

Test 1


SELECT * WHERE { ?s ?p ?o UNION {} }


Test 2

SELECT * WHERE { ?s ?p ?o . {} }

Results (this is suppose to represent empty):
<?xml version="1.0"?>
    xmlns="http://www.w3.org/2005/sparql-results#" >
    <variable name="s"/>
    <variable name="p"/>
    <variable name="o"/>

Test 3
Negative syntax test.

SELECT ?x WHERE { ?s ?p ?o }
Received on Sunday, 23 March 2008 10:54:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:52:09 UTC