Question: What is the connection between Richard Taylor (the one that died in New York City) to Zachary Taylor (the one that died in Washington, D.C.)?
Choices: father
language used
superhuman feature or ability
lyrics by
replaced by
owned by
symptoms
occupant
commander of
distributor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Taylor" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "New York City" . ?e_2 <pred:name> "Zachary Taylor" . ?e_2 <place_of_death> ?e_4 . ?e_4 <pred:name> "Washington, D.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Richard Taylor
function: And
dependencies: 1
2
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 4
inputs: place of death
backward
function: Find
inputs: Zachary Taylor
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: father