Question: Which has more people, Austria-Hungary or Russian Soviet Federative Socialist Republic (the one that is replaced by Russia)?
Choices: Benin
South Sudan
Socialist Federal Republic of Yugoslavia
Kiribati
People's Republic of China
Weimar Republic
Austria-Hungary
Russian Soviet Federative Socialist Republic
Cambodia
Switzerland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Austria-Hungary" .  } UNION { ?e <pred:name> "Russian Soviet Federative Socialist Republic" . ?e_1 <replaces> ?e . ?e_1 <pred:name> "Russia" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Austria-Hungary
function: Find
inputs: Russia
function: Relate
dependencies: 1
inputs: replaces
forward
function: Find
inputs: Russian Soviet Federative Socialist Republic
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
greater
Answer: Russian Soviet Federative Socialist Republic