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