TASK DEFINITION: Given a factoid/trivia type question, generate the topic of the question. The topic is the entity the question talks about.
PROBLEM: Who married the woman who was to become Queen Beatrix of the Netherlands, on 10 March 1966?

SOLUTION: beatrix

PROBLEM: Played by Dirk Benedict in the series and Bradley Cooper in the movie, by what nickname was Templeton Peck known on The A-Team?

SOLUTION: the a-team

PROBLEM: In which adventure story does the magistrate Dr Livesey feature?

SOLUTION:
dr. livesey