Question: The Fly, filmed in Toronto, was an Academy Award winner for Best Makeup and Hairstyling by whom?
Choices:
Greece–Romania relations
5th Academy Awards
Belgium–Germany relations
59th Academy Awards
Soviet Union–United States relations
Cyprus–Greece relations
France–Italy border
Mexico–Saudi Arabia relations
Bangladesh–Bhutan relations
Honduras–Nicaragua border
Program:
function: Find
inputs: Toronto
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: The Fly
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Makeup and Hairstyling
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Fly" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Toronto" . ?e_2 <pred:name> "Academy Award for Best Makeup and Hairstyling" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Answer: 59th Academy Awards