Question: What association football club is headquartered in the town where Ian McEwan was born?
Choices:
Dunfermline Athletic F.C.
Stade de Reims
Stockport County F.C.
Watford F.C.
Weymouth F.C.
Aldershot Town F.C.
Kettering Town F.C.
Steel Azin F.C.
Raith Rovers F.C.
Walsall F.C.
Program:
function: Find
inputs: Ian McEwan
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: town
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> "town" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Ian McEwan" .   }
Answer: Aldershot Town F.C.