Question: When did John Davis, deceased on 30th December 1901, receive his Medal of Honor (the one that was received by Douglas MacArthur)?
Choices:
2015-06-04
2017
2015-07-09
2004-12-31
2003-08-27
2017-10-01
2011-07-01
250
1865-06-17
2018-06-06
Answer: 1865-06-17
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1901-12-30"^^xsd:date . ?e_2 <pred:name> "Medal of Honor" . ?e_3 <award_received> ?e_2 . ?e_3 <pred:name> "Douglas MacArthur" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: John Davis
function: FilterDate
dependencies: 0
inputs: date of death
1901-12-30
=
function: Find
inputs: Douglas MacArthur
function: Relate
dependencies: 2
inputs: award received
forward
function: Find
inputs: Medal of Honor
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: award received
point in time