Chapter 3. Formulating an Itinerary
In the previous chapter, you learned to visualize a domain as a graph and how to feed it into Neo4j using Cypher. This chapter will revolve around using that data to get the desired information. This can be done using Cypher to query the graph and return the desired data. You will learn the following:
- Querying using Cypher for variable length relationships
- Using functions to extract data from a collection of nodes
- What operations are suited for Cypher
Creating an itinerary from flights and cities
We modelled cities and flights in the previous chapter. In this chapter, our primary focus will be on creating an itinerary from the graph we have. A few considerations while we are fetching the itinerary are as follows: ...
Get Neo4j Graph Data Modeling now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.