Question: When did the person who died on 2014-10-22 end their career?
Choices:
2002
1962
2014
1983
2003
2006
2018-10-06
1970
1995
1984
Answer: 2006
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> "2014-10-22"^^xsd:date . ?e <work_period_(end)> ?pv .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: date of death
2014-10-22
=
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: work period (end)