Question: What association football club that was founded before 2005 is headquartered in Eastbourne?
Choices:
Zamalek SC
Chester City F.C.
FC Dinamo Moscow
Middlesbrough F.C.
AS Monaco FC
Eastbourne Borough F.C.
Brisbane Roar FC
C.F. Os Belenenses
Stade Brestois 29
Northampton Town F.C.
Program:
function: Find
inputs: Eastbourne
function: Relate
dependencies: 0
inputs: headquarters location
backward
function: FilterConcept
dependencies: 1
inputs: association football club
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
2005
<
function: FilterConcept
dependencies: 4
inputs: association football club
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Eastbourne" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2005 ) .  }
Answer: Eastbourne Borough F.C.