Question: Tell me the relationship with Norfolk (the one whose zip code is 23501-23515, 23517-23521, 23523, 23529, 23541, 23551) to Chesapeake.
Choices:
color
shares border with
penalty
mother
official language
cites
designed to carry
political alignment
permanent resident of
student
Program:
function: Find
inputs: Norfolk
function: FilterStr
dependencies: 0
inputs: postal code
23501-23515, 23517-23521, 23523, 23529, 23541, 23551
function: Find
inputs: Chesapeake
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Norfolk" . ?e_1 <postal_code> ?pv . ?pv <pred:value> "23501-23515, 23517-23521, 23523, 23529, 23541, 23551" . ?e_2 <pred:name> "Chesapeake" . ?e_1 ?p ?e_2 .  }
Answer: shares border with