Question: Which metro borough that is an administrative division of Merseyside has the lowest population?
Choices:
Walsall
Sheffield
Leeds
Solihull
Bury
Liverpool
Wakefield
Birmingham
St Helens
Rochdale
Program:
function: Find
inputs: Merseyside
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: SelectAmong
dependencies: 2
inputs: population
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Merseyside" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: St Helens