Question: Which soccer club with team member Alou Diarra uses the Giphy name rangersfc?
Choices:
Olympique Lyonnais
Stade Brestois 29
Zamalek SC
Middlesbrough F.C.
Rangers F.C.
Roda JC Kerkrade
Brisbane Roar FC
FC Bayern Munich
Olympique de Marseille
F.C. Girondins de Bordeaux
Program:
function: Find
inputs: Alou Diarra
function: Relate
dependencies: 0
inputs: member of sports team
forward
function: FilterConcept
dependencies: 1
inputs: association football club
function: FindAll
function: FilterStr
dependencies: 3
inputs: Giphy username
rangersfc
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_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Alou Diarra" .  ?e <Giphy_username> ?pv . ?pv <pred:value> "rangersfc" .  }
Answer: Rangers F.C.