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