Question: What association football club has a headquarters location in the capital of Alsace?
Choices:
Selangor FA
Ethnikos Piraeus F.C.
FC Dinamo Moscow
Al-Arabi SC
S.L. Benfica
RC Strasbourg
FC Torpedo Moscow
F.C. Copenhagen
Crewe Alexandra F.C.
FC Pyunik
Program:
function: Find
inputs: Alsace
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: capital
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> "capital" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Alsace" .   }
Answer: RC Strasbourg