3 ms·
rdflib-sqlalchemy is a SQLAlchemy rdflib graph store backend: https://github.com/RDFLib/rdflib-sqlalchemy https://github.com/RDFLib/rdflib-sqlalchemy It also
by westurner 6y ago
rdflib-sqlalchemy is a SQLAlchemy rdflib graph store backend:
https://github.com/RDFLib/rdflib-sqlalchemy https://github.com/RDFLib/rdflib-sqlalchemy
It also persists namespace mappings so that e.g. schema:Thing expands to http://schema.org/Thing http://schema.org/Thing
The table schema and indices are defined in rdflib_sqlalchemy/tables.py:
https://github.com/RDFLib/rdflib-sqlalchemy/blob/develop/rdflib_sqlalchemy/tables.py https://github.com/RDFLib/rdflib-sqlalchemy/blob/develop/rdf...
You can execute SPARQL queries against SQL, but most native triplestores will have a better query plan and/or better performance.
Apache Rya, for example:
> indexes SPO, POS, and OSP.
- mark_l_watson 6y agoThanks for your comment. I use rdflib frequently but have never tried the SQLAlchemy back end. Now I will. That said, Jena or Fuseki, or the commercial RDF stores like GraphDB, Stardog, and Allegrograph are so much more efficient.