Question: What historical nation is the country of the city that is the twinned administrative body of Athens, starting on 1806-01-01 and ending on 1974-12-08?
Choices: Swedish Empire
Spanish Empire
Crown of Aragón
Kingdom of Portugal
Abyssinia
Confederate States of America
Second French Empire
Mongol Empire
Qing dynasty
Kingdom of Greece
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" . ?e_1 <country> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Athens" . ?e_3 <inception> ?pv . ?pv <pred:date> "1806-01-01"^^xsd:date .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <country> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> "1974-12-08"^^xsd:date .  }
Program:
function: Find
inputs: Athens
function: FilterDate
dependencies: 0
inputs: inception
1806-01-01
=
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 2
inputs: city
function: Relate
dependencies: 3
inputs: country
forward
function: QFilterDate
dependencies: 4
inputs: end time
1974-12-08
=
function: FilterConcept
dependencies: 5
inputs: historical country
function: What
dependencies: 6
Answer: Kingdom of Greece