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