Question: How is the Pacific Palisades, which is the residence of J. J. Abrams, related to Sydney Pollack?
Choices:
manufacturer
narrative location
programming language
architect
does not have part
residence
head coach
league
place of death
librettist
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sydney Pollack" . ?e_2 <pred:name> "Pacific Palisades" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "J. J. Abrams" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sydney Pollack
function: Find
inputs: J. J. Abrams
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Pacific Palisades
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4