Question: Which area is larger, Lake County (the one whose population is 229245) or Butler County (the one whose area is 1218 square kilometre)?
Choices:
Cuyahoga County
Summit County
Delaware County
Mahoning County
Lake County
Butler County
Erie County
Stark County
Wood County
Wayne County
Program:
function: Find
inputs: Lake County
function: FilterNum
dependencies: 0
inputs: population
229245
=
function: Find
inputs: Butler County
function: FilterNum
dependencies: 2
inputs: area
1218 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lake County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "229245"^^xsd:double . } UNION { ?e <pred:name> "Butler County" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "1218"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lake County