Question: Which university is in Lancaster (the one that contains University of Lancaster)?
Choices: King's College London
Technical University of Berlin
Saint Petersburg State University
University of Warwick
University of Manchester
McNeese State University
Presidency University
Imperial College London
Pennsylvania State University
University of Lancaster
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Lancaster" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "University of Lancaster" .   }
Program:
function: Find
inputs: University of Lancaster
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Lancaster
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: university
function: What
dependencies: 5
Answer: University of Lancaster