Question: Which area is larger, Montgomery County (the one whose population is 49642) or Cattaraugus County?
Choices:
Montgomery County
Cattaraugus County
Albany County
Clinton County
Rensselaer County
Warren County
Greene County
Orange County
Niagara County
Jefferson County
Answer: Cattaraugus County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montgomery County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "49642"^^xsd:double . } UNION { ?e <pred:name> "Cattaraugus County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Montgomery County
function: FilterNum
dependencies: 0
inputs: population
49642
=
function: Find
inputs: Cattaraugus County
function: SelectBetween
dependencies: 1
2
inputs: area
greater