Question: What is the date of death for the human born in Jamaica (the one that has a diplomatic relation with Ghana)?
Choices:
1966-08-15
1979-06-11
1782-06-18
2001-09-11
2003-04-26
1974-05-25
1962-11-15
2011-08-06
2017-04-06
1995-01-31
Answer: 2001-09-11
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Jamaica" . ?e_1 <diplomatic_relation> ?e_2 . ?e_2 <pred:name> "Ghana" .  ?e <date_of_death> ?pv .  }
Program:
function: Find
inputs: Ghana
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: Find
inputs: Jamaica
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
backward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: date of death