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