Question: What is the character role of Tim Allen (whose ISNI is 0000 0001 0802 6238) as a cast member in Toy Story (whose box office is 373554033 United States dollars)?
Choices: Doctor Manhattan
Digory Kirke
Buzz Lightyear
Irina Spalko
Hatter Tarrant Hightopp
Hamilton Jordan
Emma Goldman
Doc Samson
Ernst Stavro Blofeld
Clayface
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Toy Story" . ?e_1 <box_office> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "373554033"^^xsd:double . ?e_2 <pred:name> "Tim Allen" . ?e_2 <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 0802 6238" . ?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
function: FilterNum
dependencies: 0
inputs: box office
373554033 United States dollar
=
function: Find
inputs: Tim Allen
function: FilterStr
dependencies: 2
inputs: ISNI
0000 0001 0802 6238
function: QueryRelationQualifier
dependencies: 1
3
inputs: voice actor
character role
Answer: Buzz Lightyear