Question: Which association football club is based in the big city bordering Dortmund?
Choices:
VfL Bochum
G.D. Estoril Praia
FC St. Pauli
1. FSV Mainz 05
Stade Brestois 29
Middlesbrough F.C.
SV Wehen Wiesbaden
H.N.K. Hajduk Split
Orduspor
Sivasspor
Program:
function: Find
inputs: Dortmund
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: big city
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
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 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "big city" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Dortmund" .   }
Answer: VfL Bochum