Question: Which area has fewer people, Valdosta or Mount Vernon (the one that is located in Westchester County)?
Choices:
New Haven
Mount Vernon
Columbus
Lansing
Franklin
Valdosta
Greenville
Boulder
Oakland
Compton
Program:
function: Find
inputs: Valdosta
function: Find
inputs: Westchester County
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Mount Vernon
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Valdosta" .  } UNION { ?e <pred:name> "Mount Vernon" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Westchester County" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Valdosta