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