Question: Amsterdam, designated by postal codes 1000–1098, had the Dutch Republic as its country until which date?
Choices:
1795-01-18
2003-01-03
635
1930-03-28
1991-11-24
1904-05-31
1861-05-06
2017-07-26
2005-02-08
1944-07-01
Answer: 1795-01-18
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Amsterdam" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "1000–1098" . ?e_2 <pred:name> "Dutch Republic" . ?e_1 <country> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Amsterdam
function: FilterStr
dependencies: 0
inputs: postal code
1000–1098
function: Find
inputs: Dutch Republic
function: QueryRelationQualifier
dependencies: 1
2
inputs: country
end time