Question: Are there fewer inhabitants in Manchester, location of Manchester City F.C., or in Oldham, population 230,800?
Choices: Newcastle upon Tyne
Oldham
Wakefield
Bury
Solihull
Birmingham
Sheffield
Manchester
Rochdale
Walsall
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Manchester" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Manchester City F.C." . } UNION { ?e <pred:name> "Oldham" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "230800"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Manchester City F.C.
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Manchester
function: And
dependencies: 1
2
function: Find
inputs: Oldham
function: FilterNum
dependencies: 4
inputs: population
230800
=
function: SelectBetween
dependencies: 3
5
inputs: population
less
Answer: Oldham