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