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