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