cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Console Matrix Setup - QUESTION

Hello,

I'm learning about cypher language.. so i'm using initially https://console.neo4j.org/

A matrix graph setup..

Can someone explain me how to query the nodes which is known by the node which neo knows?

In the case, the answer is cypher and trinity.

How do i query that ? Can someone explain to me?

Thanks!

1 REPLY 1

Hi @alex.marinho.natal

the nodes which is known by the node which neo knows

I wrote Cypher as you wrote it.
The answer is "Cypher" and "Trinity".

MATCH (:Crew {name:'Neo'})-[:KNOWS]->(:Crew)-[:KNOWS]->(c:Crew)
RETURN c.name