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