›Challenge: Refactor the graph
4.5 · Lesson
Challenge: Refactor the graph
In this challenge, you will need to:
- Identify an opportunity to refactor the graph by adding a new iFull definition for label (opens in a new tab)A tag on a node that groups it with other nodes of the same kind. A node can carry more than one., creating indirect iFull definition for relationship (opens in a new tab)A named, directed connection between two nodes. Every relationship has a type, a start node and an end node., or normalizing iFull definition for property (opens in a new tab)A named value stored on a node or a relationship. to iFull definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties..
- Write the iFull definition for Cypher (opens in a new tab)Neo4j'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. query to refactor the graph.
- Create a new query that takes advantage of the refactored graph structure.
Join GraphAcademy to keep learning
Create your account to unlock 80+ hours of hands-on Neo4j courses, track your progress, and earn a certificate when you complete the course.
Sign in or register