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