Question: When did John Adams (the one whose date of death is 1984-03-03) receive the royal medal?
Choices:
1987
1998-09-16
2015-07-09
1901-01-01
1874
1973-01-01
1817-01-01
2018-11-27
1977-01-01
1968-04-10
Program:
function: Find
inputs: John Adams
function: FilterDate
dependencies: 0
inputs: date of death
1984-03-03
=
function: Find
inputs: Royal Medal
function: QueryRelationQualifier
dependencies: 1
2
inputs: award received
point in time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1984-03-03"^^xsd:date . ?e_2 <pred:name> "Royal Medal" . ?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 .  }
Answer: 1977-01-01