Question: Is Sabah or KwaZulu-Natal less populated?
Choices:
Minas Gerais
Podlaskie Voivodeship
Punjab
KwaZulu-Natal
Chiapas
New South Wales
Sabah
Upper Austria
England
Lublin Voivodeship
Program:
function: Find
inputs: Sabah
function: Find
inputs: KwaZulu-Natal
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sabah" .  } UNION { ?e <pred:name> "KwaZulu-Natal" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sabah