Question: Which has less population, Utica or Auburn that is an administrative division of Cayuga County?
Choices:
Glens Falls
Auburn
Elmira
Ithaca
Utica
Yonkers
White Plains
Glen Cove
Syracuse
Long Beach
Program:
function: Find
inputs: Utica
function: Find
inputs: Cayuga County
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: Find
inputs: Auburn
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Utica" .  } UNION { ?e <pred:name> "Auburn" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Cayuga County" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Auburn