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.

Context : Triumph of the Nerds was written and hosted by Robert X. Cringely (Mark Stephens) and based on his 1992 book Accidental Empires. 
Subject : Triumph of the Nerds 
Relation : based on
Which is the basis of Triumph of the Nerds?

Context : Fred Henry McGuire (November 7, 1890 -- February 4, 1958) was a Hospital Apprentice in the United States Navy and a Medal of Honor recipient for his role in the Philippine-American War. 
Subject : Fred Henry McGuire 
Relation : military branch
Which military branch is Fred Henry McGuire a part of?

Context : Ray L. Smith is a retired United States Marine Corps major general. 
Subject : Ray L. Smith 
Relation : military branch

What armed force was Ray L. Smith in?