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