Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced query builder #496

Closed
abrokenjester opened this issue Sep 7, 2016 · 2 comments
Closed

Advanced query builder #496

abrokenjester opened this issue Sep 7, 2016 · 2 comments
Labels
duplicate issue is a duplicate (close reason) 📶 enhancement issue is a new feature or improvement

Comments

@abrokenjester
Copy link
Contributor

abrokenjester commented Sep 7, 2016

(Migrated from https://openrdf.atlassian.net/browse/SES-1065)

Currently, (SPARQL) queries are creating by inputting a full SPARQL query string and parsing it to produce a query algebra expression. An alternative way to build queries programmatically would be useful, for example a fluent-style builder object where one can do things like this:

TupleQuery query = new QueryBuilder.addSelect("x") .addTriple(String s, String p, String o) .addFilter(); ...etc.

@abrokenjester abrokenjester added the 📶 enhancement issue is a new feature or improvement label Sep 7, 2016
@abrokenjester abrokenjester added the help wanted we could use your help in fixing this issue label Jan 24, 2017
@abrokenjester
Copy link
Contributor Author

A partial implementation of a QueryBuilder exists in RDF4J, but it is incomplete (only supporting SPARQL 1.0 features), and underdocumented and therefore somewhat hard to use. We could choose to either implement a new QueryBuilder from scratch, or extend/improve the existing builder to be easier to use and support more complex queries.

@abrokenjester abrokenjester removed the help wanted we could use your help in fixing this issue label Jun 9, 2018
@abrokenjester
Copy link
Contributor Author

Supersed by #979

@abrokenjester abrokenjester added the duplicate issue is a duplicate (close reason) label Jun 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate issue is a duplicate (close reason) 📶 enhancement issue is a new feature or improvement
Projects
None yet
Development

No branches or pull requests

1 participant