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