Question: Which US city has postal code 79401–79499 and WOEID 2442818?
Choices:
Lansing
Greenville
Compton
Columbus
Oakland
Boulder
Lubbock
New Haven
Franklin
New Britain
Answer: Lubbock
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> "79401–79499" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "2442818" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
79401–79499
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: WOEID
2442818
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6