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