Question: Until when was a city, located in Lithuania until 1995, officially named Коўна ?
Choices:
1939-05-04
2005-01-03
1889
1485
2006-05-22
1815-06-08
1959-01-01
1920
1912-05-15
1936-05-24
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 ] <end_time> ?qpv_1 . ?qpv_1 <pred:year> 1995 . ?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: QFilterYear
dependencies: 1
inputs: end time
1995
=
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttrQualifier
dependencies: 3
inputs: official name
Коўна
end time