Module 1

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 nodeA vertex in a graph. In a property graph it can carry labels and properties. element types, add relationshipA named, directed connection between two nodes. Every relationship has a type, a start node and an end node. types and constraints, 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 propertiesA named value stored on a node or a relationship. and constraints
  • Add relationship element types that enforce how nodes connect
  • Use SET, ADD, ALTER, and DROP to manage your graph type over time
  • Build a complete, enforceable schema for a real-world dataset
Ready, let's go! →