Chapter 5. Schema

This section explains how to work with an optional schema in Neo4j in the Cypher query language.

Labels are used in the specification of indexes, and for defining constraints on the graph. Together, indexes and constraints are the schema of the graph. Cypher includes data definition language (DDL) statements for manipulating the schema.