Question: Which area is larger in size, Poole or Valletta?
Choices:
Poole
Macclesfield
Doncaster
Valletta
South Shields
Blackburn
Wimbledon
Wigan
Colchester
Edmonton
Answer: Poole
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Poole" .  } UNION { ?e <pred:name> "Valletta" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Poole
function: Find
inputs: Valletta
function: SelectBetween
dependencies: 0
1
inputs: area
greater