Question: Which region has the larger land area, Orange (that shares a border with Montclair) or Red Bank?
Choices: Princeton
Ridgewood
Whanganui
Verona
Livingston
Belleville
West Orange
Orange
Red Bank
North Hollywood
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Orange" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Montclair" .   } UNION { ?e <pred:name> "Red Bank" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Montclair
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Orange
function: And
dependencies: 1
2
function: Find
inputs: Red Bank
function: SelectBetween
dependencies: 3
4
inputs: area
greater
Answer: Orange