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