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