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