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