Question: Patton was nominated for the Academy Award for Best Picture, who was its nominee?
Choices:
Debra Winger
Paul Attanasio
Hallie D'Amore
Joss Williams
Peggy Wood
Brad Bird
Frank McCarthy
Christopher Greenbury
Donald R. Elliott
Gustav Hasford
Answer: Frank McCarthy
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Patton" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: Patton
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee