›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 labelA tag on a node that groups it with other nodes of the same kind. A node can carry more than one., creating indirect relationshipsA named, directed connection between two nodes. Every relationship has a type, a start node and an end node., or normalizing propertiesA named value stored on a node or a relationship. to nodesA vertex in a graph. In a property graph it can carry labels and properties..
- Write the 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. 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