The story is very similar to Akira Kurosawa's influential Rashomon, though in an interview Bertolucci denied having seen that film at the time.