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,education&access_token=.....

{
id:1
name:"xyz"
education":[  
{"school":{"id":2"","name":"A"},
 "degree":{"id":3"","name":"B"},
 "year":  {"id":4"","name":"C"},
 "type":"X",
},.....]
}

In MySQL I will create an education table with following table user_id, 
school_id,degree_id,year_id,type
Not sure whats the best way to store it in Neo4j. 
1. possible solution is 
Node User --------->(edu relationship) ---> Node school

degree,year,type are relationship attributes.
Not sure it will be be fast if we traverse users on type and degree attributes. 
(i.e relationship attributes)
Is there any other or better way?

Thanks
-Maaz
_______________________________________________
NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register 
and consider posting at https://groups.google.com/forum/#!forum/neo4j

Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to