liveBook · Manning

As operator

As explained in Graph Algorithms for Data Science

The AS operator assigns an alias to a Cypher expression or variable reference.

The AS operator assigns a readable alias to a Cypher expression or variable reference. In a RETURN clause, it changes the output column name without changing the matched data. section 3.1.2

Alias a returned property

This query finds Person nodes named Satish or Elaine and returns their names under the clearer column name person: MATCH (p:Person) WHERE p.name = 'Satish' OR p.name = 'Elaine' RETURN p.name AS person

How Graph Algorithms for Data Science covers it

How deep it goes
Defines aliasing and demonstrates it in RETURN, without examining execution internals or broader expression behavior.
Examples
Uses a Person-name query and an exercise returning name properties under an aliased column name.
What it assumes
Assumes familiarity with basic Cypher MATCH and RETURN clauses while introducing aliasing directly through a query example.
What you can do after
Apply it via Cypher queries to produce clearer result-column names.
How it connects
Connects AS with Cypher, MATCH, WHERE, RETURN, variable references, and node properties.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Graph Algorithms for Data Science. The section links point to the parts of the book it draws on.