Question: What is the relationship between Pinocchio (that has Frank Welker as a cast member) and Frank Welker?
Choices:
designed by
narrator
make-up artist
film editor
cast member
art director
writing system
lifestyle
mascot
part of
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pinocchio" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Frank Welker" . ?e_2 <pred:name> "Frank Welker" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Frank Welker
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Pinocchio
function: And
dependencies: 1
2
function: Find
inputs: Frank Welker
function: QueryRelation
dependencies: 3
4