rdflib-jsonld
rdflib extension adding JSON-LD parser and serializer
What it is and what it does
This package extends rdflib with JSON-LD format support, allowing you to parse JSON-LD documents into RDF graphs and serialize RDF graphs back to JSON-LD output. It works as an automatically registered plugin that integrates with rdflib's standard parse and serialize methods.
However, this package is archived and deprecated. As of rdflib 6.0.1 (released 2021-09-17), JSON-LD handling has been integrated directly into rdflib itself, making this plugin obsolete. The maintainers have explicitly marked 0.6.2 as a final release and encourage all users to migrate to rdflib 6.0.1 or later. The only exception is if you are constrained to Python 3.6 or earlier, in which case you would need to use release 0.5.0 of this plugin with rdflib 5.0.0.
Use it for:
- Parse JSON-LD documents into RDF graphs for semantic web processing on legacy rdflib versions
- Serialize RDF graphs to JSON-LD format for linked data applications on Python 3.6 environments
- Maintain compatibility with codebases locked to Python 3.6 and rdflib 5.0.0
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides JSON-LD parsing and serialization for RDFLib graphs, converting between JSON-LD formatted documents and RDF graph representations.
No. This package is archived and abandoned. The maintainers explicitly recommend migrating to rdflib 6.0.1 or later, where JSON-LD support is now built-in. Install this only if forced to remain on Python 3.6 or earlier with rdflib 5.0.0; otherwise, upgrade to current rdflib and remove this dependency.
Install
rdflib-jsonld on PyPI
pip
pip install rdflib-jsonlduv
uv add rdflib-jsonldpoetry
poetry add rdflib-jsonldInstalling rdflib-jsonld
Before you install
Installation is straightforward with low friction, but the package is abandoned as of 0.6.2 (released 2021-09-18). The maintainers explicitly recommend migrating to rdflib 6.0.1 or later, where JSON-LD handling is now integrated directly.
License in practice
BSD license is permissive, imposing minimal restrictions on use and modification.
Quickstart
pip install rdflib-jsonld
from rdflib import Graph
g = Graph().parse(data=testrdf, format='n3')
print(g.serialize(format='json-ld', indent=4))
This package is archived; rdflib 6.0.1+ has integrated JSON-LD support and is recommended instead.
Verify before relying
- Whether rdflib 6.0.1+ is available for your Python version and whether migrating is feasible
- Whether the integrated JSON-LD support in rdflib 6.0.1+ covers all use cases previously handled by this plugin
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — rdflib |
| Maintenance | abandoned — 1,791 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 335,953/month — #7,470 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: rdflib_jsonld-0.6.2-py2.py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
provImplements the W3C PROV Data Model in Python,…
permissive · top 15,000 on PyPI
rdflibRDFLib is a Python library for parsing,…
permissive · top 1,000 on PyPI
PyLDPyLD is a Python implementation of the JSON-LD…
permissive · top 15,000 on PyPI
extructExtracts structured metadata from HTML markup…
permissive · top 15,000 on PyPI
CFGraphCFGraph extends rdflib's Graph to read RDF…
permissive · top 15,000 on PyPI
owlrlImplements OWL2 RL Profile and RDFS inference…
unclear · top 5,000 on PyPI
pyrdfa3Parses RDFa markup embedded in HTML documents…
unclear · top 15,000 on PyPI
SPARQLWrapperSPARQLWrapper provides a Python interface to…
unclear · top 5,000 on PyPI
mlcroissantValidates and loads datasets described in the…
unclear · top 15,000 on PyPI
pyshaclValidates RDF graphs against SHACL shape…
permissive · top 5,000 on PyPI