Question: Which area is larger, Douglas County (the one whose population is 298417) or Salt Lake County?
Choices:
African Union
San Juan County
Kent County
Lee County
Orange County
Washoe County
Salt Lake County
Cass County
Greene County
Douglas County
Program:
function: Find
inputs: Douglas County
function: FilterNum
dependencies: 0
inputs: population
298417
=
function: Find
inputs: Salt Lake 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> "298417"^^xsd:double . } UNION { ?e <pred:name> "Salt Lake County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Douglas County