Question: What was the prior name of the city that became Константинополь in 1930?
Choices:
Trieste
Kilkenny
Salisbury
Bergen
Cork
Syracuse
Constantinople
Santo Domingo
Abidjan
Bremen
Answer: Constantinople
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <follows> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "capital" . ?e_1 <official_name> ?pv . ?pv <pred:value> "Константинополь" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <official_name> ; <pred:fact_t> ?pv ] <end_time> ?qpv . ?qpv <pred:year> 1930 .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Константинополь
function: QFilterYear
dependencies: 1
inputs: end time
1930
=
function: FilterConcept
dependencies: 2
inputs: capital
function: Relate
dependencies: 3
inputs: follows
forward
function: FilterConcept
dependencies: 4
inputs: city
function: What
dependencies: 5