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