Question: Which region has the lower land area, Essex County (whose population is 784476) or Monmouth County?
Choices:
Passaic County
Morris County
Bergen County
Gloucester County
Hudson County
Cumberland County
Cape May County
Essex County
Hunterdon County
Monmouth County
Program:
function: Find
inputs: Essex County
function: FilterNum
dependencies: 0
inputs: population
784476
=
function: Find
inputs: Monmouth County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Essex County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "784476"^^xsd:double . } UNION { ?e <pred:name> "Monmouth County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Essex County