Question: Which area is smaller, Jefferson County (the one whose population is 659479) or Mobile County?
Choices:
Washington County
Mobile County
Baldwin County
Jefferson County
Monroe County
Madison County
Dallas County
Shelby County
Montgomery County
Jackson County
Program:
function: Find
inputs: Jefferson County
function: FilterNum
dependencies: 0
inputs: population
659479
=
function: Find
inputs: Mobile County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "659479"^^xsd:double . } UNION { ?e <pred:name> "Mobile County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Jefferson County