GraphGists

英格兰国家队参加 2016 年 RBS 六国赛阵容及精英球员名单

版本 0.1,2016 年 1 月 13 日

六国赛的训练阵容于 1 月 13 日下午 2 点公布,这张图展示了入选阵容的球员,他们的所属俱乐部,以及受伤替补。

设置

MATCH (n) RETURN n

阵容中有多少球员?

match (c:Club)<-[r:PLAYS_FOR]-(p:Player)-[*2..2]-(s:Squad)
where s.name = '6 Nations 2016'
return count(r) as players;

哪支英超球队选拔了最多球员?

match (c:Club)<-[r:PLAYS_FOR]-(p:Player)-[*2..2]-(s:Squad)
where s.name = '6 Nations 2016'
return c.name as club, count(r) as players
order by players desc, club asc;

哪些球员没有获得过国家队出场机会?

match (p:Player)-[*2..2]-(s:Squad)
where s.name = '6 Nations 2016'
and p.caps = 0
return p.name as uncapped;

哪些球员是受伤替补?

match (m)-[:INJURY_REPLACEMENT_FOR]->(n)
return m.name as substitutes, n.name as injured;