Question: Which Alabama county that is an administrative division of Alabama (that partially holds the Appalachian Mountains) has the largest land area?
Choices:
Montgomery County
Dallas County
Jefferson County
Baldwin County
Shelby County
Monroe County
Madison County
Washington County
Jackson County
Mobile County
Program:
function: Find
inputs: Appalachian Mountains
function: Relate
dependencies: 0
inputs: partially contains
backward
function: Find
inputs: Alabama
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: county of Alabama
function: SelectAmong
dependencies: 5
inputs: area
largest
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 <partially_contains> ?e_2 . ?e_2 <pred:name> "Appalachian Mountains" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Baldwin County