Question: Which county is larger in size, Clinton County (the one whose population is 39507) or Cumberland County (the one that is an administrative division of Pennsylvania)?
Choices:
Bucks County
Clinton County
York County
Fayette County
Erie County
Allegheny County
Westmoreland County
Cumberland County
Franklin County
Warren County
Program:
function: Find
inputs: Clinton County
function: FilterNum
dependencies: 0
inputs: population
39507
=
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: Find
inputs: Cumberland County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Clinton County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "39507"^^xsd:double . } UNION { ?e <pred:name> "Cumberland County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Pennsylvania" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Clinton County