简体   繁体   中英

Representing that a Player has played for the same team over multiple years in a property graph

Below is the property graph model I am planning to use to represent various sports leagues. I am wondering the best approach to represent the fact that a Player has played for the same team over multiple years. For eg John might have been playing with Broncos in 2011, 2012 and 2013.

在此处输入图片说明

You can have the same relationship type connected to the same nodes multiple times.

Player1 -[r:BELONGED_TO] -> Team1
Player1 -[q:BELONGED_TO] -> Team1
r.in_year = 2009
q.in_year = 2009

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM