Introduction to Apache TinkerPop & Gremlin Query Language

take this coursetake this course

course overview

This workshop received rave reviews at Graph Day Austin in 2017 and sold out there. Now you can experience this course at your own pace. 

On-Demand Self-Guided 4-Hour Online Training Course

Cost: $99

All participants receive a FREE Graph T-shirt!

WHAT IS TINKERPOP?

Apache TinkerPop is an open-source, vendor-agnostic, graph computing framework distributed under the commercial friendly Apache2 license. When a data system is TinkerPop-enabled, its users are able to model their domain as a graph and analyze that graph using the Gremlin query language. All TinkerPop-enabled systems integrate with one another allowing them to easily expand their offerings as well as allowing users to choose the appropriate graph technology for their application.

WHY YOU SHOULD LEARN GREMLIN?Pretty much every graph database can be queried with Gremlin--and Microsoft just announced Gremlin/TinkerPop support for its own Azure Cosmos DB. Gremlin is well on its way to becoming the SQL of graph query languages.

WORKSHOP DESCRIPTION

This workshop uses the reference implementation of TinkerPop Gremlin, and a handful of sample data sets, to teach the Gremlin traversal language through hands-on examples.

For most students, their hands will never leave the keyboard as they follow the instructor and the examples in the student handout. At the end of the course, students will:

  • understand the difference between the graph data and the traversal process
  • know the elements of a TinkerPop property graph
  • be able to write basic traversals through the graph
  • be able to perform common mutations of the graph (insert, change and remove data)
  • be exposed to simple data transformations such as grouping, ordering, and aggregations.

Section 1: Introduction to Property Graphs

Apache TinkerPop, Gremlin Console, traversals vs. graphs, elements of a property graph: vertex, edge, property. Iterating results.

Section 2: Basic Traversals - Finding, Filtering & Projecting

Finding vertices, finding edges, returning property values. Traversing the graph. Filtering using predicates and the where(), is() and has() steps.

Section 3: Mutating the Graph - Adding, Changing & Deleting Data

Graph API vs. the Traversal API. Adding vertices, edges, properties. Editing properties. Removing properties, edges, vertices. Dropping a graph.

Section 4: Common Transformations - Grouping, Ordering & Aggregations

Review projections. Simple grouping examples. Ordering results by a property value. Aggregations.

Course Requirements

Attendees must have:

  • A laptop with wifi capabilities
  • git or unzip software (The GitHub repo can be cloned with git or downloaded as zip file).
  • Docker
  • ~300 MB free disk space for the Docker image
  • ~100 MB available RAM for the Docker container

About the Instructor

Josh Perryman (Data Architect, Expero)

Josh is a Senior Consultant/Data Junkie/Technology Lead at Expero. His deep familiarity with a multitide of graph platforms and tools makes him a highly sought after speaker, trainer and consultant in the graph space.

intended audience

customizable highlights