Unexpected result for HAVING (bound(...)) expression

0 views
Skip to first unread message

bouffard....@ireq.ca

unread,
Mar 10, 2014, 11:41:25 AM3/10/14
to sta...@clarkparsia.com
Running the following query on an empty database:

SELECT ?x (COUNT(?y) as ?count)
WHERE { ?x a ?y }
GROUP BY ?x
HAVING (bound(?x))

I would expect to get no results since the HAVING clause should filter out the empty grouped solution set. I validated this expectation with the latest releases of Jena, Sesame and dotNetRDF. However Stardog 2.1.1 returns an empty row. Is that expected ?

Thanks,
Alexandre

Mike Grove

unread,
Mar 13, 2014, 9:12:53 AM3/13/14
to stardog
No, that's a bug and it will be fixed in the next release.

Cheers,

Mike
 

Thanks,
Alexandre

--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en

bouffard....@ireq.ca

unread,
Mar 13, 2014, 4:38:14 PM3/13/14
to sta...@clarkparsia.com
Confirmed fixed in Stardog 2.1.2, thanks.
Reply all
Reply to author
Forward
0 new messages