Question: Does Elmira or Buffalo have less population?
Choices:
Buffalo
White Plains
Syracuse
Elmira
Auburn
Long Beach
Glen Cove
Troy
Utica
Yonkers
Program:
function: Find
inputs: Elmira
function: Find
inputs: Buffalo
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elmira" .  } UNION { ?e <pred:name> "Buffalo" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Elmira