Module
Schema Enforcement with Graph Types
In this module, you will learn how to define and manage a graph type schema for the recommendations dataset.
You will start with Full definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. element types, add Full 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. types and Full definition for constraint (opens in a new tab)A rule the database enforces on every node or relationship with a given label or type, rejecting any write that breaks it., and finish by assembling a complete enforceable schema for the entire graph.
By the end of this module, you will be able to:
- Define node element types with typed Full definition for property (opens in a new tab)A named value stored on a node or a relationship. and constraints
- Add relationship element types that enforce how nodes connect
- Use
SET,ADD,ALTER, andDROPto manage your graph type over time - Build a complete, enforceable schema for a real-world dataset