TASK DEFINITION: Given an trivia question precisely answer the question with a word/phrase/name. External resources such as Wikipedia could be used to obtain the facts.
PROBLEM: What is the capital of Iraq?

SOLUTION: baghdad

PROBLEM: The Hall of Mirrors is in which building?

SOLUTION: palace of versailles

PROBLEM: Which city that became famous following an incident in 1984 is the capital of the Indian state of Madhya Pradesh?

SOLUTION:
bhopal