Supported optional GQL features

This page lists the optional GQL features Cypher® is either fully or partially conformant with.

Optional GQL features are assigned a feature ID code. These codes order the features in the table below.

GQL Feature ID Description Comment

GA06

GF01

Enhanced numeric functions

Supported functions: abs(), floor(), and sqrt().

GF02

Trigonometric functions

Supported functions: acos(), asin(), atan(), cos(), cot(), degrees(), radians(), and tan().

GF03

Logarithmic functions

Supported functions: exp() and log10().

GF05

Multi-character trim functions

Supported functions: ltrim() and rtrim().

GO35

GO36

GO74

GQ01

Cypher’s USE clause supports static graph references (e.g. USE myComposite.myGraph)and dynamic graph references (e.g. USE graph.byName(<expression>)). However, Cypher does not support GQL’s full graph reference syntax. For example, GQL’s graph reference values CURRENT_GRAPH and CURRENT_PROPERTY_GRAPH cannot be used in Cypher.

GQ03

GQ13

Cypher requires using the WITH clause, which GQL does not.

GV50

GV55

GV66

GV67

GV70

GV71

Cypher and GQL sometimes name functions differently and, as a result, several Cypher functions offer the same (or very similar) functionality to their GQL counterpart, yet they are not conformant with GQL. For more information, see the page Optional GQL features and analogous Cypher.