Question: What is the connection between Bob Roberts (the one whose exploitation visa number is 81342) to John Cusack (the one that is the talk show guest of Late Show with David Letterman)?
Choices: cast member
software engine
mouth of the watercourse
currency
discoverer or inventor
quotes work
capital of
kit supplier
significant person
platform
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bob Roberts" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> "81342" . ?e_2 <pred:name> "John Cusack" . ?e_3 <talk_show_guest> ?e_2 . ?e_3 <pred:name> "Late Show with David Letterman" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bob Roberts
function: FilterStr
dependencies: 0
inputs: exploitation visa number
81342
function: Find
inputs: Late Show with David Letterman
function: Relate
dependencies: 2
inputs: talk show guest
forward
function: Find
inputs: John Cusack
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: cast member