May we use cookies so Meta, Google, LinkedIn and ChatGPT see your visit and we learn which ads work? PrivacyMay we use cookies to see which pages help, and let Meta, Google, LinkedIn and ChatGPT see your visit, so we know which of our ads work? That way we spend less on ads that do not work. We do not sell your data, and the site works the same if you decline. You can change your answer at any time under Cookie settings at the foot of the page. Privacy policy
Loading...
Part 1 · Foundations
Writing patterns as arrows, reading what comes back, and why CREATE makes duplicates on a rerun while MERGE with a constraint does not.
Code zip with this lesson
By Roni Das About 16 minutes to read, and about 15 minutes for the hands-on lab.
This lesson is where you start writing Cypher yourself. You will create a tiny graph, find it again with a pattern, and then do something every real project does by accident at least once: run the same load twice. With CREATE, the second run doubles your data without a single error. With MERGE, it changes nothing. Then you will meet the one MERGE mistake that still makes a duplicate, and the uniqueness constraint that turns that silent duplicate into a loud error. Every number in this lesson comes from one run of one program.
After this lesson you will be able to:
What you need first: the lesson "Nodes, relationships and properties", and your Neo4j database answering.
Time: about 25 minutes to read, and under a minute for the lab to run.
What it costs: nothing beyond your Neo4j machine. No model calls.
Dates and times: every time in this lesson is in UTC. Our run was on 6 December 2026, on the same AWS EC2 t2.small as the earlier labs.
Code: the program is in the code for this lesson, with a START-HERE note. It works on its own labels, TrialCustomer and TrialRobot, so it never touches Ferncliff's graph, and it deletes everything it made at the end.
Part 1 · Foundations: What a model's context is and why it decides the answer, the property graph and Cypher from zero, the Ferncliff knowledge graph, vector indexes inside Neo4j, and graph against vector retrieval measured on real questions.
One payment of ₹25,000 or $450 and opens every lesson with lifetime access.
Free to study first: Introduction: what this course builds, Before you start and What context engineering is.
Already bought it? Sign in to read this lesson.