In Harry Potter and the Deathly Hallows Part 2 (2011), Helena speaks to Harry Potter about diadem:
Helena: It's here...in the castle, in the place where everything is hidden. If you have to ask...you will never know. If you know, you need only ask.
Why would Harry Potter still need to ask if he know it?