Question: What is the nominee of Chinatown which was nominated for the Academy Award for Best Actor?
Choices:
Thomas Causey
Paul Weitz
Amy Ryan
Mako
Gretchen Rau
Carol Hemming
Tony Walton
W. Stewart Campbell
Jack Nicholson
Walter Scharf
Answer: Jack Nicholson
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Chinatown" . ?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 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: Chinatown
function: Find
inputs: Academy Award for Best Actor
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee