Question: Does Belgium or South Korea have more area?
Choices:
Russian Soviet Federative Socialist Republic
Switzerland
Kiribati
Samoa
Benin
Weimar Republic
Belgium
South Sudan
South Korea
Cambodia
Program:
function: Find
inputs: Belgium
function: Find
inputs: South Korea
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Belgium" .  } UNION { ?e <pred:name> "South Korea" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: South Korea