Question: How is major depressive disorder linked to Andrew Jackson, who succumbed to tuberculosis?
Choices:
legal form
member of political party
conferred by
exported to
lyrics by
named after
terminus
notable people with this condition
contains administrative territorial entity
health specialty
Answer: notable people with this condition
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "major depressive disorder" . ?e_2 <pred:name> "Andrew Jackson" . ?e_2 <cause_of_death> ?e_3 . ?e_3 <pred:name> "tuberculosis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: major depressive disorder
function: Find
inputs: tuberculosis
function: Relate
dependencies: 1
inputs: cause of death
backward
function: Find
inputs: Andrew Jackson
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4