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