Migrate JsonLdProcessor to RDFLib - #254
Open
mielvds wants to merge 21 commits into
Open
Conversation
mielvds
marked this pull request as draft
May 4, 2026 14:52
mielvds
force-pushed
the
use-rdflib
branch
2 times, most recently
from
June 5, 2026 12:18
d7a684e to
088c645
Compare
mielvds
marked this pull request as ready for review
August 12, 2026 08:30
Collaborator
Author
|
@anatoly-scherbakov et al. would you mind doing an in-depth review of the changes to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR migrates
JsonLdProcessorto rdflib and completes the internal migration to rdflib. It introduces a legacy mode to preserve backward-compatibility of the public API.Changed
jsonld.to_rdf(),jsonld.from_rdf(), and N-Quads parsing/serialization to userdflib.Datasetand RDFLib terms directly.jsonld.to_rdf()now returns anrdflib.Datasetby default when no outputformatis requested.legacyModetojsonld.to_rdf()to return the previous RDF.js-like datasetdict.jsonld.from_rdf()now accepts bothrdflib.Datasetinputs and the previous legacy datasetdictshape.Removed
pyld.nquadsparser/serializer module.Fixed
iri_resolver.unresolve()query/fragment reconstruction while cleaning up the resolver docstring.Maintenance