Question: Which US city has the US zip code 91508?
Choices:
Albuquerque
Oakland
Olympia
New Haven
Tupelo
Franklin
Columbus
Waukegan
Burbank
Compton
Answer: Burbank
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> "91508" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv . ?qpv <pred:value> "United States of America" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
91508
function: QFilterStr
dependencies: 1
inputs: country
United States of America
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3