Question: Tell me the US city that has the zip code 50701–50707
Choices:
Miami
Medford
Waukegan
Franklin
New Haven
Lansing
Santa Rosa
Columbus
Waterloo
Pittsfield
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
50701–50707
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <postal_code> ?pv . ?pv <pred:value> "50701–50707" .  }
Answer: Waterloo