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
Answering the recall question in one query by following four relationships, then counting and collecting the result, with PROFILE showing the work the database did.
Code zip with this lesson
By Roni Das About 15 minutes to read, and about 15 minutes for the hands-on lab.
The recall question is four hops long: from an incident to a part, to a model, to robots, to customers. This lesson is about walking hops like that on purpose. You will turn the walk's rows into the counts and lists a model actually needs, see what happens when a pattern is allowed to wander over any relationship in any direction, count across the whole graph without counting the same thing twice, and use PROFILE to see how much work the database did. One run of one read-only program produces every number below.
After this lesson you will be able to:
What you need first: the lesson "Your first Cypher: CREATE, MATCH and MERGE", and Ferncliff's graph loaded.
Time: about 25 minutes to read, and seconds for the lab to run.
What it costs: nothing beyond your Neo4j machine. No model calls, and the program only reads.
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.
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.