Follow these steps to run the interactive pystardog tutorial.
-
Follow the directions here to set up Stardog on your computer.
-
Test that Stardog is running with
$ stardog-admin server status
This tutorial assumes that you are running Python 3.3 or newer. If
that is not the case, follow this
page
to get a virtualenv created instead of the following steps. I keep my
virtualenvs in ~/.virtualenvs
. If you use a different directory plug
it in instead.
-
Create a virtualenv
python3 -m venv ~/.virtualenvs/tutorial
-
Activate the virtualenv
. ~/.virtualenvs/tutorial/bin/activate
-
Install requirements
pip install pystardog jupyterlab pandas seaborn
Place these two files in the notebooks
directory.
From within the notebooks
directory in this repository:
jupyter notebook
Click the tutorial.ipynb entry to open it.