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