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