Question: Is the populace of Varanasi or Madurai smaller?
Choices:
Chihuahua
Madurai
Trieste
Varanasi
Bergen
Santo Domingo
Cork
Dundee
Kingston
Kilkenny
Program:
function: Find
inputs: Varanasi
function: Find
inputs: Madurai
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Varanasi" .  } UNION { ?e <pred:name> "Madurai" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Varanasi