Question: Which has a lesser area, Ahmedabad or Oslo?
Choices:
Kilkenny
Kingston
Dundee
Chihuahua
Trieste
Santo Domingo
Cork
Oslo
Ahmedabad
Bergen
Program:
function: Find
inputs: Ahmedabad
function: Find
inputs: Oslo
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ahmedabad" .  } UNION { ?e <pred:name> "Oslo" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ahmedabad