Wrapping Up

We’ve seen in this chapter how we can query property graphs using the Cypher query language. We started off by giving a quick recap of Cypher patterns for building and querying nodes, relationships, and paths. We also showed off a simple test query library.

Next, we looked at our reference book graph and saw how we could implement that in Cypher as a property graph. It turns out that Cypher is expressive enough to capture all the features we want to model. We looked at some basic queries on this simple graph.

To make things a little more interesting, we then turned to the ARPANET graphs and saw how we could render the early ARPANET logical network maps as property graphs. And we got to try out some path queries on those historical ...

Get Exploring Graphs with Elixir 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.