Question: Florence, Kuwait City's twin administrative body, is the capital of which Italian region?
Choices:
Sicily
Sardinia
Veneto
Lombardy
Kingdom of Italy
Abruzzo
Tuscany
Lazio
Marche
Piedmont
Program:
function: Find
inputs: Kuwait City
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Florence
function: And
dependencies: 1
2
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:name> "Florence" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Kuwait City" .   }
Answer: Tuscany