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