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