Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rdf4j-dev] Google Summer of Code ideas

QueryBuilder -> algebra will be more efficient than QueryBuilder -> SPARQL --[parser]--> algebra. It means you can directly evaluate the query without having to go through the parser, which seems to me to be a key use-case: programmatic construction, followed by execution. But it would be nice if there was some sort of factory that glued together the QueryBuilder with a renderer to give you something that writes SPARQL in a single object for the case you want to farm out execution to something non-rdf4j, e.g. sparql endpoint.




On Thursday, 26 January 2017, 11:02, Rick Moynihan <rick.m@xxxxxxxxxx> wrote:


See below for inline response:

On 26 January 2017 at 00:38, Jeen Broekstra <jeen.broekstra@xxxxxxxxx> wrote:
On 25 Jan 2017, at 20:47, Rick Moynihan <rick.m@xxxxxxxxxx> wrote:

On 24 January 2017 at 22:09, Jeen Broekstra <jeen.broekstra@xxxxxxxxx> wrote:
Hi folks,

Eclipse is participating in the Google Summer of Code  and have invited all projects to think about participating as well. There’s two ways in which we can become involved: :
  1. Extending the QueryRenderer for SPARQL 1.1 (#71);
I'd certainly like to see the above implemented; though it's worth mentioning you can work around this by using JENA's ARQ.

You’re thinking of the QueryBuilder rather than the renderer, here. I’m pretty sure ARQ can’t process an RDF4J ParsedQuery object to produce a SPARQL string :) 

But extending the QueryBuilder is another one on my list, indeed. Perhaps a feature that would make it useful beyond what ARQ can do is that it creates and RDF4J algebra model directly, rather than producing a SPARQL string to feed into the parser. 

Sorry meant to ask in my other email, what you think the benefits of going directly to the algebra are; is it primarily to enable optimisations such as removing redundant clauses etc?

 

R.

_______________________________________________
rdf4j-dev mailing list
rdf4j-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/rdf4j-dev



Back to the top