Question: What region of Italy has the capital city with Dewey Decimal Classification 2--456511?
Choices:
Sardinia
Piedmont
Abruzzo
Lazio
Emilia-Romagna
Apulia
Umbria
Lombardy
Campania
Sicily
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--456511
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: capital of
forward
function: FilterConcept
dependencies: 3
inputs: region of Italy
function: What
dependencies: 4
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_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--456511" .   }
Answer: Umbria