Question: When Glory, featuring cast member Bob Gunton, got an Academy Award for Best Cinematography, which person's work was honored?
Choices: Kathleen Quinlan
Buddy Adler
Charles Vess
Gore Verbinski
Freddie Francis
Robert Cohen
Greg Daniels
Jenny Beavan
Ed Harris
BBC America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Glory" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Bob Gunton" . ?e_2 <pred:name> "Academy Award for Best Cinematography" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <winner> ?qpv .  }
Program:
function: Find
inputs: Bob Gunton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Glory
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Cinematography
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
winner
Answer: Freddie Francis