I'm trying to use Sesame QueryBuilder to compose my queries in Java code. I had some success as can be seen in one of my answers related to this topic. The issue I'm facing right now is that the query builder seems to lack several useful functions, namely:
SELECT
s (COUNT
being an example)HAVING
clauseGiven there isn't much documentation I might be just overlooking something. Any hints on how to build such queries would be much appreciated.
The QueryBuilder in Sesame has not been updated to capture SPARQL 1.1 functionality, such as aggregates.
It's on the agenda, though we could use some additional hands. More generally, the QueryBuilder and QueryRenderer never really were developed beyond beta stage, which is why documentation is so sparse.
Of course, Sesame does support SPARQL 1.1 query and update, but for more advanced queries, you'll have to write the query string yourself - at least for now.