Question: Which Italian region's capital is a city which is the twinned administrative body of Potsdam since 1990 ?
Choices:
Piedmont
Tuscany
Umbria
Apulia
Sicily
Abruzzo
Calabria
Lombardy
Sardinia
Lazio
Program:
function: Find
inputs: Potsdam
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: QFilterYear
dependencies: 1
inputs: start time
1990
=
function: FilterConcept
dependencies: 2
inputs: city
function: Relate
dependencies: 3
inputs: capital of
forward
function: FilterConcept
dependencies: 4
inputs: region of Italy
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e_1 <capital_of> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Potsdam" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <twinned_administrative_body> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:year> 1990 .   }
Answer: Umbria