Question: Which city has fewer people, Kensington (dialing code 301) or Palm Beach?
Choices: Greenwich
Palm Beach
Chapel Hill
Westport
West Hartford
Bedford
Litchfield
Uxbridge
Kensington
Amherst
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kensington" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "301" . } UNION { ?e <pred:name> "Palm Beach" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kensington
function: FilterStr
dependencies: 0
inputs: local dialing code
301
function: Find
inputs: Palm Beach
function: SelectBetween
dependencies: 1
2
inputs: population
less
Answer: Kensington