Question: How is Wiliam Powell, educated at American Academy of Dramatic Arts, related to Palm Springs, which is the place where Jean Louis died ?
Choices:
place of death
child
published in
military conflicts
donated by
replaced by
parent organization
position played on team / speciality
used by
dedicated to
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William Powell" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "American Academy of Dramatic Arts" . ?e_2 <pred:name> "Palm Springs" . ?e_4 <place_of_death> ?e_2 . ?e_4 <pred:name> "Jean Louis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: American Academy of Dramatic Arts
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: William Powell
function: And
dependencies: 1
2
function: Find
inputs: Jean Louis
function: Relate
dependencies: 4
inputs: place of death
forward
function: Find
inputs: Palm Springs
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7