1.1 · Lesson

What Are Graph Types?

As your graph grows, so does the risk of inconsistent data creeping in — a missing propertyA named value stored on a node or a relationship. here, the wrong type there. Graph types give you a way to define and enforce a schema at the database level, catching problems at write time rather than after the damage is done.

Graph types were introduced in Cypher 25, the latest version of 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 language, and are available in Neo4j Enterprise Edition. The reset script for this lab has already configured your sandbox to use Cypher 25 as the default language.