diff --git a/modules/ROOT/pages/introduction/cypher_tutorial.adoc b/modules/ROOT/pages/introduction/cypher_tutorial.adoc index 4cc13c3df..fbce0078d 100644 --- a/modules/ROOT/pages/introduction/cypher_tutorial.adoc +++ b/modules/ROOT/pages/introduction/cypher_tutorial.adoc @@ -664,12 +664,44 @@ The below query searches the graph for outgoing relationships from the `Tom Hank [source, cypher] ---- MATCH (tom:Person {name:'Tom Hanks'})-[r]->(m:Movie) -Return tom, type(r), m.title +RETURN type(r) AS type, m.title AS movie ---- -The graph returned shows that he has 13 outgoing relationships connected to 12 different `Movie` nodes (12 have the `ACTED_IN` type and one has the `DIRECTED` type). +The result shows that he has 13 outgoing relationships connected to 12 different `Movie` nodes (12 have the `ACTED_IN` type and one has the `DIRECTED` type). -image::introduction_example1.svg[width="500",role="middle"] +.Result +[role="queryresult",options="header,footer",cols="2*