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