Question: Which has more people, Byzantine Empire or British Empire?
Choices:
26th United States Congress
Underbelly
Terminator Salvation
Lewis Cass
Byzantine Empire
British Empire
Sporting Kansas City
manslaughter
Mughal Empire
Ottoman Empire
Program:
function: Find
inputs: Byzantine Empire
function: Find
inputs: British Empire
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Byzantine Empire" .  } UNION { ?e <pred:name> "British Empire" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: British Empire