Studies[Sally, Math] Studies[Tom, Math] Likes[Tom, ComputerScience] Likes[Mary, Programming]