Question: Which city is, since 2009, the twinned administrative body of Dresden (the one whose inception time is 1206)?
Choices:
Cork
Skopje
Kingston
Bergen
Coventry
Rotterdam
Abidjan
Trieste
Hangzhou
Kilkenny
Program:
function: Find
inputs: Dresden
function: FilterYear
dependencies: 0
inputs: inception
1206
=
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: QFilterYear
dependencies: 2
inputs: start time
2009
=
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Dresden" . ?e_1 <inception> ?pv . ?pv <pred:year> 1206 .  [ <pred:fact_h> ?e ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 2009 .  }
Answer: Hangzhou