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