Question: What university is affiliated to a  public university located in Swansea ?
Choices: McNeese State University
University of Wales
Pennsylvania State University
University of London
Lehigh University
California State University
University of Oxford
McMaster University
University of Manchester
Imperial College London
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e_1 <affiliation> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "public university" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Swansea" .   }
Program:
function: Find
inputs: Swansea
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: public university
function: Relate
dependencies: 2
inputs: affiliation
forward
function: FilterConcept
dependencies: 3
inputs: university
function: What
dependencies: 4
Answer: University of Wales