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