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