RDFLib is a pure Python package for working with RDF. RDFLib contains most things you need to work with RDF, including:
Many 3rd party packages support additional Stores, parsers etc.
The RDFLib community maintains many RDF-related Python code repositories with different purposes. Most of the currently operating packages are shown here:
Please see the list of all packages here:
RDFLib’s code repository, https://github.com/rdflib/rdflib/, contains some intro documentation in it’s README page, which is replicated to RDFLib’s PyPI page, https://pypi.org/project/rdflib/.
RDFLib also contains a set of documented examples in the example/
folder within the code repository.
However, the main source of RDFLib documentation is online at https://rdflib.readthedocs.io. That contains pages hand written by RDFLib contributors and auto-generated pages from the RDFLib codes.
7.1.3 is the current release (Jan, 2025) and a major release of a version 8 is expected in the first half of 2025.
some major historical releases of RDFLib are:
Release | Date | Note |
---|---|---|
7.1.3 | 10 Jan 2025 | Minor updates on 7.0.0 including deterministic serialisation, improved type hinting etc. |
7.0.0 | 02 Aug 2023 | A major release with relatively slight breaking changes, new features and bug fixes |
6.0.0 | 20 Jul 2021 | The next major update with lots of auto-update PRs from dependabot etc |
5.0.0 | 18 Apr 2020 | The first update in many years. Very compatible with 4.2.2 |
4.2.2 | 30 Jan 2017 | A stable release used widely for many years |
… | … | … |
1.1.1 | 12 Nov 2002 | First release! |
See the CHANGELOG in the code repository for full details.
RDFLib survives and grows via user contributions! Please consider lodging Pull Requests here:
You can also raise issues here:
For general “how do I…” queries, please use https://stackoverflow.com and tag your question with rdflib
.
Existing questions:
If you want to contact the RDFLib maintainers, please do so via: