Question: Which association football club lies in a city that is the administrative division in Bremen, Germany ?
Choices:
New York Red Bulls
FC Inter Milan
F.C. Hansa Rostock
Middlesbrough F.C.
Harrogate Town A.F.C.
Preston North End F.C.
SV Werder Bremen
Stade Brestois 29
FC Carl Zeiss Jena
Arsenal F.C.
Program:
function: Find
inputs: Germany
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Bremen
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: city
function: Relate
dependencies: 5
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 6
inputs: association football club
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "association football club" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_3 <contains_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Bremen" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_4 . ?e_4 <pred:name> "Germany" .   }
Answer: SV Werder Bremen