Question: What is the ending date that Коўна is the official name of the city that is located in Lithuania starting on the date 1991-09-05?
Choices:
2017-07-16
1943-02-04
1945-04-30
1797
2008-09-07
1920
1996-06-01
1970-01-01
1941-03-28
1867-03-29
Answer: 1920
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Lithuania" . [ <pred:fact_h> ?e ; <pred:fact_r> <located_in_the_administrative_territorial_entity> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:date> "1991-09-05"^^xsd:date . ?e <official_name> ?pv . ?pv <pred:value> "Коўна" . [ <pred:fact_h> ?e ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Lithuania
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: QFilterDate
dependencies: 1
inputs: start time
1991-09-05
=
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttrQualifier
dependencies: 3
inputs: official name
Коўна
end time