Jan Zyka
Jan Zyka

Reputation: 17898

Sesame QueryBuilder API

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:

Given there isn't much documentation I might be just overlooking something. Any hints on how to build such queries would be much appreciated.

Upvotes: 0

Views: 134

Answers (2)

anqit
anqit

Reputation: 1090

RDF4J, formerly Sesame, now includes a Sparql Builder, check out documentation here: http://docs.rdf4j.org/sparqlbuilder/

Upvotes: 0

Jeen Broekstra
Jeen Broekstra

Reputation: 22042

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.

Upvotes: 2

Related Questions