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