Question: Which Alabama county that is an administrative division of Alabama (whose population is 2348174) has the largest area?
Choices:
Jefferson County
Monroe County
Montgomery County
Mobile County
Madison County
Jackson County
Shelby County
Dallas County
Washington County
Baldwin County
Answer: Baldwin County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Alabama" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Alabama" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2348174"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alabama
function: FilterNum
dependencies: 0
inputs: population
2348174
=
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: county of Alabama
function: SelectAmong
dependencies: 3
inputs: area
largest