Question: Which area is smaller, Shelby County (the one whose population is 42274) or Linn County (the one whose population is 211226)?
Choices:
Cass County
Lee County
Washoe County
San Juan County
Shelby County
Delaware County
Linn County
Greene County
African Union
Kent County
Program:
function: Find
inputs: Shelby County
function: FilterNum
dependencies: 0
inputs: population
42274
=
function: Find
inputs: Linn County
function: FilterNum
dependencies: 2
inputs: population
211226
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shelby County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "42274"^^xsd:double . } UNION { ?e <pred:name> "Linn County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "211226"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Shelby County