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