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