Question: Which has fewer people, Xinjiang or Johor?
Choices:
Punjab
Chiapas
Upper Austria
England
Minas Gerais
Podlaskie Voivodeship
Johor
Xinjiang
Greater Poland Voivodeship
New South Wales
Program:
function: Find
inputs: Xinjiang
function: Find
inputs: Johor
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Xinjiang" .  } UNION { ?e <pred:name> "Johor" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Johor