Question: Is the population smaller in South Vietnam or Yugoslavia?
Choices:
Samoa
Yugoslavia
Switzerland
Cambodia
South Sudan
Russian Soviet Federative Socialist Republic
Weimar Republic
Benin
Kiribati
Socialist Federal Republic of Yugoslavia
Program:
function: Find
inputs: South Vietnam
function: Find
inputs: Yugoslavia
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "South Vietnam" .  } UNION { ?e <pred:name> "Yugoslavia" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Yugoslavia