Question: Which has less population, Dover that is the headquarter location of Dover Athletic F.C. or Hamilton whose postal code is ML3?
Choices: Wigan
Macclesfield
Blackburn
Edmonton
Colchester
Royal Tunbridge Wells
Wimbledon
South Shields
Hamilton
Dover
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> "Hamilton" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "ML3" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?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: Hamilton
function: FilterStr
dependencies: 4
inputs: postal code
ML3
function: SelectBetween
dependencies: 3
5
inputs: population
less
Answer: Dover