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