Question: Which one is larger, Leuven or Tours?
Choices:
Dnipro
Lyon
Aachen
Tours
Stuttgart
Bordeaux
Fort Smith
Wuppertal
Leuven
Halle (Saale)
Program:
function: Find
inputs: Leuven
function: Find
inputs: Tours
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leuven" .  } UNION { ?e <pred:name> "Tours" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Leuven