Book Image

Neo4j Graph Data Modelling

Book Image

Neo4j Graph Data Modelling

Overview of this book

Table of Contents (16 chapters)
Neo4j Graph Data Modeling
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Modeling Bookings and Users

In the previous chapters, you learned how to model flights, reviews, comments, and users. We used a graph to find routes between two cities. However, we limited ourselves to problems that naturally fit into a graph, that is, routing. In this chapter, we will explore how graphs can be used to solve problems that are dominantly solved using RDBMS, for example, bookings.

We will discuss the following topics in this chapter:

  • Modeling bookings in an RDBMS

  • Modeling bookings in a graph

  • Adding bookings to graphs

  • Using Cypher to find bookings and journeys