Errata and fix for aggregate, no group, no match

There seems to be a problem when aggregating when there is no GROUP BY 
and no matches from the WHERE clause.

SELECT (COUNT(*) AS ?count)
WHERE {
   ?x ex:p ?value
}

The expectation is a result of:

---------
| count |
=========
|     0 |
---------

but that is not what the spec produces.

Write up discussing the with and without GROUP BY cases and with a 
possible fix:

https://afs.github.io/sparql-agg-group-empty.html

     Andy

Received on Saturday, 2 May 2020 08:33:31 UTC