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