Question: Ratatouille, with Brad Garrett as a voice actor, was an Academy Award nominee for Best Original Score by whom?
Choices:
Fiji–Tuvalu relations
Germany–South Africa relations
Barbados–France relations
80th Academy Awards
Germany-Malta relations
Aruba–United States relations
Trinidad and Tobago–United Kingdom relations
Pakistan–Ukraine relations
Germany–Liechtenstein relations
Chile–China relations
Answer: 80th Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ratatouille" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Brad Garrett" . ?e_2 <pred:name> "Academy Award for Best Original Score" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Brad Garrett
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Ratatouille
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Original Score
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
statement is subject of