Question: Which has fewer people, Cambridge (the one that contains Sidney Sussex College) or Kettering (the one that is an administrative division of Northamptonshire)?
Choices: Great Yarmouth
Chichester
Woking
Kettering
South Somerset
Guildford
Craven
Cambridge
Carlisle
West Dorset
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cambridge" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Sidney Sussex College" .   } UNION { ?e <pred:name> "Kettering" . ?e_2 <contains_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Northamptonshire" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sidney Sussex College
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Cambridge
function: And
dependencies: 1
2
function: Find
inputs: Northamptonshire
function: Relate
dependencies: 4
inputs: contains administrative territorial entity
forward
function: Find
inputs: Kettering
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: population
less
Answer: Kettering