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