Question: Which New Jersey city that is located in Passaic County has the lowest elevation above sea level?
Choices:
East Orange
Atlantic City
Jersey City
Plainfield
Bayonne
Hoboken
Paterson
Passaic
Perth Amboy
Elizabeth
Program:
function: Find
inputs: Passaic County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: city in New Jersey
function: SelectAmong
dependencies: 2
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Passaic County" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Passaic