Question: What is the character role of Frank Weller in  The Little Mermaid (the one whose distributor is Walt Disney Studios Motion Pictures)?
Choices: Dr. Evil
Max
Rajah
The Hatter
Felicity Shagwell
Clear Rivers
Mary
Valerie Veran
Esmeralda
Shan Yu
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Little Mermaid" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Walt Disney Studios Motion Pictures" . ?e_2 <pred:name> "Frank Welker" . ?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: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Little Mermaid
function: And
dependencies: 1
2
function: Find
inputs: Frank Welker
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role
Answer: Max