I'm working on a proof of concept using Laravel and Neo4j as a backend. NeoEloquent is the pefered choice for now: https://github.com/Vinelab/NeoEloquent
For the moment I have a 'person' model with a hasmany relation to 'term'. This works well, just as it is described in: https://github.com/Vinelab/NeoEloquent#one-to-many
The next step is to create dynamic relationships. So a term can have a relationship to another term. The relationship type also has to flexible. So it can be a kind of, copied, relation to, etc. Just like this:
The relationship types shouldn't be fixed and will be visualized at a later stage. What is the best approach for this? Can I do this with Polymorphic relations and HyperEdges? From what I understand is that with Polymorphic relations an additional node is created in between. This concept is different than how Neo4j works, where the edges have properties and attributes. Am I right? What is the best approach for this?