Question: The London Borough of Newham is located in which ceremonial English county?
Choices:
Derbyshire
Somerset
Greater Manchester
Cumbria
Greater London
Warwickshire
East Sussex
West Sussex
Northumberland
Dorset
Answer: Greater London
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> "London Borough of Newham" .   }
Program:
function: Find
inputs: London Borough of Newham
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: ceremonial county of England
function: What
dependencies: 2