Question: Which region has the larger land area, Douglas County (whose population is 322387) or Ramsey County?
Choices:
Kent County
Greene County
Orange County
Delaware County
African Union
Washoe County
Ramsey County
Douglas County
Cass County
Lee County
Program:
function: Find
inputs: Douglas County
function: FilterNum
dependencies: 0
inputs: population
322387
=
function: Find
inputs: Ramsey County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Douglas County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "322387"^^xsd:double . } UNION { ?e <pred:name> "Ramsey County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Douglas County