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 : Frazer Hines (born 22 September 1944) is an English actor best known for his roles as Jamie McCrimmon in Doctor Who and Joe Sugden in Emmerdale. 
Subject : Frazer Hines 
Relation : sex or gender

SOLUTION: What is Frazer Hines's gender?

PROBLEM: Context : Tomorrow Never Dies (1997) is the eighteenth spy film in the James Bond series, and the second to star Pierce Brosnan as the fictional MI6 agent James Bond. 
Subject : Tomorrow Never Dies 
Relation : based on

SOLUTION: Which is the basis of Tomorrow Never Dies?

PROBLEM: Context : Bernard Kay (23 February 1928 -- 25 December 2014) was an English actor with an extensive theatre, television and film repertoire. 
Subject : Bernard Kay 
Relation : spouse

SOLUTION:
What is Bernard Kay's spouse's name?