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