Question: Which has the smallest area among the county of New jersey that shares border with Cumberland County whose population is 156898
Choices:
Morris County
Burlington County
Cape May County
Passaic County
Monmouth County
Gloucester County
Cumberland County
Bergen County
Hunterdon County
Hudson County
Program:
function: Find
inputs: Cumberland County
function: FilterNum
dependencies: 0
inputs: population
156898
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of New Jersey
function: SelectAmong
dependencies: 3
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New Jersey" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Cumberland County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "156898"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gloucester County