TASK DEFINITION: You will be given a context, a subject and a relation. Your task is to generate a question based on the subject and relation. The generated question should include the given subject. Try to use a minimum number of words that are not present in either context, subject or relation while generating question.
PROBLEM: Context : The movie is a remake of the 1936 Frank Capra film Mr. Deeds Goes to Town, and also stars Peter Gallagher, John Turturro, Allen Covert, and Steve Buscemi. 
Subject : Mr. Deeds 
Relation : director

SOLUTION: Who was Mr. Deeds directed by?

PROBLEM: Context : The Thompson submachine gun is an American submachine gun, invented by John T. Thompson in 1918, that became infamous during the Prohibition era. 
Subject : Thompson submachine gun 
Relation : service entry

SOLUTION: What year was the service entry date for Thompson submachine gun?

PROBLEM: Context : Juan Luis Martínez Martínez (born 26 June 1972) is a Mexican politician affiliated to the National Regeneration Movement (formerly to the Citizens' Movement. He currently serves as Deputy of the LXII Legislature of the Mexican Congress representing Oaxaca. 
Subject : Juan Luis Martínez Martínez 
Relation : occupation

SOLUTION:
What was Juan Luis Martínez Martínez's occupation?