Question: What region of Italy has the capital Perugia?
Choices:
Liguria
Apulia
Piedmont
Sardinia
Sicily
Lombardy
Umbria
Basilicata
Lazio
Tuscany
Program:
function: Find
inputs: Perugia
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: region of Italy
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Perugia" .   }
Answer: Umbria