RDFLib is a pure Python package for working with RDF. RDFLib contains useful APIs for working with RDF, including:
Parsers & Serializers
for RDF/XML, N3, NTriples, N-Quads, Turtle, TriX, RDFa and Microdata
and JSON-LD, via a plugin module
for in-memory and persistent RDF storage - Berkeley DB
to a single graph
or a conjunctive graph (multiple Named Graphs)
or a dataset of graphs
SPARQL 1.1 implementation
supporting both Queries and Updates
If you have never used RDFLib, the following will help get you started:
If you are familiar with RDF and are looking for details on how RDFLib handles RDF, these are for you.
The nitty-gritty details of everything.
Developers might also like to join rdflib’s dev mailing list: https://groups.google.com/group/rdflib-dev
The rdflib code is hosted on GitHub at https://github.com/RDFLib/rdflib where you lodge Issues and also Pull Requests to help improve this community project!
The RDFlib organisation on GitHub at https://github.com/RDFLib maintains this package and a number of other RDF and related packaged that you might also find useful.
For asynchronous chat support, try our gitter channel at https://gitter.im/RDFLib/rdflib
If you would like more help with using rdflib, please post a question using the tag
[rdflib] on StackOverflow. A list of
[rdflib] tagged questions is there at: