Question: Which is the city that has the smallest area among the cities in New Jersey that are in Hudson County?
Choices:
Paterson
Bayonne
Hoboken
Passaic
Elizabeth
Atlantic City
Jersey City
Perth Amboy
Plainfield
East Orange
Program:
function: Find
inputs: Hudson 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> "Hudson County" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hoboken