rdflib-sqlite3

RDFLib-SQLite3 is a Python library for using SQLite as an RDF store.

Related Software

RDFLib-SQLite

A (mothballed) plugin for RDFlib. The replacement plugin is RDFLib-SQLAlchemy - which is also in maintenance mode.

An interesting optimization is that rdf:type statements are put in a separate table. This allows specialized indices for rdf:type statements, which are very common.

Code

The source code is available in a Git repository on Codeberg: https://codeberg.org/ctrlall/rdflib-sqlite3.