Question: Which has less area, Madison County (which is an administrative division of Ohio) or Franklin County (which has a population of 1212263)?
Choices:
Summit County
Tuscarawas County
Erie County
Wood County
Mahoning County
Stark County
Wayne County
Madison County
Franklin County
Delaware County
Program:
function: Find
inputs: Ohio
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Madison County
function: And
dependencies: 1
2
function: Find
inputs: Franklin County
function: FilterNum
dependencies: 4
inputs: population
1212263
=
function: SelectBetween
dependencies: 3
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Madison County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Ohio" . } UNION { ?e <pred:name> "Franklin County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1212263"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Madison County