Question: What association football team is headquartered in Bremen (which is twinned with the administrative body of Bratislava)?
Choices:
Middlesbrough F.C.
St Patrick's Athletic F.C.
G.D. Estoril Praia
PFC CSKA Sofia
Brisbane Roar FC
SV Werder Bremen
Stade Brestois 29
Zamalek SC
Beitar Jerusalem F.C.
Levadiakos F.C.
Program:
function: Find
inputs: Bratislava
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Bremen
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: FilterConcept
dependencies: 4
inputs: association football club
function: What
dependencies: 5
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> "Bremen" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Bratislava" .   }
Answer: SV Werder Bremen