Question: Which Alabama county that is located in Alabama (whose nickname is The Yellowhammer State) has the largest area?
Choices:
Monroe County
Jackson County
Shelby County
Washington County
Dallas County
Madison County
Mobile County
Montgomery County
Jefferson County
Baldwin County
Program:
function: Find
inputs: Alabama
function: FilterStr
dependencies: 0
inputs: nickname
The Yellowhammer State
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
largest
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 <nickname> ?pv_1 . ?pv_1 <pred:value> "The Yellowhammer State" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Baldwin County