TutorialsPatternsField notes

Notes from the graph & GenAI frontier.

Tutorials, patterns and field notes on building GraphRAG systems, knowledge graphs and LLM agents on Neo4j — written by the people who build them.

16 posts · 9 topics · something new every week

Browse Posts

Find your next read

16 posts
Cypher
Cypher

The DIFFERENT RELATIONSHIPS Match Mode in Cypher

By default, a Cypher pattern follows each relationship only once, but can reach the same node many times. See how WHERE and ACYCLIC remove repeated nodes.

Adam CowleyAdam CowleyNov 16, 2026 — 3 min read
Cypher

Relationship Uniqueness in Cypher, and When You Need WHERE NOT

Where to WHERE NOT and where to not WHERE NOT. Understand how Cypher follows relationships and when you need to exclude nodes from the result.

Adam CowleyAdam CowleyNov 13, 2026 — 5 min read
Cypher

Write your first Cypher query without installing anything

Write your first Cypher queries in the browser on Relate, from finding an actor to creating a node, with nothing to install.

Adam CowleyAdam CowleyNov 12, 2026 — 3 min read
Cypher

How to load Parquet files into Relate

Convert Parquet files to CSV with DuckDB, then load them into a Relate graph with LOAD CSV and typed properties from the command line.

Adam CowleyAdam CowleyNov 12, 2026 — 4 min read
Cypher

How to run a Cypher engine in the browser with WebAssembly

Run Cypher in a browser tab with no database server, by loading Relate on first use, queueing queries, seeding a graph and handling an engine crash.

Adam CowleyAdam CowleyNov 12, 2026 — 5 min read
Cypher

Three ways to run Relate, the embedded Cypher database

Install Relate and run the same Cypher from the command line, embedded in an application and from an agent.

Adam CowleyAdam CowleyNov 12, 2026 — 6 min read
Cypher

Why we use Relate to provision databases for our learners

Neo4j Fundamentals learners run a handful of MATCH queries, so a provisioned Aura instance each was more than they needed. We now run Relate, an embedded graph database from relatedb.ai, in the browser instead.

Adam CowleyAdam CowleyNov 12, 2026 — 4 min read
Cypher

Using UUID properties in a Neo4j graph type

Neo4j 2026.08 added a UUID type. Declare it in a graph type, generate values with uuid(), and let the database reject anything else.

Adam CowleyAdam CowleyNov 2, 2026 — 3 min read
Cypher

How Many Connected Four-Letter Words Are There?

I loaded 7,186 four-letter words into Neo4j, linked every pair one letter apart, and used SHORTEST to solve word ladders.

Martin O'HanlonMartin O'HanlonOct 9, 2026 — 6 min read
Cypher

Setting and checking property types in Neo4j

Neo4j property types are whatever the last write said they were. Type predicates and constraints fix that - once you know the null gotcha.

Adam CowleyAdam CowleyOct 1, 2026 — 5 min read
Aura

My five favorite cards in Aura Dashboards

When Dashboards first became available in Aura, I started to move my reporting away from custom tools. Here are the five cards I use the most, and a Cypher statement behind them.

Adam CowleyAdam CowleyAug 24, 2026 — 5 min read
Cypher

Writing Cypher Queries That Don't Lose Your Data

The query trap that hides your newest data, and the query shape that brings it back.

Kemi Elizabeth OjogbedeKemi Elizabeth OjogbedeJul 29, 2026 — 9 min read