O'Reilly logo

Learning Neo4j 3.x - Second Edition by Rik Van Bruggen, Jérôme Baton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using a graph model for recommendations

We will be using a very specific data model for our recommender system. In total, we have the following:

  • Ten products
  • Three product brands
  • Fifty relationships between existing person nodes and the mentioned products, highlighting that these persons bought these products

These are the products and brands that we added:

Adding products and brands to the dataset

The following diagram shows the resulting model:

 Our meta model

In Neo4j, this model will look something like the following:

A view on our dataset ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required