Pull request for issue 2957 - subselect fails under optional #3077
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of changes
This pull request solves issue 2957 where a subselect query fails under an optional clause in a SPARQL query.
A test script has been added, see test_subselectOptional.py.
Checklist
Checked that there aren't other open pull requests for
the same change.
Checked that all tests and type checking passes.
Not yet, work in progress.
If the change adds new features or changes the RDFLib public API:
./examples
.If the change has a potential impact on users of this project:
Considered granting push permissions to the PR branch,
so maintainers can fix minor issues and keep your PR up to date.