Question: Which covers less area, Victoria which shares a border with South Australia, or Upper Australia?
Choices: Tasmania
Greater Poland Voivodeship
Punjab
Lublin Voivodeship
Chiapas
Podlaskie Voivodeship
Upper Austria
Victoria
England
New South Wales
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Upper Austria" .  } UNION { ?e <pred:name> "Victoria" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "South Australia" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Upper Austria
function: Find
inputs: South Australia
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Victoria
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
Answer: Upper Austria