Question: What does Kansas City (which has Steve Buscemi as a cast member) have to do with Harry Belafonte?
Choices:
cast member
has immediate cause
work location
model item
destination point
manufacturer
next lower rank
military casualty classification
location
sibling
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kansas City" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Steve Buscemi" . ?e_2 <pred:name> "Harry Belafonte" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Steve Buscemi
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Kansas City
function: And
dependencies: 1
2
function: Find
inputs: Harry Belafonte
function: QueryRelation
dependencies: 3
4