Question: Is the larger area occupied by Montgomery County, at 1063 sq km, or St. Lawrence County?
Choices:
Warren County
Montgomery County
Rensselaer County
St. Lawrence County
Albany County
Clinton County
Greene County
Cayuga County
Jefferson County
Niagara County
Program:
function: Find
inputs: Montgomery County
function: FilterNum
dependencies: 0
inputs: area
1063 square kilometre
=
function: Find
inputs: St. Lawrence County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montgomery County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1063"^^xsd:double . } UNION { ?e <pred:name> "St. Lawrence County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: St. Lawrence County