Question: Tell me the one with the smaller area, Durham (who has a postal code of 27704) or Anniston
Choices:
Boulder
Columbus
Compton
Waukegan
Greenville
Durham
Anniston
Franklin
Oakland
New Haven
Answer: Anniston
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Durham" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "27704" . } UNION { ?e <pred:name> "Anniston" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Durham
function: FilterStr
dependencies: 0
inputs: postal code
27704
function: Find
inputs: Anniston
function: SelectBetween
dependencies: 1
2
inputs: area
less