Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Neo4j Graph Data Modelling

You're reading from   Neo4j Graph Data Modelling Design efficient and flexible databases by optimizing the power of Neo4j

Arrow left icon
Product type Paperback
Published in Jul 2015
Publisher
ISBN-13 9781784393441
Length 138 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mahesh K Lal Mahesh K Lal
Author Profile Icon Mahesh K Lal
Mahesh K Lal
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Graphs Are Everywhere FREE CHAPTER 2. Modeling Flights and Cities 3. Formulating an Itinerary 4. Modeling Bookings and Users 5. Refactoring the Data Model 6. Modeling Communication Chains 7. Modeling Access Control 8. Recommendations and Analysis of Historical Data 9. Wrapping Up Index

Recommending hotels to travelers


Reviews and ratings help travelers to decide on a hotel to stay at when travelling to or transiting through a particular place. However, reviews are dependent on people's personal tastes. A few other inputs that can help travelers make a better decision are:

  • Hotels which are from the same chain

  • Hotels which other similar travelers have stayed at

  • Hotels in a particular price range

These parameters aren't well defined, and we will define each of these better when we explore each scenario. Also, these aren't the only parameters that necessarily need to be considered, as recommendations can be made around any set of parameters.

It's easier to start with recommending hotels from the same chain that the traveler has visited earlier. We will assume that a traveler has visited a hotel if he has written a review for it. In all the queries for the recommendation of a hotel, we have constrained the search to an airport since they are mostly transit hotels.

Recommending hotels...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime