Question: Which one has less area between Daegu and New Plymouth?
Choices:
Cork
New Plymouth
Daegu
Santo Domingo
Abidjan
Dundee
Kingston
Trieste
Chihuahua
Bergen
Program:
function: Find
inputs: Daegu
function: Find
inputs: New Plymouth
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Daegu" .  } UNION { ?e <pred:name> "New Plymouth" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Daegu