Question: James Whitmore was nominated for an Academy Award for Best Actor for which work?
Choices:
Brief Encounter
A Medal for Benny
Thief of Time
Time After Time
The Mary Tyler Moore Show
Maytime
The Longest Voyage
Give 'em Hell
To Make You Feel My Love
Trio
Answer: Give 'em Hell
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "James Whitmore" . ?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: James Whitmore
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work