Firstly, and in order to understand how this search works, we are going to write some Cypher queries manually.
The next table summarizes several kinds of questions together with a possible Cypher query to get to the answer:
Question (English) |
Cypher query to get the answer |
Answer |
When was the "neo4j" repository created? |
MATCH (r:Repository) |
2012-11-12T08:46:15Z |
Who owns the "neo4j" repository? |
MATCH (r:Repository)<-[:OWNS]-(u:User) |
neo4j |
How many people contributed to "neo4j"? |
MATCH (r:Repository)<-[:CONTRIBUTED_TO]-(u:User) |
30 |
Which "neo4j" contributors are living in Sweden? |
MATCH (:Country {name: "Sweden"})<- |