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