Question: Tell me the character role in the work where Toy Story 3 has Ned Beatty as a voice actor.
Choices:
Ryan Howard
Pierre Bezukhov
John Reed
Barney Ross
Edward I of England
Lotso
The Hatter
Stan Smith
Elektra
Richard White
Answer: Lotso
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Toy Story 3" . ?e_2 <pred:name> "Ned Beatty" . ?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: Toy Story 3
function: Find
inputs: Ned Beatty
function: QueryRelationQualifier
dependencies: 0
1
inputs: voice actor
character role