Question: For which work was  John Ford (the one whose CANTIC-ID is a10086481) nominated for Academy Award for Best Picture?
Choices:
Les Girls
Citizen Kane
The Last King of Scotland
The Quiet Man
Young Frankenstein
Forever Free
Edison, the Man
45 Years
Super 8
Going My Way
Answer: The Quiet Man
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Ford" . ?e_1 <CANTIC-ID> ?pv . ?pv <pred:value> "a10086481" . ?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 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: John Ford
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a10086481
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 1
2
inputs: nominated for
for work