Question: Did the Empire of Japan or the First French Empire have a larger populace?
Choices:
Union of South Africa
Qing dynasty
Empire of Japan
Crown of Aragón
First French Empire
Kingdom of Portugal
Swedish Empire
Spanish Empire
Abyssinia
Confederate States of America
Program:
function: Find
inputs: Empire of Japan
function: Find
inputs: First French Empire
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Empire of Japan" .  } UNION { ?e <pred:name> "First French Empire" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Empire of Japan