Database Reference
In-Depth Information
Figure 3-11. Entity relationship diagram with a user's interests
Figure 3-12 shows the interest graph as it could be modeled for Neo4j. The interesting aspect in this graph type is
how the named relationship in this model, “UserInterests”, could be quickly modified to show a degree of interest and
the date and time when the interest was established.
Figure 3-12. Graph diagram with a user's interests
As you can see in Figure 3-13 , adding a simple measurement for frequency is fairly trivial. Although adding
the same measurement in the relational model is possible, the change would probably not happen as easily. More
importantly, connecting people with those who have similar interests will be even easier and much faster as the
degrees of connection begin to increase.
Figure 3-13. Graph diagram with a user's interests, including properties for the named relationship
Search WWH ::




Custom Search