Skip to Main Content
Graph Data Processing with Cypher
book

Graph Data Processing with Cypher

by Ravindranatha Anthapu
December 2022
Intermediate to advanced content levelIntermediate to advanced
332 pages
6h 35m
English
Packt Publishing
Content preview from Graph Data Processing with Cypher

6

List Expressions, UNION, and Subqueries

We have looked at filtering and sorting in Cypher queries in earlier chapters. In this chapter, we will take a look at more advanced options for querying.

We will cover the following topics:

  • Working with list expressions
  • Working with UNION in Cypher
  • Working with subqueries

List expressions provide a powerful paradigm to manipulate list results in Cypher. UNION queries provide the means to combine the results of distinct queries and return data. Subqueries provide a powerful option for executing a query inside another query and using the results in the main query.

Now, let us take a look at list expressions.

Working with list expressions

Cypher provides native support for lists. This means that not ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Graph Algorithms for Data Science

Graph Algorithms for Data Science

Tomaz Bratanic
Graph Data Modeling in Python

Graph Data Modeling in Python

Gary Hutson, Matt Jackson

Publisher Resources

ISBN: 9781804611074Supplemental Content