Question: Which US town has postal code 01002?
Choices:
Amherst
Greenwich
Bryn Mawr
Brookline
Palm Beach
Andover
Uxbridge
Chapel Hill
Newton
Bedford
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
01002
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <postal_code> ?pv . ?pv <pred:value> "01002" .  }
Answer: Amherst