Question: Does Slough or Basingstoke cover a larger area?
Choices:
Wimbledon
Macclesfield
Doncaster
Blackburn
Slough
Colchester
Edmonton
South Shields
Royal Tunbridge Wells
Wigan
Program:
function: Find
inputs: Slough
function: Find
inputs: Basingstoke
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Slough" .  } UNION { ?e <pred:name> "Basingstoke" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Slough