Skip to content

Minor fixes to nquads handling#234

Merged
mielvds merged 3 commits intomasterfrom
nquad-fixes
Feb 5, 2026
Merged

Minor fixes to nquads handling#234
mielvds merged 3 commits intomasterfrom
nquad-fixes

Conversation

@mielvds
Copy link
Collaborator

@mielvds mielvds commented Jan 28, 2026

This PR does minor fixes to the nquad parsings/serialization, including

  • improving the regex for extracting bnodes (this makes urdna2015#test059 pass)
  • using stdlib line splitting instead of custom regex
  • isolating escaping and unescaping literal values for fixing encoding and escaping issues later on (~ urdna2015#test060$)
  • fix a KeyError in N-Quads serialization (see Fix a KeyError in N-Quads normalization #52)

(Sidenote about escaping and urdna2015#test060: this is a very tricky one - believe me, I tried- and I think this whole file should eventually be replaced by RDFLib instead of pursuing this)

Base automatically changed from merge-prs to master February 5, 2026 10:31
@mielvds mielvds merged commit 4f29213 into master Feb 5, 2026
15 checks passed
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.

2 participants