Chapter 2. Querying the Graph with Cypher

We never live in isolation and this hold true with our data, which is nothing more than an interconnection between varied kinds of domains known as graphs.

Graphs are complex and evolving, so, to extract data from these complex graphs, we need an efficient query mechanism that focuses on the domain model and encourages "What to retrieve?" instead of "How to retrieve?".

Neo4j introduces a powerful, declarative, and SQL-inspired graph query language, Cypher.

Cypher is designed to be a humane query language, that leverages the concepts of pattern and pattern matching and allows for expressive, efficient querying and updating of the graph store. Cypher is a relatively simple but very powerful language.

This chapter ...

Get Building Web Applications with Python and Neo4j now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.