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