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