Module 1

Reading Data from Neo4j

Introduction

In this module you will learn how to write CypherNeo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it. code to retrieve data from the graph.

What You Will Learn

You will learn how to:

  • Retrieve nodesA vertex in a graph. In a property graph it can carry labels and properties. from the graph.
    • Retrieve nodes with a particular labelA tag on a node that groups it with other nodes of the same kind. A node can carry more than one..
    • Filter the retrieval by a propertyA named value stored on a node or a relationship. value.
    • Return property values.
  • Retrieve nodes and relationshipsA named, directed connection between two nodes. Every relationship has a type, a start node and an end node. from the graph using patternsA graph structure written in Cypher, such as a node joined to another node by a relationship. in the graph.
  • Filter queries

Using the Movies example dataset, you will create and execute Cypher code to find actors and movies in our graph.

Domain model for this course

Here is the data modelThe labels, relationship types and properties chosen to represent a domain. used in this course. The graph contains nodes with the labels Person and Movie. Person nodes have several types of relationships to Movie nodes. A Person node can have a FOLLOWS relationship to another Person node.

Ready, let's go! →