Question: Which has a lesser area, Kane County (whose population is 515269) or Montgomery County (whose official website is http://www.montgomeryco.com)?
Choices:
McHenry County
Kane County
Peoria County
Montgomery County
Monroe County
DuPage County
DeKalb County
Logan County
Madison County
McLean County
Program:
function: Find
inputs: Kane County
function: FilterNum
dependencies: 0
inputs: population
515269
=
function: Find
inputs: Montgomery County
function: FilterStr
dependencies: 2
inputs: official website
http://www.montgomeryco.com
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kane County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "515269"^^xsd:double . } UNION { ?e <pred:name> "Montgomery County" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.montgomeryco.com" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kane County