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