Question: Which area is smaller, Sullivan County (the one whose population is 76818) or Putnam County (the one whose area is 638 square kilometre)?
Choices: Rensselaer County
Albany County
Clinton County
Jefferson County
Greene County
Putnam County
Sullivan County
Cayuga County
Niagara County
Orange County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sullivan County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "76818"^^xsd:double . } UNION { ?e <pred:name> "Putnam County" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "638"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sullivan County
function: FilterNum
dependencies: 0
inputs: population
76818
=
function: Find
inputs: Putnam County
function: FilterNum
dependencies: 2
inputs: area
638 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
Answer: Putnam County