These are suggested questions that supervisors might want to use in their supervisions. They are meant to indicate the type of questions that will be on the tripos exam.
match
(liked:Movie)-[:HAS_KEYWORD]->(keyword:Keyword)<-[:HAS_KEYWORD]-(rec:Movie),
(liked)<-[:ACTS_IN]-(actor:Person)-[:ACTS_IN]->(rec),
(liked)-[:HAS_GENRE]->()<-[:HAS_GENRE]-(rec)
where liked.title = 'Skyfall (2012)'
with rec, count(distinct keyword) as common_keywords, count(distinct actor) as common_actors
return rec.title as title, 10*common_actors + common_keywords as score
order by score desc;
which produces the output:
+---------------------------------------------------------------+ | title | score | +---------------------------------------------------------------+ | "Star Wars: Episode VII - The Force Awakens (2015)" | 159 | | "The Dark Knight (2008)" | 126 | | "Casino Royale (2006)" | 105 | | "Wonder Woman (2017)" | 99 | | "Mission: Impossible - Ghost Protocol (2011)" | 85 | | "Harry Potter and the Deathly Hallows: Part 2 (2011)" | 56 | | "The Bourne Ultimatum (2007)" | 52 | | "The Hurt Locker (2008)" | 46 | | "No Country for Old Men (2007)" | 40 | | "Argo (2012)" | 25 | +---------------------------------------------------------------+