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