Cypher CREATE Clause: Adding Nodes & Relationships to Your Graph [Byte-Sized Cypher Series]
Welcome to Byte-Sized Cypher! This is a short, beginner-friendly video series that teaches the openCypher query language through clear, practical examples and memorable snack-based metaphors đ.
In this series, DevRel legend and snack enthusiast Jason Koo breaks down the most important openCypher clauses into small, digestible episodes. openCypher is the open source version of the Cypher query language originally created by Neo4j, and is designed specifically for working with graph databases and highly connected data.
Just to clarify: Jason doesnât work for G.V(), but weâre big fans of this video series, and with his permission, weâre sharing these videos with our blog readers. We hope this series helps you master the Cypher query language â or even just get comfortable with using it for the very first time!Â
This week, weâll include the intro to the series and the first Cypher clause youâll learn: CREATE.
Series Introduction: Welcome to Byte-Sized Cypher!
Cypher uses an ASCII-style syntax that visually represents nodes (a.k.a. vertexes) and relationships (a.k.a. edges), making it easier to read, write, and reason about complex data structures. Throughout the series, youâll see how openCypher works across multiple graph database implementations that support the openCypher standard.
To make each lesson concrete, every episode is paired with a popular Japanese snack, from classics like Pocky and Ramune to regional and seasonal favorites. These snacks serve as real-world examples as you build and run actual Cypher queries, helping abstract graph concepts feel intuitive and practical.
By the end of Byte-Sized Cypher, youâll be able to build a fully functional graph-powered snack database, with use cases such as:
- Creating a personal snack inventory đ
- Mapping regional Japanese snacks for travel planning đž
- Building a gift recommendation engine based on flavor preferences đ
If youâre new to graph databases, Cypher, or openCypher, this series will give you a strong foundation while showing how these tools can be used in real-world applications. Grab your favorite snack, fire up your database, and letâs start building graphs!
The Cypher CREATE Clause: Adding Nodes & Relationships to Your Graph
Welcome to Episode 1 of Byte-Sized Cypher!Â
In this episode, Jason introduces the Cypher CREATE clause, the foundation of all graph databases. Youâll learn how to add nodes and relationships to a graph database step by step, using examples inspired by Calbee potato chips.
He starts with the simplest CREATE statement and explains how nodes are represented in graph databases like Neo4j, Memgraph, and FalkorDB. From there, youâll layer in essential concepts including:
- Creating nodes with the CREATE clause
- Adding labels to categorize nodes
- Using properties to store data on nodes
- Supported property value types (strings, numbers, booleans, lists, maps, temporal and spatial data)
- Differences in ID handling across graph databases
- Best practices and anti-patterns when storing complex data
- Creating relationships with direction and relationship types
- Building long relationship chains in a single CREATE statement
By the end of this video, youâll understand how graph databases explicitly model relationships and how to quickly populate a graph with meaningful connected data using Cypher.
This episode sets the groundwork for the rest of the Byte-Sized Cypher series, where weâll explore clauses like MATCH, RETURN, WHERE, SET, MERGE, and more.
Here are a few links to further resources, tools, and graph databases mentioned in the video:
- openCypher: https://opencypher.orgÂ
- G.V(): https://gdotv.comÂ
- FalkorDB: https://www.falkordb.comÂ
- Memgraph: https://memgraph.com
- Neo4j: https://neo4j.com/docs/cypher-manual/current/introduction/
See You at the Next Episode of Byte-Sized Cypher!
Hungry for more Cypher? Check out the full series playlist here as Jason is always adding more videos. If you enjoyed this video, subscribe to Jason Kooâs YouTube channel for more great videos on graph technology and other great developer tools, platforms, and languages.Â
Need a break between snacks? Catch the next episode of Byte-Sized Cypher here on the G.V() blog every Monday. See you there! Â
Looking for a tool to help you learn and explore a new graph database? Download G.V() today and amp up your graph skills with an IDE built by devs for devs.Â