Question: Between the British and Byzantine Empires, which empire had the larger population?
Choices:
Royal Military Academy
Ottoman Empire
Mona Lisa
Summit Entertainment
Byzantine Empire
Tom Johnson
Diedrich Bader
Mughal Empire
Kath Soucie
British Empire
Program:
function: Find
inputs: British Empire
function: Find
inputs: Byzantine Empire
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "British Empire" .  } UNION { ?e <pred:name> "Byzantine Empire" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: British Empire