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