Question: Which location has the smaller area, Delaware County in Indiana or Hancock County, with a population of 70471?
Choices:
Madison County
Johnson County
Franklin County
Hancock County
Wayne County
Marion County
Howard County
Monroe County
Allen County
Lake County
Program:
function: Find
inputs: Indiana
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Delaware County
function: And
dependencies: 1
2
function: Find
inputs: Hancock County
function: FilterNum
dependencies: 4
inputs: population
70471
=
function: SelectBetween
dependencies: 3
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delaware County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Indiana" . } UNION { ?e <pred:name> "Hancock County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "70471"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hancock County