Question: Tell me the one with the smaller population, Upper Austria or Xinjiang
Choices:
Podlaskie Voivodeship
Greater Poland Voivodeship
Lublin Voivodeship
Punjab
England
Chiapas
Minas Gerais
Tasmania
New South Wales
Upper Austria
Program:
function: Find
inputs: Xinjiang
function: Find
inputs: Upper Austria
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Xinjiang" .  } UNION { ?e <pred:name> "Upper Austria" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Upper Austria