Question: Who is a person who died from a disease known by notable people like Abraham Lincoln (one of the notable people with smallpox) ?
Choices:
John Carter
Pocahontas
Billy Bletcher
Baruch Spinoza
William Baldwin
Jacques Derrida
Tim Robbins
James Monroe
John Candy
Friedrich Schiller
Answer: Pocahontas
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <cause_of_death> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "disease" . ?e_1 <notable_people_with_this_condition> ?e_2 . ?e_2 <pred:name> "Abraham Lincoln" . ?e_3 <notable_people_with_this_condition> ?e_2 . ?e_3 <pred:name> "smallpox" .   }
Program:
function: Find
inputs: smallpox
function: Relate
dependencies: 0
inputs: notable people with this condition
forward
function: Find
inputs: Abraham Lincoln
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: notable people with this condition
backward
function: FilterConcept
dependencies: 4
inputs: disease
function: Relate
dependencies: 5
inputs: cause of death
backward
function: FilterConcept
dependencies: 6
inputs: human
function: What
dependencies: 7