Question: Does the larger area belong to Montgomery County (population 535153) or Lucas County?
Choices:
Erie County
Wayne County
Wood County
Mahoning County
Summit County
Lucas County
Stark County
Montgomery County
Delaware County
Cuyahoga County
Program:
function: Find
inputs: Montgomery County
function: FilterNum
dependencies: 0
inputs: population
535153
=
function: Find
inputs: Lucas County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montgomery County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "535153"^^xsd:double . } UNION { ?e <pred:name> "Lucas County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lucas County