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 Python graph database library implementing the `SPARQL `_ standard. It is built on top of `Oxigraph `_ using `PyO3 `_. 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 `_. There is also a small library providing an `rdflib `_ store using pyoxigraph: `oxrdflib `_. 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 = Store() ex = NamedNode('http://example/') schema_name = NamedNode('http://schema.org/name') store.add(Quad(ex, schema_name, Literal('example'))) for binding in store.query('SELECT ?name WHERE { ?name }'): print(binding['name'].value) Table of contents """"""""""""""""" .. toctree:: model io store sparql migration