Aggregate versus connected data models
Data can be modeled in Neo4j using both connected and aggregated forms. The connected form has the advantage that new dimensions can be easily extracted from the same model. In comparison, the aggregate form (also can be called as MapReduce) can give us quick access to the aggregated result, which is very useful in particular. In this recipe, you will learn both data models and a third one also, which has been derived by combining both of these data models.
Getting ready
Install the Neo4j graph database on the host machine using the recipe described in Chapter 1, Getting Started with Neo4j. This installation process will depend on your preference for your machine OS type.
How to do it...
Perform the following ...
Get Neo4j Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.