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