Question: Which country has fewer people, West Germany or Dutch Republic?
Choices:
Socialist Federal Republic of Yugoslavia
Samoa
Kiribati
Weimar Republic
Dutch Republic
Benin
South Sudan
West Germany
Cambodia
Switzerland
Program:
function: Find
inputs: West Germany
function: Find
inputs: Dutch Republic
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Germany" .  } UNION { ?e <pred:name> "Dutch Republic" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dutch Republic