rdflib 5.0.0

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

  • Store implementations

    • for in-memory and persistent RDF storage - Berkeley DB

  • Graph interface

    • 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

In depth

If you are familiar with RDF and are looking for details on how RDFLib handles RDF, these are for you.

Reference

The nitty-gritty details of everything.

API reference:

The Code

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.

Further help

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 existing [rdflib] tagged questions is there at: