Question: Which has fewer people, Davenport or Greenville (the one whose postal code is 27836)?
Choices:
Lansing
Boulder
Oakland
Greenville
New Haven
Davenport
Franklin
Compton
Waukegan
Columbus
Answer: Greenville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Davenport" . } UNION { ?e <pred:name> "Greenville" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "27836" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Davenport
function: Find
inputs: Greenville
function: FilterStr
dependencies: 1
inputs: postal code
27836
function: SelectBetween
dependencies: 0
2
inputs: population
less