pyoxigraph |release| ==================== .. image:: https://img.shields.io/pypi/v/pyoxigraph :alt: PyPI :target: https://pypi.org/project/pyoxigraph/ .. image:: https://img.shields.io/pypi/implementation/pyoxigraph :alt: PyPI - Implementation .. image:: https://img.shields.io/pypi/pyversions/pyoxigraph :alt: PyPI - Python Version .. image:: https://img.shields.io/pypi/l/pyoxigraph :alt: PyPI - License Pyoxigraph is a graph database library implementing the `SPARQL `_ standard. It is built on top of `Oxigraph `_ using `PyO3 `_ to provides a Python API. It offers two stores with `SPARQL 1.1 Query `_ capabilities. One of the store is in-memory, and the other one is disk based. It also provides a set of utility functions for reading, writing and processing RDF files in `Turtle `_, `TriG `_, `N-Triples `_, `N-Quads `_ and `RDF/XML `_. pyoxigraph is `distributed on Pypi `_. Oxigraph and pyoxigraph source code are on `GitHub `_. Installation """""""""""" Pyoxigraph is distributed on `Pypi `_. To install it, run the usual ``pip install pyoxigraph`` Example """"""" Insert the triple `` "example"`` and print the name of ```` in SPARQL: :: from pyoxigraph import * store = MemoryStore() ex = NamedNode('http://example/') schemaName = NamedNode('http://schema.org/name') store.add((ex, schemaName, Literal('example'))) for binding in store.query('SELECT ?name WHERE { ?name }'): print(binding['name'].value) Table of contents """"""""""""""""" .. toctree:: :maxdepth: 2 model io store/memory store/sled