Question: Which nominee was nominated for the Academy Award for Best Supporting Actor for Iris (the one that has Hugh Bonneville as a cast member)?
Choices:
Morton DaCosta
Marlon Brando
Daniel Clowes
Jim Broadbent
Robert Priestley
Lee Unkrich
Sean McCormack
Gabriel Yared
Ralph Fiennes
A. D. Flowers
Answer: Jim Broadbent
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Iris" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Hugh Bonneville" . ?e_2 <pred:name> "Academy Award for Best Supporting 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: Hugh Bonneville
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Iris
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee