Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Neo4j Graph Data Modelling
  • Toc
  • feedback
Neo4j Graph Data Modelling

Neo4j Graph Data Modelling

By : Mahesh K Lal
3 (1)
close
Neo4j Graph Data Modelling

Neo4j Graph Data Modelling

3 (1)
By: Mahesh K Lal

Overview of this book

If you are a developer who wants to understand the fundamentals of modeling data in Neo4j and how it can be used to model full-fledged applications, then this book is for you. Some understanding of domain modeling may be advantageous but is not essential.
Table of Contents (11 chapters)
close
10
Index

A model for reviews and comments


The following figure gives an example of the information that reviews and comments will contain:

Figure 6.1: Reviews and comments

Every review has to be uniquely identified for which we use the _id property. Value for money, comfort, food, and service are all the parameters that have been discussed earlier. The rating has been given on a scale of 1 to 5, assuming 1 to be lowest and 5 to be the highest. In addition to these, we have created_on, which is the timestamp of the creation of the review. Similarly, stayed_on is a timestamp of the day that the reviewer stayed at the hotel. We also capture additional information such as stay_year, stay_month, and stay_day. This will help us with range queries on the time of the year that the review was written.

Comments have _id, which uniquely identifies a comment. The created_on property is the timestamp of when the comment was created. The text is the actual communication that the traveler wants to send across to the...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete