Question: Which county covers the greatest area, Cumberland County whose population is 155854 or Middlesex County whose population is 809858?
Choices:
Monmouth County
Morris County
Burlington County
Essex County
Cumberland County
Hunterdon County
Passaic County
Gloucester County
Hudson County
Middlesex County
Program:
function: Find
inputs: Cumberland County
function: FilterNum
dependencies: 0
inputs: population
155854
=
function: Find
inputs: Middlesex County
function: FilterNum
dependencies: 2
inputs: population
809858
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cumberland County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "155854"^^xsd:double . } UNION { ?e <pred:name> "Middlesex County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "809858"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cumberland County