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