Question: Is the smaller area occupied by the Kingdom of Italy that warred with Nazi Germany or by Barbados?
Choices:
Cambodia
Weimar Republic
Barbados
Kiribati
Kingdom of Italy
South Sudan
Russian Soviet Federative Socialist Republic
Samoa
Socialist Federal Republic of Yugoslavia
Switzerland
Program:
function: Find
inputs: Nazi Germany
function: Relate
dependencies: 0
inputs: military conflicts
forward
function: Find
inputs: Kingdom of Italy
function: And
dependencies: 1
2
function: Find
inputs: Barbados
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kingdom of Italy" . ?e_1 <military_conflicts> ?e . ?e_1 <pred:name> "Nazi Germany" .   } UNION { ?e <pred:name> "Barbados" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Barbados