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