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

Allow list of templates for run_sparql_select #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lucasotodegraeve
Copy link
Contributor

This PR simplifies the code somewhat. Previously a function was passed around to prevent code duplication. I think in this case it is better to have some duplication as it makes the code much more readable and easier to tweak in the future.

Furthermore the run_sparql_select function now accepts either a string or a list of strings as a sparql query. The caller of this function is responsible of putting a "OFFSET 0" marker in the query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant