Question: Which is the smallest elevation in sea level in New Jersey that is located in Essex County and has a population of 797434?
Choices:
Perth Amboy
Passaic
Plainfield
Paterson
East Orange
Trenton
Jersey City
Hoboken
Newark
Elizabeth
Program:
function: Find
inputs: Essex County
function: FilterNum
dependencies: 0
inputs: population
797434
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
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 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Essex County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "797434"^^xsd:double . ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Newark