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