Question: Does Rensselaer County or Erie County (that shares a border with Niagara County) have the larger land area?
Choices: Niagara County
Albany County
Warren County
Erie County
Clinton County
Greene County
Jefferson County
Orange County
Cayuga County
Chautauqua County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rensselaer County" .  } UNION { ?e <pred:name> "Erie County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Niagara County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rensselaer County
function: Find
inputs: Niagara County
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Erie County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
Answer: Erie County