Question: Which ceremonial county of England contains the administrative division of St Helens (the one that is located in Merseyside)?
Choices:
Essex
Derbyshire
Merseyside
Staffordshire
Northumberland
Cumbria
West Midlands
Hampshire
Hertfordshire
Warwickshire
Answer: Merseyside
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "St Helens" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Merseyside" .   }
Program:
function: Find
inputs: Merseyside
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: St Helens
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: ceremonial county of England
function: What
dependencies: 5