Question: Which has less area, Franklin County (with a population of 51599) or Saratoga County?
Choices:
Saratoga County
Warren County
Rensselaer County
Cayuga County
Albany County
Greene County
Orange County
Clinton County
Niagara County
Franklin County
Program:
function: Find
inputs: Franklin County
function: FilterNum
dependencies: 0
inputs: population
51599
=
function: Find
inputs: Saratoga 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> "51599"^^xsd:double . } UNION { ?e <pred:name> "Saratoga County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Saratoga County