Question: Which Italian region borders another Italian region classified by Dewey Decimal as 2--4578?
Choices:
Apulia
Abruzzo
Campania
Calabria
Sicily
Lombardy
Basilicata
Tuscany
Sardinia
Liguria
Answer: Basilicata
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "region of Italy" . ?e_1 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--4578" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--4578
function: FilterConcept
dependencies: 1
inputs: region of Italy
function: Relate
dependencies: 2
inputs: shares border with
forward
function: FilterConcept
dependencies: 3
inputs: region of Italy
function: What
dependencies: 4