Question: What is the character role of Tim Allen (who is educated at Western Michigan University) as a voice actor in Toy Story that was nominated for a BAFTA Award for Best Special Visual Effects?
Choices:
Honey
Kyle Reese
Cristina Yang
Rodney Copperbottom
Marion Crane
Niobe
James P. Sullivan
Buzz Lightyear
Ares
Roger Sterling
Answer: Buzz Lightyear
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Toy Story" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "BAFTA Award for Best Special Visual Effects" . ?e_2 <pred:name> "Tim Allen" . ?e_2 <educated_at> ?e_4 . ?e_4 <pred:name> "Western Michigan University" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: BAFTA Award for Best Special Visual Effects
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Toy Story
function: And
dependencies: 1
2
function: Find
inputs: Western Michigan University
function: Relate
dependencies: 4
inputs: educated at
backward
function: Find
inputs: Tim Allen
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: voice actor
character role