History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-884
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Arjohn Kampman
Reporter: Bryan Thompson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Aggregation with an solution set as input should produce an empty solution as output

Created: 15/Nov/11 05:33 PM   Updated: 15/Nov/11 05:33 PM
Component/s: None
Affects Version/s: 2.5.0
Fix Version/s: None

This issue summarizes a response from the DAWG with respect to "sparql11-sum-02" in Sesame 2.5. The email thread is captured below.

> In response to
> http://lists.w3.org/Archives/Public/public-rdf-dawg-comments/2
> 011Sep/0000.html
> > What is the output of this query if no solutions satisify
> the WHERE clause?
> > An empty solution set or a solution set with a single
> solution having
> > a binding of 0^^xsd:integer?
> >
> > PREFIX : <http://example/>
> > SELECT (SUM(?lprice) AS ?totalPrice)
> > WHERE {
> > ?book :price ?lprice .
> > }
> > GROUP BY ?book
> An empty solution set.
> Please indicate whether this response has answered your query.

On 11/11/11 07:42, Bryan Thompson wrote:
> Jeen,
> I just got this response from the DAWG for an aggregate with no input
> solutions. This corresponds to "sparql11-sum-02" in Sesame 2.5 (see
> the attached files). It looks like the right answer is an empty
> solution set. I have not opened the box yet on Sesame 2.6, but does
> this correspond with your understanding?

 From the top of my head the current implementation actually gives back "0"^^xsd:integer. I haven't looked at it yet (am a bit absorbed by getting property paths right at the moment), but it shouldn't be hard to tweak this.


 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.