Question: Which Alabama county borders the Alabama county whose licence plate code is 51?
Choices:
Mobile County
Jackson County
Baldwin County
Madison County
Dallas County
Monroe County
Shelby County
Montgomery County
Jefferson County
Washington County
Answer: Baldwin County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Alabama" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "county of Alabama" . ?e_1 <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> "51" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: licence plate code
51
function: FilterConcept
dependencies: 1
inputs: county of Alabama
function: Relate
dependencies: 2
inputs: shares border with
backward
function: FilterConcept
dependencies: 3
inputs: county of Alabama
function: What
dependencies: 4