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