There is a concept between player and team missing, it is probably a :LineUp that is valid for a season which you can then also connect to the year, games trainer etc.
See also our worldcup content: http://worldcup.neo4j.org/ Michael On Thu, Mar 3, 2016 at 2:24 PM, Dhaval Patel <[email protected]> wrote: > In a case where I have a (node:Player), (node:Team). Players in the team > changes every year, so there will be case that playerA played for TEAM_A in > 2010, TEAM_B in 2011, etc.. So I want to create a proper relationship > between player and team nodes. > > I was thinking if I create a relationship (PlayerA) - [:PLAYED_FOR] -> > (TeamA) and want to mention the date as well (2010, 2012, etc). So can > have a property called [:PLAYED_FOR {date:2010, 2012}]. > > Can anyone help me with building such relationship or maybe an alternate > solution that would work well with my use case. > > Thanks, > Dhaval A Patel > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
