Question: Which one has more people living there, Dover (the one that is the headquarter location of Dover Athletic F.C.) or Toowoomba ?
Choices: Wimbledon
Doncaster
South Shields
Blackburn
Colchester
Edmonton
Toowoomba
Dover
Wigan
Royal Tunbridge Wells
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dover" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Dover Athletic F.C." .   } UNION { ?e <pred:name> "Toowoomba" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dover Athletic F.C.
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Dover
function: And
dependencies: 1
2
function: Find
inputs: Toowoomba
function: SelectBetween
dependencies: 3
4
inputs: population
greater
Answer: Toowoomba