Question: Does Delhi or Newcastle have fewer female residents?
Choices:
Kilkenny
Trieste
Delhi
Bergen
Abidjan
Newcastle
Dundee
Cork
Chihuahua
Kingston
Answer: Newcastle
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delhi" .  } UNION { ?e <pred:name> "Newcastle" .  } ?e <female_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Delhi
function: Find
inputs: Newcastle
function: SelectBetween
dependencies: 0
1
inputs: female population
less