Question: Who is the winner of the Academy Award for Best Supporting Actor that was received by the film Spartacus (that received an Academy Award for Best Costume Design)?
Choices:
John Barry
Dino Stamatopoulos
Audu Paden
Felicity Huffman
John Ford
Peter Ustinov
Stephen B. Grimes
Kevin Mambo
Tony Gaudio
Jascha Heifetz
Answer: Peter Ustinov
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Spartacus" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Costume Design" . ?e_2 <pred:name> "Academy Award for Best Supporting Actor" . ?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: Academy Award for Best Costume Design
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Spartacus
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actor
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
winner