Question: Which has a smaller population, Union of South Africa or Empire of Japan?
Choices: Crown of Aragón
Empire of Japan
Confederate States of America
Union of South Africa
Abyssinia
Swedish Empire
Mongol Empire
Kingdom of Portugal
Qing dynasty
Spanish Empire
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Union of South Africa" .  } UNION { ?e <pred:name> "Empire of Japan" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Union of South Africa
function: Find
inputs: Empire of Japan
function: SelectBetween
dependencies: 0
1
inputs: population
less
Answer: Union of South Africa