Question: Is Luton or Brighton bigger, according to area?
Choices:
Blackburn
Colchester
Wimbledon
Wigan
Macclesfield
Doncaster
Royal Tunbridge Wells
Brighton
Edmonton
Luton
Program:
function: Find
inputs: Luton
function: Find
inputs: Brighton
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Luton" .  } UNION { ?e <pred:name> "Brighton" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brighton