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