Installation¶
Installation in a virtualenv is strongly advised!
Requirements: * git *
pip *
npm (shipped with Node.js on most
systems) * gcc/clang with c++11 support * Python
Development headers > You should have the
Python.h
header
available on your system.> For example, for Python 3.6, install the
python3.6-dev
package
on Debian/Ubuntu systems.Installing SaGe with the HDT backend¶
The core engine of the SaGe SPARQL query server with HDT as a backend can be installed as follows:
git clone https://github.com/sage-org/sage-engine
cd sage-engine/
pip install -r requirements.txt
pip install -e .[hdt]
Installing SaGe with the PostgreSQL backend¶
The SaGe SPARQL query server can also be installed with PostgreSQL as a backend.
pip install -e .[postgres]