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