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