Question: Does Leeds (whose NUTS code is UKE42) or Manchester (where Manchester Metropolitan University is located) have the lower population?
Choices:
Birmingham
Solihull
Newcastle upon Tyne
Wakefield
Stockport
Walsall
Bury
Manchester
Sheffield
Rochdale
Answer: Manchester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leeds" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "UKE42" . } UNION { ?e <pred:name> "Manchester" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Manchester Metropolitan University" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Leeds
function: FilterStr
dependencies: 0
inputs: NUTS code
UKE42
function: Find
inputs: Manchester Metropolitan University
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Manchester
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: population
less