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