Question: Is Delaware County (bordering Ulster County) or Albany County greater by area?
Choices:
Orange County
Niagara County
Warren County
Rensselaer County
Clinton County
Greene County
Chautauqua County
Jefferson County
Delaware County
Albany County
Answer: Delaware County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Delaware County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Ulster County" .   } UNION { ?e <pred:name> "Albany County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Ulster County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Delaware County
function: And
dependencies: 1
2
function: Find
inputs: Albany County
function: SelectBetween
dependencies: 3
4
inputs: area
greater