Question: Which area has more people, Landgraviate of Hesse-Kassel or Eastern Cape?
Choices:
Punjab
New South Wales
Greater Poland Voivodeship
Landgraviate of Hesse-Kassel
Podlaskie Voivodeship
Eastern Cape
Upper Austria
Chiapas
England
Minas Gerais
Program:
function: Find
inputs: Landgraviate of Hesse-Kassel
function: Find
inputs: Eastern Cape
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Landgraviate of Hesse-Kassel" .  } UNION { ?e <pred:name> "Eastern Cape" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Eastern Cape