Question: Which one has less area between St. Clair County (the one that is an administrative division of Michigan) and Livingston County (the one that is an administrative division of Michigan)?
Choices:
Tuscola County
Marquette County
Monroe County
Genesee County
Clinton County
Saginaw County
Berrien County
Livingston County
Kent County
St. Clair County
Program:
function: Find
inputs: Michigan
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: St. Clair County
function: And
dependencies: 1
2
function: Find
inputs: Michigan
function: Relate
dependencies: 4
inputs: contains administrative territorial entity
forward
function: Find
inputs: Livingston County
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St. Clair County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Michigan" .   } UNION { ?e <pred:name> "Livingston County" . ?e_2 <contains_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Michigan" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Livingston County