O'Reilly logo

Neo4j Cookbook by Ankur Goel

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

Travel data modeling with Neo4j

Travel is the most happening and an evergreen field when it comes to start-ups. According to a study, nearly two-third of start-ups start operations in the travel field.

In this recipe, you will learn how to build a route-planning application using the open flight database.

Getting ready

Install the Neo4j graph database over the host machine using the recipe described in Chapter 1, Getting Started with Neo4j. This installation process will depend on your preference for your machine OS type.

For this recipe, we will use data from http://openflights.org/data.html. They have data each airport and of the routes between airports.

The list of cities will be obtained from GeoName data taken from http://download.geonames.org/export/dump/ ...

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