Topic

Cypher

Cypher is Neo4j's graph query language for connected data. Learn to model, query, and traverse graphs — from your first node to complex multi-hop relationships.

Cypher is the query language for Neo4j. Where SQL describes rows and joins, Cypher describes patterns: you draw the shape of the data you are looking for and Neo4j finds every match, so a friend-of-a-friend lookup that would take several joins in a relational database is a single line. Start with Cypher Fundamentals, then build up through Intermediate Cypher Queries and Cypher Aggregations to the indexing and schema techniques that keep queries fast on production-sized data.

13 courses~14h

Get Started with Relate

40 min

Install Relate, the embedded Cypher database. Seed a graph from a script and a CSV file, write data by hand and with an agent, then read it back.

Neo4j Fundamentals

1h

Learn Neo4j from scratch: how graph databases work, nodes and relationships, and your first Cypher queries — a free, hands-on tutorial in your browser.

Cypher Fundamentals

1h

Learn Neo4j's Cypher query language in this hands-on tutorial: read and write graph data, match nodes and relationships, and build queries in under an hour.

Graph Data Modeling Fundamentals

2h

Learn graph data modeling for Neo4j: turn domain questions into nodes, relationships, and properties, and apply modeling best practices that scale.

Importing Data Fundamentals

2h

Import data into Neo4j with confidence. Load CSV files, map relationships, and use Cypher and the Data Importer to build a graph from your own data.

Intermediate Cypher Queries

1h

Take your Cypher skills further in Neo4j: advanced filtering, variable-length traversal, pipelining with WITH, subqueries, UNWIND, and parameters.

Cypher Aggregations

1h

Master Cypher aggregation in Neo4j: count, collect, sum, avg, min, max, and percentile functions, plus lists and pattern comprehension, hands-on.

LOAD CSV Data Import

40 min

Master Neo4j's LOAD CSV clause in a hands-on lab. Read CSV files row by row, convert types, connect nodes, and build imports you can safely re-run.

Importing CSV data into Neo4j

1h

Write Cypher that imports CSV data into Neo4j. Create nodes and relationships with LOAD CSV, cast data types, and batch large imports in transactions.

Working with Dates and Durations

35 min

Work with Neo4j temporal types in Cypher: convert dates, truncate values for grouping, calculate durations, and build indexed date range queries.

Cypher Indexes and Constraints

2h

Speed up Neo4j queries with Cypher constraints and indexes: uniqueness, node keys, range, composite, text, and full-text indexes, all hands-on.

Full-Text Search in Neo4j

40 min

Create and query Neo4j full-text indexes with Lucene syntax: wildcards, fuzzy matching, boolean operators, and relevance scoring for text search.

Graph Type Schema Enforcement

40 min

Define and enforce a Neo4j graph schema with graph types: typed nodes and relationships, KEY and UNIQUE constraints, and incremental evolution.