Question: Which one, Russian Soviet Federative Socialist Republic (the one that contains Moscow Oblast) or French Third Republic, has less population?
Choices:
Weimar Republic
Cambodia
Russian Soviet Federative Socialist Republic
South Sudan
French Third Republic
Kiribati
Switzerland
Samoa
Socialist Federal Republic of Yugoslavia
People's Republic of China
Program:
function: Find
inputs: Moscow Oblast
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Russian Soviet Federative Socialist Republic
function: And
dependencies: 1
2
function: Find
inputs: French Third Republic
function: SelectBetween
dependencies: 3
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Russian Soviet Federative Socialist Republic" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Moscow Oblast" .   } UNION { ?e <pred:name> "French Third Republic" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: French Third Republic