From d66d9e3b40bb621474726df53bec6b20a0958270 Mon Sep 17 00:00:00 2001
From: Mislav Bradac <mislav.bradac@memgraph.io>
Date: Thu, 13 Jul 2017 14:19:13 +0200
Subject: [PATCH] Document allowed symbolic names

Reviewers: teon.banek, buda

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D545
---
 docs/user_technical/open-cypher.md | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/docs/user_technical/open-cypher.md b/docs/user_technical/open-cypher.md
index 3d29133e7..205f3f8be 100644
--- a/docs/user_technical/open-cypher.md
+++ b/docs/user_technical/open-cypher.md
@@ -412,3 +412,25 @@ functions.
  `startsWith` | Check if the first argument starts with the second.
  `endsWith`   | Check if the first argument ends with the second.
  `contains`   | Check if the first argument has an element which is equal to the second argument.
+
+### Differences
+
+Although we try to implement openCypher query language as closely to the
+language reference as possible, we had to make some changes to enhance the
+user experience.
+
+#### Symbolic Names
+
+We don't allow symbolic names (variables, label names...) to be openCypher
+keywords (WHERE, MATCH, COUNT, SUM...).
+
+#### Matching the Same Edge
+
+We support using the same edge name to match that edge across the whole pattern.
+For example:
+
+    MATCH ()-[r]-()-[r]-() RETURN r
+
+The above would find the edge `r` which forms a circular connection on a node.
+This behaviour is not supported in openCypher reference and the query would
+fail.