Question: For NJ cities sharing a border with Elizabeth—which has a postal code of 07201—which one has the least amount of area?
Choices: Atlantic City
Plainfield
Perth Amboy
Newark
Hoboken
Bayonne
East Orange
Elizabeth
Jersey City
Passaic
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> "07201" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Elizabeth
function: FilterStr
dependencies: 0
inputs: postal code
07201
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: city in New Jersey
function: SelectAmong
dependencies: 3
inputs: area
smallest
Answer: Bayonne