Question: Of states that engaged in war with South Africa, which possesses the lowest total reserves amount?
Choices:
Greece
Cuba
Luxembourg
Kazakhstan
Fiji
Finland
Sweden
Lithuania
Bulgaria
Tajikistan
Program:
function: Find
inputs: South Africa
function: Relate
dependencies: 0
inputs: military conflicts
backward
function: FilterConcept
dependencies: 1
inputs: state
function: SelectAmong
dependencies: 2
inputs: total reserves
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <military_conflicts> ?e_1 . ?e_1 <pred:name> "South Africa" .  ?e <total_reserves> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Greece