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