as I am relatively new to Neo4J and I was wondering if it is possible to impose user defined data integrity constraints on the stored data.
The manual says that it is possible to impose UNIQUE constraints and here Michael Hunger pointed out that in the current RC NOT NULL constraints have been added.
I was wondering if it is possible, in some way, to define constraints like "every node with label X has to have a relationship with Label Y" or to impose, in some way, a type system, possibly with a type hierarchy and everything. Such constraints should automatically be checked by the DBMS, like in many of the old school (relational) database systems.
Cheers!