Question: Which has less area, Madison County that is an administrative division of Indiana or Hancock County whose population is 70896?
Choices:
Howard County
Marion County
Franklin County
Johnson County
Hancock County
Lake County
Monroe County
Wayne County
Madison County
Delaware County
Answer: Hancock County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madison County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Indiana" . } UNION { ?e <pred:name> "Hancock County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "70896"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Indiana
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Madison County
function: And
dependencies: 1
2
function: Find
inputs: Hancock County
function: FilterNum
dependencies: 4
inputs: population
70896
=
function: SelectBetween
dependencies: 3
5
inputs: area
less