Question: What is the connection between Adam West (the one that died in Los Angeles) to Los Angeles?
Choices:
followed by
owner of
home port
takes place in fictional universe
official symbol
hair color
production company
next lower rank
place of death
art director
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Adam West
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Adam West" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "Los Angeles" . ?e_1 ?p ?e_2 .  }
Answer: place of death