Question: Is Sydney or Agra bigger, area-wise?
Choices:
Bergen
Dundee
Cork
Abidjan
Sydney
Chihuahua
Trieste
Santo Domingo
Kingston
Agra
Answer: Sydney
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sydney" .  } UNION { ?e <pred:name> "Agra" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sydney
function: Find
inputs: Agra
function: SelectBetween
dependencies: 0
1
inputs: area
greater