Question: What is the connection between the Late Show with David Letterman to James Caan (the one that has the occupation of character actor)?
Choices:
chief executive officer
official color
participant of
diaspora
talk show guest
headquarters location
member of sports team
copyright representative
statistical leader
convicted of
Program:
function: Find
inputs: Late Show with David Letterman
function: Find
inputs: character actor
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: James Caan
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Late Show with David Letterman" . ?e_2 <pred:name> "James Caan" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "character actor" . ?e_1 ?p ?e_2 .  }
Answer: talk show guest