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