/agraph-tutorials

AllegroGraph tutorials

Primary LanguageJupyter Notebook

AllegroGraph Python Tutorials

Getting Started

Welcome to the tutorials for AllegroGraph's python client. If you wish to run the notebooks in a Jupyter Lab environment we recommed you create a virtual environment using the following commands:

conda env create --file environment.yml

Then to launch the environment run:

conda activate ag-tutorial

Then to finally launch Jupyter Lab:

jupyter lab

If you wish to run the files in Google Colaboratory please follow the instructions provided in the notebooks.

Notebooks

  • tutorial. This is the most thorough tutorial of using python with AllegroGraph and contains everything you need to know to get to know the ins and outs of AllegroGraph with Python.

  • agraph-python-demo. This is a much shorter demo of the most essential aspects of the python AllegroGraph client.

  • allegrograph-etl. This is a demo of how to read in files of any type and convert the data to triples. We also show how to link up multiple sources of data into a single connected graph.

  • rbac-permissions. A demo of how to create and manage user and role permissions using the python client.

  • attribute-based-permissions. A demo of the advanced security capabilities of triple attributes.

  • rdf-star-demo. A demo showcasing RDF-star and SPARQL-star using AllegroGraph Python.