Question: Does Hanoi or Bangkok occupy a smaller space?
Choices:
Bangkok
Santo Domingo
Trieste
Chihuahua
Kingston
Abidjan
Bergen
Hanoi
Cork
Kilkenny
Program:
function: Find
inputs: Hanoi
function: Find
inputs: Bangkok
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hanoi" .  } UNION { ?e <pred:name> "Bangkok" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bangkok