Question: Between Rensselaer County or the Columbia County that borders Berkshire County, which occupies more area?
Choices:
Clinton County
Cayuga County
Columbia County
Chautauqua County
Jefferson County
Niagara County
Warren County
Orange County
Rensselaer County
Greene County
Answer: Rensselaer County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rensselaer County" .  } UNION { ?e <pred:name> "Columbia County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Berkshire County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rensselaer County
function: Find
inputs: Berkshire County
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Columbia County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater