Question: What is the character role of Nicolas Cage in  Astro Boy (the one that has Samuel L. Jackson as a voice actor)?
Choices:
The Dragon Emperor
Meg Griffin
Dr. Tenma
Mike Delfino
Ares
A.J. Frost
Leonard McCoy
Gordon Cole
Story
Saul Berenson
Answer: Dr. Tenma
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Astro Boy" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Samuel L. Jackson" . ?e_2 <pred:name> "Nicolas Cage" . ?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: Samuel L. Jackson
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Astro Boy
function: And
dependencies: 1
2
function: Find
inputs: Nicolas Cage
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role