Question: How is Sam Simon related to Pacific Palisades (the one whose country is United States of America)?
Choices:
professorship
military casualty classification
place of death
production company
connects with
make-up artist
operator
developer
airline hub
home venue
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sam Simon" . ?e_2 <pred:name> "Pacific Palisades" . ?e_2 <country> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sam Simon
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Pacific Palisades
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4