Question: Which area is smaller, Ludhiana or Zagreb?
Choices:
Dundee
Chihuahua
Ludhiana
Trieste
Abidjan
Zagreb
Cork
Kingston
Bergen
Santo Domingo
Program:
function: Find
inputs: Ludhiana
function: Find
inputs: Zagreb
function: SelectBetween
dependencies: 0
1
inputs: area
less
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
Answer: Ludhiana