Question: When is the end for John Williams (the one whose date of death is 1846-09-15), as a Kingdom-of-Great-Britain citizen?
Choices:
1981-03-15
1949-12-30
2001-01-03
1801-01-01
1983-02-28
2000-12-31
1802
1608
1915
1603
Answer: 1801-01-01
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1846-09-15"^^xsd:date . ?e_2 <pred:name> "Kingdom of Great Britain" . ?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: John Williams
function: FilterDate
dependencies: 0
inputs: date of death
1846-09-15
=
function: Find
inputs: Kingdom of Great Britain
function: QueryRelationQualifier
dependencies: 1
2
inputs: country of citizenship
end time