Question: Does Nice or the Ontario that borders Upland occupy the smaller area?
Choices: Stuttgart
Bordeaux
Aachen
Nice
Lyon
Fort Smith
Utrecht
Wuppertal
Halle (Saale)
Dnipro
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nice" .  } UNION { ?e <pred:name> "Ontario" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Upland" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Nice
function: Find
inputs: Upland
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Ontario
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
Answer: Nice