O'Reilly logo

Neo4j Graph Data Modeling by Mahesh Lal

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

Chapter 8. Recommendations and Analysis of Historical Data

In the previous chapters, you learned how to use model flights and cities as a graph and have written queries to return flight routes. We also added airports, hotels, reviews for hotels, and access groups that we could use to decide which access rights an employee has.

In this chapter, we will explore how we can run recommendations using the data we have, and also see if we can uncover some patterns using historical data.

Recommending cities to travelers

We know which cities the travelers have traveled to on the basis of the journeys they have been a part of. This allows us to make recommendations to a traveler as to where they could travel next. Using information about where a user has traveled, ...

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