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