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