Hi,
I'm looking for best practices in modeling inheritance in Neo4J.
Suppose I have a Person class. In the DB I naturally have a node for each
person. I'm following the design guide, and created a PEOPLE subreference
node, connected to all "Person" nodes (A and B in the diagram below)
Another factor to consider is multiple inheritance, where you are grouping
the people into overlapping groups. For example, you can have the
users/non.users split, but also perhaps a man/woman split, and this results
in four types. If you are concerned about having to restructure the graph
when add
Craig,
I like the tag tree idea. Quite flexible indeed.
Thanks!
--- Yaniv
On Thu, Nov 25, 2010 at 1:59 PM, Craig Taverner wrote:
> Another factor to consider is multiple inheritance, where you are grouping
> the people into overlapping groups. For example, you can have the
> users/non.users
3 matches
Mail list logo