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 venvcreate virtual environmentsource venv/bin/activateto activate venv on Linux orvenv\Scripts\activate.batto activate venv on Windowspip install -r requirements.txtinstall dependenciespython -m ipykernel install --user --name=zazukoadd python kernel to jupyterjupyter sparqlkernel install --user zazukoadd SPARQL kernel to jupyterjupyter notebookstart 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: