Question: Which one from cities in New Jersey, located in Middlesex County (population of 809,858) is with the largest area ?
Choices: Perth Amboy
Atlantic City
Trenton
Jersey City
Plainfield
Paterson
East Orange
Hoboken
New Brunswick
Passaic
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> "Middlesex County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "809858"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Middlesex County
function: FilterNum
dependencies: 0
inputs: population
809858
=
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: area
largest
Answer: Perth Amboy