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