MATCH (u:User)-[:RATED]->(r:Recipe)-[:CONTAINS]->(i:Ingredient) WHERE u.username IN ['user1', 'user2'] AND i.name IN ['ingredient1', 'ingredient2', 'ingredient3'] WITH r, COUNT(r) AS cnt ORDER BY cnt DESC RETURN r.name, cnt
其中,user1和user2是特定的用户,ingredient1,ingredient2和ingredient3是特定的成分。最后返回菜谱名称和重复次数。