Question: Which has less area, Phnom Penh or Delhi?
Choices:
Phnom Penh
Dundee
Chihuahua
Delhi
Santo Domingo
Kilkenny
Trieste
Abidjan
Kingston
Bergen
Program:
function: Find
inputs: Phnom Penh
function: Find
inputs: Delhi
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Phnom Penh" .  } UNION { ?e <pred:name> "Delhi" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Phnom Penh