Question: Stoke-on-Trent or Belo Horizonte, which on is greater in areawise?
Choices:
Bergen
Santo Domingo
Dundee
Kilkenny
Belo Horizonte
Stoke-on-Trent
Cork
Abidjan
Kingston
Chihuahua
Program:
function: Find
inputs: Stoke-on-Trent
function: Find
inputs: Belo Horizonte
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stoke-on-Trent" .  } UNION { ?e <pred:name> "Belo Horizonte" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Belo Horizonte