Question: What character did Eric Idle perform the voice of in Shrek the Third, which was nominated for a BAFTA Award for Best Animated Film?
Choices: April O'Neil
Merlin
Elizabeth Bennet
Rafiki
Mattie Blaylock
Beast
Elle Bishop
Marshall Carter
Garrick Ollivander
Lois Griffin
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shrek the Third" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "BAFTA Award for Best Animated Film" . ?e_2 <pred:name> "Eric Idle" . ?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 Animated Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Shrek the Third
function: And
dependencies: 1
2
function: Find
inputs: Eric Idle
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role
Answer: Merlin