Question: Does Saratoga County or Montgomery County (population 49897) occupy a larger area?
Choices:
Greene County
Cayuga County
Niagara County
Albany County
Saratoga County
Montgomery County
Clinton County
Jefferson County
Rensselaer County
Orange County
Program:
function: Find
inputs: Saratoga County
function: Find
inputs: Montgomery County
function: FilterNum
dependencies: 1
inputs: population
49897
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saratoga County" . } UNION { ?e <pred:name> "Montgomery County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "49897"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Saratoga County