Sample Files, Tutorials, and Notebooks

The topics in this section describe the AnzoGraph sample data and provide a couple different tutorials to help familiarize you with AnzoGraph the SPARQL and Cypher query languages. The Working with the Tickit Data and Working with the TPCH Data topics detail the data sets and include load and analytic queries that you can copy and run using the AnzoGraph Query Console (if available with your solution), command line interface, or another interface. The Working with Cypher and the Movies Graph Database topic details the data set commonly used in the Neo4j sandbox environment and demonstrates use of Cypher queries with AnzoGraph.

Sample Data Summary

AnzoGraph includes the following sample data sets:

  • Tickit: This simple data set captures sales activity for a fictional Tickit website where people buy and sell tickets for sporting events, shows, and concerts. The example queries for this data set include detailed explanations of the query syntax. The goal is to help guide you through learning about the SPARQL language and concepts as well as demonstrate different analytic use cases.
  • TPCH: This complex data set represents the SQL TPC-H Decision Support data, which Cambridge Semantics converted to the RDF graph model. The data set captures activities for wholesale suppliers where vendors purchase parts from suppliers and sell them to customers. The example queries in this data set include less detailed desciptions and target more experienced SPARQL users. Since this data set originated as SQL test data, it also demonstrates AnzoGraph performance and the ability to use RDF/SPARQL to accomplish anything that you can do with SQL.
  • Movies: This data set is based on the graph database provided in the Neo4j sandbox environment. For users already familiar with Cypher, using this data set previews current AnzoGraph support of the Cypher language, so you can execute many of the same Cypher commands and queries as you would in other environments that support Cypher.

Zeppelin Notebook Integration

In addition to the tutorials in this guide, Cambridge Semantics offers an Apache Zeppelin notebook as well as a Zeppelin Docker image for download. The Zeppelin image includes a custom SPARQL interpreter for securely connecting to AnzoGraph, and the notebook guides you through loading the sample data, running SPARQL queries to explore the data, and loading your own data. For more information, see Deploying Zeppelin and Connecting to AnzoGraph.

Related Topics