Question: Among the counties of Alabama that share border with Washington County (the one whose official website is http://www.washingtoncountyal.com), which one has the largest area ?
Choices:
Mobile County
Washington County
Dallas County
Shelby County
Jackson County
Madison County
Baldwin County
Jefferson County
Monroe County
Montgomery County
Program:
function: Find
inputs: Washington County
function: FilterStr
dependencies: 0
inputs: official website
http://www.washingtoncountyal.com
function: Relate
dependencies: 1
inputs: shares border with
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 <shares_border_with> ?e_1 . ?e_1 <pred:name> "Washington County" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.washingtoncountyal.com" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Baldwin County