CHAPTER 4

image

Querying

Neo4j includes a powerful and expressive query language called Cypher. Cypher is a declarative query language that provides for very efficient reading and writing of data within Neo4j. This chapter starts with some background on Cypher and then moves to an overview of some basic Cypher operations.

If you are familiar with Structured Query Language (SQL), then you will notice some similarities between it and the Cypher language. The section “SQL to Cypher” describes some of those similarities and compares statements in SQL and Cypher.

This chapter goes on to discuss read statements, more advanced statements that exploit the ...

Get Practical 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.