Question: Who was nominated for the film award that Vicky Cristina Barcelona (the award-winning work of this statement is Nixon) was nominated for?
Choices:
Sylvester Stallone
Marisa Tomei
Uma Thurman
William Henry Harrison
Joan Allen
Richard Gere
Mary Steenburgen
Melanie Griffith
Max Fleischer
Lois Smith
Program:
function: Find
inputs: Vicky Cristina Barcelona
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: film award
function: Relate
dependencies: 2
inputs: nominated for
backward
function: QFilterStr
dependencies: 3
inputs: for work
Nixon
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film award" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Vicky Cristina Barcelona" .  [ <pred:fact_h> ?e ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_1 ] <for_work> ?qpv . ?qpv <pred:value> "Nixon" .  }
Answer: Joan Allen