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