Question: What has Chuck (the one whose production company is Warner Bros.) in common with Eric Roberts ?
Choices:
architectural style
officeholder
nominated for
religion
permanent resident of
follows
film regional debut venue
works in collection
cast member
academic degree
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chuck" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Warner Bros." . ?e_2 <pred:name> "Eric Roberts" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Chuck
function: And
dependencies: 1
2
function: Find
inputs: Eric Roberts
function: QueryRelation
dependencies: 3
4