This is a question that you can ask when you've forgotten the name of something:
What was the name of that movie that we saw about the priest who gets stuck in a cave?
What was the name of that bar that we used to go to near campus?
You ask this question to someone who shares the memory with you. In other words, they saw the same movie, went to the same bar, read the same book, etc.