Question: Terrence Howard was nominated for an Academy Award for Best Actor for which work?
Choices:
The Accidental Time Machine
The Sound of Music
Vivo
The Jack Benny Program
Trilogy
Viva Zapata!
Hustle & Flow
In Treatment
Home Is the Hangman
The People of the Wind
Answer: Hustle & Flow
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Terrence Howard" . ?e_2 <pred:name> "Academy Award for Best Actor" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Terrence Howard
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work