Question: Which US city is assigned zip codes 62201–62207 and has a population below 220000?
Choices: New Haven
East St. Louis
Franklin
Columbus
Minot
Melbourne
Joliet
Waukegan
Kingston
Flint
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> "62201–62207" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v < "220000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
62201–62207
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
220000
<
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: East St. Louis