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