Question: Which has a smaller area, Washington County, with a population of 16804, or Jefferson County, with a population of 658327?
Choices:
Shelby County
Monroe County
Madison County
Montgomery County
Jackson County
Jefferson County
Mobile County
Dallas County
Baldwin County
Washington County
Program:
function: Find
inputs: Washington County
function: FilterNum
dependencies: 0
inputs: population
16804
=
function: Find
inputs: Jefferson County
function: FilterNum
dependencies: 2
inputs: population
658327
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Washington County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "16804"^^xsd:double . } UNION { ?e <pred:name> "Jefferson County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "658327"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Washington County