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