Question: Which area is smaller, Aargau or Eastern Cape?
Choices:
Aargau
New South Wales
Punjab
Upper Austria
Minas Gerais
Podlaskie Voivodeship
Eastern Cape
Chiapas
England
Lublin Voivodeship
Program:
function: Find
inputs: Aargau
function: Find
inputs: Eastern Cape
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aargau" .  } UNION { ?e <pred:name> "Eastern Cape" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Aargau