Question: Which New Jersey city in Passaic County covers the least area?
Choices:
Paterson
Jersey City
Atlantic City
Plainfield
Elizabeth
Perth Amboy
Passaic
Bayonne
Trenton
Hoboken
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: area
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 <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Passaic