Question: Does St. Clair County (the one whose population is 264052) or Lake County (the one that has the captital Waukegan) have lesser area ?
Choices:
Montgomery County
St. Clair County
DeKalb County
McHenry County
Clinton County
Peoria County
Monroe County
Logan County
Lake County
McLean County
Program:
function: Find
inputs: St. Clair County
function: FilterNum
dependencies: 0
inputs: population
264052
=
function: Find
inputs: Waukegan
function: Relate
dependencies: 2
inputs: capital
backward
function: Find
inputs: Lake County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St. Clair County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "264052"^^xsd:double . } UNION { ?e <pred:name> "Lake County" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Waukegan" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: St. Clair County