I'm looking for [free] server software to store hierarchal data efficiently. My key challenge is that an object or group of objects almost always has 2 "parents" and one or both parents can have different connections with other parents, and those descendants must remain distinct from the common parent's other descendants.
Example:
A and B
C
D
E and F
G
H
E and I
J
K
L and M
...
I guess the gotcha will probably be that I'd strongly prefer to use this with PHP, but I'm open to learning a new language, as this is a personal project without any deadline. (I'm using a Linux server; I'm not willing to change that)
Edit: To clarify my example - C, D and E are all direct descendants of both A and B, F and I are descendants of something else, possibly the same thing, possibly not, G and K are both direct descendants of both E and F, etc.