Question: What city is located in Manchester that is an administrative division of Greater Manchester?
Choices: Mysore
Manchester City F.C.
Buenos Aires
Kingston
Manchester Metropolitan University
Trieste
Kilkenny
University of Manchester
Cork
Manchester
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Manchester" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Greater Manchester" .   }
Program:
function: Find
inputs: Greater Manchester
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Manchester
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: city
function: What
dependencies: 5
Answer: Manchester