Question: Who lives in the same city that Swansea University is located in?
Choices:
Emily Mortimer
Catherine Zeta-Jones
Don DeLillo
Harold Ramis
Aidan Quinn
Robert Wyatt
Nino Rota
Jack Palance
Winona Ryder
Paul Guilfoyle
Program:
function: Find
inputs: Swansea University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: residence
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Swansea University" .   }
Answer: Catherine Zeta-Jones