Question: Which one is smaller by area, Amman or Belo Horizonte ?
Choices:
Amman
Kilkenny
Kingston
Cork
Bergen
Dundee
Abidjan
Chihuahua
Belo Horizonte
Trieste
Program:
function: Find
inputs: Amman
function: Find
inputs: Belo Horizonte
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amman" .  } UNION { ?e <pred:name> "Belo Horizonte" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Belo Horizonte