Question: Which one has less area among the counties of Alabama (the one whose FIPS 5-2 alpha code (US states) is AL)?
Choices:
Shelby County
Monroe County
Mobile County
Washington County
Jefferson County
Madison County
Baldwin County
Jackson County
Dallas County
Montgomery County
Answer: Montgomery County
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Alabama" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Alabama" . ?e_1 <FIPS_5-2_alpha_code_(US_states)> ?pv_1 . ?pv_1 <pred:value> "AL" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Alabama
function: FilterStr
dependencies: 0
inputs: FIPS 5-2 alpha code (US states)
AL
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: county of Alabama
function: SelectAmong
dependencies: 3
inputs: area
smallest