[Neo4j] How to store Facebook user education in neo4j

2012-05-31 Thread Maaz Bin Tariq
I want to store Facebook educations of a user in Neo4j, so that i can query on any attribute combinations. Currently Fields I want to save of Facebook education field https://graph.facebook.com/me?fields=id,name,educationaccess_token=. { id:1 name:xyz education:[  {school:{id:2,name:A},  

Re: [Neo4j] How to store Facebook user education in neo4j

2012-05-31 Thread Michael Hunger
Yes your suggestion sounds good. If you're interested in the actual classes (e.g. for connecting other users to the same class aka stayfriends) then you'd also model the classes as nodes (but only if you really need it in your problem domain, you can also later still evolve the model). For

Re: [Neo4j] How to store Facebook user education in neo4j

2012-05-31 Thread Marcello de Sales
Don't forget to accommodate multiple degrees with the same school... (I had done the same mapping before... :D) education:[ {school:{id:2,name:A}, degrees: [ {type:MS, title:B, year: }, {type:PhD, title:C, year: }