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