Question: Which association football club has Theofanis Gekas within is rank and comes from Spain?
Choices:
Konyaspor
Real Murcia
Racing de Santander
Larissa F.C.
RCD Espanyol de Barcelona
Portsmouth F.C.
Xerez C.D.
Real Madrid CF
Real Madrid Castilla football
Levante UD
Answer: Levante UD
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Theofanis Gekas" .  ?e <country> ?e_2 . ?e_2 <pred:name> "Spain" .  }
Program:
function: Find
inputs: Theofanis Gekas
function: Relate
dependencies: 0
inputs: member of sports team
forward
function: FilterConcept
dependencies: 1
inputs: association football club
function: Find
inputs: Spain
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: And
dependencies: 2
5
function: What
dependencies: 6