Question: What is the local dialing code in the US city with the postal codes of 02901–02912, 02918, 02919, and 02940?
Choices: 631
816
285
989
775
360
6122
401
530
07322
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "02901–02912, 02918, 02919, 02940" . ?e <local_dialing_code> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
02901–02912, 02918, 02919, 02940
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: QueryAttr
dependencies: 2
inputs: local dialing code
Answer: 401