Question: Among the Michigan counties that share a border with Livingston County (whose official website is http://www.co.livingston.mi.us), which has the smallest area?
Choices:
Washtenaw County
Oakland County
Tuscola County
Marquette County
Kent County
Berrien County
Clinton County
Monroe County
Livingston County
Genesee County
Program:
function: Find
inputs: Livingston County
function: FilterStr
dependencies: 0
inputs: official website
http://www.co.livingston.mi.us
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Michigan
function: SelectAmong
dependencies: 3
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Michigan" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Livingston County" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.co.livingston.mi.us" . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Washtenaw County