Question: Which US city is the capital of the Maryland county with zip code 20918?
Choices:
Honolulu County
Rockville
Takoma Park
Franklin
Columbus
Waukegan
New Haven
Annapolis
Oakland
Cumberland
Answer: Rockville
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of Maryland" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> "20918" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
20918
function: FilterConcept
dependencies: 1
inputs: county of Maryland
function: Relate
dependencies: 2
inputs: capital
forward
function: FilterConcept
dependencies: 3
inputs: city of the United States
function: What
dependencies: 4