Question: What is the connection between Talk to Me (the one that has Chiwetel Ejiofor as a cast member) to Cedric the Entertainer?
Choices: cast member
home world
follows
has dialect (DEPRECATED)
edition or translation of
architectural style
is a list of
film editor
educated at
place of origin (Switzerland)
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Talk to Me" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Chiwetel Ejiofor" . ?e_2 <pred:name> "Cedric the Entertainer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Chiwetel Ejiofor
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Talk to Me
function: And
dependencies: 1
2
function: Find
inputs: Cedric the Entertainer
function: QueryRelation
dependencies: 3
4
Answer: cast member