 The title "Rashomon" actually refers to the wraparound segments,  from a Akutagawa story set at the Rashomon Gate of Kyoto. The actual  story related in the film instead comes from another tale by  Akutagawa, "In a Grove".