Question: Which one among counties of Michigan, bordering Livingston County with the population of 182,390, covers the largest area ?
Choices:
Washtenaw County
Monroe County
Kent County
Berrien County
Clinton County
Tuscola County
Marquette County
Saginaw County
Livingston County
Oakland County
Program:
function: Find
inputs: Livingston County
function: FilterNum
dependencies: 0
inputs: population
182390
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Michigan
function: SelectAmong
dependencies: 3
inputs: area
largest
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 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "182390"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oakland County