RDFLib/rdflib
RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information. observed · 2026-08-28
Health v2 · maintenance only
85/100
- Activity 99
- Release rhythm 58
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 52.0
- age_days: 5325
- days_rel: 201
- days_push: 7
- n_releases_24m: 9
Adoption not part of the score
2499 stars · 603 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
RDFLib is a pure Python library for working with RDF (Resource Description Framework), providing parsers and serializers for formats like RDF/XML, Turtle, N-Triples, N-Quads, and JSON-LD. It includes a Graph interface with pluggable store backends and a full SPARQL 1.1 query and update implementation.
Use cases
- parse and serialize RDF data in Turtle, RDF/XML, JSON-LD, or N-Triples
- run SPARQL queries against RDF graphs in Python
- build and manipulate RDF graphs programmatically
- query remote SPARQL endpoints
- convert linked data between RDF serialization formats
- work with ontologies and semantic web data
- store RDF triples in memory or on disk
When to choose
- you need to parse, serialize, or query RDF in Python
- you want a pure-Python solution with no native dependencies
- you need SPARQL 1.1 query and update support
- you're building semantic web, linked data, or knowledge graph tooling
When to avoid
- you need extremely high-performance triple stores at scale (consider a dedicated graph database)
- you want a standalone RDF database server rather than an embedded library
- you need SHACL validation or OWL reasoning (use the companion pySHACL or OWL-RL packages)
Facets
library · maturity stable
parser serialization search-engine developer-tools databases developer-tools python cross-platform rdf sparql turtle -ld ntriples nquads rdf-xml graph linked-data semantic-web ontology natural-language-processing
2 sources
- readme: https://github.com/RDFLib/rdflib · fetched 2026-08-28 · 4e5b8bdceb90
- registry_pypi: https://pypi.org/pypi/rdflib/json · fetched 2026-08-29 · 6fd0063d7b9c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| RDFLib/rdflib | main | 85 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem