Although a newbie to Neo4j and cypher, I first built an in-memory, dynamic-schema, graph database over 4 decades ago (not industrial scale - just a postgrad project). One really neat feature was the ability to specify the multiplicity of the binary relationship (similar to UML). For example, using "bastardised cypher"
(:Person)-[:HAS_BIOLOGICAL_PARENT]-> [2:2] (:Person)
A person may only have two and only two biological parents (who are persons).
When you tried to add the third parent, the DBMS would throw an exception and not allow it!
Is there any inbuilt mechanism in Neo4j/cypher to do this or, if I want to do something similar, I'd have to "roll my own"?
TIA,
Paolo