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