Tutorial¶
The general AllegroGraph documentation is Here.
This is an introduction to the Python client API to the Python Application Programmer’s Interface (API) to Franz Inc.’s AllegroGraph.
The Python client tutorial rests on a simple architecture consisting of the following components:
An AllegroGraph server
A Python interpreter
The AllegroGraph Python API package which allows Python to communicate with an AllegroGraph server over HTTP or HTTPS.
This document - containing example code that can be pasted into the interpreter.
- Prerequisites
- Setting the environment for the tutorial
- Terminology
- Creating Users with WebView
- Example 1: Creating a repository and triple indices
- Example 2: Asserting and retracting triples
- Example 3: A SPARQL query
- Example 4: Statement matching
- Example 5: Literal values
- Example 6: Importing triples
- Example 7: Querying multiple contexts
- Example 8: Exporting triples
- Example 9: Exporting query results
- Example 10: Graphs in SPARQL
- Example 11: Namespaces
- Example 12: Free Text indexing
- Example 13: SPARQL query forms
- Example 14: Parametric queries
- Example 15: Range queries
- Example 16: Federated repositories
- Example 17: Triple attributes
- Example 18: Pandas support
- Example 19: Using JSON-LD
- Example 20: Reasoning
- Running AG on AWS EC2