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