- From: Andy Seaborne <andy@apache.org>
- Date: Sat, 2 May 2020 09:33:15 +0100
- To: SPARQL dev <public-sparql-dev@w3.org>
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