Question: Does Tyrol (bordering Bavaria) or Aargau occupy the larger area?
Choices: Chiapas
Punjab
Minas Gerais
Podlaskie Voivodeship
Aargau
Tyrol
Greater Poland Voivodeship
New South Wales
England
Upper Austria
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tyrol" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Bavaria" .   } UNION { ?e <pred:name> "Aargau" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bavaria
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Tyrol
function: And
dependencies: 1
2
function: Find
inputs: Aargau
function: SelectBetween
dependencies: 3
4
inputs: area
greater
Answer: Tyrol