Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread fajarmf
: Re: [Neo4j] Generating suggestions in a Neo4j db Hi Jim, The way you mentioned, that will take care of these suggestions, thanks for the same. But here's a tougher problem If I have a database of 50k people, and I want to find friends based upon the places that those 50k people have visited (i.e

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread Jim Webber
Hi Aman, This is the classic friends-of-friends problem recast as friends-of-places. The hard thing about places (as opposed to most normal friends) is that they tend to be popular. While I might only reach hundreds of friends-of-friends (if I'm lucky!), being recommended people that have

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread Jim Webber
.6...@gmail.com Sender: user-boun...@lists.neo4j.org Date: Sat, 18 Jun 2011 10:50:34 To: Neo4j user discussionsuser@lists.neo4j.org Reply-To: Neo4j user discussions user@lists.neo4j.org Subject: Re: [Neo4j] Generating suggestions in a Neo4j db Hi Jim, The way you mentioned, that will take

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread Aman
Subject: Re: [Neo4j] Generating suggestions in a Neo4j db Hi Jim, The way you mentioned, that will take care of these suggestions, thanks for the same. But here's a tougher problem If I have a database of 50k people, and I want to find friends based upon the places that those 50k people have

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread Aman
Bagus XL, Nyambung Teruuusss...! -Original Message- From: Aman aman.6...@gmail.com Sender: user-boun...@lists.neo4j.org Date: Sat, 18 Jun 2011 10:50:34 To: Neo4j user discussionsuser@lists.neo4j.org Reply-To: Neo4j user discussions user@lists.neo4j.org Subject: Re: [Neo4j] Generating

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-18 Thread Andres Taylor
Sender: user-boun...@lists.neo4j.org Date: Sat, 18 Jun 2011 10:50:34 To: Neo4j user discussionsuser@lists.neo4j.org Reply-To: Neo4j user discussions user@lists.neo4j.org Subject: Re: [Neo4j] Generating suggestions in a Neo4j db Hi Jim, The way you mentioned, that will take care

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-17 Thread Jim Webber
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

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-17 Thread Aman
Hi Jim, The way you mentioned, that will take care of these suggestions, thanks for the same. But here's a tougher problem If I have a database of 50k people, and I want to find friends based upon the places that those 50k people have visited (i.e. People who have visited same places as me

Re: [Neo4j] Generating suggestions in a Neo4j db

2011-06-17 Thread Aman
Hi Jim, The way you mentioned, that will take care of these suggestions, thanks for the same. But here's a tougher problem If I have a database of 50k people, and I want to find friends based upon the places that those 50k people have visited (i.e. People who have visited same places as me