Question: Until when was Christopher Wren, who died on 1723-03-08, a citizen of England (the one that is the country of Order of the Garter)?
Choices: 1963-01-01
1919-11-08
1915
1814-05-30
2011-09-15
1707-05-01
1933-01-29
1301
1951-01-01
1945
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Christopher Wren" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1723-03-08"^^xsd:date . ?e_2 <pred:name> "England" . ?e_3 <country> ?e_2 . ?e_3 <pred:name> "Order of the Garter" . ?e_1 <country_of_citizenship> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country_of_citizenship> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Christopher Wren
function: FilterDate
dependencies: 0
inputs: date of death
1723-03-08
=
function: Find
inputs: Order of the Garter
function: Relate
dependencies: 2
inputs: country
forward
function: Find
inputs: England
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: country of citizenship
end time
Answer: 1707-05-01