Question: Which has less population, Preston (which contains Preston North End F.C.) or Winchester (which has a population of 35200)?
Choices: Abidjan
Kingston
Bergen
Kilkenny
Chihuahua
Santo Domingo
Preston
Cork
Trieste
Winchester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Preston" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Preston North End F.C." . } UNION { ?e <pred:name> "Winchester" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "35200"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Preston North End F.C.
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Preston
function: And
dependencies: 1
2
function: Find
inputs: Winchester
function: FilterNum
dependencies: 4
inputs: population
35200
=
function: SelectBetween
dependencies: 3
5
inputs: population
less
Answer: Winchester