Question: Who died on 2017-06-10, prior to 2018?
Choices:
Brad Grey
William Henry Harrison
Kevin McCarthy
Richard Gere
Sylvester Stallone
N. T. Rama Rao
Max Fleischer
Jerry Nelson
Walter Scott
Ian Fleming
Answer: Jerry Nelson
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_death> ?pv . ?pv <pred:date> "2017-06-10"^^xsd:date . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v < 2018 ) .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: date of death
2017-06-10
=
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of death
2018
<
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6