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