Question: Which area is smaller, Woking (the one that is the headquarter location of Woking F.C.) or Blackburn?
Choices:
Doncaster
Basingstoke
Wigan
Colchester
Blackburn
Edmonton
Wimbledon
Woking
Royal Tunbridge Wells
Macclesfield
Program:
function: Find
inputs: Woking F.C.
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: Find
inputs: Woking
function: And
dependencies: 1
2
function: Find
inputs: Blackburn
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Woking" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Woking F.C." .   } UNION { ?e <pred:name> "Blackburn" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Blackburn