Hi Aman,

I'm puzzled.

Why not

Aman--HAS_VISITED-->USA
Jim--HAS_VISITED-->India

And if:

Aman--FRIEND-OF-->Jim

Then you just need to traverse from Aman following outgoing FRIEND_OF 
relationships to all your friends, and then traverse out their outgoing 
HAS_VISITED relationships to find places your friends have been. 

The general idiom with Neo4j is use indexes the find your start node (e.g. the 
Aman node in the above) then traverse from there.

Jim

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to