Question: Tell me the one with the smaller area Chennai or Kanpur
Choices:
Cork
Abidjan
Kanpur
Kingston
Bergen
Trieste
Chennai
Santo Domingo
Dundee
Chihuahua
Answer: Chennai
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chennai" .  } UNION { ?e <pred:name> "Kanpur" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Chennai
function: Find
inputs: Kanpur
function: SelectBetween
dependencies: 0
1
inputs: area
less