Hi again,

Perhaps I should elaborate a bit on the structure of problem I am
trying to solve, to give you guys a better understanding of what I
want to do.

I have a number of entity types: A,B,C,D
A relates to multiple B, each B relates to zero or one A
B,C and D form a complicated relationship where:
 each C can be involved in a relationship with zero or more B
 each of these relationships can then involve several D's,
 and each D can be involved in zero or more such relationships
In ascii-art this relationship would be:

        C
        1
        |
        *
B 1---* o *---* D

again:
one B in the relationship, each B can be involved in several
one C in the relationship, each C can be involved in several
multiple D's in the relationship, eacn D can be involved in several

So far so good, this is easy enough to model in Neo4j. What makes this
complicated is that the change history for each entity and the entire
graph structure needs to be stored. So that from I should be able to
find that version 5 of c1 was related to b3v2 with d8v1, d9v1, d10v4
and d11v3. While c1v6 is related to b3v2 with d8v1, d9v1, d11v3 and
d15v1.

Anyone have an idea on how to model the history management in a case
like this? You don't need to put too much focus on the actual
structure, I just want to get at a structure for capturing the change
history for the relationships in between entities.

Thanks,
--
Tobias Ivarsson <[email protected]>
Hacker, Neo Technology
www.neotechnology.com
Cellphone: +46 706 534857
_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to