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

Issue 1160 missing url fragment #1163

Merged

Conversation

anatoly-scherbakov
Copy link
Contributor

Fixes #1160

Proposed Changes

  • Refactored out _create_input_source_from_location() from create_input_source() in vew of that function being too large;
  • Removed .defrag() call which removed the URL fragment part of the named graph IRI;
  • Added a test to ensure that now, when querying against a named graph using FROM NAMED, we will have more predictable graph IRI to choose via GRAPH statement.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 75.631% when pulling 7c7f05c on anatoly-scherbakov:issue-1160-missing-url-fragment into b3bb4db on RDFLib:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 75.631% when pulling 7c7f05c on anatoly-scherbakov:issue-1160-missing-url-fragment into b3bb4db on RDFLib:master.

@nicholascar nicholascar merged commit 63f46e4 into RDFLib:master Sep 17, 2020
@white-gecko white-gecko added this to the rdflib 6.0.0 milestone Mar 22, 2021
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.

The # character is erased from the URI of a NAMED graph while querying it
4 participants