Zazuko works with data from all areas of life, for example data on demographics, the economy, the environment and politics. These datasets are published as Linked Data.
These tutorials show how to work with Linked Data. They will guide you to working with SPAQRL directly in python. We recommend them to people who would like to:
- Learn to query Linked Data
- Explore datasets about Switzerland
To setup the project locally after you have cloned this repository:
python3 -m venv venv
create virtual environmentsource venv/bin/activate
to activate venv on Linux orvenv\Scripts\activate.bat
to activate venv on Windowspip install -r requirements.txt
install dependenciespython -m ipykernel install --user --name=zazuko
add python kernel to jupyterjupyter sparqlkernel install --user zazuko
add SPARQL kernel to jupyterjupyter notebook
start a server
For more details on setting up a jupyer notebook in a virtual environment, look here. For more details on installing the SPARQL kernel, look here.
You can execute our notebooks in Google Colab environment. To run it in Colab, you will need to install all dependencies.
First, import requirements.txt
to your workspace. Then install them. You can do it by running (in Colab):
!pip install -r requirements.txt
We provide tutorials on datasets available as Linked Data. These datasets are published together with various Swiss organizations.
Available tutorials are: