Question: What location has the lesser amount of area, Kolkata or Shimla?
Choices:
Kilkenny
Bergen
Cork
Kolkata
Abidjan
Kingston
Shimla
Chihuahua
Santo Domingo
Dundee
Program:
function: Find
inputs: Shimla
function: Find
inputs: Kolkata
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shimla" .  } UNION { ?e <pred:name> "Kolkata" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Shimla