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

SPARQLStore.contexts() should find empty named graphs when possible #401

Merged
merged 2 commits into from
Jul 10, 2014
Merged

SPARQLStore.contexts() should find empty named graphs when possible #401

merged 2 commits into from
Jul 10, 2014

Conversation

bcogrel
Copy link
Contributor

@bcogrel bcogrel commented Jun 12, 2014

This feature is needed for graph-awareness (#399).

The current implementation of SPARQLStore.contexts() only finds non-empty named graphs.
This patch makes it less restrictive.

However, something the SPARQL endpoint backend does not find empty named graphs (e.g. TDB) with the proposed query. Is there another solution?

It also resets the query before writing its own. This prevents the query to fail because of a previous query that used a default-graph-uri parameter.

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

Successfully merging this pull request may close these issues.

3 participants