Question: Which one is larger, Tampere of Bangkok?
Choices:
Dundee
Santo Domingo
Bergen
Chihuahua
Bangkok
Tampere
Abidjan
Kilkenny
Trieste
Kingston
Program:
function: Find
inputs: Tampere
function: Find
inputs: Bangkok
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tampere" .  } UNION { ?e <pred:name> "Bangkok" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bangkok