Question: Of New Jersey cities bordering Elizabeth (zip code 07206), which has the lowest elevation?
Choices:
Perth Amboy
Paterson
Bayonne
Elizabeth
East Orange
Hoboken
Passaic
Atlantic City
Jersey City
Plainfield
Program:
function: Find
inputs: Elizabeth
function: FilterStr
dependencies: 0
inputs: postal code
07206
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: city in New Jersey
function: SelectAmong
dependencies: 3
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Elizabeth" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> "07206" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bayonne