Question: Is Franklin County, population 51848, or Rockland County smaller area wise?
Choices:
Rockland County
Rensselaer County
Cayuga County
Warren County
Franklin County
Jefferson County
Greene County
Clinton County
Niagara County
Albany County
Program:
function: Find
inputs: Franklin County
function: FilterNum
dependencies: 0
inputs: population
51848
=
function: Find
inputs: Rockland County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Franklin County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "51848"^^xsd:double . } UNION { ?e <pred:name> "Rockland County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rockland County