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