Cypher Query Language Reference
In addition to SPARQL, AnzoGraph DB also provides Cypher language support, patterned after compatibility with the openCypher community group's language specification for query and update of graph databases. openCypher is an open, multi-vendor initiative aimed at making the Cypher language available as a industry-standard query language for graph databases. Cypher® is a registered trademark of Neo4j, Inc.
The documentation provided here describes compatibility of the AnzoGraph DB Cypher implementation compared to the Cypher language as described in the openCypher community group's Cypher Query Language Reference. See the openCypher Resource page available at https://www.opencypher.org/resources/. A PDF copy of the Version 9 Cypher Query Language Reference is available at https://s3.amazonaws.com/artifacts.opencypher.org/openCypher9.pdf.
This documentation follows the topic order and description of Cypher language elements as defined in the Cypher Query Language Reference:
- Cypher Language Overview: Description of the Cypher graph data model, using Cypher in AnzoGraph DB, syntax and language statement conventions, and basic limitations or restrictions.
- Cypher Patterns: Patterns that define the shape of data to match in a query.
- Cypher Types, Lists, and Maps: Supported property, structural, and composite data types.
- Comparability, Equality, Orderability, and Equivalence: Rules controlling comparison of data values for pattern matching and data result ordering and aggregation.
- Cypher Expressions, Variables, and Parameters: Allowed expression data types, variables, operators, and special characters.
- Cypher Operators: Operator types and keywords.
- Cypher Clauses: Clauses for reading and writing data and specifying patterns.
- Cypher Functions: Supported functions arranged by different categories.
Portions of the original Cypher Query Language reference have also been included here for purposes of comparison to note any limitations, restrictions, or exceptions in the AnzoGraph DB Cypher implementation. Typically, comparisons to the Cypher Query language specification are described as Supported, Partially Supported, and Not Supported. Examples included in this documentation also reference the graph data from the original Neo4j Movie dataset. The Working with Cypher and the Movie Data topic provides an executable script you can use to replicate the data in AnzoGraph DB.