Question: Out of the communes of Italy in the Kingdom of Italy with military conflicts with Finland, which is the smallest in area?
Choices:
Cosmopolis
Mantua
Kevin McCarthy
Howard Shore
Treviso
Alias
Cremona
Pavia
Lucca
Vadivelu
Answer: Mantua
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comune of Italy" . ?e <country> ?e_1 . ?e_1 <pred:name> "Kingdom of Italy" . ?e_2 <military_conflicts> ?e_1 . ?e_2 <pred:name> "Finland" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Finland
function: Relate
dependencies: 0
inputs: military conflicts
forward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: comune of Italy
function: SelectAmong
dependencies: 5
inputs: area
smallest