Question: Which city that is located in the United States borders Sunnyvale and has a ZIP code of 95051?
Choices: New Britain
Compton
Oakland
Greenville
Santa Clara
Columbus
New Haven
Lansing
Franklin
Waukegan
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Sunnyvale" .  ?e <postal_code> ?pv . ?pv <pred:value> "95051" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv . ?qpv <pred:value> "United States of America" .  }
Program:
function: Find
inputs: Sunnyvale
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
95051
function: QFilterStr
dependencies: 4
inputs: country
United States of America
function: FilterConcept
dependencies: 5
inputs: city of the United States
function: And
dependencies: 2
6
function: What
dependencies: 7
Answer: Santa Clara