Question: Tell me the association football club that has a headquarter location the city that has University of Exeter.
Choices:
Exeter City F.C.
Partick Thistle F.C.
Beitar Jerusalem F.C.
Feyenoord
Aston Villa F.C.
Toronto FC
Sparta Rotterdam
Associazione Sportiva Livorno Calcio
Newcastle United F.C.
Danubio F.C.
Program:
function: Find
inputs: University of Exeter
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: association football club
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?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> "University of Exeter" .   }
Answer: Exeter City F.C.