Question: tell me the United States city that is from the United States country that has the ZIP code 29901–29907
Choices:
New Haven
Concord
Waukegan
Franklin
Cambridge
Butte
Hattiesburg
Beaufort
Hamilton
Englewood
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
29901–29907
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <postal_code> ?pv . ?pv <pred:value> "29901–29907" .  }
Answer: Beaufort