+1 vote
in Neo4j by
which query language does Neo4j use and what it consists of?

2 Answers

0 votes
by

Neo4j using Cypher query language, which is unique to Neo4j. Traversing the graph requires knowing where you want to begin (Start), the rules that allow traversal (Match) and what data you are expecting back (Return). The basic query consists of:

START n

MATCH n-[r]- m

RETURN r;

0 votes
by
Neo4j uses Cypher query language, which is unique to Neo4j. Traversing the graph requires to know where you want to begin (Start), the rules that allow traversal (Match) and what data you are expecting back (Return). The basic query consists of

START n

MATCH n-[r]- m

RETURN r;
...