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