Question: Does Tampere or Hanoi have more area?
Choices:
Hanoi
Santo Domingo
Bergen
Kilkenny
Tampere
Chihuahua
Cork
Kingston
Dundee
Trieste
Program:
function: Find
inputs: Tampere
function: Find
inputs: Hanoi
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tampere" .  } UNION { ?e <pred:name> "Hanoi" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hanoi