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