Question: Which English ceremonial county contains Liverpool (the one whose ISO 3166-2 code is GB-LIV)?
Choices:
Derbyshire
Merseyside
Essex
Lancashire
Warwickshire
Cumbria
West Midlands
West Sussex
Northumberland
Staffordshire
Answer: Merseyside
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Liverpool" . ?e_1 <ISO_3166-2_code> ?pv . ?pv <pred:value> "GB-LIV" .   }
Program:
function: Find
inputs: Liverpool
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-LIV
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: What
dependencies: 3