Skip to content

Commit bb9df0e

Browse files
committed
updates after review
1 parent 3c849f9 commit bb9df0e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/ROOT/pages/cypher/index.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ The "Query fundamentals" gives you a hands-on introduction to Cypher.
4343
The graph is composed of <<nodes>> and <<relationships>>, which may also have assigned <<properties>>.
4444
With nodes and relationships, you can build a graph that can express both simple and complex patterns.
4545

46-
Pattern recognition is a key fundamental cognitive process, making Cypher, which utilizes pattern matching, more intuitive to learn.
46+
Pattern recognition is a key fundamental cognitive process.
47+
With Cypher, you can use pattern matching, which in turn makes the learning process more intuitive.
4748

4849
[#cypher-syntax]
4950
== Cypher syntax
@@ -60,8 +61,7 @@ ifdef::backend-pdf[]
6061
link:https://www.youtube.com/watch?v=_dup3YOZSm8[What is Cypher?]
6162
endif::[]
6263

63-
Cypher's constructs are based on English prose and iconography.
64-
It allows the user to get a natural language understanding while programming.
64+
Cypher's constructs are close to natural language and the syntax is designed to visually look like a graph.
6565

6666
.A graph example involving four nodes and three relationships.
6767
image::cypherintro-graph1.svg[role="popup-link",width=600]
@@ -170,8 +170,8 @@ MATCH (p:Person)-[:LIKES]-(t:Technology)
170170
An undirected relationship does not mean that it doesn't have a direction, but that it can be traversed in *either* direction.
171171
While you can't *create* relationships without a direction, you can *query* them undirected (in the example, using the link:{docs-home}/cypher-manual/current/clauses/match/[`MATCH`] clause).
172172

173-
Using undirected relationships in queries is particularly useful when you don't know the direction, since Cypher won't return anything if you write a query with the wrong direction.
174-
Cypher will therefore retrieve *all* nodes connected by the specified relationship type, regardless of direction.
173+
Since Cypher won't return anything if you write a query with the wrong direction, you can use undirected relationships in queries when you don't know the direction.
174+
This way, Cypher will retrieve *all* nodes connected by the specified relationship type, regardless of direction.
175175

176176
[NOTE]
177177
====
@@ -290,7 +290,7 @@ RETURN sally,r,t
290290
==== Pattern variables
291291

292292
In the same way as nodes and relationships, you can also use variables for patterns.
293-
Considering the previous example, you can turn contain the whole pattern (`(Sally)-[:LIKES]->(Technology)`) inside a pattern by creating a variable (`p`) for it all:
293+
Considering the previous example, you can turn the whole pattern (`(Sally)-[:LIKES]->(Technology)`) into a variable (`p`):
294294

295295
[source,cypher]
296296
--

0 commit comments

Comments
 (0)