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