Question: Which has less area, Montgomery County whose population is 537846 or Erie County that contains Sandusky?
Choices:
Jefferson County
Wayne County
Stark County
Delaware County
Erie County
Cuyahoga County
Wood County
Mahoning County
Montgomery County
Summit County
Program:
function: Find
inputs: Montgomery County
function: FilterNum
dependencies: 0
inputs: population
537846
=
function: Find
inputs: Sandusky
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Erie County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montgomery County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "537846"^^xsd:double . } UNION { ?e <pred:name> "Erie County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Sandusky" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Montgomery County