Question: Which has a greater area, Hancock County (population 72520) or Marion County (population 918887)?
Choices:
Monroe County
Franklin County
Hancock County
Delaware County
Wayne County
Marion County
Madison County
Lake County
Allen County
Howard County
Program:
function: Find
inputs: Hancock County
function: FilterNum
dependencies: 0
inputs: population
72520
=
function: Find
inputs: Marion County
function: FilterNum
dependencies: 2
inputs: population
918887
=
function: SelectBetween
dependencies: 1
3
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> "72520"^^xsd:double . } UNION { ?e <pred:name> "Marion County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "918887"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Marion County