I am trying to integrate Cayley's , a graph database's query language Gizmo, into Rye . To do this, I need to get to know it well enough. Not just the exact query language, but I need a better understanding of how to solve problems with graph databases. Since outside of the official documentation and tutorial, I couldn't find many resources about Gizmo, I decided to write this down. I am using the 30kmoviedata graph, that you can find on Cayley's Github repository. AFAIK the graph includes at least a network of movies, directors and actors. I will try to compare the Gizmo to SQL where applicable. I am just learning, take it all with a grain of salt and let me know if I made any mistakes. Very basics Let's start with the basics and get a title of a film based on ID . In SQL this would be something like: select name from film where id = "/en/alien_1979" ; and in Cayley's Gizmo: g.V().Is( "</en/alien_1979>" ).Out( ...