Question: Of New Jersey cities in the USA, which is lowest in elevation?
Choices:
Hoboken
Camden
Jersey City
Passaic
Atlantic City
Newark
Perth Amboy
Elizabeth
New Brunswick
Bayonne
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
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 <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Atlantic City