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